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.001209/0.00121, allocations: 111.7 kB / 17.06 MB, free: 5.973 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.001234/0.001234, allocations: 198.8 kB / 18.01 MB, free: 5.055 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.345/1.345, allocations: 222.9 MB / 241.7 MB, free: 15.16 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001006/0.001006, allocations: 43.92 kB / 351.3 MB, free: 3.258 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2708/0.2718, allocations: 49.44 MB / 400.7 MB, free: 8.742 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.Damper): time 0.003966/0.2758, allocations: 2.411 MB / 403.1 MB, free: 6.449 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006807/0.2766, allocations: 247.1 kB / 403.4 MB, free: 6.207 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002135/0.2768, allocations: 7.938 kB / 403.4 MB, free: 6.199 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001998/0.277, allocations: 47.52 kB / 403.4 MB, free: 6.152 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000231/0.2773, allocations: 91.25 kB / 403.5 MB, free: 6.062 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002113/0.2775, allocations: 59.86 kB / 403.6 MB, free: 6.004 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003775/0.2779, allocations: 282.7 kB / 403.8 MB, free: 5.727 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002456/0.2781, allocations: 109.7 kB / 403.9 MB, free: 5.617 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000187/0.2783, allocations: 111.6 kB / 404.1 MB, free: 5.508 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002007/0.2785, allocations: 119.5 kB / 404.2 MB, free: 5.391 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 4.644e-05/0.2786, allocations: 20 kB / 404.2 MB, free: 5.371 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.711e-05/0.2786, allocations: 24 kB / 404.2 MB, free: 5.348 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 6.363e-05/0.2787, allocations: 55.78 kB / 404.3 MB, free: 5.293 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001325/0.2788, allocations: 123.4 kB / 404.4 MB, free: 5.172 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003052/0.2792, allocations: 308 kB / 404.7 MB, free: 4.875 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.819e-06/0.2792, allocations: 0 / 404.7 MB, free: 4.875 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.012e-06/0.2792, allocations: 0 / 404.7 MB, free: 4.875 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.056e-05/0.2792, allocations: 0 / 404.7 MB, free: 4.875 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.0009577/0.2801, allocations: 0.538 MB / 405.2 MB, free: 4.285 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.427e-05/0.2802, allocations: 12.03 kB / 405.2 MB, free: 4.273 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.314e-05/0.2803, allocations: 28.66 kB / 405.3 MB, free: 4.246 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004129/0.2807, allocations: 245.1 kB / 405.5 MB, free: 3.965 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.174e-05/0.2807, allocations: 20.94 kB / 405.5 MB, free: 3.945 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.074e-05/0.2808, allocations: 24.38 kB / 405.6 MB, free: 3.922 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000419/0.2812, allocations: 240 kB / 405.8 MB, free: 3.676 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.879e-05/0.2812, allocations: 192 / 405.8 MB, free: 3.676 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.896e-05/0.2813, allocations: 19.94 kB / 405.8 MB, free: 3.656 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.245e-06/0.2813, allocations: 4 kB / 405.8 MB, free: 3.652 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003051/0.2816, allocations: 166.3 kB / 406 MB, free: 3.492 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001122/0.2827, allocations: 0.7969 MB / 406.8 MB, free: 2.637 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000488/0.2832, allocations: 291.8 kB / 407.1 MB, free: 2.324 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002356/0.2835, allocations: 138.7 kB / 407.2 MB, free: 2.18 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.81e-05/0.2835, allocations: 7.938 kB / 407.2 MB, free: 2.172 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.1e-05/0.2835, allocations: 34.56 kB / 407.2 MB, free: 2.129 MB / 318.1 MB Notification: Performance of pre-optimization done (n=33): time 1.503e-06/0.2835, allocations: 4 kB / 407.2 MB, free: 2.125 MB / 318.1 MB Notification: Performance of matching and sorting (n=45): time 0.002674/0.2862, allocations: 1.946 MB / 409.2 MB, free: 15.92 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.434e-05/0.2863, allocations: 114.8 kB / 409.3 MB, free: 15.78 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001804/0.2865, allocations: 183.8 kB / 409.5 MB, free: 15.59 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.93e-05/0.2865, allocations: 41.7 kB / 409.5 MB, free: 15.54 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.651e-05/0.2866, allocations: 136.7 kB / 409.6 MB, free: 15.41 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001118/0.2867, allocations: 161.6 kB / 409.8 MB, free: 15.25 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.771e-05/0.2868, allocations: 78.05 kB / 409.9 MB, free: 15.16 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001147/0.287, allocations: 330.8 kB / 410.2 MB, free: 14.83 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001612/0.2871, allocations: 96.77 kB / 410.3 MB, free: 14.74 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002075/0.2873, allocations: 162.3 kB / 410.5 MB, free: 14.55 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004506/0.2878, allocations: 260 kB / 410.7 MB, free: 14.28 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.823e-06/0.2878, allocations: 0 / 410.7 MB, free: 14.28 MB / 334.1 MB Notification: Performance of matching and sorting (n=54) (initialization): time 0.0004947/0.2883, allocations: 353.1 kB / 411.1 MB, free: 13.93 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.652e-05/0.2883, allocations: 7.938 kB / 411.1 MB, free: 13.92 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.221e-06/0.2883, allocations: 4 kB / 411.1 MB, free: 13.92 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.892e-05/0.2884, allocations: 4 kB / 411.1 MB, free: 13.91 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003364/0.2887, allocations: 91.89 kB / 411.2 MB, free: 13.82 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.045e-05/0.2887, allocations: 7.938 kB / 411.2 MB, free: 13.82 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001143/0.2889, allocations: 8 kB / 411.2 MB, free: 13.81 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.079e-05/0.2889, allocations: 16 kB / 411.2 MB, free: 13.79 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.0001394/0.289, allocations: 154.5 kB / 411.3 MB, free: 13.63 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.164e-05/0.2891, allocations: 35.56 kB / 411.4 MB, free: 13.6 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.531e-05/0.2892, allocations: 38.8 kB / 411.4 MB, free: 13.56 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.791e-06/0.2892, allocations: 4 kB / 411.4 MB, free: 13.55 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.738e-06/0.2892, allocations: 8 kB / 411.4 MB, free: 13.55 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.483e-06/0.2893, allocations: 3.984 kB / 411.4 MB, free: 13.54 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00142/0.2907, allocations: 1.05 MB / 412.5 MB, free: 12.41 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.581e-06/0.2907, allocations: 4 kB / 412.5 MB, free: 12.4 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003804/0.2911, allocations: 92.19 kB / 412.6 MB, free: 12.31 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.656e-06/0.2911, allocations: 7.938 kB / 412.6 MB, free: 12.3 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.51e-05/0.2911, allocations: 11.98 kB / 412.6 MB, free: 12.29 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.033e-06/0.2911, allocations: 4 kB / 412.6 MB, free: 12.29 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.032e-06/0.2912, allocations: 7.938 kB / 412.6 MB, free: 12.28 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009795/0.2921, allocations: 0.7169 MB / 413.3 MB, free: 11.52 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.705e-05/0.2922, allocations: 112.8 kB / 413.4 MB, free: 11.39 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.296e-05/0.2923, allocations: 12.06 kB / 413.4 MB, free: 11.38 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002406/0.2925, allocations: 12 kB / 413.5 MB, free: 11.37 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000158/0.2927, allocations: 35.89 kB / 413.5 MB, free: 11.33 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.619e-05/0.2927, allocations: 16 kB / 413.5 MB, free: 11.32 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001102/0.2929, allocations: 136.4 kB / 413.6 MB, free: 11.18 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.2929, allocations: 0 / 413.6 MB, free: 11.18 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0004429/0.2933, allocations: 72 kB / 413.7 MB, free: 11.11 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.0001497/0.2935, allocations: 115.2 kB / 413.8 MB, free: 10.99 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0004782/0.294, allocations: 267.2 kB / 414.1 MB, free: 10.73 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 4.979e-06/0.294, allocations: 3.938 kB / 414.1 MB, free: 10.73 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002003/0.2942, allocations: 148.2 kB / 414.2 MB, free: 10.58 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007033/0.2949, allocations: 60.5 kB / 414.3 MB, free: 10.52 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001532/0.2964, allocations: 0.9123 MB / 415.2 MB, free: 9.555 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004467/0.2969, allocations: 0.7644 MB / 416 MB, free: 8.766 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0001308/0.297, allocations: 30.97 kB / 416 MB, free: 8.73 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.203e-05/0.2971, allocations: 27.44 kB / 416 MB, free: 8.703 MB / 334.1 MB Notification: Performance of SimCode: time 6.31e-07/0.2971, allocations: 0 / 416 MB, free: 8.703 MB / 334.1 MB Notification: Performance of Templates: time 0.006621/0.3037, allocations: 3.046 MB / 419.1 MB, free: 5.684 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