Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.Damper.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.001446/0.001446, allocations: 72.08 kB / 21.69 MB, free: 2.859 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.001657/0.001657, allocations: 142.1 kB / 24.97 MB, free: 8.316 MB / 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 0.9485/0.9485, allocations: 173.3 MB / 201.5 MB, free: 9.316 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.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_4.0.0_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_4.0.0_Modelica.Mechanics.Translational.Examples.Damper") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.123e-06/1.123e-06, allocations: 0 / 268 MB, free: 6.738 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.259e-05/1.372e-05, allocations: 10.25 kB / 268.1 MB, free: 6.727 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.Damper): time 0.002135/0.002149, allocations: 2.413 MB / 270.5 MB, free: 4.301 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.0003685/0.002518, allocations: 247 kB / 270.7 MB, free: 4.059 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.619e-05/0.002604, allocations: 4 kB / 270.7 MB, free: 4.055 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001166/0.00272, allocations: 43.52 kB / 270.8 MB, free: 4.012 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001078/0.002828, allocations: 99.12 kB / 270.8 MB, free: 3.914 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001225/0.002951, allocations: 55.91 kB / 270.9 MB, free: 3.859 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002019/0.003152, allocations: 306.4 kB / 271.2 MB, free: 3.559 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001376/0.00329, allocations: 66.05 kB / 271.3 MB, free: 3.492 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000124/0.003414, allocations: 159.7 kB / 271.4 MB, free: 3.336 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001054/0.003519, allocations: 91.69 kB / 271.5 MB, free: 3.246 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 3.024e-05/0.00355, allocations: 24 kB / 271.5 MB, free: 3.223 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.457e-05/0.003574, allocations: 20 kB / 271.6 MB, free: 3.203 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 3.292e-05/0.003607, allocations: 55.83 kB / 271.6 MB, free: 3.148 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 7.277e-05/0.00368, allocations: 95.75 kB / 271.7 MB, free: 3.055 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001798/0.00386, allocations: 187.3 kB / 271.9 MB, free: 2.871 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.974e-06/0.003862, allocations: 7.938 kB / 271.9 MB, free: 2.863 MB / 250.7 MB Notification: Performance of FrontEnd: time 6.11e-07/0.003862, allocations: 0 / 271.9 MB, free: 2.863 MB / 250.7 MB Notification: Performance of Transformations before backend: time 3.677e-06/0.003866, allocations: 0 / 271.9 MB, free: 2.863 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: 59 * Number of variables: 59 Notification: Performance of Generate backend data structure: time 0.0004843/0.00435, allocations: 0.5702 MB / 272.5 MB, free: 2.254 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.148e-05/0.004382, allocations: 8.922 kB / 272.5 MB, free: 2.246 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.385e-05/0.004446, allocations: 48.75 kB / 272.5 MB, free: 2.199 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001988/0.004644, allocations: 196.8 kB / 272.7 MB, free: 1.977 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.764e-05/0.004662, allocations: 16.81 kB / 272.7 MB, free: 1.961 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.738e-05/0.004699, allocations: 32.33 kB / 272.8 MB, free: 1.93 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002293/0.004929, allocations: 207.5 kB / 273 MB, free: 1.707 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.215e-05/0.004941, allocations: 192 / 273 MB, free: 1.707 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.759e-05/0.004958, allocations: 12.38 kB / 273 MB, free: 1.695 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.577e-06/0.004967, allocations: 8.375 kB / 273 MB, free: 1.688 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001443/0.005111, allocations: 109.4 kB / 273.1 MB, free: 1.582 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006036/0.005715, allocations: 0.7938 MB / 273.9 MB, free: 0.7422 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003021/0.006017, allocations: 245.1 kB / 274.1 MB, free: 476 kB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001326/0.00615, allocations: 95.02 kB / 274.2 MB, free: 368 kB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.069e-05/0.00616, allocations: 7.938 kB / 274.2 MB, free: 360 kB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.249e-05/0.006183, allocations: 45.38 kB / 274.3 MB, free: 304 kB / 250.7 MB Notification: Performance of pre-optimization done (n=33): time 1.543e-06/0.006184, allocations: 4 kB / 274.3 MB, free: 300 kB / 250.7 MB Notification: Performance of matching and sorting (n=45): time 0.001406/0.007591, allocations: 1.405 MB / 275.7 MB, free: 14.72 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.286e-05/0.007633, allocations: 114.8 kB / 275.8 MB, free: 14.58 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000129/0.007762, allocations: 225.8 kB / 276 MB, free: 14.34 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.784e-05/0.00778, allocations: 37.7 kB / 276 MB, free: 14.3 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.795e-05/0.007848, allocations: 187.5 kB / 276.2 MB, free: 14.11 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.503e-05/0.007923, allocations: 166.5 kB / 276.4 MB, free: 13.95 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.774e-05/0.007991, allocations: 75.86 kB / 276.5 MB, free: 13.87 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001148/0.008106, allocations: 0.504 MB / 277 MB, free: 13.35 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.262e-05/0.008188, allocations: 56.95 kB / 277 MB, free: 13.29 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001146/0.008303, allocations: 138.8 kB / 277.2 MB, free: 13.13 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002164/0.008519, allocations: 225.5 kB / 277.4 MB, free: 12.88 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.335e-06/0.008522, allocations: 8 kB / 277.4 MB, free: 12.87 MB / 266.7 MB Notification: Performance of matching and sorting (n=54) (initialization): time 0.0002876/0.008809, allocations: 288 kB / 277.7 MB, free: 12.59 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.225e-05/0.008822, allocations: 4 kB / 277.7 MB, free: 12.59 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.771e-06/0.008827, allocations: 7.938 kB / 277.7 MB, free: 12.58 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.573e-05/0.008843, allocations: 7.984 kB / 277.7 MB, free: 12.57 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001852/0.009028, allocations: 87.91 kB / 277.8 MB, free: 12.48 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.31e-05/0.009041, allocations: 7.938 kB / 277.8 MB, free: 12.48 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.39e-05/0.009095, allocations: 12 kB / 277.8 MB, free: 12.46 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.36e-05/0.009109, allocations: 16 kB / 277.8 MB, free: 12.45 MB / 266.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 8.821e-05/0.009197, allocations: 188.5 kB / 278 MB, free: 12.25 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.943e-05/0.009257, allocations: 43.84 kB / 278 MB, free: 12.21 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.635e-05/0.009303, allocations: 33.81 kB / 278.1 MB, free: 12.18 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.066e-06/0.009306, allocations: 4 kB / 278.1 MB, free: 12.17 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.517e-06/0.009309, allocations: 3.938 kB / 278.1 MB, free: 12.17 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.442e-06/0.009316, allocations: 7.922 kB / 278.1 MB, free: 12.16 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007792/0.0101, allocations: 1.023 MB / 279.1 MB, free: 11.05 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.326e-06/0.0101, allocations: 4 kB / 279.1 MB, free: 11.05 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001963/0.01029, allocations: 91.83 kB / 279.2 MB, free: 10.96 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.677e-06/0.0103, allocations: 8 kB / 279.2 MB, free: 10.95 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.623e-05/0.01031, allocations: 12 kB / 279.2 MB, free: 10.94 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.098e-06/0.01032, allocations: 4 kB / 279.2 MB, free: 10.94 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.925e-06/0.01032, allocations: 7.938 kB / 279.2 MB, free: 10.93 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004714/0.01079, allocations: 0.7903 MB / 280 MB, free: 10.08 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.159e-05/0.01081, allocations: 23.86 kB / 280 MB, free: 10.05 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.299e-05/0.01084, allocations: 12 kB / 280.1 MB, free: 10.04 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001068/0.01094, allocations: 12 kB / 280.1 MB, free: 10.03 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.486e-05/0.01098, allocations: 35.88 kB / 280.1 MB, free: 9.996 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.186e-05/0.01099, allocations: 15.94 kB / 280.1 MB, free: 9.98 MB / 266.7 MB Notification: Performance of sorting global known variables: time 5.659e-05/0.01105, allocations: 160.2 kB / 280.3 MB, free: 9.824 MB / 266.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01105, allocations: 0 / 280.3 MB, free: 9.824 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002573/0.01131, allocations: 72 kB / 280.4 MB, free: 9.754 MB / 266.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 7.55e-05/0.01138, allocations: 122.9 kB / 280.5 MB, free: 9.625 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.000249/0.01163, allocations: 216.3 kB / 280.7 MB, free: 9.41 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.483e-06/0.01163, allocations: 0 / 280.7 MB, free: 9.41 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001104/0.01174, allocations: 123.4 kB / 280.8 MB, free: 9.285 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004132/0.01215, allocations: 73.31 kB / 280.9 MB, free: 9.219 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007882/0.01294, allocations: 0.7883 MB / 281.7 MB, free: 8.355 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.266e-05/0.01301, allocations: 101.2 kB / 281.8 MB, free: 8.238 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 7.114e-05/0.01308, allocations: 30.97 kB / 281.8 MB, free: 8.207 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.112e-05/0.01313, allocations: 28.5 kB / 281.8 MB, free: 8.176 MB / 266.7 MB Notification: Performance of SimCode: time 6.01e-07/0.01313, allocations: 0 / 281.8 MB, free: 8.176 MB / 266.7 MB Notification: Performance of Templates: time 0.004264/0.01739, allocations: 2.965 MB / 284.8 MB, free: 5.258 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.Damper.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.Damper.pipe ; mkfifo Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.Damper.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.Damper.pipe >> ../files/Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.Damper.sim & ./Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.Damper -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.Damper.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.Damper_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/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.8285066429525614]