Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.Damper2.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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(ModelicaTest.MultiBody.Forces.Damper2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|heatCapacitor.T|prismatic.s|prismatic.v|prismatic1.s|prismatic1.v|prismatic2.s|prismatic2.v",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.Damper2") translateModel(ModelicaTest.MultiBody.Forces.Damper2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|heatCapacitor.T|prismatic.s|prismatic.v|prismatic1.s|prismatic1.v|prismatic2.s|prismatic2.v",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.Damper2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001026/0.001026, allocations: 102.6 kB / 16.02 MB, free: 76 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001222/0.001222, allocations: 184.8 kB / 16.92 MB, free: 6.918 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.762/1.762, allocations: 205.4 MB / 223.1 MB, free: 5.508 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.412/0.412, allocations: 43.57 MB / 315 MB, free: 9.129 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0005698/0.0005699, allocations: 16 kB / 384.6 MB, free: 7.879 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1536/0.1542, allocations: 58.86 MB / 443.4 MB, free: 12.91 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.Damper2): time 0.3712/0.5255, allocations: 85.53 MB / 0.5166 GB, free: 8.84 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.05903/0.5846, allocations: 16.71 MB / 0.5329 GB, free: 13.68 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.02609/0.6107, allocations: 364.5 kB / 0.5332 GB, free: 13.62 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003946/0.6147, allocations: 0.6851 MB / 0.5339 GB, free: 13.34 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01232/0.6271, allocations: 2.589 MB / 0.5364 GB, free: 12.14 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005026/0.6321, allocations: 1.107 MB / 0.5375 GB, free: 11.66 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.01888/0.651, allocations: 10.3 MB / 0.5476 GB, free: 5.223 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01748/0.6686, allocations: 9.495 MB / 0.5569 GB, free: 11.66 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005987/0.6746, allocations: 2.019 MB / 0.5588 GB, free: 9.633 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.007477/0.6821, allocations: 3.644 MB / 0.5624 GB, free: 5.977 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.003726/0.6859, allocations: 276 kB / 0.5626 GB, free: 5.707 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006079/0.692, allocations: 1.03 MB / 0.5637 GB, free: 4.676 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.006167/0.6982, allocations: 3.116 MB / 0.5667 GB, free: 1.551 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.009512/0.7077, allocations: 3.549 MB / 0.5702 GB, free: 13.97 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02017/0.7279, allocations: 11.31 MB / 0.5812 GB, free: 2.625 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.522e-06/0.728, allocations: 0 / 0.5812 GB, free: 2.625 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.355e-06/0.728, allocations: 4 kB / 0.5812 GB, free: 2.621 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.000632/0.7287, allocations: 4 kB / 0.5812 GB, free: 2.617 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: 2765 * Number of variables: 2765 Notification: Performance of Generate backend data structure: time 0.02055/0.7492, allocations: 6.698 MB / 0.5878 GB, free: 11.83 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.173e-05/0.7493, allocations: 8.031 kB / 0.5878 GB, free: 11.82 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01329/0.7626, allocations: 2.779 MB / 0.5905 GB, free: 9.031 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01033/0.773, allocations: 3.963 MB / 0.5943 GB, free: 5.008 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004688/0.7735, allocations: 460.2 kB / 0.5948 GB, free: 4.559 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002389/0.7759, allocations: 0.5932 MB / 0.5954 GB, free: 3.965 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04456/0.8204, allocations: 21.33 MB / 0.6162 GB, free: 13.48 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002032/0.8207, allocations: 71.39 kB / 0.6163 GB, free: 13.41 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008501/0.8215, allocations: 283.7 kB / 0.6165 GB, free: 13.13 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005619/0.8272, allocations: 3.545 MB / 0.62 GB, free: 9.586 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.5437/1.371, allocations: 17.33 MB / 0.6369 GB, free: 134.2 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1039/1.475, allocations: 67.92 MB / 0.7032 GB, free: 88.9 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01985/1.495, allocations: 6.796 MB / 0.7099 GB, free: 86.05 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004182/1.499, allocations: 2.345 MB / 0.7122 GB, free: 84.91 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0168/1.516, allocations: 9.817 MB / 0.7218 GB, free: 78.43 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01404/1.53, allocations: 4.425 MB / 0.7261 GB, free: 74.54 MB / 494.1 MB Notification: Performance of pre-optimization done (n=299): time 7.564e-06/1.53, allocations: 0 / 0.7261 GB, free: 74.54 MB / 494.1 MB Notification: Performance of matching and sorting (n=333): time 0.05978/1.59, allocations: 23.12 MB / 0.7487 GB, free: 51.27 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.327e-05/1.59, allocations: 166.7 kB / 0.7488 GB, free: 51.08 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007964/1.598, allocations: 6.046 MB / 0.7547 GB, free: 45.02 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0009254/1.599, allocations: 77.7 kB / 0.7548 GB, free: 44.93 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.004583/1.603, allocations: 5.308 MB / 0.76 GB, free: 39.63 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001756/1.605, allocations: 1.261 MB / 0.7612 GB, free: 38.38 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009431/1.606, allocations: 0.8313 MB / 0.762 GB, free: 37.54 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 6.641e-05/1.606, allocations: 301.1 kB / 0.7623 GB, free: 37.25 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004332/1.611, allocations: 2.901 MB / 0.7651 GB, free: 34.34 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007005/1.618, allocations: 8.726 MB / 0.7737 GB, free: 22.75 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01317/1.631, allocations: 12.63 MB / 0.786 GB, free: 7.195 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001895/1.631, allocations: 56 kB / 0.7861 GB, free: 7.141 MB / 494.1 MB Notification: Performance of matching and sorting (n=1296) (initialization): time 0.0262/1.657, allocations: 11.39 MB / 0.7972 GB, free: 11.7 MB / 0.4982 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002141/1.658, allocations: 117.9 kB / 0.7973 GB, free: 11.58 MB / 0.4982 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003864/1.658, allocations: 208 kB / 0.7975 GB, free: 11.38 MB / 0.4982 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003165/1.658, allocations: 279.9 kB / 0.7978 GB, free: 11.1 MB / 0.4982 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009515/1.668, allocations: 2.378 MB / 0.8001 GB, free: 8.719 MB / 0.4982 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005639/1.668, allocations: 408.1 kB / 0.8005 GB, free: 8.32 MB / 0.4982 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009649/1.678, allocations: 499.3 kB / 0.801 GB, free: 7.832 MB / 0.4982 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002004/1.68, allocations: 0.5742 MB / 0.8015 GB, free: 7.258 MB / 0.4982 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 934 * Number of states: 0 () * Number of discrete variables: 77 (trapezoid.count,$PRE.trapezoid.count,trapezoid.T_start,$PRE.trapezoid.T_start,$whenCondition1,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 (1271): * Single equations (assignments): 1267 * Array equations: 3 * Algorithm blocks: 1 * 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.008013/1.688, allocations: 3.403 MB / 0.8048 GB, free: 3.84 MB / 0.4982 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001276/1.689, allocations: 0.5477 MB / 0.8054 GB, free: 3.285 MB / 0.4982 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006929/1.696, allocations: 3.544 MB / 0.8088 GB, free: 15.69 MB / 0.5138 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.654e-05/1.696, allocations: 32 kB / 0.8089 GB, free: 15.66 MB / 0.5138 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.7e-05/1.696, allocations: 4 kB / 0.8089 GB, free: 15.66 MB / 0.5138 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.51e-05/1.696, allocations: 15.94 kB / 0.8089 GB, free: 15.64 MB / 0.5138 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02715/1.724, allocations: 13.84 MB / 0.8224 GB, free: 1.324 MB / 0.5138 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.731e-05/1.724, allocations: 32 kB / 0.8224 GB, free: 1.293 MB / 0.5138 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003022/1.727, allocations: 0.6793 MB / 0.8231 GB, free: 0.6133 MB / 0.5138 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.079e-05/1.727, allocations: 48 kB / 0.8231 GB, free: 0.5664 MB / 0.5138 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.00027/1.727, allocations: 107.9 kB / 0.8232 GB, free: 472 kB / 0.5138 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.943e-05/1.727, allocations: 67.78 kB / 0.8233 GB, free: 404 kB / 0.5138 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.351e-05/1.727, allocations: 51.75 kB / 0.8233 GB, free: 352 kB / 0.5138 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.3065/2.034, allocations: 6.232 MB / 0.8294 GB, free: 152.5 MB / 0.5138 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002481/2.036, allocations: 0.8501 MB / 0.8303 GB, free: 152.4 MB / 0.5138 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001102/2.037, allocations: 106.5 kB / 0.8304 GB, free: 152.4 MB / 0.5138 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002546/2.04, allocations: 179.5 kB / 0.8305 GB, free: 152.4 MB / 0.5138 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004841/2.04, allocations: 306.9 kB / 0.8308 GB, free: 152.3 MB / 0.5138 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002274/2.041, allocations: 134.3 kB / 0.831 GB, free: 152.3 MB / 0.5138 GB Notification: Performance of sorting global known variables: time 0.007028/2.048, allocations: 3.765 MB / 0.8346 GB, free: 152.1 MB / 0.5138 GB Notification: Performance of sort global known variables: time 3.81e-07/2.048, allocations: 2.875 kB / 0.8346 GB, free: 152.1 MB / 0.5138 GB Notification: Performance of remove unused functions: time 0.008862/2.057, allocations: 1.571 MB / 0.8362 GB, free: 152.1 MB / 0.5138 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 148 * Number of states: 7 (prismatic.s,prismatic.v,prismatic1.s,prismatic1.v,heatCapacitor.T,prismatic2.s,prismatic2.v) * Number of discrete variables: 3 ($whenCondition1,trapezoid.T_start,trapezoid.count) * Number of discrete states: 1 (trapezoid.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (320): * Single equations (assignments): 315 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.0009037/2.058, allocations: 289.7 kB / 0.8364 GB, free: 152 MB / 0.5138 GB Notification: Performance of simCode: created initialization part: time 0.01131/2.069, allocations: 6.646 MB / 0.8429 GB, free: 150.1 MB / 0.5138 GB Notification: Performance of simCode: created event and clocks part: time 2.898e-05/2.069, allocations: 5.906 kB / 0.8429 GB, free: 150.1 MB / 0.5138 GB Notification: Performance of simCode: created simulation system equations: time 0.00374/2.073, allocations: 1.895 MB / 0.8448 GB, free: 149.4 MB / 0.5138 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.03131/2.104, allocations: 0.7746 MB / 0.8456 GB, free: 149.1 MB / 0.5138 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03941/2.143, allocations: 19.6 MB / 0.8647 GB, free: 137.8 MB / 0.5138 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0148/2.158, allocations: 5.139 MB / 0.8697 GB, free: 136.1 MB / 0.5138 GB Notification: Performance of simCode: alias equations: time 0.01329/2.172, allocations: 2.761 MB / 0.8724 GB, free: 135.8 MB / 0.5138 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00241/2.174, allocations: 422 kB / 0.8728 GB, free: 135.8 MB / 0.5138 GB Notification: Performance of SimCode: time 1.563e-06/2.174, allocations: 1.156 kB / 0.8728 GB, free: 135.8 MB / 0.5138 GB Notification: Performance of Templates: time 0.09662/2.271, allocations: 49.34 MB / 0.921 GB, free: 97.41 MB / 0.5138 GB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.Damper2.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.Damper2.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.Damper2.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.Damper2.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.Damper2.sim & ./ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.Damper2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.Damper2.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.Damper2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/MultiBody/Forces/Damper2/Damper2.csv","../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.Damper2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches