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.001277/0.001277, allocations: 83.89 kB / 21.19 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.001153/0.001153, allocations: 141.1 kB / 24.54 MB, free: 36 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.037/1.037, allocations: 173.3 MB / 201.1 MB, free: 9.328 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 2.495e-06/2.495e-06, allocations: 0 / 268 MB, free: 6.391 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.155e-05/3.404e-05, allocations: 2.312 kB / 268 MB, free: 6.387 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.LowPass): time 0.004922/0.004956, allocations: 3.083 MB / 271.1 MB, free: 3.281 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.001585/0.006541, allocations: 0.7559 MB / 271.9 MB, free: 2.523 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002191/0.00676, allocations: 11.94 kB / 271.9 MB, free: 2.512 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000213/0.006973, allocations: 51.5 kB / 271.9 MB, free: 2.461 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002599/0.007233, allocations: 126.9 kB / 272.1 MB, free: 2.336 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003888/0.007622, allocations: 127.8 kB / 272.2 MB, free: 2.211 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005779/0.0082, allocations: 474 kB / 272.6 MB, free: 1.746 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002585/0.008458, allocations: 99.41 kB / 272.7 MB, free: 1.648 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004591/0.008917, allocations: 263.5 kB / 273 MB, free: 1.391 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002567/0.009174, allocations: 151.5 kB / 273.1 MB, free: 1.242 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 7.992e-05/0.009254, allocations: 48 kB / 273.2 MB, free: 1.195 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.716e-05/0.009321, allocations: 44 kB / 273.2 MB, free: 1.152 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 8.181e-05/0.009403, allocations: 87.67 kB / 273.3 MB, free: 1.066 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001543/0.009557, allocations: 139.7 kB / 273.5 MB, free: 0.9297 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00035/0.009907, allocations: 290.9 kB / 273.7 MB, free: 0.6445 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.305e-06/0.009909, allocations: 0 / 273.7 MB, free: 0.6445 MB / 250.7 MB Notification: Performance of FrontEnd: time 7.31e-07/0.00991, allocations: 0 / 273.7 MB, free: 0.6445 MB / 250.7 MB Notification: Performance of Transformations before backend: time 5.31e-06/0.009915, allocations: 0 / 273.7 MB, free: 0.6445 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.0008723/0.01079, allocations: 0.7159 MB / 274.5 MB, free: 15.88 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.513e-05/0.01082, allocations: 8.031 kB / 274.5 MB, free: 15.88 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.079e-05/0.01091, allocations: 60.7 kB / 274.5 MB, free: 15.82 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002824/0.0112, allocations: 259.5 kB / 274.8 MB, free: 15.53 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.093e-05/0.01122, allocations: 29.02 kB / 274.8 MB, free: 15.5 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.045e-05/0.01126, allocations: 28.38 kB / 274.8 MB, free: 15.48 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004033/0.01166, allocations: 319.4 kB / 275.1 MB, free: 15.14 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.097e-05/0.01167, allocations: 4.188 kB / 275.2 MB, free: 15.13 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.787e-05/0.0117, allocations: 11.94 kB / 275.2 MB, free: 15.12 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.238e-05/0.01171, allocations: 8 kB / 275.2 MB, free: 15.11 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001958/0.01191, allocations: 115.8 kB / 275.3 MB, free: 15 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001239/0.01315, allocations: 1.108 MB / 276.4 MB, free: 13.82 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002766/0.01342, allocations: 139 kB / 276.5 MB, free: 13.68 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001248/0.01355, allocations: 59.75 kB / 276.6 MB, free: 13.61 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.535e-05/0.01357, allocations: 7.938 kB / 276.6 MB, free: 13.61 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005242/0.0141, allocations: 187.5 kB / 276.8 MB, free: 13.38 MB / 266.7 MB Notification: Performance of pre-optimization done (n=17): time 1.162e-06/0.0141, allocations: 0 / 276.8 MB, free: 13.38 MB / 266.7 MB Notification: Performance of matching and sorting (n=17): time 0.0006273/0.01473, allocations: 291.7 kB / 277.1 MB, free: 13.09 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.941e-05/0.01478, allocations: 106.8 kB / 277.2 MB, free: 12.96 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002068/0.01498, allocations: 324.5 kB / 277.5 MB, free: 12.62 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.173e-05/0.015, allocations: 33.64 kB / 277.5 MB, free: 12.59 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001111/0.01512, allocations: 267 kB / 277.8 MB, free: 12.32 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.754e-05/0.01515, allocations: 55.53 kB / 277.8 MB, free: 12.27 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.733e-05/0.01522, allocations: 59.31 kB / 277.9 MB, free: 12.2 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001236/0.01534, allocations: 0.504 MB / 278.4 MB, free: 11.68 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.673e-05/0.01543, allocations: 65.95 kB / 278.5 MB, free: 11.61 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001489/0.01558, allocations: 269.1 kB / 278.7 MB, free: 11.27 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001979/0.01578, allocations: 232.6 kB / 278.9 MB, free: 10.99 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.066e-06/0.01578, allocations: 0 / 278.9 MB, free: 10.99 MB / 266.7 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0003821/0.01616, allocations: 332.2 kB / 279.3 MB, free: 10.64 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.792e-05/0.01619, allocations: 33.7 kB / 279.3 MB, free: 10.6 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.101e-06/0.0162, allocations: 4 kB / 279.3 MB, free: 10.6 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002042/0.0164, allocations: 55.95 kB / 279.4 MB, free: 10.54 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001465/0.01655, allocations: 71.89 kB / 279.4 MB, free: 10.47 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009738/0.01752, allocations: 1.778 MB / 281.2 MB, free: 8.574 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001583/0.01768, allocations: 43.77 kB / 281.3 MB, free: 8.531 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.748e-05/0.0177, allocations: 12 kB / 281.3 MB, free: 8.52 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.0001129/0.01781, allocations: 176.5 kB / 281.4 MB, free: 8.336 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.918e-05/0.01785, allocations: 39.88 kB / 281.5 MB, free: 8.297 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.417e-05/0.01788, allocations: 30.11 kB / 281.5 MB, free: 8.266 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.503e-06/0.01788, allocations: 0 / 281.5 MB, free: 8.266 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.064e-06/0.01789, allocations: 0 / 281.5 MB, free: 8.266 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.017e-06/0.01789, allocations: 0 / 281.5 MB, free: 8.266 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005837/0.01847, allocations: 0.5707 MB / 282.1 MB, free: 7.645 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.465e-06/0.01848, allocations: 3.938 kB / 282.1 MB, free: 7.641 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001145/0.01859, allocations: 36.02 kB / 282.1 MB, free: 7.605 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001355/0.01873, allocations: 55.58 kB / 282.2 MB, free: 7.547 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.466e-05/0.01874, allocations: 3.984 kB / 282.2 MB, free: 7.543 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001107/0.01985, allocations: 1.767 MB / 283.9 MB, free: 5.656 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.32e-07/0.01985, allocations: 0 / 283.9 MB, free: 5.656 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003646/0.02021, allocations: 381.7 kB / 284.3 MB, free: 5.258 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.122e-05/0.02025, allocations: 39.77 kB / 284.4 MB, free: 5.219 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.329e-05/0.02027, allocations: 8 kB / 284.4 MB, free: 5.211 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001045/0.02037, allocations: 15.98 kB / 284.4 MB, free: 5.195 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.948e-05/0.02044, allocations: 27.89 kB / 284.4 MB, free: 5.168 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.094e-05/0.02045, allocations: 8 kB / 284.4 MB, free: 5.16 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0001375/0.02059, allocations: 221 kB / 284.6 MB, free: 4.945 MB / 266.7 MB Notification: Performance of sort global known variables: time 7e-08/0.02059, allocations: 0 / 284.6 MB, free: 4.945 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002502/0.02084, allocations: 79.89 kB / 284.7 MB, free: 4.867 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.0001341/0.02098, allocations: 111.1 kB / 284.8 MB, free: 4.746 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0004165/0.02139, allocations: 392.7 kB / 285.2 MB, free: 4.328 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.693e-06/0.02139, allocations: 0 / 285.2 MB, free: 4.328 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001504/0.02154, allocations: 225.5 kB / 285.4 MB, free: 4.086 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002668/0.02181, allocations: 49.22 kB / 285.5 MB, free: 4.039 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001292/0.0231, allocations: 0.6582 MB / 286.1 MB, free: 3.348 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.836e-05/0.02316, allocations: 88.31 kB / 286.2 MB, free: 3.242 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 7.917e-05/0.02324, allocations: 26.97 kB / 286.2 MB, free: 3.211 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.54e-05/0.0233, allocations: 24.5 kB / 286.3 MB, free: 3.188 MB / 266.7 MB Notification: Performance of SimCode: time 1.152e-06/0.0233, allocations: 0 / 286.3 MB, free: 3.188 MB / 266.7 MB Notification: Performance of Templates: time 0.006849/0.03015, allocations: 4.551 MB / 290.8 MB, free: 14.7 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: 2.8757795160636306]