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.0009491/0.0009491, allocations: 79.59 kB / 21.18 MB, free: 3.383 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.001181/0.001181, allocations: 165 kB / 24.56 MB, free: 12 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 0.9912/0.9912, allocations: 177.1 MB / 205 MB, free: 5.582 MB / 186.7 MB " [Timeout remaining time 179] 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 9.32e-07/9.32e-07, allocations: 0 / 273 MB, free: 1.512 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.356e-05/1.449e-05, allocations: 2.312 kB / 273 MB, free: 1.508 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.Damper): time 0.002293/0.002307, allocations: 2.435 MB / 275.4 MB, free: 15.06 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.000392/0.002699, allocations: 239.1 kB / 275.6 MB, free: 14.83 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.803e-05/0.002777, allocations: 7.938 kB / 275.6 MB, free: 14.82 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 9.888e-05/0.002876, allocations: 43.58 kB / 275.7 MB, free: 14.78 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001089/0.002985, allocations: 95.14 kB / 275.8 MB, free: 14.68 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001228/0.003108, allocations: 63.83 kB / 275.8 MB, free: 14.62 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.000205/0.003313, allocations: 302.4 kB / 276.1 MB, free: 14.32 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001164/0.003429, allocations: 58.91 kB / 276.2 MB, free: 14.27 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000125/0.003554, allocations: 171.6 kB / 276.4 MB, free: 14.1 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.873e-05/0.003653, allocations: 91.75 kB / 276.4 MB, free: 14.01 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 2.633e-05/0.003679, allocations: 20 kB / 276.5 MB, free: 13.99 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.526e-05/0.003704, allocations: 24 kB / 276.5 MB, free: 13.97 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 3.229e-05/0.003737, allocations: 51.77 kB / 276.5 MB, free: 13.92 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 6.237e-05/0.003799, allocations: 91.83 kB / 276.6 MB, free: 13.83 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001725/0.003972, allocations: 199.2 kB / 276.8 MB, free: 13.63 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.583e-06/0.003973, allocations: 0 / 276.8 MB, free: 13.63 MB / 266.7 MB Notification: Performance of FrontEnd: time 7.01e-07/0.003974, allocations: 0 / 276.8 MB, free: 13.63 MB / 266.7 MB Notification: Performance of Transformations before backend: time 4.067e-06/0.003978, allocations: 0 / 276.8 MB, free: 13.63 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.0004586/0.004436, allocations: 0.5663 MB / 277.4 MB, free: 13.03 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.004e-05/0.004466, allocations: 16.03 kB / 277.4 MB, free: 13.01 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.87e-05/0.004525, allocations: 44.75 kB / 277.4 MB, free: 12.97 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001703/0.004695, allocations: 196.9 kB / 277.6 MB, free: 12.75 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.435e-05/0.00471, allocations: 16.88 kB / 277.7 MB, free: 12.73 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.335e-05/0.004743, allocations: 24.38 kB / 277.7 MB, free: 12.71 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002188/0.004962, allocations: 207.6 kB / 277.9 MB, free: 12.48 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.216e-05/0.004974, allocations: 4.188 kB / 277.9 MB, free: 12.48 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.604e-05/0.00499, allocations: 8.375 kB / 277.9 MB, free: 12.47 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.137e-06/0.004999, allocations: 8.375 kB / 277.9 MB, free: 12.46 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001448/0.005144, allocations: 114.2 kB / 278 MB, free: 12.36 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005862/0.00573, allocations: 0.7899 MB / 278.8 MB, free: 11.52 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000291/0.006021, allocations: 241.2 kB / 279 MB, free: 11.25 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001324/0.006154, allocations: 106.8 kB / 279.1 MB, free: 11.13 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.598e-05/0.00617, allocations: 15.88 kB / 279.2 MB, free: 11.12 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.196e-05/0.006192, allocations: 41.39 kB / 279.2 MB, free: 11.07 MB / 266.7 MB Notification: Performance of pre-optimization done (n=33): time 1.573e-06/0.006193, allocations: 0 / 279.2 MB, free: 11.07 MB / 266.7 MB Notification: Performance of matching and sorting (n=45): time 0.001368/0.007562, allocations: 1.401 MB / 280.6 MB, free: 9.496 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.679e-05/0.007598, allocations: 106.8 kB / 280.7 MB, free: 9.367 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001054/0.007704, allocations: 233.7 kB / 280.9 MB, free: 9.121 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.619e-05/0.00772, allocations: 33.7 kB / 281 MB, free: 9.082 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.529e-05/0.007785, allocations: 191.5 kB / 281.2 MB, free: 8.891 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.628e-05/0.007862, allocations: 170.6 kB / 281.3 MB, free: 8.723 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.842e-05/0.00793, allocations: 79.81 kB / 281.4 MB, free: 8.637 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001105/0.00804, allocations: 0.5078 MB / 281.9 MB, free: 8.117 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.086e-05/0.008121, allocations: 52.95 kB / 282 MB, free: 8.062 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001127/0.008234, allocations: 142.8 kB / 282.1 MB, free: 7.898 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002087/0.008443, allocations: 219.4 kB / 282.3 MB, free: 7.66 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.657e-06/0.008446, allocations: 4 kB / 282.3 MB, free: 7.656 MB / 266.7 MB Notification: Performance of matching and sorting (n=54) (initialization): time 0.0002816/0.008728, allocations: 297.1 kB / 282.6 MB, free: 7.359 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.136e-05/0.008739, allocations: 8 kB / 282.6 MB, free: 7.352 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.239e-06/0.008745, allocations: 0 / 282.6 MB, free: 7.352 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.247e-05/0.008757, allocations: 4 kB / 282.6 MB, free: 7.348 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001838/0.008941, allocations: 99.83 kB / 282.7 MB, free: 7.25 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.324e-06/0.008948, allocations: 7.938 kB / 282.7 MB, free: 7.242 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.042e-05/0.008999, allocations: 8 kB / 282.7 MB, free: 7.234 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.277e-05/0.009011, allocations: 12 kB / 282.7 MB, free: 7.223 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.679e-05/0.009098, allocations: 180.5 kB / 282.9 MB, free: 7.035 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.906e-05/0.009157, allocations: 47.91 kB / 283 MB, free: 6.988 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.195e-05/0.009199, allocations: 37.8 kB / 283 MB, free: 6.949 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.148e-06/0.009203, allocations: 8 kB / 283 MB, free: 6.941 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.819e-06/0.009208, allocations: 0 / 283 MB, free: 6.941 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.394e-06/0.009216, allocations: 7.922 kB / 283 MB, free: 6.934 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007703/0.009986, allocations: 1.035 MB / 284.1 MB, free: 5.816 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.947e-06/0.00999, allocations: 4 kB / 284.1 MB, free: 5.812 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001928/0.01018, allocations: 83.91 kB / 284.1 MB, free: 5.73 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.849e-06/0.01019, allocations: 4 kB / 284.1 MB, free: 5.727 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.873e-05/0.01021, allocations: 15.98 kB / 284.2 MB, free: 5.711 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.308e-06/0.01021, allocations: 7.938 kB / 284.2 MB, free: 5.703 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.254e-06/0.01021, allocations: 4 kB / 284.2 MB, free: 5.699 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004658/0.01068, allocations: 0.7897 MB / 285 MB, free: 4.844 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.227e-05/0.0107, allocations: 27.91 kB / 285 MB, free: 4.816 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.227e-05/0.01072, allocations: 12 kB / 285 MB, free: 4.805 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001026/0.01083, allocations: 8 kB / 285 MB, free: 4.797 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.311e-05/0.01086, allocations: 39.83 kB / 285 MB, free: 4.758 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.314e-05/0.01087, allocations: 19.98 kB / 285.1 MB, free: 4.738 MB / 266.7 MB Notification: Performance of sorting global known variables: time 5.695e-05/0.01093, allocations: 156.2 kB / 285.2 MB, free: 4.586 MB / 266.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01093, allocations: 0 / 285.2 MB, free: 4.586 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002689/0.0112, allocations: 72 kB / 285.3 MB, free: 4.516 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.993e-05/0.01128, allocations: 111.1 kB / 285.4 MB, free: 4.398 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0002413/0.01152, allocations: 220.3 kB / 285.6 MB, free: 4.176 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.914e-06/0.01152, allocations: 0 / 285.6 MB, free: 4.176 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001069/0.01163, allocations: 123.4 kB / 285.7 MB, free: 4.051 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000389/0.01202, allocations: 76.02 kB / 285.8 MB, free: 3.984 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000744/0.01276, allocations: 0.7883 MB / 286.6 MB, free: 3.117 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.233e-05/0.01282, allocations: 93.28 kB / 286.7 MB, free: 3.004 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 6.826e-05/0.01289, allocations: 34.97 kB / 286.7 MB, free: 2.969 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.103e-05/0.01294, allocations: 28.5 kB / 286.7 MB, free: 2.941 MB / 266.7 MB Notification: Performance of SimCode: time 4.1e-07/0.01294, allocations: 0 / 286.7 MB, free: 2.941 MB / 266.7 MB Notification: Performance of Templates: time 0.004307/0.01725, allocations: 2.962 MB / 289.7 MB, free: 36 kB / 266.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","",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.795642961282283]