Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.LowPass.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001428/0.001428, allocations: 92.27 kB / 20.96 MB, free: 3.445 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001622/0.001622, allocations: 156.9 kB / 24.26 MB, free: 152 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.489/1.489, allocations: 177 MB / 204.4 MB, free: 5.605 MB / 186.7 MB " [Timeout remaining time 178] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_Modelica.Electrical.Analog.Examples.OpAmps.LowPass") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.875e-06/2.875e-06, allocations: 0 / 272.2 MB, free: 1.746 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.464e-05/3.751e-05, allocations: 2.312 kB / 272.3 MB, free: 1.742 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.LowPass): time 0.008809/0.008847, allocations: 2.893 MB / 275.1 MB, free: 14.82 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.002713/0.01156, allocations: 0.7363 MB / 275.9 MB, free: 14.09 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002918/0.01185, allocations: 7.938 kB / 275.9 MB, free: 14.08 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003018/0.01215, allocations: 59.38 kB / 275.9 MB, free: 14.02 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000483/0.01264, allocations: 123 kB / 276.1 MB, free: 13.9 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005463/0.01318, allocations: 115.7 kB / 276.2 MB, free: 13.79 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0009586/0.01414, allocations: 477.9 kB / 276.6 MB, free: 13.32 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003534/0.01449, allocations: 91.48 kB / 276.7 MB, free: 13.23 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007388/0.01523, allocations: 271.3 kB / 277 MB, free: 12.96 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004341/0.01567, allocations: 147.5 kB / 277.1 MB, free: 12.82 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001411/0.01581, allocations: 48 kB / 277.2 MB, free: 12.77 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001284/0.01594, allocations: 44 kB / 277.2 MB, free: 12.73 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001645/0.0161, allocations: 87.67 kB / 277.3 MB, free: 12.64 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003231/0.01643, allocations: 143.6 kB / 277.5 MB, free: 12.5 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001125/0.01755, allocations: 0.5063 MB / 278 MB, free: 11.99 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.268e-05/0.01756, allocations: 4 kB / 278 MB, free: 11.99 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.984e-06/0.01756, allocations: 4 kB / 278 MB, free: 11.98 MB / 266.7 MB Notification: Performance of Transformations before backend: time 8.446e-06/0.01757, allocations: 0 / 278 MB, free: 11.98 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: 71 * Number of variables: 71 Notification: Performance of Generate backend data structure: time 0.002256/0.01983, allocations: 0.6276 MB / 278.6 MB, free: 11.32 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.904e-05/0.01989, allocations: 19.98 kB / 278.6 MB, free: 11.3 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002461/0.02013, allocations: 64.66 kB / 278.7 MB, free: 11.24 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008808/0.02101, allocations: 260.7 kB / 278.9 MB, free: 10.96 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.925e-05/0.02107, allocations: 21.03 kB / 279 MB, free: 10.94 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001104/0.02118, allocations: 40.25 kB / 279 MB, free: 10.9 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001329/0.02251, allocations: 391.7 kB / 279.4 MB, free: 10.49 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.69e-05/0.02253, allocations: 192 / 279.4 MB, free: 10.49 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.606e-05/0.0226, allocations: 19.94 kB / 279.4 MB, free: 10.47 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.346e-05/0.02261, allocations: 4 kB / 279.4 MB, free: 10.47 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001428/0.02404, allocations: 278.5 kB / 279.7 MB, free: 10.2 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003865/0.0279, allocations: 1.004 MB / 280.7 MB, free: 9.137 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001269/0.02917, allocations: 230.4 kB / 280.9 MB, free: 8.902 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000663/0.02983, allocations: 112.8 kB / 281 MB, free: 8.789 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.346e-05/0.02988, allocations: 7.984 kB / 281 MB, free: 8.781 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008408/0.03072, allocations: 279.4 kB / 281.3 MB, free: 8.469 MB / 266.7 MB Notification: Performance of pre-optimization done (n=20): time 2.615e-06/0.03072, allocations: 0 / 281.3 MB, free: 8.469 MB / 266.7 MB Notification: Performance of matching and sorting (n=20): time 0.003028/0.03375, allocations: 441.9 kB / 281.7 MB, free: 8.027 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001849/0.03393, allocations: 136.5 kB / 281.9 MB, free: 7.863 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006687/0.0346, allocations: 285.8 kB / 282.1 MB, free: 7.578 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 5.552e-05/0.03466, allocations: 25.7 kB / 282.2 MB, free: 7.547 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003273/0.03499, allocations: 212.3 kB / 282.4 MB, free: 7.332 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001322/0.03512, allocations: 67.44 kB / 282.4 MB, free: 7.266 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002032/0.03532, allocations: 61.97 kB / 282.5 MB, free: 7.199 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0003143/0.03564, allocations: 338.8 kB / 282.8 MB, free: 6.859 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006676/0.0363, allocations: 133.9 kB / 283 MB, free: 6.723 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009482/0.03725, allocations: 316.3 kB / 283.3 MB, free: 6.348 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001327/0.03858, allocations: 306.9 kB / 283.6 MB, free: 6.008 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.235e-05/0.03859, allocations: 4 kB / 283.6 MB, free: 6.004 MB / 266.7 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.00228/0.04087, allocations: 477.3 kB / 284 MB, free: 5.516 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.393e-05/0.04096, allocations: 41.72 kB / 284.1 MB, free: 5.469 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.201e-05/0.04097, allocations: 0 / 284.1 MB, free: 5.469 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008931/0.04186, allocations: 76.78 kB / 284.2 MB, free: 5.391 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005325/0.04239, allocations: 63.89 kB / 284.2 MB, free: 5.328 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003529/0.04592, allocations: 1.47 MB / 285.7 MB, free: 3.75 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007805/0.0467, allocations: 59.75 kB / 285.7 MB, free: 3.691 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.184e-05/0.04675, allocations: 8 kB / 285.8 MB, free: 3.684 MB / 266.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * Number of states: 0 () * Number of discrete variables: 7 (vIn.signalSource.count,$PRE.vIn.signalSource.count,vIn.signalSource.T_start,$PRE.vIn.signalSource.T_start,firstOrder.opAmp.satNeg,firstOrder.opAmp.satPos,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (32): * Single equations (assignments): 30 * 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,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0004251/0.04718, allocations: 157.8 kB / 285.9 MB, free: 3.52 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001424/0.04732, allocations: 39.75 kB / 285.9 MB, free: 3.48 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000118/0.04744, allocations: 30.11 kB / 286 MB, free: 3.445 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.528e-06/0.04744, allocations: 3.938 kB / 286 MB, free: 3.441 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.167e-06/0.04745, allocations: 0 / 286 MB, free: 3.441 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.5e-06/0.04745, allocations: 4 kB / 286 MB, free: 3.438 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002647/0.0501, allocations: 0.6361 MB / 286.6 MB, free: 2.758 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.631e-06/0.05011, allocations: 0 / 286.6 MB, free: 2.758 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004853/0.05059, allocations: 51.92 kB / 286.7 MB, free: 2.707 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007506/0.05134, allocations: 80.89 kB / 286.7 MB, free: 2.625 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.35e-05/0.0514, allocations: 7.984 kB / 286.8 MB, free: 2.617 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003251/0.05465, allocations: 1.469 MB / 288.2 MB, free: 1.039 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.746e-06/0.05465, allocations: 4.031 kB / 288.2 MB, free: 1.035 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002183/0.05684, allocations: 0.5077 MB / 288.7 MB, free: 0.5078 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001975/0.05704, allocations: 35.77 kB / 288.8 MB, free: 484 kB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.247e-05/0.05712, allocations: 3.938 kB / 288.8 MB, free: 480 kB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005691/0.05769, allocations: 36.03 kB / 288.8 MB, free: 444 kB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001955/0.05788, allocations: 27.95 kB / 288.8 MB, free: 416 kB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.621e-05/0.05792, allocations: 4 kB / 288.8 MB, free: 412 kB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0005119/0.05843, allocations: 201.2 kB / 289 MB, free: 212 kB / 266.7 MB Notification: Performance of sort global known variables: time 2.1e-07/0.05843, allocations: 0 / 289 MB, free: 212 kB / 266.7 MB Notification: Performance of remove unused functions: time 0.0009455/0.05938, allocations: 83.89 kB / 289.1 MB, free: 128 kB / 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: 5 ($whenCondition1,firstOrder.opAmp.satPos,firstOrder.opAmp.satNeg,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 (18): * Single equations (assignments): 15 * 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,2)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0003653/0.05974, allocations: 115.2 kB / 289.2 MB, free: 8 kB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.001974/0.06172, allocations: 453.4 kB / 289.7 MB, free: 15.54 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 5.11e-06/0.06172, allocations: 0 / 289.7 MB, free: 15.54 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008092/0.06253, allocations: 239.1 kB / 289.9 MB, free: 15.29 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000819/0.06335, allocations: 61.64 kB / 290 MB, free: 15.23 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002881/0.06623, allocations: 0.6189 MB / 290.6 MB, free: 14.58 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002731/0.0665, allocations: 165.2 kB / 290.8 MB, free: 14.4 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0002281/0.06673, allocations: 38.89 kB / 290.8 MB, free: 14.36 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001322/0.06686, allocations: 28.5 kB / 290.8 MB, free: 14.34 MB / 282.7 MB Notification: Performance of SimCode: time 1.863e-06/0.06687, allocations: 0 / 290.8 MB, free: 14.34 MB / 282.7 MB Notification: Performance of Templates: time 0.01706/0.08392, allocations: 4.563 MB / 295.4 MB, free: 9.836 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.LowPass.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.LowPass.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.LowPass.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.LowPass.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.LowPass.sim & ./Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.LowPass -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.LowPass.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_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: 4.64449983893428]