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.0007481/0.0007481, allocations: 76.17 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001078/0.001826, allocations: 449.7 kB / 10.37 MB, free: 328 kB / 10.45 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.0006852/0.0006852, allocations: 169.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008895/0.001575, allocations: 455.6 kB / 11.71 MB, free: 2.461 MB / 13.93 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 0.8991/0.8991, allocations: 177.2 MB / 189.6 MB, free: 5.312 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0859/0.985, allocations: 53.65 MB / 243.3 MB, free: 15.59 MB / 250.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.322e-06/1.322e-06, allocations: 0 / 244.6 MB, free: 14.29 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.141e-05/1.273e-05, allocations: 6.25 kB / 244.6 MB, free: 14.28 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.LowPass): time 0.002931/0.002944, allocations: 3.123 MB / 247.7 MB, free: 11.13 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009195/0.003863, allocations: 0.8139 MB / 248.5 MB, free: 10.31 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001106/0.003974, allocations: 7.938 kB / 248.5 MB, free: 10.3 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 8.471e-05/0.004058, allocations: 55.48 kB / 248.6 MB, free: 10.25 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001369/0.004195, allocations: 126.9 kB / 248.7 MB, free: 10.12 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001709/0.004366, allocations: 131.7 kB / 248.8 MB, free: 9.996 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003125/0.004679, allocations: 474.1 kB / 249.3 MB, free: 9.531 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001559/0.004835, allocations: 98.11 kB / 249.4 MB, free: 9.438 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003546/0.005189, allocations: 319.6 kB / 249.7 MB, free: 9.125 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001439/0.005333, allocations: 143.6 kB / 249.8 MB, free: 8.984 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 4.133e-05/0.005374, allocations: 44 kB / 249.9 MB, free: 8.941 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.98e-05/0.005414, allocations: 44 kB / 249.9 MB, free: 8.898 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 4.304e-05/0.005457, allocations: 63.81 kB / 250 MB, free: 8.836 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 8.447e-05/0.005542, allocations: 115.8 kB / 250.1 MB, free: 8.723 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002383/0.00578, allocations: 267.1 kB / 250.4 MB, free: 8.461 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.439e-05/0.005794, allocations: 4 kB / 250.4 MB, free: 8.457 MB / 250.7 MB Notification: Performance of FrontEnd: time 6.72e-07/0.005795, allocations: 0 / 250.4 MB, free: 8.457 MB / 250.7 MB Notification: Performance of Transformations before backend: time 1.446e-05/0.005809, allocations: 0 / 250.4 MB, free: 8.457 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.0007234/0.006533, allocations: 0.6612 MB / 251 MB, free: 7.766 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.461e-05/0.006558, allocations: 11.97 kB / 251 MB, free: 7.754 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.617e-05/0.006614, allocations: 44.91 kB / 251.1 MB, free: 7.711 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002044/0.006818, allocations: 204.7 kB / 251.3 MB, free: 7.484 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.312e-05/0.006831, allocations: 17.03 kB / 251.3 MB, free: 7.469 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.195e-05/0.006863, allocations: 32.38 kB / 251.3 MB, free: 7.438 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002845/0.007148, allocations: 309.6 kB / 251.6 MB, free: 7.105 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.626e-06/0.007156, allocations: 4.188 kB / 251.6 MB, free: 7.102 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.997e-05/0.007176, allocations: 15.94 kB / 251.6 MB, free: 7.086 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.624e-06/0.007184, allocations: 8 kB / 251.7 MB, free: 7.078 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001073/0.007291, allocations: 72.55 kB / 251.7 MB, free: 7.008 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008852/0.008176, allocations: 0.8702 MB / 252.6 MB, free: 6.082 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001635/0.00834, allocations: 114.5 kB / 252.7 MB, free: 5.961 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.758e-05/0.008408, allocations: 48.83 kB / 252.8 MB, free: 5.91 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.063e-05/0.008428, allocations: 4 kB / 252.8 MB, free: 5.906 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003274/0.008756, allocations: 172.9 kB / 252.9 MB, free: 5.707 MB / 250.7 MB Notification: Performance of pre-optimization done (n=17): time 1.113e-06/0.008757, allocations: 4 kB / 252.9 MB, free: 5.703 MB / 250.7 MB Notification: Performance of matching and sorting (n=17): time 0.0004297/0.009186, allocations: 234.2 kB / 253.2 MB, free: 5.465 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.676e-05/0.009213, allocations: 59.34 kB / 253.2 MB, free: 5.395 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001347/0.009348, allocations: 249.2 kB / 253.5 MB, free: 5.137 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 1.906e-05/0.009367, allocations: 33.7 kB / 253.5 MB, free: 5.098 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.796e-05/0.009445, allocations: 200.7 kB / 253.7 MB, free: 4.895 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.265e-05/0.009477, allocations: 55.52 kB / 253.7 MB, free: 4.84 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.798e-05/0.009535, allocations: 61.62 kB / 253.8 MB, free: 4.773 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 7.455e-05/0.00961, allocations: 338.8 kB / 254.1 MB, free: 4.434 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.807e-05/0.009658, allocations: 57.91 kB / 254.2 MB, free: 4.371 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001301/0.009788, allocations: 203.6 kB / 254.4 MB, free: 4.113 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001377/0.009926, allocations: 191.8 kB / 254.6 MB, free: 3.883 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.795e-06/0.009929, allocations: 0 / 254.6 MB, free: 3.883 MB / 250.7 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0002564/0.01019, allocations: 264.5 kB / 254.8 MB, free: 3.605 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.346e-05/0.01022, allocations: 38.05 kB / 254.9 MB, free: 3.562 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.72e-06/0.01022, allocations: 4 kB / 254.9 MB, free: 3.559 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000149/0.01037, allocations: 52.75 kB / 254.9 MB, free: 3.504 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001643/0.01054, allocations: 75.89 kB / 255 MB, free: 3.43 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006412/0.01118, allocations: 1.205 MB / 256.2 MB, free: 2.141 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001279/0.01131, allocations: 47.89 kB / 256.3 MB, free: 2.094 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.255e-05/0.01132, allocations: 11.94 kB / 256.3 MB, free: 2.082 MB / 250.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 7.464e-05/0.01139, allocations: 129.2 kB / 256.4 MB, free: 1.949 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.461e-05/0.01142, allocations: 27.91 kB / 256.4 MB, free: 1.922 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.674e-05/0.01145, allocations: 30.11 kB / 256.4 MB, free: 1.895 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.322e-06/0.01145, allocations: 0 / 256.4 MB, free: 1.895 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.745e-06/0.01145, allocations: 4 kB / 256.5 MB, free: 1.891 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.326e-06/0.01145, allocations: 0 / 256.5 MB, free: 1.891 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003756/0.01183, allocations: 388.1 kB / 256.8 MB, free: 1.48 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.425e-06/0.01183, allocations: 4 kB / 256.8 MB, free: 1.477 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001208/0.01195, allocations: 47.95 kB / 256.9 MB, free: 1.43 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.476e-05/0.01198, allocations: 23.8 kB / 256.9 MB, free: 1.406 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.659e-05/0.01207, allocations: 48.84 kB / 257 MB, free: 1.355 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.317e-06/0.01208, allocations: 7.938 kB / 257 MB, free: 1.348 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000496/0.01258, allocations: 1.19 MB / 258.2 MB, free: 76 kB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.874e-06/0.01258, allocations: 3.938 kB / 258.2 MB, free: 72 kB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002491/0.01283, allocations: 272.1 kB / 258.4 MB, free: 15.79 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.404e-05/0.01285, allocations: 11.94 kB / 258.4 MB, free: 15.77 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001027/0.01296, allocations: 28.06 kB / 258.5 MB, free: 15.75 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.125e-05/0.013, allocations: 23.97 kB / 258.5 MB, free: 15.72 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.143e-06/0.013, allocations: 0 / 258.5 MB, free: 15.72 MB / 266.7 MB Notification: Performance of sorting global known variables: time 6.135e-05/0.01307, allocations: 98.69 kB / 258.6 MB, free: 15.62 MB / 266.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01307, allocations: 0 / 258.6 MB, free: 15.62 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0001922/0.01326, allocations: 75.89 kB / 258.7 MB, free: 15.55 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 7.29e-05/0.01333, allocations: 88.39 kB / 258.7 MB, free: 15.45 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0002588/0.01359, allocations: 318.7 kB / 259.1 MB, free: 15.11 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.125e-05/0.0136, allocations: 4 kB / 259.1 MB, free: 15.11 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 9.526e-05/0.0137, allocations: 159.4 kB / 259.2 MB, free: 14.93 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000203/0.0139, allocations: 76.83 kB / 259.3 MB, free: 14.86 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002245/0.01614, allocations: 0.6623 MB / 259.9 MB, free: 14.16 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.072e-05/0.01619, allocations: 100 kB / 260 MB, free: 14.04 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 7.206e-05/0.01627, allocations: 26.98 kB / 260.1 MB, free: 14.02 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001282/0.01639, allocations: 111.3 kB / 260.2 MB, free: 13.91 MB / 266.7 MB Notification: Performance of SimCode: time 6.22e-07/0.0164, allocations: 0 / 260.2 MB, free: 13.91 MB / 266.7 MB Notification: Performance of Templates: time 0.00587/0.02227, allocations: 4.766 MB / 264.9 MB, free: 9.219 MB / 266.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 -ignoreHideResult -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.613243787549436]