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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) 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=2000,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=2000,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") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001055/0.001055, allocations: 108.7 kB / 17.06 MB, free: 5.828 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001101/0.001101, allocations: 195 kB / 18 MB, free: 4.965 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.34/1.34, allocations: 222.9 MB / 241.7 MB, free: 15.15 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001017/0.001017, allocations: 43.92 kB / 351.3 MB, free: 3.277 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2515/0.2526, allocations: 49.44 MB / 400.7 MB, free: 8.746 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.Damper): time 0.00569/0.2583, allocations: 2.405 MB / 403.1 MB, free: 6.449 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009296/0.2593, allocations: 251.1 kB / 403.4 MB, free: 6.203 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002867/0.2596, allocations: 7.938 kB / 403.4 MB, free: 6.195 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002628/0.2599, allocations: 39.58 kB / 403.4 MB, free: 6.156 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003736/0.2603, allocations: 87.2 kB / 403.5 MB, free: 6.07 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002998/0.2606, allocations: 59.91 kB / 403.6 MB, free: 6.012 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005108/0.2611, allocations: 286.7 kB / 403.8 MB, free: 5.73 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003135/0.2614, allocations: 101.7 kB / 403.9 MB, free: 5.629 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002099/0.2617, allocations: 107.6 kB / 404 MB, free: 5.523 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00029/0.262, allocations: 119.5 kB / 404.2 MB, free: 5.406 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 7.363e-05/0.2621, allocations: 20 kB / 404.2 MB, free: 5.387 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.981e-05/0.2622, allocations: 24 kB / 404.2 MB, free: 5.363 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 7.517e-05/0.2622, allocations: 55.77 kB / 404.3 MB, free: 5.309 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001961/0.2624, allocations: 127.4 kB / 404.4 MB, free: 5.184 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004862/0.2629, allocations: 298.7 kB / 404.7 MB, free: 4.891 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.779e-06/0.263, allocations: 3.938 kB / 404.7 MB, free: 4.887 MB / 318.1 MB Notification: Performance of FrontEnd: time 3.777e-06/0.263, allocations: 4 kB / 404.7 MB, free: 4.883 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.186e-05/0.263, allocations: 4 kB / 404.7 MB, free: 4.879 MB / 318.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.001031/0.264, allocations: 0.5378 MB / 405.2 MB, free: 4.289 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.709e-05/0.2641, allocations: 12.03 kB / 405.2 MB, free: 4.277 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.772e-05/0.2642, allocations: 28.75 kB / 405.3 MB, free: 4.25 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004455/0.2647, allocations: 245.4 kB / 405.5 MB, free: 3.969 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.553e-05/0.2647, allocations: 28.86 kB / 405.5 MB, free: 3.941 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.173e-05/0.2648, allocations: 32.31 kB / 405.6 MB, free: 3.91 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000586/0.2654, allocations: 236 kB / 405.8 MB, free: 3.668 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.044e-05/0.2654, allocations: 4.172 kB / 405.8 MB, free: 3.664 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.61e-05/0.2655, allocations: 15.94 kB / 405.8 MB, free: 3.648 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.221e-05/0.2655, allocations: 4 kB / 405.8 MB, free: 3.645 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003983/0.2659, allocations: 159.8 kB / 406 MB, free: 3.488 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001585/0.2675, allocations: 0.8011 MB / 406.8 MB, free: 2.629 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008885/0.2684, allocations: 291.8 kB / 407.1 MB, free: 2.316 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004904/0.2689, allocations: 138.5 kB / 407.2 MB, free: 2.172 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.933e-05/0.269, allocations: 4.219 kB / 407.2 MB, free: 2.168 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.577e-05/0.2691, allocations: 42.5 kB / 407.2 MB, free: 2.117 MB / 318.1 MB Notification: Performance of pre-optimization done (n=33): time 2.976e-06/0.2692, allocations: 0 / 407.2 MB, free: 2.117 MB / 318.1 MB Notification: Performance of matching and sorting (n=45): time 0.004203/0.2734, allocations: 1.957 MB / 409.2 MB, free: 15.9 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.827e-05/0.2735, allocations: 110.8 kB / 409.3 MB, free: 15.77 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001952/0.2737, allocations: 191.8 kB / 409.5 MB, free: 15.57 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.479e-05/0.2737, allocations: 29.7 kB / 409.5 MB, free: 15.53 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001239/0.2739, allocations: 144.9 kB / 409.7 MB, free: 15.39 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001504/0.274, allocations: 170.5 kB / 409.8 MB, free: 15.22 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001076/0.2741, allocations: 74.12 kB / 409.9 MB, free: 15.14 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001231/0.2743, allocations: 338.8 kB / 410.2 MB, free: 14.8 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001536/0.2744, allocations: 88.84 kB / 410.3 MB, free: 14.71 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002372/0.2747, allocations: 162.3 kB / 410.5 MB, free: 14.53 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004159/0.2751, allocations: 272.2 kB / 410.7 MB, free: 14.24 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.553e-06/0.2751, allocations: 0 / 410.7 MB, free: 14.24 MB / 334.1 MB Notification: Performance of matching and sorting (n=54) (initialization): time 0.0007077/0.2758, allocations: 348.1 kB / 411.1 MB, free: 13.9 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.472e-05/0.2759, allocations: 7.75 kB / 411.1 MB, free: 13.89 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.255e-05/0.2759, allocations: 8.094 kB / 411.1 MB, free: 13.89 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.912e-05/0.2759, allocations: 4 kB / 411.1 MB, free: 13.88 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005795/0.2765, allocations: 87.91 kB / 411.2 MB, free: 13.8 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.407e-05/0.2766, allocations: 11.97 kB / 411.2 MB, free: 13.79 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001952/0.2768, allocations: 11.94 kB / 411.2 MB, free: 13.77 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.142e-05/0.2768, allocations: 16 kB / 411.2 MB, free: 13.76 MB / 334.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.0002134/0.2771, allocations: 146.4 kB / 411.4 MB, free: 13.61 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001533/0.2772, allocations: 31.8 kB / 411.4 MB, free: 13.57 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.872e-05/0.2773, allocations: 37.86 kB / 411.4 MB, free: 13.54 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.35e-06/0.2773, allocations: 8 kB / 411.4 MB, free: 13.53 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.296e-06/0.2774, allocations: 0 / 411.4 MB, free: 13.53 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.614e-06/0.2774, allocations: 4 kB / 411.5 MB, free: 13.52 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001413/0.2788, allocations: 1.05 MB / 412.5 MB, free: 12.39 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.911e-06/0.2788, allocations: 4 kB / 412.5 MB, free: 12.38 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003557/0.2792, allocations: 91.83 kB / 412.6 MB, free: 12.29 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.264e-06/0.2792, allocations: 8 kB / 412.6 MB, free: 12.29 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.304e-05/0.2792, allocations: 8.281 kB / 412.6 MB, free: 12.28 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.274e-06/0.2792, allocations: 8 kB / 412.6 MB, free: 12.27 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.34e-06/0.2792, allocations: 12.39 kB / 412.6 MB, free: 12.26 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008922/0.2801, allocations: 0.717 MB / 413.3 MB, free: 11.5 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001008/0.2803, allocations: 113 kB / 413.5 MB, free: 11.37 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.082e-05/0.2803, allocations: 11.94 kB / 413.5 MB, free: 11.36 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003957/0.2807, allocations: 12 kB / 413.5 MB, free: 11.34 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.244e-05/0.2808, allocations: 35.91 kB / 413.5 MB, free: 11.31 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.373e-05/0.2809, allocations: 12.12 kB / 413.5 MB, free: 11.3 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.000176/0.2811, allocations: 140.4 kB / 413.7 MB, free: 11.16 MB / 334.1 MB Notification: Performance of sort global known variables: time 2.6e-07/0.2811, allocations: 0 / 413.7 MB, free: 11.16 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0006918/0.2818, allocations: 72 kB / 413.7 MB, free: 11.09 MB / 334.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.0001898/0.282, allocations: 118.5 kB / 413.9 MB, free: 10.96 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0005493/0.2826, allocations: 270.4 kB / 414.1 MB, free: 10.7 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 7.684e-06/0.2826, allocations: 0 / 414.1 MB, free: 10.7 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003247/0.2829, allocations: 147.6 kB / 414.3 MB, free: 10.56 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001076/0.284, allocations: 69.72 kB / 414.3 MB, free: 10.49 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001995/0.286, allocations: 0.9229 MB / 415.3 MB, free: 9.512 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005177/0.2866, allocations: 0.7683 MB / 416 MB, free: 8.719 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0001868/0.2868, allocations: 34.95 kB / 416.1 MB, free: 8.68 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001087/0.2869, allocations: 31.44 kB / 416.1 MB, free: 8.648 MB / 334.1 MB Notification: Performance of SimCode: time 5.51e-07/0.2869, allocations: 0 / 416.1 MB, free: 8.648 MB / 334.1 MB Notification: Performance of Templates: time 0.009283/0.2962, allocations: 3.04 MB / 419.1 MB, free: 5.637 MB / 334.1 MB make -j1 -f Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.Damper.makefile (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=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.Damper.pipe 2>&1) 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.Damper.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches