Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_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.001414/0.001414, allocations: 84.3 kB / 20.68 MB, free: 1.035 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.002386/0.002386, allocations: 168.8 kB / 23.95 MB, free: 4.172 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.428/1.428, allocations: 177.1 MB / 204.3 MB, free: 9.18 MB / 190.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.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.1.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.1.0_Modelica.Mechanics.Translational.Examples.Damper") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.933e-06/1.933e-06, allocations: 1.344 kB / 325 MB, free: 0.5547 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.882e-05/2.075e-05, allocations: 5.375 kB / 325.1 MB, free: 0.5508 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.Damper): time 0.003429/0.003449, allocations: 2.279 MB / 327.3 MB, free: 15.01 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006877/0.004137, allocations: 241.5 kB / 327.6 MB, free: 14.83 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001753/0.004312, allocations: 7.438 kB / 327.6 MB, free: 14.83 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001628/0.004475, allocations: 39.97 kB / 327.6 MB, free: 14.81 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002276/0.004703, allocations: 96.84 kB / 327.7 MB, free: 14.73 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001963/0.004899, allocations: 57.42 kB / 327.8 MB, free: 14.7 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003888/0.005288, allocations: 316.5 kB / 328.1 MB, free: 14.53 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001817/0.005469, allocations: 64.91 kB / 328.1 MB, free: 14.5 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002724/0.005742, allocations: 165.7 kB / 328.3 MB, free: 14.44 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001742/0.005916, allocations: 85.09 kB / 328.4 MB, free: 14.41 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 5.229e-05/0.005968, allocations: 22.22 kB / 328.4 MB, free: 14.41 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.146e-05/0.00603, allocations: 22.91 kB / 328.4 MB, free: 14.41 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 7.068e-05/0.006101, allocations: 57.12 kB / 328.5 MB, free: 14.37 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001388/0.006239, allocations: 89.8 kB / 328.6 MB, free: 14.34 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004763/0.006716, allocations: 295.4 kB / 328.9 MB, free: 14.22 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.156e-06/0.006719, allocations: 0.5625 kB / 328.9 MB, free: 14.22 MB / 302.1 MB Notification: Performance of FrontEnd: time 6.01e-07/0.006719, allocations: 1.281 kB / 328.9 MB, free: 14.22 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.283e-05/0.006732, allocations: 0 / 328.9 MB, free: 14.22 MB / 302.1 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.0008375/0.00757, allocations: 480.5 kB / 329.3 MB, free: 13.84 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.303e-05/0.007603, allocations: 9.594 kB / 329.3 MB, free: 13.84 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.195e-05/0.007675, allocations: 32.45 kB / 329.4 MB, free: 13.82 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003204/0.007995, allocations: 180.2 kB / 329.5 MB, free: 13.65 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.595e-05/0.008021, allocations: 19.84 kB / 329.6 MB, free: 13.64 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.647e-05/0.008077, allocations: 27.73 kB / 329.6 MB, free: 13.62 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004191/0.008497, allocations: 236.9 kB / 329.8 MB, free: 13.5 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.244e-05/0.008519, allocations: 10.06 kB / 329.8 MB, free: 13.5 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.339e-05/0.008542, allocations: 6.625 kB / 329.8 MB, free: 13.49 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.854e-06/0.00855, allocations: 6.125 kB / 329.8 MB, free: 13.49 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000301/0.008851, allocations: 164.2 kB / 330 MB, free: 13.44 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001067/0.009918, allocations: 0.6608 MB / 330.7 MB, free: 12.92 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005372/0.01046, allocations: 278.5 kB / 330.9 MB, free: 12.77 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002591/0.01071, allocations: 133 kB / 331.1 MB, free: 12.7 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.647e-05/0.01074, allocations: 11.53 kB / 331.1 MB, free: 12.69 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.1e-05/0.01077, allocations: 35.38 kB / 331.1 MB, free: 12.65 MB / 302.1 MB Notification: Performance of pre-optimization done (n=33): time 1.543e-06/0.01077, allocations: 0 / 331.1 MB, free: 12.65 MB / 302.1 MB Notification: Performance of matching and sorting (n=45): time 0.002793/0.01357, allocations: 1.496 MB / 332.6 MB, free: 11.5 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.985e-05/0.01365, allocations: 112.2 kB / 332.7 MB, free: 11.38 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001854/0.01383, allocations: 169 kB / 332.9 MB, free: 11.24 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.702e-05/0.01387, allocations: 31.83 kB / 332.9 MB, free: 11.2 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001254/0.01399, allocations: 146.4 kB / 333.1 MB, free: 11.07 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001497/0.01414, allocations: 161.9 kB / 333.2 MB, free: 10.93 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001456/0.01429, allocations: 73.75 kB / 333.3 MB, free: 10.87 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001776/0.01447, allocations: 337.2 kB / 333.6 MB, free: 10.54 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000177/0.01464, allocations: 85.25 kB / 333.7 MB, free: 10.5 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000232/0.01488, allocations: 166.2 kB / 333.9 MB, free: 10.39 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004602/0.01534, allocations: 285.4 kB / 334.1 MB, free: 10.21 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.435e-06/0.01534, allocations: 0 / 334.1 MB, free: 10.21 MB / 302.1 MB Notification: Performance of matching and sorting (n=54) (initialization): time 0.0005854/0.01592, allocations: 340.4 kB / 334.5 MB, free: 10.04 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.862e-05/0.01594, allocations: 5.594 kB / 334.5 MB, free: 10.04 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.715e-06/0.01595, allocations: 1.75 kB / 334.5 MB, free: 10.04 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.125e-05/0.01597, allocations: 3.688 kB / 334.5 MB, free: 10.04 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003424/0.01631, allocations: 91.12 kB / 334.6 MB, free: 10.02 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.53e-05/0.01633, allocations: 8.094 kB / 334.6 MB, free: 10.02 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001256/0.01646, allocations: 16.31 kB / 334.6 MB, free: 10.01 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.708e-05/0.01648, allocations: 18.11 kB / 334.6 MB, free: 10 MB / 302.1 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.0001663/0.01665, allocations: 150.8 kB / 334.8 MB, free: 9.855 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.198e-05/0.01674, allocations: 25.83 kB / 334.8 MB, free: 9.844 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.471e-05/0.01683, allocations: 33.91 kB / 334.8 MB, free: 9.812 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.168e-06/0.01683, allocations: 9.219 kB / 334.8 MB, free: 9.809 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.244e-05/0.01685, allocations: 1.625 kB / 334.8 MB, free: 9.809 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.215e-05/0.01686, allocations: 7.922 kB / 334.8 MB, free: 9.801 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001455/0.01831, allocations: 0.9548 MB / 335.8 MB, free: 9.035 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.19e-06/0.01832, allocations: 3 kB / 335.8 MB, free: 9.035 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003662/0.01869, allocations: 88.8 kB / 335.9 MB, free: 9.016 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.694e-06/0.01869, allocations: 4.969 kB / 335.9 MB, free: 9.016 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.823e-05/0.01872, allocations: 13.38 kB / 335.9 MB, free: 9.008 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.813e-06/0.01873, allocations: 5.312 kB / 335.9 MB, free: 9.008 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.486e-06/0.01873, allocations: 7.125 kB / 335.9 MB, free: 9.004 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008613/0.01959, allocations: 0.7341 MB / 336.6 MB, free: 8.434 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.711e-05/0.01964, allocations: 21.05 kB / 336.7 MB, free: 8.422 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.119e-05/0.01968, allocations: 10.12 kB / 336.7 MB, free: 8.418 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002187/0.0199, allocations: 11.59 kB / 336.7 MB, free: 8.41 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.274e-05/0.01996, allocations: 37.88 kB / 336.7 MB, free: 8.387 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.273e-05/0.01999, allocations: 14.69 kB / 336.7 MB, free: 8.383 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.000102/0.02009, allocations: 128.2 kB / 336.9 MB, free: 8.281 MB / 302.1 MB Notification: Performance of sort global known variables: time 9e-08/0.02009, allocations: 0 / 336.9 MB, free: 8.281 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.000463/0.02055, allocations: 71.16 kB / 336.9 MB, free: 8.27 MB / 302.1 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.0001615/0.02071, allocations: 113.2 kB / 337 MB, free: 8.168 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0005035/0.02122, allocations: 253.3 kB / 337.3 MB, free: 8.066 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.907e-06/0.02122, allocations: 0 / 337.3 MB, free: 8.066 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002183/0.02144, allocations: 140 kB / 337.4 MB, free: 8.008 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000718/0.02216, allocations: 77.72 kB / 337.5 MB, free: 7.965 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001379/0.02353, allocations: 0.7663 MB / 338.3 MB, free: 7.352 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001922/0.02373, allocations: 160.3 kB / 338.4 MB, free: 7.191 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0001255/0.02385, allocations: 34.95 kB / 338.5 MB, free: 7.16 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.837e-05/0.02393, allocations: 28.5 kB / 338.5 MB, free: 7.133 MB / 302.1 MB Notification: Performance of SimCode: time 6.21e-07/0.02393, allocations: 4 kB / 338.5 MB, free: 7.129 MB / 302.1 MB Notification: Performance of Templates: time 0.0078/0.03173, allocations: 2.928 MB / 341.4 MB, free: 4.25 MB / 302.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.Damper.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.Damper.pipe ; mkfifo Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.Damper.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.Damper.pipe >> ../files/Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.Damper.sim & ./Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.Damper -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.Damper.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.Damper_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Mechanics/Translational/Examples/Damper/Damper.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.Damper.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.197499014437199]