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.002255/0.002255, allocations: 87.67 kB / 20.95 MB, free: 3.457 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.002436/0.002436, allocations: 161.7 kB / 24.27 MB, free: 148 kB / 18.57 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.586/1.586, allocations: 177.1 MB / 204.6 MB, free: 5.625 MB / 186.7 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.443e-06/1.443e-06, allocations: 0 / 272.3 MB, free: 1.871 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.63e-05/2.774e-05, allocations: 2.312 kB / 272.3 MB, free: 1.867 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.Damper): time 0.004037/0.004065, allocations: 2.417 MB / 274.7 MB, free: 15.44 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.0005633/0.004628, allocations: 239.1 kB / 274.9 MB, free: 15.2 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001138/0.004742, allocations: 7.938 kB / 275 MB, free: 15.2 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001577/0.004899, allocations: 39.58 kB / 275 MB, free: 15.16 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001816/0.005081, allocations: 87.2 kB / 275.1 MB, free: 15.07 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001867/0.005268, allocations: 63.89 kB / 275.1 MB, free: 15.01 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003919/0.00566, allocations: 306.4 kB / 275.4 MB, free: 14.71 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001843/0.005844, allocations: 62 kB / 275.5 MB, free: 14.65 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002378/0.006082, allocations: 167.7 kB / 275.7 MB, free: 14.48 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001839/0.006266, allocations: 91.69 kB / 275.8 MB, free: 14.39 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 4.441e-05/0.00631, allocations: 23.94 kB / 275.8 MB, free: 14.37 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.785e-05/0.006368, allocations: 24 kB / 275.8 MB, free: 14.35 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 6.309e-05/0.006431, allocations: 55.83 kB / 275.9 MB, free: 14.29 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000139/0.00657, allocations: 95.75 kB / 276 MB, free: 14.2 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004014/0.006971, allocations: 287 kB / 276.2 MB, free: 13.92 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.991e-06/0.006977, allocations: 8 kB / 276.2 MB, free: 13.91 MB / 266.7 MB Notification: Performance of FrontEnd: time 9.92e-07/0.006978, allocations: 0 / 276.2 MB, free: 13.91 MB / 266.7 MB Notification: Performance of Transformations before backend: time 6.762e-06/0.006985, allocations: 0 / 276.2 MB, free: 13.91 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: 59 * Number of variables: 59 Notification: Performance of Generate backend data structure: time 0.0009592/0.007944, allocations: 0.5893 MB / 276.8 MB, free: 13.28 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.707e-05/0.007981, allocations: 8.031 kB / 276.8 MB, free: 13.27 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001007/0.008082, allocations: 48.75 kB / 276.9 MB, free: 13.23 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003045/0.008387, allocations: 188.9 kB / 277.1 MB, free: 13.01 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.576e-05/0.008412, allocations: 16.88 kB / 277.1 MB, free: 13 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.351e-05/0.008466, allocations: 28.33 kB / 277.1 MB, free: 12.97 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004643/0.00893, allocations: 255.6 kB / 277.4 MB, free: 12.7 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.878e-05/0.008949, allocations: 192 / 277.4 MB, free: 12.7 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.073e-05/0.00898, allocations: 12.38 kB / 277.4 MB, free: 12.69 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.727e-06/0.008988, allocations: 4.375 kB / 277.4 MB, free: 12.68 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003133/0.009302, allocations: 163.8 kB / 277.5 MB, free: 12.52 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001286/0.01059, allocations: 0.8525 MB / 278.4 MB, free: 11.62 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006074/0.0112, allocations: 309.2 kB / 278.7 MB, free: 11.29 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002911/0.01149, allocations: 131 kB / 278.8 MB, free: 11.14 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.152e-05/0.01153, allocations: 11.94 kB / 278.8 MB, free: 11.13 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.577e-05/0.01157, allocations: 45.55 kB / 278.9 MB, free: 11.08 MB / 266.7 MB Notification: Performance of pre-optimization done (n=33): time 1.523e-06/0.01158, allocations: 3.938 kB / 278.9 MB, free: 11.07 MB / 266.7 MB Notification: Performance of matching and sorting (n=45): time 0.003077/0.01465, allocations: 1.576 MB / 280.5 MB, free: 9.332 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.358e-05/0.01474, allocations: 106.8 kB / 280.6 MB, free: 9.203 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002331/0.01497, allocations: 245.8 kB / 280.8 MB, free: 8.945 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 3.624e-05/0.015, allocations: 33.7 kB / 280.8 MB, free: 8.906 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001558/0.01516, allocations: 203.5 kB / 281 MB, free: 8.703 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001713/0.01533, allocations: 178.5 kB / 281.2 MB, free: 8.527 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001454/0.01548, allocations: 83.86 kB / 281.3 MB, free: 8.438 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0002957/0.01577, allocations: 0.5274 MB / 281.8 MB, free: 7.898 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001742/0.01595, allocations: 88.91 kB / 281.9 MB, free: 7.812 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003186/0.01627, allocations: 194.7 kB / 282.1 MB, free: 7.594 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004801/0.01675, allocations: 313.7 kB / 282.4 MB, free: 7.262 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.743e-06/0.01675, allocations: 0 / 282.4 MB, free: 7.262 MB / 266.7 MB Notification: Performance of matching and sorting (n=54) (initialization): time 0.0006007/0.01735, allocations: 363.8 kB / 282.8 MB, free: 6.902 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.962e-05/0.01737, allocations: 8 kB / 282.8 MB, free: 6.895 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.963e-06/0.01738, allocations: 0 / 282.8 MB, free: 6.895 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.339e-05/0.0174, allocations: 8 kB / 282.8 MB, free: 6.887 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003511/0.01775, allocations: 91.91 kB / 282.9 MB, free: 6.797 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.564e-05/0.01777, allocations: 15.86 kB / 282.9 MB, free: 6.781 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001033/0.01787, allocations: 8 kB / 282.9 MB, free: 6.773 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.241e-05/0.01789, allocations: 16 kB / 282.9 MB, free: 6.758 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 0.0001898/0.01808, allocations: 196.6 kB / 283.1 MB, free: 6.555 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001014/0.01818, allocations: 39.86 kB / 283.1 MB, free: 6.516 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001131/0.0183, allocations: 37.84 kB / 283.2 MB, free: 6.477 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.845e-06/0.0183, allocations: 7.984 kB / 283.2 MB, free: 6.469 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.404e-06/0.01831, allocations: 4 kB / 283.2 MB, free: 6.465 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.106e-06/0.01832, allocations: 3.938 kB / 283.2 MB, free: 6.461 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001705/0.02002, allocations: 1.168 MB / 284.4 MB, free: 5.211 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.186e-06/0.02003, allocations: 0 / 284.4 MB, free: 5.211 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003931/0.02042, allocations: 87.89 kB / 284.4 MB, free: 5.125 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.013e-06/0.02043, allocations: 4 kB / 284.4 MB, free: 5.121 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.167e-05/0.02046, allocations: 16 kB / 284.5 MB, free: 5.105 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.596e-06/0.02047, allocations: 7.938 kB / 284.5 MB, free: 5.098 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.428e-06/0.02047, allocations: 4 kB / 284.5 MB, free: 5.094 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001066/0.02154, allocations: 0.8993 MB / 285.4 MB, free: 4.133 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.541e-05/0.02158, allocations: 23.86 kB / 285.4 MB, free: 4.109 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.91e-05/0.02162, allocations: 8 kB / 285.4 MB, free: 4.102 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002025/0.02182, allocations: 8 kB / 285.4 MB, free: 4.094 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.917e-05/0.0219, allocations: 51.81 kB / 285.5 MB, free: 4.043 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.853e-05/0.02192, allocations: 8 kB / 285.5 MB, free: 4.035 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0002842/0.02221, allocations: 172.2 kB / 285.6 MB, free: 3.867 MB / 266.7 MB Notification: Performance of sort global known variables: time 7e-08/0.02221, allocations: 0 / 285.6 MB, free: 3.867 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0004247/0.02263, allocations: 72 kB / 285.7 MB, free: 3.797 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 0.0001533/0.02278, allocations: 115.1 kB / 285.8 MB, free: 3.676 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0005293/0.02331, allocations: 288.2 kB / 286.1 MB, free: 3.387 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.404e-06/0.02332, allocations: 0 / 286.1 MB, free: 3.387 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002483/0.02356, allocations: 163.4 kB / 286.3 MB, free: 3.223 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006948/0.02426, allocations: 73.11 kB / 286.3 MB, free: 3.156 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001431/0.02569, allocations: 0.8351 MB / 287.2 MB, free: 2.242 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001942/0.02588, allocations: 159.8 kB / 287.3 MB, free: 2.066 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0001173/0.026, allocations: 26.97 kB / 287.3 MB, free: 2.039 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.86e-05/0.02608, allocations: 28.5 kB / 287.4 MB, free: 2.012 MB / 266.7 MB Notification: Performance of SimCode: time 9.92e-07/0.02608, allocations: 0 / 287.4 MB, free: 2.012 MB / 266.7 MB Notification: Performance of Templates: time 0.007792/0.03387, allocations: 2.967 MB / 290.3 MB, free: 15.1 MB / 282.7 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=240 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.Damper.pipe 2>&1) [Timeout 240] 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.405159319052473]