Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.Damper.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.001034/0.001034, allocations: 84.39 kB / 22.21 MB, free: 2.289 MB / 18.57 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.001056/0.001056, allocations: 166.9 kB / 25.61 MB, free: 8.91 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.9561/0.9561, allocations: 158.6 MB / 187.5 MB, free: 2.793 MB / 170.7 MB " [Timeout remaining time 179] Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.Mechanics.Translational.Examples.Damper,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|damper1.s_rel|damper1.v_rel|damper2.s_rel|damper2.v_rel|springDamper3.s_rel|springDamper3.v_rel",fileNamePrefix="Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.Damper") translateModel(Modelica.Mechanics.Translational.Examples.Damper,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|damper1.s_rel|damper1.v_rel|damper2.s_rel|damper2.v_rel|springDamper3.s_rel|springDamper3.v_rel",fileNamePrefix="Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.Damper") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.884e-06/1.884e-06, allocations: 0 / 251.5 MB, free: 7.262 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.998e-05/3.186e-05, allocations: 2.312 kB / 251.5 MB, free: 7.258 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.Damper): time 0.00426/0.004292, allocations: 2.375 MB / 253.8 MB, free: 4.867 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.000791/0.005083, allocations: 235.1 kB / 254.1 MB, free: 4.637 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000199/0.005282, allocations: 11.94 kB / 254.1 MB, free: 4.625 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001983/0.00548, allocations: 43.52 kB / 254.1 MB, free: 4.582 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002652/0.005746, allocations: 91.2 kB / 254.2 MB, free: 4.492 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002583/0.006004, allocations: 51.92 kB / 254.3 MB, free: 4.441 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003792/0.006383, allocations: 306.4 kB / 254.6 MB, free: 4.141 MB / 234.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002039/0.006587, allocations: 62.05 kB / 254.6 MB, free: 4.078 MB / 234.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002774/0.006864, allocations: 175.6 kB / 254.8 MB, free: 3.906 MB / 234.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001682/0.007033, allocations: 83.78 kB / 254.9 MB, free: 3.824 MB / 234.7 MB Notification: Performance of NFPackage.collectConstants: time 4.384e-05/0.007077, allocations: 20 kB / 254.9 MB, free: 3.805 MB / 234.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.298e-05/0.00712, allocations: 24 kB / 254.9 MB, free: 3.781 MB / 234.7 MB Notification: Performance of NFScalarize.scalarize: time 5.314e-05/0.007173, allocations: 55.75 kB / 255 MB, free: 3.727 MB / 234.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001001/0.007273, allocations: 95.75 kB / 255.1 MB, free: 3.633 MB / 234.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002982/0.007571, allocations: 191.2 kB / 255.2 MB, free: 3.445 MB / 234.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.627e-06/0.007575, allocations: 0 / 255.2 MB, free: 3.445 MB / 234.7 MB Notification: Performance of FrontEnd: time 1.162e-06/0.007576, allocations: 0 / 255.2 MB, free: 3.445 MB / 234.7 MB Notification: Performance of Transformations before backend: time 5.591e-06/0.007581, allocations: 0 / 255.2 MB, free: 3.445 MB / 234.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 59 * Number of variables: 59 Notification: Performance of Generate backend data structure: time 0.0007848/0.008366, allocations: 0.5778 MB / 255.8 MB, free: 2.828 MB / 234.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.968e-05/0.008426, allocations: 15.98 kB / 255.8 MB, free: 2.812 MB / 234.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001026/0.008528, allocations: 48.75 kB / 255.9 MB, free: 2.766 MB / 234.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002643/0.008793, allocations: 192.9 kB / 256.1 MB, free: 2.547 MB / 234.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.366e-05/0.008816, allocations: 20.88 kB / 256.1 MB, free: 2.527 MB / 234.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.569e-05/0.008862, allocations: 28.38 kB / 256.1 MB, free: 2.5 MB / 234.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000295/0.009157, allocations: 195.5 kB / 256.3 MB, free: 2.289 MB / 234.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.236e-05/0.009179, allocations: 12.12 kB / 256.3 MB, free: 2.277 MB / 234.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.117e-05/0.009201, allocations: 8.375 kB / 256.3 MB, free: 2.27 MB / 234.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.909e-06/0.009211, allocations: 8.375 kB / 256.3 MB, free: 2.262 MB / 234.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001676/0.009378, allocations: 87.69 kB / 256.4 MB, free: 2.176 MB / 234.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00102/0.0104, allocations: 0.7554 MB / 257.2 MB, free: 1.383 MB / 234.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003935/0.01079, allocations: 229.1 kB / 257.4 MB, free: 1.121 MB / 234.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001548/0.01095, allocations: 91.02 kB / 257.5 MB, free: 1.02 MB / 234.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.472e-05/0.01096, allocations: 4 kB / 257.5 MB, free: 1.016 MB / 234.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.282e-05/0.01099, allocations: 53.25 kB / 257.5 MB, free: 0.9531 MB / 234.7 MB Notification: Performance of pre-optimization done (n=33): time 2.405e-06/0.011, allocations: 0 / 257.5 MB, free: 0.9531 MB / 234.7 MB Notification: Performance of matching and sorting (n=45): time 0.001951/0.01295, allocations: 1.277 MB / 258.8 MB, free: 15.52 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.925e-05/0.01301, allocations: 106.8 kB / 258.9 MB, free: 15.39 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001544/0.01316, allocations: 217.8 kB / 259.1 MB, free: 15.16 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 2.632e-05/0.01319, allocations: 33.7 kB / 259.2 MB, free: 15.12 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001156/0.0133, allocations: 195.5 kB / 259.4 MB, free: 14.92 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001267/0.01343, allocations: 174.5 kB / 259.5 MB, free: 14.75 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.873e-05/0.01353, allocations: 75.83 kB / 259.6 MB, free: 14.67 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0001629/0.01369, allocations: 0.5078 MB / 260.1 MB, free: 14.15 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.406e-05/0.01378, allocations: 44.95 kB / 260.2 MB, free: 14.11 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001364/0.01391, allocations: 134.6 kB / 260.3 MB, free: 13.94 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002362/0.01415, allocations: 197.7 kB / 260.5 MB, free: 13.72 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.314e-06/0.01415, allocations: 0 / 260.5 MB, free: 13.72 MB / 250.7 MB Notification: Performance of matching and sorting (n=54) (initialization): time 0.0003647/0.01451, allocations: 261.1 kB / 260.7 MB, free: 13.46 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.783e-05/0.01453, allocations: 4 kB / 260.7 MB, free: 13.45 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.615e-06/0.01454, allocations: 4 kB / 260.8 MB, free: 13.45 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.903e-05/0.01456, allocations: 8.031 kB / 260.8 MB, free: 13.44 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002846/0.01484, allocations: 91.98 kB / 260.8 MB, free: 13.35 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.063e-05/0.01485, allocations: 11.94 kB / 260.9 MB, free: 13.34 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.825e-05/0.01494, allocations: 11.94 kB / 260.9 MB, free: 13.33 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.994e-05/0.01496, allocations: 12 kB / 260.9 MB, free: 13.32 MB / 250.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (54): * Single equations (assignments): 54 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000122/0.01508, allocations: 172.5 kB / 261.1 MB, free: 13.14 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.922e-05/0.01518, allocations: 47.81 kB / 261.1 MB, free: 13.09 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.695e-05/0.01525, allocations: 37.8 kB / 261.1 MB, free: 13.05 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.26e-06/0.01526, allocations: 4 kB / 261.1 MB, free: 13.05 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.549e-06/0.01526, allocations: 0 / 261.1 MB, free: 13.05 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.979e-06/0.01527, allocations: 7.984 kB / 261.1 MB, free: 13.04 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00118/0.01645, allocations: 0.9848 MB / 262.1 MB, free: 11.98 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.991e-06/0.01646, allocations: 4 kB / 262.1 MB, free: 11.98 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003086/0.01677, allocations: 87.89 kB / 262.2 MB, free: 11.89 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.508e-06/0.01678, allocations: 8 kB / 262.2 MB, free: 11.89 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.236e-05/0.0168, allocations: 12.28 kB / 262.2 MB, free: 11.88 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.404e-06/0.0168, allocations: 11.94 kB / 262.3 MB, free: 11.86 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.949e-06/0.01681, allocations: 4 kB / 262.3 MB, free: 11.86 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006564/0.01747, allocations: 0.7548 MB / 263 MB, free: 11.04 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.243e-05/0.01751, allocations: 23.86 kB / 263 MB, free: 11.02 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.404e-05/0.01754, allocations: 12 kB / 263 MB, free: 11.01 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002016/0.01774, allocations: 8 kB / 263.1 MB, free: 11 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.421e-05/0.0178, allocations: 43.81 kB / 263.1 MB, free: 10.96 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.841e-05/0.01782, allocations: 12 kB / 263.1 MB, free: 10.95 MB / 250.7 MB Notification: Performance of sorting global known variables: time 8.829e-05/0.01791, allocations: 156.2 kB / 263.3 MB, free: 10.79 MB / 250.7 MB Notification: Performance of sort global known variables: time 2.1e-07/0.01791, allocations: 4 kB / 263.3 MB, free: 10.79 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0004421/0.01835, allocations: 72 kB / 263.3 MB, free: 10.72 MB / 250.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * Number of states: 6 (springDamper3.s_rel,springDamper3.v_rel,damper2.s_rel,damper2.v_rel,damper1.s_rel,damper1.v_rel) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (45): * Single equations (assignments): 45 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001487/0.0185, allocations: 103.2 kB / 263.4 MB, free: 10.61 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.000329/0.01883, allocations: 208 kB / 263.6 MB, free: 10.41 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 3.537e-06/0.01883, allocations: 0 / 263.6 MB, free: 10.41 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001494/0.01898, allocations: 115.8 kB / 263.8 MB, free: 10.29 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006848/0.01966, allocations: 61.81 kB / 263.8 MB, free: 10.23 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0011/0.02076, allocations: 0.7921 MB / 264.6 MB, free: 9.359 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.993e-05/0.02084, allocations: 97.28 kB / 264.7 MB, free: 9.246 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 9.842e-05/0.02094, allocations: 30.97 kB / 264.7 MB, free: 9.211 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001485/0.02109, allocations: 138.2 kB / 264.9 MB, free: 9.074 MB / 250.7 MB Notification: Performance of SimCode: time 1.202e-06/0.02109, allocations: 0 / 264.9 MB, free: 9.074 MB / 250.7 MB Notification: Performance of Templates: time 0.005351/0.02644, allocations: 3.227 MB / 268.1 MB, free: 5.891 MB / 250.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.Damper.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.Damper.pipe ; mkfifo Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.Damper.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.Damper.pipe >> ../files/Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.Damper.sim & ./Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.Damper -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.Damper.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.Damper_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Mechanics/Translational/Examples/Damper/Damper.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.789689608849585]