Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Mechanics.Translational.Examples.Damper.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.0008888/0.0008888, allocations: 84.73 kB / 21.5 MB, free: 2.988 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.0009015/0.0009015, allocations: 167.9 kB / 24.91 MB, free: 8.262 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.9869/0.9869, allocations: 177 MB / 205.2 MB, free: 5.453 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.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_trunk_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_trunk_Modelica.Mechanics.Translational.Examples.Damper") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.313e-06/1.313e-06, allocations: 3.938 kB / 273.4 MB, free: 1.188 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.709e-05/1.841e-05, allocations: 2.312 kB / 273.4 MB, free: 1.184 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.Damper): time 0.002721/0.002739, allocations: 2.449 MB / 275.9 MB, free: 14.72 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.0003839/0.003123, allocations: 254.9 kB / 276.1 MB, free: 14.47 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.811e-05/0.003211, allocations: 7.938 kB / 276.1 MB, free: 14.46 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001168/0.003328, allocations: 43.56 kB / 276.2 MB, free: 14.42 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001113/0.003439, allocations: 91.22 kB / 276.2 MB, free: 14.33 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001263/0.003566, allocations: 63.78 kB / 276.3 MB, free: 14.27 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001954/0.003761, allocations: 302.4 kB / 276.6 MB, free: 13.97 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001277/0.003889, allocations: 72.56 kB / 276.7 MB, free: 13.9 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001244/0.004013, allocations: 171.6 kB / 276.8 MB, free: 13.73 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001146/0.004128, allocations: 83.72 kB / 276.9 MB, free: 13.65 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 2.877e-05/0.004157, allocations: 24 kB / 277 MB, free: 13.63 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.34e-05/0.00418, allocations: 20 kB / 277 MB, free: 13.61 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 3.324e-05/0.004213, allocations: 51.81 kB / 277 MB, free: 13.56 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 5.892e-05/0.004272, allocations: 99.75 kB / 277.1 MB, free: 13.46 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001752/0.004447, allocations: 199.2 kB / 277.3 MB, free: 13.27 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.684e-06/0.004449, allocations: 0 / 277.3 MB, free: 13.27 MB / 266.7 MB Notification: Performance of FrontEnd: time 6.71e-07/0.00445, allocations: 0 / 277.3 MB, free: 13.27 MB / 266.7 MB Notification: Performance of Transformations before backend: time 3.687e-06/0.004453, allocations: 0 / 277.3 MB, free: 13.27 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.0004131/0.004866, allocations: 452.1 kB / 277.8 MB, free: 12.8 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.936e-05/0.004896, allocations: 11.98 kB / 277.8 MB, free: 12.79 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.684e-05/0.004943, allocations: 48.89 kB / 277.8 MB, free: 12.74 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001611/0.005104, allocations: 174 kB / 278 MB, free: 12.54 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.308e-05/0.005117, allocations: 16.88 kB / 278 MB, free: 12.53 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.216e-05/0.005149, allocations: 28.36 kB / 278 MB, free: 12.5 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001634/0.005312, allocations: 183.2 kB / 278.2 MB, free: 12.31 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.218e-05/0.005325, allocations: 4.141 kB / 278.2 MB, free: 12.3 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.385e-05/0.005338, allocations: 12.38 kB / 278.2 MB, free: 12.29 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.841e-06/0.005344, allocations: 4.375 kB / 278.2 MB, free: 12.29 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.928e-05/0.005434, allocations: 79.81 kB / 278.3 MB, free: 12.21 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004827/0.005916, allocations: 0.5468 MB / 278.9 MB, free: 11.64 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002151/0.006131, allocations: 191.8 kB / 279 MB, free: 11.43 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.981e-05/0.006221, allocations: 82.53 kB / 279.1 MB, free: 11.34 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.314e-05/0.006234, allocations: 8 kB / 279.1 MB, free: 11.33 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.195e-05/0.006256, allocations: 42.5 kB / 279.2 MB, free: 11.28 MB / 266.7 MB Notification: Performance of pre-optimization done (n=33): time 1.343e-06/0.006258, allocations: 0 / 279.2 MB, free: 11.28 MB / 266.7 MB Notification: Performance of matching and sorting (n=45): time 0.001282/0.00754, allocations: 1.282 MB / 280.5 MB, free: 9.848 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.012e-05/0.00758, allocations: 114.8 kB / 280.6 MB, free: 9.711 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.81e-05/0.007658, allocations: 170.5 kB / 280.7 MB, free: 9.531 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.409e-05/0.007672, allocations: 29.7 kB / 280.8 MB, free: 9.496 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.085e-05/0.007723, allocations: 132.8 kB / 280.9 MB, free: 9.363 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.903e-05/0.007792, allocations: 170.5 kB / 281.1 MB, free: 9.195 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.962e-05/0.007852, allocations: 78.14 kB / 281.1 MB, free: 9.113 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0003216/0.008173, allocations: 338.7 kB / 281.5 MB, free: 8.773 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.106e-05/0.008214, allocations: 36.98 kB / 281.5 MB, free: 8.734 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.88e-05/0.008283, allocations: 102.9 kB / 281.6 MB, free: 8.613 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000141/0.008424, allocations: 192.8 kB / 281.8 MB, free: 8.406 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.383e-06/0.008425, allocations: 0 / 281.8 MB, free: 8.406 MB / 266.7 MB Notification: Performance of matching and sorting (n=54) (initialization): time 0.0001771/0.008602, allocations: 200.2 kB / 282 MB, free: 8.207 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.151e-05/0.008614, allocations: 8 kB / 282 MB, free: 8.199 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.288e-06/0.008618, allocations: 0 / 282 MB, free: 8.199 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.113e-05/0.008629, allocations: 4 kB / 282 MB, free: 8.195 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002054/0.008835, allocations: 114.9 kB / 282.1 MB, free: 8.086 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.36e-06/0.00884, allocations: 7.938 kB / 282.1 MB, free: 8.078 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.739e-05/0.008888, allocations: 12.09 kB / 282.1 MB, free: 8.066 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.014e-05/0.008898, allocations: 8 kB / 282.1 MB, free: 8.059 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 7.071e-05/0.008968, allocations: 137.7 kB / 282.3 MB, free: 7.914 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.235e-05/0.009021, allocations: 35.97 kB / 282.3 MB, free: 7.879 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.769e-05/0.009058, allocations: 33.81 kB / 282.3 MB, free: 7.844 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.727e-06/0.009062, allocations: 7.984 kB / 282.3 MB, free: 7.836 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.633e-06/0.009064, allocations: 0 / 282.3 MB, free: 7.836 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.52e-06/0.009069, allocations: 7.938 kB / 282.4 MB, free: 7.828 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005955/0.009665, allocations: 0.7149 MB / 283.1 MB, free: 7.059 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.687e-06/0.009669, allocations: 4 kB / 283.1 MB, free: 7.055 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002159/0.009884, allocations: 111.1 kB / 283.2 MB, free: 6.949 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.789e-06/0.009889, allocations: 4 kB / 283.2 MB, free: 6.945 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.331e-05/0.009903, allocations: 16.28 kB / 283.2 MB, free: 6.93 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.336e-06/0.009906, allocations: 4 kB / 283.2 MB, free: 6.926 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.794e-06/0.009908, allocations: 4 kB / 283.2 MB, free: 6.922 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003125/0.01022, allocations: 0.5571 MB / 283.8 MB, free: 6.316 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.061e-05/0.01024, allocations: 27.84 kB / 283.8 MB, free: 6.289 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.962e-05/0.01026, allocations: 8 kB / 283.8 MB, free: 6.281 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001026/0.01036, allocations: 12 kB / 283.8 MB, free: 6.27 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.143e-05/0.01039, allocations: 39.83 kB / 283.8 MB, free: 6.23 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.025e-05/0.0104, allocations: 8 kB / 283.9 MB, free: 6.223 MB / 266.7 MB Notification: Performance of sorting global known variables: time 2.869e-05/0.01043, allocations: 45.88 kB / 283.9 MB, free: 6.176 MB / 266.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01043, allocations: 0 / 283.9 MB, free: 6.176 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002229/0.01066, allocations: 72 kB / 284 MB, free: 6.105 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.403e-05/0.01073, allocations: 92.3 kB / 284.1 MB, free: 6.004 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0001692/0.0109, allocations: 190 kB / 284.2 MB, free: 5.816 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 3.346e-06/0.0109, allocations: 0 / 284.2 MB, free: 5.816 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 8.132e-05/0.01098, allocations: 112.9 kB / 284.4 MB, free: 5.703 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003403/0.01132, allocations: 77.42 kB / 284.4 MB, free: 5.633 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006218/0.01195, allocations: 0.6549 MB / 285.1 MB, free: 4.918 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.916e-05/0.01201, allocations: 97.19 kB / 285.2 MB, free: 4.805 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 6.949e-05/0.01207, allocations: 34.95 kB / 285.2 MB, free: 4.77 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001256/0.0122, allocations: 119.3 kB / 285.3 MB, free: 4.652 MB / 266.7 MB Notification: Performance of SimCode: time 4.81e-07/0.0122, allocations: 3.938 kB / 285.3 MB, free: 4.648 MB / 266.7 MB Notification: Performance of Templates: time 0.005037/0.01724, allocations: 3.35 MB / 288.7 MB, free: 1.371 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Mechanics.Translational.Examples.Damper.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Mechanics.Translational.Examples.Damper.pipe ; mkfifo Modelica_trunk_Modelica.Mechanics.Translational.Examples.Damper.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Mechanics.Translational.Examples.Damper.pipe >> ../files/Modelica_trunk_Modelica.Mechanics.Translational.Examples.Damper.sim & ./Modelica_trunk_Modelica.Mechanics.Translational.Examples.Damper -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Mechanics.Translational.Examples.Damper.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_trunk_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","",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.3749339217320085]