Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.Damper.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) 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(ModelicaTest.MultiBody.Forces.Damper,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|body.frame_a.r_0.1.|body.v_0.1.|heatCapacitor.T|prismatic1.s|prismatic1.v|prismatic2.s|prismatic2.v",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.Damper") translateModel(ModelicaTest.MultiBody.Forces.Damper,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|body.frame_a.r_0.1.|body.v_0.1.|heatCapacitor.T|prismatic1.s|prismatic1.v|prismatic2.s|prismatic2.v",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.Damper") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001008/0.001008, allocations: 95.25 kB / 18 MB, free: 5.602 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001439/0.001439, allocations: 201.5 kB / 18.93 MB, free: 4.719 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.367/1.367, allocations: 227.7 MB / 247.5 MB, free: 9.488 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1981/0.1981, allocations: 46.18 MB / 345.9 MB, free: 11.13 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002892/0.0002891, allocations: 8 kB / 420.2 MB, free: 19.67 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.115/0.1153, allocations: 63.57 MB / 483.7 MB, free: 4.09 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.Damper): time 0.3121/0.4275, allocations: 73.2 MB / 0.5439 GB, free: 1.25 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.03655/0.464, allocations: 14.44 MB / 0.558 GB, free: 7.715 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01822/0.4823, allocations: 322.8 kB / 0.5583 GB, free: 7.664 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002769/0.4851, allocations: 0.638 MB / 0.5589 GB, free: 7.16 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007604/0.4928, allocations: 2.325 MB / 0.5612 GB, free: 5.516 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003036/0.4958, allocations: 1.09 MB / 0.5623 GB, free: 4.789 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.01253/0.5084, allocations: 9.625 MB / 0.5717 GB, free: 12.58 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01424/0.5226, allocations: 9.265 MB / 0.5807 GB, free: 3.227 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004577/0.5273, allocations: 1.84 MB / 0.5825 GB, free: 1.379 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006292/0.5336, allocations: 3.301 MB / 0.5857 GB, free: 14.07 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001662/0.5353, allocations: 244 kB / 0.586 GB, free: 13.83 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003126/0.5384, allocations: 0.9868 MB / 0.5869 GB, free: 12.84 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003941/0.5424, allocations: 2.84 MB / 0.5897 GB, free: 9.992 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00541/0.5478, allocations: 3.203 MB / 0.5928 GB, free: 6.762 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00933/0.5572, allocations: 8.472 MB / 0.6011 GB, free: 14.27 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.929e-06/0.5572, allocations: 4 kB / 0.6011 GB, free: 14.27 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.736e-06/0.5572, allocations: 0 / 0.6011 GB, free: 14.27 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.000409/0.5576, allocations: 0 / 0.6011 GB, free: 14.27 MB / 446.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2520 * Number of variables: 2520 Notification: Performance of Generate backend data structure: time 0.01313/0.5708, allocations: 6.116 MB / 0.6071 GB, free: 8.074 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.839e-05/0.5708, allocations: 8.875 kB / 0.6071 GB, free: 8.066 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01073/0.5816, allocations: 2.643 MB / 0.6097 GB, free: 5.41 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007137/0.5888, allocations: 3.521 MB / 0.6131 GB, free: 1.828 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004705/0.5893, allocations: 443.4 kB / 0.6135 GB, free: 1.395 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001785/0.5911, allocations: 0.5465 MB / 0.6141 GB, free: 0.8477 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04244/0.6335, allocations: 19.82 MB / 0.6334 GB, free: 11.89 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003002/0.6339, allocations: 71.31 kB / 0.6335 GB, free: 11.82 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001558/0.6354, allocations: 267.8 kB / 0.6337 GB, free: 11.56 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005312/0.6408, allocations: 3.157 MB / 0.6368 GB, free: 8.402 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03929/0.6801, allocations: 15.92 MB / 0.6524 GB, free: 8.453 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.5187/1.199, allocations: 64 MB / 0.7149 GB, free: 138.5 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01801/1.217, allocations: 6.371 MB / 0.7211 GB, free: 137.8 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003208/1.22, allocations: 2.055 MB / 0.7231 GB, free: 137.7 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01406/1.234, allocations: 9.202 MB / 0.7321 GB, free: 134.7 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.808e-05/1.234, allocations: 56.5 kB / 0.7321 GB, free: 134.6 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=257): time 5.11e-06/1.234, allocations: 0 / 0.7321 GB, free: 134.6 MB / 0.5294 GB Notification: Performance of matching and sorting (n=291): time 0.05789/1.292, allocations: 21.56 MB / 0.7532 GB, free: 125.9 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.813e-05/1.292, allocations: 162.3 kB / 0.7533 GB, free: 125.7 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008929/1.301, allocations: 5.759 MB / 0.759 GB, free: 121 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.0004449/1.302, allocations: 73.22 kB / 0.759 GB, free: 120.9 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.00239/1.304, allocations: 4.826 MB / 0.7637 GB, free: 116.1 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.0011/1.305, allocations: 1.114 MB / 0.7648 GB, free: 115 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001167/1.306, allocations: 0.7764 MB / 0.7656 GB, free: 114.2 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 4.306e-05/1.306, allocations: 305.1 kB / 0.7659 GB, free: 113.9 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003739/1.31, allocations: 2.65 MB / 0.7685 GB, free: 111.2 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005529/1.316, allocations: 8.21 MB / 0.7765 GB, free: 100.5 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01041/1.326, allocations: 11.8 MB / 0.788 GB, free: 86.29 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001731/1.326, allocations: 56 kB / 0.7881 GB, free: 86.24 MB / 0.5294 GB Notification: Performance of matching and sorting (n=1207) (initialization): time 0.01732/1.344, allocations: 10.56 MB / 0.7984 GB, free: 75.67 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001062/1.344, allocations: 93.97 kB / 0.7985 GB, free: 75.58 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001859/1.344, allocations: 196.9 kB / 0.7987 GB, free: 75.39 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001871/1.344, allocations: 267.9 kB / 0.7989 GB, free: 75.12 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006387/1.351, allocations: 2.215 MB / 0.8011 GB, free: 72.91 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002166/1.351, allocations: 386.5 kB / 0.8014 GB, free: 72.53 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005648/1.357, allocations: 463.5 kB / 0.8019 GB, free: 72.07 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001003/1.358, allocations: 0.5468 MB / 0.8024 GB, free: 71.53 MB / 0.5294 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 895 * Number of states: 0 () * Number of discrete variables: 78 (force2.forceArrow.twoHeadedArrow,force2.forceArrow.headAtOrigin,force1.forceArrow.twoHeadedArrow,force1.forceArrow.headAtOrigin,force.forceArrow.twoHeadedArrow,force.forceArrow.headAtOrigin,fixedTranslation1.color[3],fixedTranslation1.color[2],fixedTranslation1.color[1],fixedTranslation.color[3],fixedTranslation.color[2],fixedTranslation.color[1],body2.sphereColor[3],body2.sphereColor[2],body2.sphereColor[1],force2.connectionLineColor[3],force2.connectionLineColor[2],force2.connectionLineColor[1],force2.forceColor[3],force2.forceColor[2],force2.forceColor[1],prismatic2.boxColor[3],prismatic2.boxColor[2],prismatic2.boxColor[1],damper2.color_b[3],damper2.color_b[2],damper2.color_b[1],damper2.color_a[3],damper2.color_a[2],damper2.color_a[1],body1.sphereColor[3],body1.sphereColor[2],body1.sphereColor[1],force1.connectionLineColor[3],force1.connectionLineColor[2],force1.connectionLineColor[1],force1.forceColor[3],force1.forceColor[2],force1.forceColor[1],prismatic1.boxColor[3],prismatic1.boxColor[2],prismatic1.boxColor[1],damper1.color_b[3],damper1.color_b[2],damper1.color_b[1],damper1.color_a[3],damper1.color_a[2],damper1.color_a[1],body.sphereColor[3],body.sphereColor[2],body.sphereColor[1],force.connectionLineColor[3],force.connectionLineColor[2],force.connectionLineColor[1],force.forceColor[3],force.forceColor[2],force.forceColor[1],prismatic.boxColor[3],prismatic.boxColor[2],prismatic.boxColor[1],damper.color_b[3],damper.color_b[2],damper.color_b[1],damper.color_a[3],damper.color_a[2],damper.color_a[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1],world.groundColor[3],world.groundColor[2],world.groundColor[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1183): * Single equations (assignments): 1180 * Array equations: 3 * 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.004653/1.362, allocations: 3.149 MB / 0.8055 GB, free: 68.37 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007561/1.363, allocations: 0.509 MB / 0.806 GB, free: 67.86 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00434/1.367, allocations: 3.015 MB / 0.8089 GB, free: 64.82 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.321e-05/1.367, allocations: 32.64 kB / 0.809 GB, free: 64.79 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.33e-05/1.367, allocations: 7.938 kB / 0.809 GB, free: 64.79 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.169e-05/1.367, allocations: 15.94 kB / 0.809 GB, free: 64.77 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01844/1.386, allocations: 12.33 MB / 0.821 GB, free: 51.96 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.232e-05/1.386, allocations: 32 kB / 0.8211 GB, free: 51.93 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00183/1.388, allocations: 0.554 MB / 0.8216 GB, free: 51.37 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.059e-05/1.388, allocations: 48 kB / 0.8217 GB, free: 51.32 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001407/1.388, allocations: 91.98 kB / 0.8217 GB, free: 51.23 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.162e-05/1.388, allocations: 67.72 kB / 0.8218 GB, free: 51.17 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.143e-05/1.388, allocations: 47.81 kB / 0.8219 GB, free: 51.12 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005677/1.394, allocations: 5.66 MB / 0.8274 GB, free: 44.93 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001259/1.395, allocations: 0.5807 MB / 0.8279 GB, free: 44.32 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006251/1.396, allocations: 95.97 kB / 0.828 GB, free: 44.23 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002065/1.398, allocations: 159.9 kB / 0.8282 GB, free: 44.07 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002706/1.398, allocations: 271.9 kB / 0.8284 GB, free: 43.8 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001417/1.398, allocations: 120 kB / 0.8286 GB, free: 43.69 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.004957/1.403, allocations: 3.581 MB / 0.8321 GB, free: 40.14 MB / 0.5294 GB Notification: Performance of sort global known variables: time 3.1e-07/1.403, allocations: 0 / 0.8321 GB, free: 40.14 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.006815/1.41, allocations: 1.402 MB / 0.8334 GB, free: 38.74 MB / 0.5294 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 142 * Number of states: 7 (body.frame_a.r_0[1],body.v_0[1],prismatic1.s,prismatic1.v,heatCapacitor.T,prismatic2.s,prismatic2.v) * 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 (275): * Single equations (assignments): 272 * Array equations: 3 * 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.0005287/1.411, allocations: 264.3 kB / 0.8337 GB, free: 38.48 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.008542/1.419, allocations: 6.011 MB / 0.8396 GB, free: 32.5 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 1.943e-05/1.419, allocations: 4 kB / 0.8396 GB, free: 32.5 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.001886/1.421, allocations: 1.392 MB / 0.8409 GB, free: 31.11 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.02803/1.449, allocations: 0.7352 MB / 0.8416 GB, free: 30.39 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02425/1.473, allocations: 18.55 MB / 0.8597 GB, free: 11.38 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005448/1.479, allocations: 4.752 MB / 0.8644 GB, free: 6.598 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001389/1.48, allocations: 443.4 kB / 0.8648 GB, free: 6.164 MB / 0.5294 GB Notification: Performance of SimCode: time 9.42e-07/1.48, allocations: 0 / 0.8648 GB, free: 6.164 MB / 0.5294 GB Notification: Performance of Templates: time 0.3368/1.817, allocations: 81.52 MB / 0.9444 GB, free: 212.4 MB / 0.5919 GB make -j1 -f ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.Damper.makefile (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.Damper.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.Damper.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.Damper.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.Damper.sim & ./ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.Damper -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.Damper.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.Damper_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Forces/Damper/Damper.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.Damper.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches