Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Analog.Examples.InvertingAmp.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.0009883/0.0009883, allocations: 76.06 kB / 21.69 MB, free: 2.859 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.00103/0.00103, allocations: 146.3 kB / 24.98 MB, free: 8.746 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.9682/0.9682, allocations: 173.4 MB / 201.5 MB, free: 9.34 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.InvertingAmp,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|vIn.signalSource.y",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Analog.Examples.InvertingAmp") translateModel(Modelica.Electrical.Analog.Examples.InvertingAmp,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|vIn.signalSource.y",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Analog.Examples.InvertingAmp") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.673e-06/1.673e-06, allocations: 0 / 268.1 MB, free: 6.711 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.967e-05/2.134e-05, allocations: 6.25 kB / 268.1 MB, free: 6.703 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.InvertingAmp): time 0.002706/0.002727, allocations: 2.788 MB / 270.9 MB, free: 3.898 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009074/0.003635, allocations: 0.6271 MB / 271.5 MB, free: 3.266 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001125/0.003747, allocations: 7.938 kB / 271.5 MB, free: 3.258 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001259/0.003873, allocations: 47.5 kB / 271.6 MB, free: 3.211 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001398/0.004013, allocations: 99.12 kB / 271.7 MB, free: 3.113 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002188/0.004232, allocations: 87.83 kB / 271.8 MB, free: 3.027 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003104/0.004542, allocations: 394.2 kB / 272.1 MB, free: 2.641 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001571/0.004699, allocations: 87.33 kB / 272.2 MB, free: 2.555 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001853/0.004885, allocations: 211.6 kB / 272.4 MB, free: 2.348 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001354/0.00502, allocations: 131.6 kB / 272.6 MB, free: 2.219 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 4.22e-05/0.005062, allocations: 36 kB / 272.6 MB, free: 2.184 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.342e-05/0.005096, allocations: 32 kB / 272.6 MB, free: 2.152 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 4.984e-05/0.005145, allocations: 71.75 kB / 272.7 MB, free: 2.082 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 9.343e-05/0.005239, allocations: 119.7 kB / 272.8 MB, free: 1.965 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002515/0.00549, allocations: 255.1 kB / 273.1 MB, free: 1.715 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.074e-06/0.005492, allocations: 0 / 273.1 MB, free: 1.715 MB / 250.7 MB Notification: Performance of FrontEnd: time 7.22e-07/0.005493, allocations: 0 / 273.1 MB, free: 1.715 MB / 250.7 MB Notification: Performance of Transformations before backend: time 4.318e-06/0.005497, allocations: 0 / 273.1 MB, free: 1.715 MB / 250.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 60 * Number of variables: 60 Notification: Performance of Generate backend data structure: time 0.0007454/0.006243, allocations: 0.6546 MB / 273.7 MB, free: 1.016 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.053e-05/0.006283, allocations: 16.92 kB / 273.7 MB, free: 1 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.014e-05/0.006363, allocations: 56.69 kB / 273.8 MB, free: 0.9453 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002337/0.006597, allocations: 225 kB / 274 MB, free: 0.6953 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.585e-05/0.006613, allocations: 16.88 kB / 274 MB, free: 0.6797 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.974e-05/0.006643, allocations: 28.38 kB / 274 MB, free: 0.6523 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003655/0.007008, allocations: 297 kB / 274.3 MB, free: 340 kB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.117e-06/0.007017, allocations: 192 / 274.3 MB, free: 340 kB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.15e-05/0.007039, allocations: 16.36 kB / 274.4 MB, free: 324 kB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.327e-06/0.007048, allocations: 7.938 kB / 274.4 MB, free: 316 kB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001965/0.007245, allocations: 102.9 kB / 274.5 MB, free: 216 kB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009295/0.008174, allocations: 1 MB / 275.5 MB, free: 15.13 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001946/0.008369, allocations: 107.1 kB / 275.6 MB, free: 15.01 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.114e-05/0.00843, allocations: 35.67 kB / 275.6 MB, free: 14.97 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.885e-05/0.008449, allocations: 0 / 275.6 MB, free: 14.97 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001721/0.008621, allocations: 175.5 kB / 275.8 MB, free: 14.76 MB / 266.7 MB Notification: Performance of pre-optimization done (n=12): time 8.81e-07/0.008622, allocations: 0 / 275.8 MB, free: 14.76 MB / 266.7 MB Notification: Performance of matching and sorting (n=12): time 0.0006459/0.009268, allocations: 256.9 kB / 276 MB, free: 14.5 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.705e-05/0.009315, allocations: 106.8 kB / 276.1 MB, free: 14.37 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001873/0.009502, allocations: 300.2 kB / 276.4 MB, free: 14.06 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.816e-05/0.00952, allocations: 33.7 kB / 276.5 MB, free: 14.02 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001036/0.009624, allocations: 254.7 kB / 276.7 MB, free: 13.77 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.749e-05/0.009651, allocations: 43.67 kB / 276.7 MB, free: 13.73 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.261e-05/0.009714, allocations: 55.59 kB / 276.8 MB, free: 13.66 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001129/0.009827, allocations: 0.5001 MB / 277.3 MB, free: 13.15 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.613e-05/0.009903, allocations: 57.91 kB / 277.4 MB, free: 13.09 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000149/0.01005, allocations: 264.5 kB / 277.6 MB, free: 12.74 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002021/0.01025, allocations: 247.1 kB / 277.9 MB, free: 12.44 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.785e-06/0.01026, allocations: 0 / 277.9 MB, free: 12.44 MB / 266.7 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0003888/0.01065, allocations: 324.4 kB / 278.2 MB, free: 12.1 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.556e-05/0.01067, allocations: 33.7 kB / 278.2 MB, free: 12.06 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.45e-06/0.01068, allocations: 4 kB / 278.2 MB, free: 12.05 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002532/0.01093, allocations: 79.72 kB / 278.3 MB, free: 11.97 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001066/0.01104, allocations: 43.92 kB / 278.3 MB, free: 11.93 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001096/0.01213, allocations: 1.912 MB / 280.2 MB, free: 9.895 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001369/0.01227, allocations: 43.77 kB / 280.3 MB, free: 9.852 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.615e-05/0.01229, allocations: 8 kB / 280.3 MB, free: 9.844 MB / 266.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * 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 (23): * Single equations (assignments): 21 * 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,5)} Notification: Performance of prepare postOptimizeDAE: time 9.975e-05/0.01239, allocations: 175.9 kB / 280.5 MB, free: 9.664 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.628e-05/0.01241, allocations: 31.83 kB / 280.5 MB, free: 9.633 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.907e-05/0.01244, allocations: 29.75 kB / 280.5 MB, free: 9.602 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.082e-06/0.01244, allocations: 3.938 kB / 280.5 MB, free: 9.598 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.302e-06/0.01244, allocations: 192 / 280.5 MB, free: 9.598 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.016e-06/0.01245, allocations: 0 / 280.5 MB, free: 9.598 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001424/0.01259, allocations: 212.5 kB / 280.7 MB, free: 9.355 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.422e-06/0.01259, allocations: 0 / 280.7 MB, free: 9.355 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.777e-05/0.01263, allocations: 19.92 kB / 280.8 MB, free: 9.336 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001706/0.0128, allocations: 71.62 kB / 280.8 MB, free: 9.262 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.071e-05/0.01281, allocations: 3.938 kB / 280.8 MB, free: 9.258 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009099/0.01372, allocations: 1.901 MB / 282.7 MB, free: 7.23 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.52e-07/0.01372, allocations: 192 / 282.7 MB, free: 7.23 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002607/0.01398, allocations: 208.2 kB / 282.9 MB, free: 7 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.911e-05/0.01403, allocations: 39.78 kB / 283 MB, free: 6.961 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.044e-05/0.01405, allocations: 3.938 kB / 283 MB, free: 6.957 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.495e-05/0.01415, allocations: 27.91 kB / 283 MB, free: 6.93 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.353e-05/0.01421, allocations: 19.97 kB / 283 MB, free: 6.91 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.245e-06/0.01422, allocations: 4 kB / 283 MB, free: 6.906 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0001108/0.01433, allocations: 209.1 kB / 283.2 MB, free: 6.703 MB / 266.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01433, allocations: 0 / 283.2 MB, free: 6.703 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.000214/0.01454, allocations: 83.89 kB / 283.3 MB, free: 6.621 MB / 266.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 (7): * Single equations (assignments): 4 * 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,5)} Notification: Performance of Backend phase and start with SimCode phase: time 7.953e-05/0.01462, allocations: 99.25 kB / 283.4 MB, free: 6.516 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0003869/0.01501, allocations: 394.3 kB / 283.8 MB, free: 6.09 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.803e-06/0.01501, allocations: 0.8125 kB / 283.8 MB, free: 6.09 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001627/0.01517, allocations: 237.4 kB / 284 MB, free: 5.836 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001818/0.01535, allocations: 47.42 kB / 284.1 MB, free: 5.793 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006872/0.01604, allocations: 430.9 kB / 284.5 MB, free: 5.34 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.301e-05/0.01608, allocations: 80.31 kB / 284.6 MB, free: 5.242 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 5.938e-05/0.01614, allocations: 26.28 kB / 284.6 MB, free: 5.215 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.3e-05/0.01619, allocations: 24.5 kB / 284.6 MB, free: 5.191 MB / 266.7 MB Notification: Performance of SimCode: time 6.81e-07/0.01619, allocations: 0 / 284.6 MB, free: 5.191 MB / 266.7 MB Notification: Performance of Templates: time 0.005546/0.02173, allocations: 4.091 MB / 288.7 MB, free: 1.156 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.InvertingAmp.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.InvertingAmp.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Analog.Examples.InvertingAmp.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Analog.Examples.InvertingAmp.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Analog.Examples.InvertingAmp.sim & ./Modelica_4.0.0_Modelica.Electrical.Analog.Examples.InvertingAmp -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Analog.Examples.InvertingAmp.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Analog.Examples.InvertingAmp_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Analog/Examples/InvertingAmp/InvertingAmp.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.7224205769598484]