Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.LowPass.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001456/0.001456, allocations: 81.97 kB / 22.21 MB, free: 2.289 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001334/0.001334, allocations: 167.9 kB / 25.61 MB, free: 8.582 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.03/1.03, allocations: 177.1 MB / 206.1 MB, free: 4.48 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Modelica.Electrical.Analog.Examples.OpAmps.LowPass,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|firstOrder.c.v|firstOrder.opAmp.out.v|firstOrder.opAmp.out.i",fileNamePrefix="Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.LowPass") translateModel(Modelica.Electrical.Analog.Examples.OpAmps.LowPass,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|firstOrder.c.v|firstOrder.opAmp.out.v|firstOrder.opAmp.out.i",fileNamePrefix="Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.LowPass") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.052e-06/1.052e-06, allocations: 0 / 274.2 MB, free: 4.359 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.749e-05/1.854e-05, allocations: 2.312 kB / 274.2 MB, free: 4.355 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.LowPass): time 0.003158/0.003176, allocations: 3.053 MB / 277.3 MB, free: 1.297 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.001136/0.004312, allocations: 0.7853 MB / 278.1 MB, free: 0.5156 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000144/0.004456, allocations: 7.938 kB / 278.1 MB, free: 0.5078 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001893/0.004645, allocations: 51.44 kB / 278.1 MB, free: 468 kB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001793/0.004825, allocations: 124.1 kB / 278.3 MB, free: 344 kB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002413/0.005066, allocations: 139.7 kB / 278.4 MB, free: 204 kB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003793/0.005445, allocations: 474 kB / 278.9 MB, free: 15.73 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001635/0.005609, allocations: 87.52 kB / 278.9 MB, free: 15.65 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003311/0.00594, allocations: 275.3 kB / 279.2 MB, free: 15.38 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001554/0.006095, allocations: 151.6 kB / 279.4 MB, free: 15.23 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 4.073e-05/0.006136, allocations: 44 kB / 279.4 MB, free: 15.19 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.762e-05/0.006173, allocations: 44 kB / 279.4 MB, free: 15.14 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 5.264e-05/0.006226, allocations: 95.61 kB / 279.5 MB, free: 15.05 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 9.739e-05/0.006323, allocations: 131.7 kB / 279.7 MB, free: 14.92 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002649/0.006588, allocations: 291 kB / 279.9 MB, free: 14.64 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.534e-06/0.006591, allocations: 0 / 279.9 MB, free: 14.64 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.132e-06/0.006592, allocations: 0 / 279.9 MB, free: 14.64 MB / 266.7 MB Notification: Performance of Transformations before backend: time 4.589e-06/0.006597, allocations: 0 / 279.9 MB, free: 14.64 MB / 266.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 68 * Number of variables: 68 Notification: Performance of Generate backend data structure: time 0.0007407/0.007337, allocations: 0.7237 MB / 280.7 MB, free: 13.87 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.179e-05/0.007369, allocations: 12.03 kB / 280.7 MB, free: 13.86 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.035e-05/0.007449, allocations: 60.7 kB / 280.7 MB, free: 13.8 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000237/0.007686, allocations: 251.4 kB / 281 MB, free: 13.52 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.997e-05/0.007706, allocations: 25.03 kB / 281 MB, free: 13.5 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.509e-05/0.007741, allocations: 28.36 kB / 281 MB, free: 13.47 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003098/0.008051, allocations: 307.3 kB / 281.3 MB, free: 13.15 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.316e-06/0.00806, allocations: 192 / 281.3 MB, free: 13.15 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.191e-05/0.008081, allocations: 19.92 kB / 281.4 MB, free: 13.13 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.534e-06/0.008089, allocations: 8 kB / 281.4 MB, free: 13.12 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001174/0.008206, allocations: 92.45 kB / 281.5 MB, free: 13.03 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001045/0.009251, allocations: 1.116 MB / 282.6 MB, free: 11.84 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001947/0.009446, allocations: 130.9 kB / 282.7 MB, free: 11.7 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.796e-05/0.009524, allocations: 51.64 kB / 282.8 MB, free: 11.65 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.583e-05/0.00954, allocations: 4 kB / 282.8 MB, free: 11.64 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001454/0.009685, allocations: 185.6 kB / 282.9 MB, free: 11.43 MB / 266.7 MB Notification: Performance of pre-optimization done (n=17): time 1.072e-06/0.009686, allocations: 0 / 282.9 MB, free: 11.43 MB / 266.7 MB Notification: Performance of matching and sorting (n=17): time 0.0005212/0.01021, allocations: 272.9 kB / 283.2 MB, free: 11.15 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.2e-05/0.01025, allocations: 110.8 kB / 283.3 MB, free: 11.02 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001859/0.01044, allocations: 316.3 kB / 283.6 MB, free: 10.69 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.952e-05/0.01045, allocations: 33.7 kB / 283.7 MB, free: 10.65 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001066/0.01056, allocations: 255 kB / 283.9 MB, free: 10.4 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.682e-05/0.0106, allocations: 63.45 kB / 284 MB, free: 10.34 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.881e-05/0.01067, allocations: 59.34 kB / 284 MB, free: 10.27 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001225/0.01079, allocations: 0.5117 MB / 284.5 MB, free: 9.746 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.796e-05/0.01085, allocations: 57.95 kB / 284.6 MB, free: 9.684 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001313/0.01098, allocations: 253.2 kB / 284.8 MB, free: 9.359 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001607/0.01114, allocations: 211.9 kB / 285 MB, free: 9.098 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.534e-06/0.01114, allocations: 4 kB / 285 MB, free: 9.094 MB / 266.7 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0003438/0.01149, allocations: 320.4 kB / 285.4 MB, free: 8.758 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.673e-05/0.01151, allocations: 37.73 kB / 285.4 MB, free: 8.715 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.731e-06/0.01152, allocations: 4 kB / 285.4 MB, free: 8.711 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001541/0.01167, allocations: 47.66 kB / 285.4 MB, free: 8.66 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001382/0.01181, allocations: 67.91 kB / 285.5 MB, free: 8.594 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008565/0.01267, allocations: 1.76 MB / 287.3 MB, free: 6.719 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001513/0.01282, allocations: 55.83 kB / 287.3 MB, free: 6.664 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.605e-05/0.01283, allocations: 12 kB / 287.3 MB, free: 6.652 MB / 266.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * 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 (31): * Single equations (assignments): 29 * 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,1)} Notification: Performance of prepare postOptimizeDAE: time 9.979e-05/0.01293, allocations: 180.4 kB / 287.5 MB, free: 6.465 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.169e-05/0.01297, allocations: 31.81 kB / 287.5 MB, free: 6.434 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.155e-05/0.013, allocations: 30.11 kB / 287.6 MB, free: 6.398 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.344e-06/0.013, allocations: 4 kB / 287.6 MB, free: 6.395 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.774e-06/0.013, allocations: 0 / 287.6 MB, free: 6.395 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.587e-06/0.01301, allocations: 0 / 287.6 MB, free: 6.395 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004983/0.0135, allocations: 0.5272 MB / 288.1 MB, free: 5.828 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.883e-06/0.01351, allocations: 0 / 288.1 MB, free: 5.828 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001011/0.01361, allocations: 35.97 kB / 288.1 MB, free: 5.793 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001164/0.01372, allocations: 51.69 kB / 288.2 MB, free: 5.738 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.176e-05/0.01373, allocations: 7.984 kB / 288.2 MB, free: 5.73 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007461/0.01448, allocations: 1.74 MB / 289.9 MB, free: 3.879 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.402e-06/0.01448, allocations: 0 / 289.9 MB, free: 3.879 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003186/0.0148, allocations: 364.9 kB / 290.3 MB, free: 3.496 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.022e-05/0.01483, allocations: 31.8 kB / 290.3 MB, free: 3.465 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.375e-05/0.01485, allocations: 8 kB / 290.3 MB, free: 3.457 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001147/0.01497, allocations: 23.97 kB / 290.4 MB, free: 3.434 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.604e-05/0.01502, allocations: 20.03 kB / 290.4 MB, free: 3.414 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.023e-05/0.01503, allocations: 8 kB / 290.4 MB, free: 3.406 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0001009/0.01513, allocations: 205.1 kB / 290.6 MB, free: 3.207 MB / 266.7 MB Notification: Performance of sort global known variables: time 4e-08/0.01513, allocations: 0 / 290.6 MB, free: 3.207 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002802/0.01541, allocations: 79.83 kB / 290.7 MB, free: 3.129 MB / 266.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 1 (firstOrder.c.v) * 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 (16): * Single equations (assignments): 13 * 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,1)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001094/0.01552, allocations: 103.2 kB / 290.8 MB, free: 3.02 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0003219/0.01584, allocations: 388.2 kB / 291.1 MB, free: 2.605 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.492e-06/0.01584, allocations: 0 / 291.1 MB, free: 2.605 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001302/0.01597, allocations: 225.4 kB / 291.4 MB, free: 2.363 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002605/0.01623, allocations: 50.5 kB / 291.4 MB, free: 2.316 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001177/0.01741, allocations: 0.6662 MB / 292.1 MB, free: 1.617 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.943e-05/0.01746, allocations: 84.31 kB / 292.2 MB, free: 1.516 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 7.937e-05/0.01754, allocations: 30.97 kB / 292.2 MB, free: 1.48 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001432/0.01768, allocations: 134.2 kB / 292.3 MB, free: 1.348 MB / 266.7 MB Notification: Performance of SimCode: time 5.51e-07/0.01768, allocations: 0 / 292.3 MB, free: 1.348 MB / 266.7 MB Notification: Performance of Templates: time 0.006505/0.02418, allocations: 4.762 MB / 297.1 MB, free: 12.66 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.LowPass.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.LowPass.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.LowPass.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.LowPass.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.LowPass.sim & ./Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.LowPass -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.LowPass.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.LowPass_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Analog/Examples/OpAmps/LowPass/LowPass.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.961160295177251]