Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmplifier.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007577/0.0007577, allocations: 84 kB / 21.43 MB, free: 3.137 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.004579/0.004579, allocations: 141.6 kB / 24.68 MB, free: 8.891 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 0.8384/0.8384, allocations: 173.4 MB / 201.2 MB, free: 9.457 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmplifier,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|buffer.opAmp.out.v|buffer.opAmp.out.i",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmplifier") translateModel(Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmplifier,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|buffer.opAmp.out.v|buffer.opAmp.out.i",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmplifier") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.593e-06/1.593e-06, allocations: 0 / 319.7 MB, free: 5.832 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.016e-05/2.175e-05, allocations: 2.281 kB / 319.7 MB, free: 5.828 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmplifier): time 0.002603/0.002625, allocations: 2.726 MB / 322.5 MB, free: 3.082 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008582/0.003483, allocations: 0.7128 MB / 323.2 MB, free: 2.363 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001115/0.003594, allocations: 11.94 kB / 323.2 MB, free: 2.352 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001186/0.003713, allocations: 47.5 kB / 323.2 MB, free: 2.305 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00013/0.003843, allocations: 111.1 kB / 323.3 MB, free: 2.195 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002261/0.004069, allocations: 115.8 kB / 323.5 MB, free: 2.082 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002995/0.004369, allocations: 430.1 kB / 323.9 MB, free: 1.66 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000161/0.00453, allocations: 83.66 kB / 324 MB, free: 1.574 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001786/0.004708, allocations: 235.5 kB / 324.2 MB, free: 1.344 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001265/0.004835, allocations: 131.6 kB / 324.3 MB, free: 1.215 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 4.44e-05/0.004879, allocations: 40 kB / 324.4 MB, free: 1.176 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.372e-05/0.004913, allocations: 40 kB / 324.4 MB, free: 1.137 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 5.155e-05/0.004964, allocations: 87.66 kB / 324.5 MB, free: 1.051 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 9.112e-05/0.005055, allocations: 119.7 kB / 324.6 MB, free: 0.9336 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003419/0.005397, allocations: 470.5 kB / 325.1 MB, free: 484 kB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.655e-06/0.0054, allocations: 0 / 325.1 MB, free: 484 kB / 282.7 MB Notification: Performance of FrontEnd: time 1.072e-06/0.005401, allocations: 0 / 325.1 MB, free: 484 kB / 282.7 MB Notification: Performance of Transformations before backend: time 4.739e-06/0.005406, allocations: 0 / 325.1 MB, free: 484 kB / 282.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 61 * Number of variables: 61 Notification: Performance of Generate backend data structure: time 0.000825/0.006231, allocations: 0.6052 MB / 325.7 MB, free: 15.83 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.346e-05/0.006264, allocations: 12.03 kB / 325.7 MB, free: 15.82 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.515e-05/0.006319, allocations: 32.75 kB / 325.7 MB, free: 15.79 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002818/0.006601, allocations: 249.2 kB / 325.9 MB, free: 15.52 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.777e-05/0.006619, allocations: 16.88 kB / 326 MB, free: 15.5 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.646e-05/0.006645, allocations: 24.38 kB / 326 MB, free: 15.48 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004363/0.007082, allocations: 378.6 kB / 326.4 MB, free: 15.09 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.004e-05/0.007092, allocations: 192 / 326.4 MB, free: 15.09 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.183e-05/0.007114, allocations: 12.38 kB / 326.4 MB, free: 15.07 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.995e-06/0.007122, allocations: 15.94 kB / 326.4 MB, free: 15.06 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004082/0.00753, allocations: 273.8 kB / 326.7 MB, free: 14.79 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001055/0.008584, allocations: 0.9881 MB / 327.6 MB, free: 13.74 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004722/0.009057, allocations: 242.5 kB / 327.9 MB, free: 13.49 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001689/0.009226, allocations: 100.8 kB / 328 MB, free: 13.39 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.97e-05/0.009245, allocations: 0 / 328 MB, free: 13.39 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002843/0.00953, allocations: 233.3 kB / 328.2 MB, free: 13.13 MB / 298.7 MB Notification: Performance of pre-optimization done (n=13): time 1.052e-06/0.009531, allocations: 0 / 328.2 MB, free: 13.13 MB / 298.7 MB Notification: Performance of matching and sorting (n=13): time 0.001187/0.01072, allocations: 0.5943 MB / 328.8 MB, free: 12.53 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.516e-05/0.01077, allocations: 110.8 kB / 328.9 MB, free: 12.39 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002057/0.01098, allocations: 281.7 kB / 329.2 MB, free: 12.11 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.871e-05/0.011, allocations: 33.7 kB / 329.2 MB, free: 12.07 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.451e-05/0.01109, allocations: 196 kB / 329.4 MB, free: 11.88 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.965e-05/0.01112, allocations: 47.62 kB / 329.5 MB, free: 11.83 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.365e-05/0.01119, allocations: 49.94 kB / 329.5 MB, free: 11.77 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 8.152e-05/0.01127, allocations: 334.8 kB / 329.8 MB, free: 11.43 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001911/0.01146, allocations: 141.8 kB / 330 MB, free: 11.29 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002327/0.01169, allocations: 286.4 kB / 330.2 MB, free: 10.95 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003878/0.01208, allocations: 324.6 kB / 330.6 MB, free: 10.58 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.497e-06/0.01208, allocations: 4 kB / 330.6 MB, free: 10.58 MB / 298.7 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0006477/0.01273, allocations: 0.4961 MB / 331.1 MB, free: 10.07 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.07e-05/0.01276, allocations: 41.69 kB / 331.1 MB, free: 10.02 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.958e-06/0.01277, allocations: 4 kB / 331.1 MB, free: 10.02 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000248/0.01302, allocations: 88.84 kB / 331.2 MB, free: 9.926 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001108/0.01313, allocations: 51.91 kB / 331.2 MB, free: 9.875 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001627/0.01476, allocations: 1.918 MB / 333.2 MB, free: 7.855 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001791/0.01494, allocations: 55.86 kB / 333.2 MB, free: 7.801 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.883e-05/0.01495, allocations: 16.22 kB / 333.2 MB, free: 7.785 MB / 298.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 5 (vIn.signalSource.count,$PRE.vIn.signalSource.count,vIn.signalSource.T_start,$PRE.vIn.signalSource.T_start,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (24): * Single equations (assignments): 22 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,4)} Notification: Performance of prepare postOptimizeDAE: time 0.0001107/0.01506, allocations: 145.7 kB / 333.4 MB, free: 7.633 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.397e-05/0.01509, allocations: 31.73 kB / 333.4 MB, free: 7.602 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.854e-05/0.01512, allocations: 25.77 kB / 333.4 MB, free: 7.578 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.116e-06/0.01512, allocations: 4 kB / 333.4 MB, free: 7.574 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.553e-06/0.01512, allocations: 0 / 333.4 MB, free: 7.574 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.606e-06/0.01513, allocations: 0 / 333.4 MB, free: 7.574 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001557/0.01528, allocations: 213.2 kB / 333.6 MB, free: 7.336 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.843e-06/0.01528, allocations: 4 kB / 333.6 MB, free: 7.332 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.677e-05/0.01535, allocations: 27.91 kB / 333.7 MB, free: 7.305 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001626/0.01551, allocations: 84.73 kB / 333.8 MB, free: 7.219 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.348e-06/0.01552, allocations: 0 / 333.8 MB, free: 7.219 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001306/0.01683, allocations: 1.848 MB / 335.6 MB, free: 5.27 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.873e-06/0.01683, allocations: 7.969 kB / 335.6 MB, free: 5.262 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005369/0.01737, allocations: 369.5 kB / 336 MB, free: 4.879 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.473e-05/0.01739, allocations: 19.86 kB / 336 MB, free: 4.859 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.93e-05/0.01741, allocations: 4 kB / 336 MB, free: 4.855 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001078/0.01752, allocations: 31.95 kB / 336 MB, free: 4.824 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.303e-05/0.01758, allocations: 23.97 kB / 336.1 MB, free: 4.801 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.969e-06/0.01759, allocations: 4 kB / 336.1 MB, free: 4.797 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0001314/0.01772, allocations: 193.2 kB / 336.2 MB, free: 4.605 MB / 298.7 MB Notification: Performance of sort global known variables: time 4e-08/0.01772, allocations: 4 kB / 336.3 MB, free: 4.602 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002945/0.01802, allocations: 75.89 kB / 336.3 MB, free: 4.527 MB / 298.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,vIn.signalSource.T_start,vIn.signalSource.count) * Number of discrete states: 1 (vIn.signalSource.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,4)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001229/0.01814, allocations: 111.1 kB / 336.4 MB, free: 4.406 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0007572/0.0189, allocations: 0.5229 MB / 337 MB, free: 3.852 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.824e-06/0.0189, allocations: 0 / 337 MB, free: 3.852 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002467/0.01915, allocations: 226.5 kB / 337.2 MB, free: 3.617 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002206/0.01937, allocations: 48.97 kB / 337.2 MB, free: 3.57 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001605/0.02097, allocations: 0.9405 MB / 338.2 MB, free: 2.598 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.145e-05/0.02106, allocations: 150.9 kB / 338.3 MB, free: 2.434 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.488e-05/0.02112, allocations: 24.5 kB / 338.3 MB, free: 2.41 MB / 298.7 MB Notification: Performance of SimCode: time 1.122e-06/0.02112, allocations: 0 / 338.3 MB, free: 2.41 MB / 298.7 MB Notification: Performance of Templates: time 0.004457/0.02558, allocations: 4.827 MB / 343.2 MB, free: 13.6 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmplifier.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmplifier.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmplifier.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmplifier.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmplifier.sim & ./Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmplifier -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmplifier.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmplifier_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Analog/Examples/OpAmps/NonInvertingAmplifier/NonInvertingAmplifier.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmplifier.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.273095588199794]