Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.LowPass.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.001266/0.001266, allocations: 83.89 kB / 21.18 MB, free: 3.387 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.001423/0.001423, allocations: 145.1 kB / 24.54 MB, free: 32 kB / 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 1.026/1.026, allocations: 173.4 MB / 201.2 MB, free: 9.309 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.LowPass,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|firstOrder.c.v|firstOrder.opAmp.out.v|firstOrder.opAmp.out.i",fileNamePrefix="Modelica_4.0.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.0.0_Modelica.Electrical.Analog.Examples.OpAmps.LowPass") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.342e-06/1.342e-06, allocations: 3.938 kB / 268 MB, free: 6.379 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.922e-05/2.056e-05, allocations: 6.25 kB / 268 MB, free: 6.371 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.LowPass): time 0.003345/0.003366, allocations: 3.087 MB / 271.1 MB, free: 3.262 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.00143/0.004796, allocations: 0.752 MB / 271.9 MB, free: 2.508 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001805/0.004976, allocations: 11.94 kB / 271.9 MB, free: 2.496 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001589/0.005135, allocations: 51.48 kB / 271.9 MB, free: 2.445 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001907/0.005326, allocations: 122.9 kB / 272.1 MB, free: 2.324 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003592/0.005685, allocations: 143.7 kB / 272.2 MB, free: 2.184 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004216/0.006107, allocations: 470 kB / 272.7 MB, free: 1.723 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000196/0.006303, allocations: 95.48 kB / 272.8 MB, free: 1.629 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003245/0.006627, allocations: 259.5 kB / 273 MB, free: 1.375 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001739/0.006801, allocations: 151.5 kB / 273.2 MB, free: 1.227 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 6.054e-05/0.006862, allocations: 47.94 kB / 273.2 MB, free: 1.18 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.644e-05/0.006908, allocations: 44 kB / 273.2 MB, free: 1.137 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 5.805e-05/0.006966, allocations: 95.66 kB / 273.3 MB, free: 1.043 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001102/0.007076, allocations: 131.7 kB / 273.5 MB, free: 0.9141 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002979/0.007374, allocations: 295 kB / 273.8 MB, free: 0.625 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.415e-06/0.007377, allocations: 0 / 273.8 MB, free: 0.625 MB / 250.7 MB Notification: Performance of FrontEnd: time 6.52e-07/0.007377, allocations: 0 / 273.8 MB, free: 0.625 MB / 250.7 MB Notification: Performance of Transformations before backend: time 5.511e-06/0.007383, allocations: 0 / 273.8 MB, free: 0.625 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: 68 * Number of variables: 68 Notification: Performance of Generate backend data structure: time 0.0009357/0.008318, allocations: 0.712 MB / 274.5 MB, free: 15.87 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.051e-05/0.008359, allocations: 8.031 kB / 274.5 MB, free: 15.86 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001021/0.008461, allocations: 64.7 kB / 274.5 MB, free: 15.8 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003072/0.008768, allocations: 255.5 kB / 274.8 MB, free: 15.52 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.97e-05/0.008788, allocations: 21.03 kB / 274.8 MB, free: 15.5 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.873e-05/0.008837, allocations: 24.38 kB / 274.8 MB, free: 15.47 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003983/0.009235, allocations: 331.4 kB / 275.2 MB, free: 15.12 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.07e-05/0.009246, allocations: 192 / 275.2 MB, free: 15.12 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.698e-05/0.009273, allocations: 19.94 kB / 275.2 MB, free: 15.1 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.122e-05/0.009284, allocations: 4 kB / 275.2 MB, free: 15.1 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002077/0.009491, allocations: 115.8 kB / 275.3 MB, free: 14.98 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001272/0.01076, allocations: 1.112 MB / 276.4 MB, free: 13.8 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002447/0.01101, allocations: 139 kB / 276.5 MB, free: 13.66 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001166/0.01112, allocations: 67.58 kB / 276.6 MB, free: 13.59 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.52e-05/0.01115, allocations: 4 kB / 276.6 MB, free: 13.58 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001878/0.01134, allocations: 187.5 kB / 276.8 MB, free: 13.36 MB / 266.7 MB Notification: Performance of pre-optimization done (n=17): time 1.123e-06/0.01134, allocations: 0 / 276.8 MB, free: 13.36 MB / 266.7 MB Notification: Performance of matching and sorting (n=17): time 0.000654/0.01199, allocations: 287.9 kB / 277.1 MB, free: 13.07 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.748e-05/0.01205, allocations: 110.8 kB / 277.2 MB, free: 12.94 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00024/0.01229, allocations: 320.5 kB / 277.5 MB, free: 12.61 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.539e-05/0.01232, allocations: 37.64 kB / 277.5 MB, free: 12.56 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001435/0.01246, allocations: 259 kB / 277.8 MB, free: 12.3 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002431/0.0127, allocations: 59.52 kB / 277.8 MB, free: 12.25 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.42e-05/0.01278, allocations: 63.31 kB / 277.9 MB, free: 12.18 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001345/0.01291, allocations: 0.5079 MB / 278.4 MB, free: 11.66 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.767e-05/0.013, allocations: 61.95 kB / 278.5 MB, free: 11.59 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001518/0.01315, allocations: 269.1 kB / 278.7 MB, free: 11.25 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002/0.01335, allocations: 224.8 kB / 279 MB, free: 10.97 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.454e-06/0.01335, allocations: 0 / 279 MB, free: 10.97 MB / 266.7 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0003909/0.01374, allocations: 336.1 kB / 279.3 MB, free: 10.62 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.948e-05/0.01377, allocations: 34.05 kB / 279.3 MB, free: 10.58 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.731e-06/0.01378, allocations: 4 kB / 279.3 MB, free: 10.58 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000225/0.014, allocations: 51.66 kB / 279.4 MB, free: 10.52 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001467/0.01415, allocations: 63.91 kB / 279.4 MB, free: 10.46 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009347/0.01509, allocations: 1.775 MB / 281.2 MB, free: 8.566 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000146/0.01523, allocations: 47.89 kB / 281.3 MB, free: 8.52 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.751e-05/0.01525, allocations: 15.98 kB / 281.3 MB, free: 8.504 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 0.0001148/0.01536, allocations: 183.8 kB / 281.4 MB, free: 8.316 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.495e-05/0.0154, allocations: 35.81 kB / 281.5 MB, free: 8.281 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.779e-05/0.01543, allocations: 26.11 kB / 281.5 MB, free: 8.254 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.415e-06/0.01543, allocations: 4 kB / 281.5 MB, free: 8.25 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.535e-06/0.01543, allocations: 0 / 281.5 MB, free: 8.25 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.248e-06/0.01544, allocations: 0 / 281.5 MB, free: 8.25 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005628/0.016, allocations: 0.5706 MB / 282.1 MB, free: 7.629 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.735e-06/0.016, allocations: 3.984 kB / 282.1 MB, free: 7.625 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001033/0.0161, allocations: 31.98 kB / 282.1 MB, free: 7.594 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001247/0.01623, allocations: 55.62 kB / 282.2 MB, free: 7.535 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.411e-05/0.01624, allocations: 4 kB / 282.2 MB, free: 7.531 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007661/0.01701, allocations: 1.763 MB / 283.9 MB, free: 5.648 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.272e-06/0.01701, allocations: 4.125 kB / 283.9 MB, free: 5.645 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003641/0.01737, allocations: 385.3 kB / 284.3 MB, free: 5.242 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.882e-05/0.0174, allocations: 31.8 kB / 284.4 MB, free: 5.211 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.296e-05/0.01743, allocations: 8 kB / 284.4 MB, free: 5.203 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001064/0.01753, allocations: 23.98 kB / 284.4 MB, free: 5.18 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.319e-05/0.0176, allocations: 23.91 kB / 284.4 MB, free: 5.156 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.099e-05/0.01761, allocations: 12.02 kB / 284.4 MB, free: 5.145 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0001211/0.01773, allocations: 217 kB / 284.6 MB, free: 4.934 MB / 266.7 MB Notification: Performance of sort global known variables: time 8.1e-08/0.01773, allocations: 0 / 284.6 MB, free: 4.934 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002429/0.01797, allocations: 87.83 kB / 284.7 MB, free: 4.848 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.0001245/0.0181, allocations: 107.2 kB / 284.8 MB, free: 4.73 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0005685/0.01866, allocations: 388.9 kB / 285.2 MB, free: 4.316 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.973e-06/0.01867, allocations: 4.25 kB / 285.2 MB, free: 4.312 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001387/0.0188, allocations: 225.5 kB / 285.4 MB, free: 4.07 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002781/0.01908, allocations: 52.47 kB / 285.5 MB, free: 4.02 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001257/0.02034, allocations: 0.6428 MB / 286.1 MB, free: 3.344 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.916e-05/0.02039, allocations: 84.31 kB / 286.2 MB, free: 3.242 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 7.716e-05/0.02047, allocations: 34.95 kB / 286.2 MB, free: 3.203 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.551e-05/0.02052, allocations: 28.5 kB / 286.3 MB, free: 3.176 MB / 266.7 MB Notification: Performance of SimCode: time 9.02e-07/0.02052, allocations: 0 / 286.3 MB, free: 3.176 MB / 266.7 MB Notification: Performance of Templates: time 0.006059/0.02658, allocations: 4.333 MB / 290.6 MB, free: 14.9 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.LowPass.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.LowPass.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.LowPass.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.LowPass.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.LowPass.sim & ./Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.LowPass -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.LowPass.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.LowPass_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.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: 3.0474477661773562]