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.001139/0.001139, allocations: 88.28 kB / 21.44 MB, free: 3.129 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.006238/0.006238, allocations: 152.2 kB / 24.69 MB, free: 8.922 MB / 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 0.856/0.856, allocations: 177 MB / 204.9 MB, free: 5.77 MB / 186.7 MB " [Timeout remaining time 179] 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 1.583e-06/1.583e-06, allocations: 0 / 325.8 MB, free: 15.36 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.984e-05/2.142e-05, allocations: 2.281 kB / 325.8 MB, free: 15.35 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.LowPass): time 0.002743/0.002764, allocations: 2.896 MB / 328.7 MB, free: 12.43 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009759/0.00374, allocations: 0.7402 MB / 329.5 MB, free: 11.69 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001393/0.00388, allocations: 7.938 kB / 329.5 MB, free: 11.68 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001619/0.004041, allocations: 67.36 kB / 329.5 MB, free: 11.61 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001638/0.004205, allocations: 123 kB / 329.6 MB, free: 11.49 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002387/0.004444, allocations: 115.7 kB / 329.8 MB, free: 11.38 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003426/0.004787, allocations: 469.9 kB / 330.2 MB, free: 10.92 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001783/0.004965, allocations: 99.44 kB / 330.3 MB, free: 10.82 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002913/0.005256, allocations: 267.3 kB / 330.6 MB, free: 10.56 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001497/0.005406, allocations: 147.5 kB / 330.7 MB, free: 10.42 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 4.121e-05/0.005447, allocations: 44 kB / 330.8 MB, free: 10.38 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.715e-05/0.005484, allocations: 48 kB / 330.8 MB, free: 10.33 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 5.146e-05/0.005536, allocations: 91.66 kB / 330.9 MB, free: 10.24 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 9.753e-05/0.005633, allocations: 143.6 kB / 331 MB, free: 10.1 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003688/0.006002, allocations: 0.5102 MB / 331.6 MB, free: 9.586 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.023e-06/0.006004, allocations: 0 / 331.6 MB, free: 9.586 MB / 298.7 MB Notification: Performance of FrontEnd: time 7.51e-07/0.006005, allocations: 0 / 331.6 MB, free: 9.586 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.458e-06/0.006009, allocations: 0 / 331.6 MB, free: 9.586 MB / 298.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.0008703/0.00688, allocations: 0.6238 MB / 332.2 MB, free: 8.922 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.994e-05/0.00692, allocations: 11.98 kB / 332.2 MB, free: 8.91 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.888e-05/0.006988, allocations: 44.66 kB / 332.2 MB, free: 8.867 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003519/0.00734, allocations: 264.6 kB / 332.5 MB, free: 8.586 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.395e-05/0.007364, allocations: 25.03 kB / 332.5 MB, free: 8.562 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.266e-05/0.007407, allocations: 36.36 kB / 332.5 MB, free: 8.527 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006848/0.008092, allocations: 383.6 kB / 332.9 MB, free: 8.129 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.079e-05/0.008103, allocations: 192 / 332.9 MB, free: 8.129 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.278e-05/0.008125, allocations: 15.94 kB / 332.9 MB, free: 8.113 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.284e-06/0.008133, allocations: 8 kB / 332.9 MB, free: 8.105 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003799/0.008512, allocations: 282.5 kB / 333.2 MB, free: 7.828 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001167/0.009679, allocations: 1.008 MB / 334.2 MB, free: 6.766 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003565/0.01004, allocations: 221.8 kB / 334.4 MB, free: 6.543 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000189/0.01022, allocations: 120.8 kB / 334.6 MB, free: 6.422 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.787e-05/0.01024, allocations: 8.031 kB / 334.6 MB, free: 6.414 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002738/0.01052, allocations: 275.4 kB / 334.8 MB, free: 6.105 MB / 298.7 MB Notification: Performance of pre-optimization done (n=20): time 1.062e-06/0.01052, allocations: 0 / 334.8 MB, free: 6.105 MB / 298.7 MB Notification: Performance of matching and sorting (n=20): time 0.0008192/0.01134, allocations: 441.9 kB / 335.3 MB, free: 5.664 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.036e-05/0.0114, allocations: 132.5 kB / 335.4 MB, free: 5.504 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001992/0.0116, allocations: 285.8 kB / 335.7 MB, free: 5.215 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.064e-05/0.01162, allocations: 33.7 kB / 335.7 MB, free: 5.176 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001006/0.01172, allocations: 216.3 kB / 335.9 MB, free: 4.957 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.952e-05/0.01176, allocations: 67.42 kB / 336 MB, free: 4.891 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.312e-05/0.01182, allocations: 53.98 kB / 336 MB, free: 4.832 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 8.222e-05/0.0119, allocations: 338.8 kB / 336.4 MB, free: 4.492 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001664/0.01207, allocations: 129.9 kB / 336.5 MB, free: 4.359 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000221/0.01229, allocations: 316.4 kB / 336.8 MB, free: 3.984 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000325/0.01261, allocations: 298.9 kB / 337.1 MB, free: 3.652 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.796e-06/0.01262, allocations: 3.984 kB / 337.1 MB, free: 3.648 MB / 298.7 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0005453/0.01317, allocations: 465.4 kB / 337.6 MB, free: 3.172 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.8e-05/0.0132, allocations: 29.7 kB / 337.6 MB, free: 3.137 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.011e-06/0.0132, allocations: 4 kB / 337.6 MB, free: 3.133 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002016/0.0134, allocations: 60.8 kB / 337.7 MB, free: 3.07 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001492/0.01355, allocations: 67.98 kB / 337.7 MB, free: 3.004 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009989/0.01455, allocations: 1.466 MB / 339.2 MB, free: 1.426 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001628/0.01472, allocations: 63.67 kB / 339.2 MB, free: 1.363 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.523e-05/0.01473, allocations: 12 kB / 339.3 MB, free: 1.352 MB / 298.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.0001108/0.01484, allocations: 153.8 kB / 339.4 MB, free: 1.188 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.557e-05/0.01487, allocations: 31.75 kB / 339.4 MB, free: 1.156 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.661e-05/0.01489, allocations: 34.17 kB / 339.5 MB, free: 1.129 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.935e-06/0.0149, allocations: 4 kB / 339.5 MB, free: 1.125 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.002e-06/0.0149, allocations: 0 / 339.5 MB, free: 1.125 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.988e-06/0.0149, allocations: 0 / 339.5 MB, free: 1.125 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001072/0.01597, allocations: 0.6361 MB / 340.1 MB, free: 456 kB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.264e-06/0.01598, allocations: 0 / 340.1 MB, free: 456 kB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001165/0.01609, allocations: 51.84 kB / 340.2 MB, free: 404 kB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001236/0.01622, allocations: 52.8 kB / 340.2 MB, free: 348 kB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.539e-05/0.01623, allocations: 12 kB / 340.2 MB, free: 336 kB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008981/0.01713, allocations: 1.465 MB / 341.7 MB, free: 14.75 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.51e-07/0.01713, allocations: 0 / 341.7 MB, free: 14.75 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005826/0.01771, allocations: 0.504 MB / 342.2 MB, free: 14.23 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.02e-05/0.01774, allocations: 31.83 kB / 342.2 MB, free: 14.2 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.145e-05/0.01776, allocations: 7.938 kB / 342.2 MB, free: 14.19 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001233/0.01789, allocations: 32.03 kB / 342.3 MB, free: 14.16 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.233e-05/0.01795, allocations: 27.95 kB / 342.3 MB, free: 14.13 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.054e-05/0.01796, allocations: 4 kB / 342.3 MB, free: 14.13 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0001236/0.01808, allocations: 201.2 kB / 342.5 MB, free: 13.93 MB / 314.7 MB Notification: Performance of sort global known variables: time 6.1e-08/0.01808, allocations: 3.938 kB / 342.5 MB, free: 13.93 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0002331/0.01832, allocations: 87.83 kB / 342.6 MB, free: 13.84 MB / 314.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.0001014/0.01842, allocations: 107.2 kB / 342.7 MB, free: 13.73 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0005217/0.01894, allocations: 452.3 kB / 343.1 MB, free: 13.26 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 1.573e-06/0.01894, allocations: 0 / 343.1 MB, free: 13.26 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002186/0.01916, allocations: 239.2 kB / 343.4 MB, free: 13.01 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002618/0.01942, allocations: 47.42 kB / 343.4 MB, free: 12.97 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000985/0.02041, allocations: 0.6539 MB / 344.1 MB, free: 12.28 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001028/0.02051, allocations: 169.1 kB / 344.2 MB, free: 12.09 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.988e-05/0.02057, allocations: 24.5 kB / 344.3 MB, free: 12.06 MB / 314.7 MB Notification: Performance of SimCode: time 8.01e-07/0.02057, allocations: 0 / 344.3 MB, free: 12.06 MB / 314.7 MB Notification: Performance of Templates: time 0.004805/0.02538, allocations: 5.543 MB / 349.8 MB, free: 6.527 MB / 314.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.6333701722323895]