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.001861/0.001861, allocations: 111 kB / 21.18 MB, free: 0.6758 MB / 14.72 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.002367/0.002367, allocations: 208.2 kB / 24.48 MB, free: 3.977 MB / 14.72 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.658/1.658, allocations: 230.6 MB / 258.2 MB, free: 7.773 MB / 206.1 MB " [Timeout remaining time 178] 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 0.001672/0.001672, allocations: 43.94 kB / 379 MB, free: 2.434 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3563/0.358, allocations: 53.38 MB / 432.4 MB, free: 6.699 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.LowPass): time 0.005559/0.3636, allocations: 2.875 MB / 435.2 MB, free: 3.809 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001823/0.3654, allocations: 0.7792 MB / 436 MB, free: 3.027 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000206/0.3656, allocations: 4 kB / 436 MB, free: 3.023 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002385/0.3658, allocations: 59.44 kB / 436.1 MB, free: 2.965 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000273/0.3661, allocations: 111.1 kB / 436.2 MB, free: 2.855 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004344/0.3665, allocations: 131.7 kB / 436.3 MB, free: 2.727 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006127/0.3672, allocations: 462.3 kB / 436.8 MB, free: 2.273 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002965/0.3675, allocations: 107.1 kB / 436.9 MB, free: 2.172 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003988/0.3679, allocations: 187.3 kB / 437.1 MB, free: 1.988 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002784/0.3681, allocations: 191.2 kB / 437.2 MB, free: 1.801 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 7.501e-05/0.3682, allocations: 44 kB / 437.3 MB, free: 1.758 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.692e-05/0.3683, allocations: 44 kB / 437.3 MB, free: 1.715 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 9.88e-05/0.3684, allocations: 91.62 kB / 437.4 MB, free: 1.625 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002057/0.3686, allocations: 155.3 kB / 437.6 MB, free: 1.473 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006831/0.3693, allocations: 0.501 MB / 438.1 MB, free: 0.9727 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.131e-06/0.3693, allocations: 0 / 438.1 MB, free: 0.9727 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.935e-06/0.3693, allocations: 0 / 438.1 MB, free: 0.9727 MB / 334.1 MB Notification: Performance of Transformations before backend: time 9.709e-06/0.3693, allocations: 4 kB / 438.1 MB, free: 0.9688 MB / 334.1 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.001594/0.3709, allocations: 0.6394 MB / 438.7 MB, free: 296 kB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.035e-05/0.3709, allocations: 8.031 kB / 438.7 MB, free: 288 kB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001033/0.371, allocations: 40.7 kB / 438.8 MB, free: 248 kB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005502/0.3716, allocations: 253 kB / 439 MB, free: 15.97 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.415e-05/0.3716, allocations: 25.03 kB / 439 MB, free: 15.95 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.354e-05/0.3717, allocations: 28.38 kB / 439.1 MB, free: 15.92 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009175/0.3726, allocations: 408.4 kB / 439.5 MB, free: 15.5 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.593e-05/0.3726, allocations: 3.938 kB / 439.5 MB, free: 15.5 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.592e-05/0.3727, allocations: 12 kB / 439.5 MB, free: 15.48 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.627e-05/0.3727, allocations: 4 kB / 439.5 MB, free: 15.48 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009018/0.3736, allocations: 310.4 kB / 439.8 MB, free: 15.18 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002473/0.3761, allocations: 1.086 MB / 440.9 MB, free: 14.03 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008904/0.377, allocations: 242.4 kB / 441.1 MB, free: 13.78 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004487/0.3774, allocations: 132.9 kB / 441.2 MB, free: 13.65 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.137e-05/0.3774, allocations: 7.938 kB / 441.2 MB, free: 13.64 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006057/0.378, allocations: 253.2 kB / 441.5 MB, free: 13.36 MB / 350.1 MB Notification: Performance of pre-optimization done (n=17): time 1.773e-06/0.378, allocations: 0 / 441.5 MB, free: 13.36 MB / 350.1 MB Notification: Performance of matching and sorting (n=17): time 0.002261/0.3803, allocations: 0.5632 MB / 442.1 MB, free: 12.79 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.965e-05/0.3804, allocations: 110.8 kB / 442.2 MB, free: 12.66 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004094/0.3808, allocations: 282 kB / 442.4 MB, free: 12.38 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.918e-05/0.3809, allocations: 37.7 kB / 442.5 MB, free: 12.33 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001997/0.3811, allocations: 212.3 kB / 442.7 MB, free: 12.12 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.005e-05/0.3811, allocations: 63.45 kB / 442.7 MB, free: 12.05 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001152/0.3812, allocations: 57.7 kB / 442.8 MB, free: 11.99 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001932/0.3814, allocations: 330.8 kB / 443.1 MB, free: 11.66 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003995/0.3818, allocations: 145.9 kB / 443.3 MB, free: 11.51 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005282/0.3824, allocations: 294.5 kB / 443.6 MB, free: 11.16 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000833/0.3832, allocations: 345.5 kB / 443.9 MB, free: 10.79 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.948e-06/0.3832, allocations: 0 / 443.9 MB, free: 10.79 MB / 350.1 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.001373/0.3846, allocations: 0.5033 MB / 444.4 MB, free: 10.26 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.998e-05/0.3846, allocations: 37.69 kB / 444.4 MB, free: 10.22 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.13e-05/0.3846, allocations: 4 kB / 444.4 MB, free: 10.21 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003909/0.385, allocations: 64.88 kB / 444.5 MB, free: 10.15 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003432/0.3854, allocations: 75.88 kB / 444.6 MB, free: 10.07 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00275/0.3881, allocations: 1.498 MB / 446.1 MB, free: 8.477 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004203/0.3885, allocations: 55.8 kB / 446.1 MB, free: 8.422 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.896e-05/0.3886, allocations: 20 kB / 446.1 MB, free: 8.402 MB / 350.1 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.0002538/0.3888, allocations: 153.7 kB / 446.3 MB, free: 8.242 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.375e-05/0.3889, allocations: 27.81 kB / 446.3 MB, free: 8.215 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.76e-05/0.3889, allocations: 30.11 kB / 446.4 MB, free: 8.184 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.168e-06/0.389, allocations: 7.875 kB / 446.4 MB, free: 8.176 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.429e-06/0.389, allocations: 0 / 446.4 MB, free: 8.176 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.058e-06/0.389, allocations: 0 / 446.4 MB, free: 8.176 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001768/0.3907, allocations: 0.6929 MB / 447.1 MB, free: 7.441 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.426e-06/0.3907, allocations: 0 / 447.1 MB, free: 7.441 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002505/0.391, allocations: 43.95 kB / 447.1 MB, free: 7.398 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002722/0.3913, allocations: 68.83 kB / 447.2 MB, free: 7.328 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.332e-05/0.3913, allocations: 4 kB / 447.2 MB, free: 7.324 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002503/0.3938, allocations: 1.495 MB / 448.7 MB, free: 5.727 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.525e-06/0.3938, allocations: 3.938 kB / 448.7 MB, free: 5.723 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00176/0.3955, allocations: 0.5672 MB / 449.2 MB, free: 5.133 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001065/0.3956, allocations: 35.78 kB / 449.3 MB, free: 5.098 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.872e-05/0.3957, allocations: 4 kB / 449.3 MB, free: 5.094 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003247/0.396, allocations: 39.95 kB / 449.3 MB, free: 5.055 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00012/0.3961, allocations: 19.97 kB / 449.3 MB, free: 5.035 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.986e-05/0.3962, allocations: 8 kB / 449.3 MB, free: 5.027 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0003068/0.3965, allocations: 197.2 kB / 449.5 MB, free: 4.832 MB / 350.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3965, allocations: 4 kB / 449.5 MB, free: 4.828 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.000554/0.397, allocations: 79.89 kB / 449.6 MB, free: 4.75 MB / 350.1 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.0002515/0.3973, allocations: 107.1 kB / 449.7 MB, free: 4.633 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001252/0.3985, allocations: 464 kB / 450.2 MB, free: 4.148 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.847e-06/0.3986, allocations: 4.062 kB / 450.2 MB, free: 4.145 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004995/0.399, allocations: 234.5 kB / 450.4 MB, free: 3.902 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004691/0.3995, allocations: 56.19 kB / 450.5 MB, free: 3.855 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003269/0.4028, allocations: 0.8462 MB / 451.3 MB, free: 2.98 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002275/0.403, allocations: 155.5 kB / 451.5 MB, free: 2.812 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001776/0.4032, allocations: 38.89 kB / 451.5 MB, free: 2.773 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8e-05/0.4033, allocations: 19.44 kB / 451.5 MB, free: 2.754 MB / 350.1 MB Notification: Performance of SimCode: time 1.182e-06/0.4033, allocations: 3.938 kB / 451.5 MB, free: 2.75 MB / 350.1 MB Notification: Performance of Templates: time 0.01146/0.4147, allocations: 4.711 MB / 456.2 MB, free: 14.09 MB / 366.1 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=480 -s cvode -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.LowPass.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.LowPass_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Analog/Examples/OpAmps/LowPass/LowPass.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.LowPass.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 5.20864118100144]