Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) 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(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_4.0.0_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_4.0.0_ModelicaTest.MultiBody.Forces.Damper") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001376/0.001383, allocations: 107.7 kB / 17.21 MB, free: 6.289 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.001464/0.001464, allocations: 194 kB / 18.12 MB, free: 5.379 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.465/1.465, allocations: 222.9 MB / 241.8 MB, free: 15.46 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2447/0.2447, allocations: 44.18 MB / 336.1 MB, free: 2.996 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001198/0.001198, allocations: 61.3 kB / 407.7 MB, free: 27.71 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.132/0.1332, allocations: 60.83 MB / 468.5 MB, free: 14.85 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.Damper): time 0.401/0.5342, allocations: 86.32 MB / 0.5418 GB, free: 2.758 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.05229/0.5865, allocations: 16.54 MB / 0.558 GB, free: 7.281 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.02551/0.6121, allocations: 368.9 kB / 0.5583 GB, free: 7.227 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01036/0.6225, allocations: 5.208 MB / 0.5634 GB, free: 3.504 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.009021/0.6316, allocations: 2.405 MB / 0.5658 GB, free: 1.09 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003721/0.6353, allocations: 1.077 MB / 0.5668 GB, free: 12 kB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.01576/0.6511, allocations: 9.71 MB / 0.5763 GB, free: 6.289 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01059/0.6617, allocations: 6.408 MB / 0.5826 GB, free: 15.83 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004843/0.6666, allocations: 2.367 MB / 0.5849 GB, free: 13.46 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006165/0.6728, allocations: 3.984 MB / 0.5888 GB, free: 9.461 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001984/0.6748, allocations: 460 kB / 0.5892 GB, free: 9.012 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004945/0.6798, allocations: 1.229 MB / 0.5904 GB, free: 7.781 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.007659/0.6875, allocations: 3.226 MB / 0.5936 GB, free: 4.547 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01059/0.6981, allocations: 3.666 MB / 0.5971 GB, free: 0.8594 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02109/0.7192, allocations: 10.96 MB / 0.6078 GB, free: 5.867 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.288e-06/0.7193, allocations: 4 kB / 0.6079 GB, free: 5.863 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.304e-06/0.7193, allocations: 4 kB / 0.6079 GB, free: 5.859 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0003763/0.7197, allocations: 3.938 kB / 0.6079 GB, free: 5.855 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: 2607 * Number of variables: 2607 Notification: Performance of Generate backend data structure: time 0.0287/0.7484, allocations: 7.802 MB / 0.6155 GB, free: 13.96 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.892e-05/0.7485, allocations: 12.03 kB / 0.6155 GB, free: 13.95 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0214/0.7699, allocations: 2.655 MB / 0.6181 GB, free: 11.29 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01327/0.7832, allocations: 3.666 MB / 0.6217 GB, free: 7.559 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006908/0.784, allocations: 443.6 kB / 0.6221 GB, free: 7.125 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002877/0.7869, allocations: 0.5582 MB / 0.6226 GB, free: 6.566 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.07593/0.8628, allocations: 20.28 MB / 0.6424 GB, free: 1.133 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002901/0.8632, allocations: 75.28 kB / 0.6425 GB, free: 1.059 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001266/0.8644, allocations: 271.8 kB / 0.6428 GB, free: 0.793 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.009104/0.8736, allocations: 3.337 MB / 0.646 GB, free: 13.45 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.06326/0.9369, allocations: 16.28 MB / 0.6619 GB, free: 13.15 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.5724/1.509, allocations: 65.31 MB / 0.7257 GB, free: 147.3 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01747/1.527, allocations: 6.287 MB / 0.7318 GB, free: 146.6 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003591/1.53, allocations: 2.046 MB / 0.7338 GB, free: 146.5 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01588/1.546, allocations: 9.137 MB / 0.7428 GB, free: 141.9 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.011e-05/1.546, allocations: 65.25 kB / 0.7428 GB, free: 141.8 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=257): time 6.532e-06/1.546, allocations: 0 / 0.7428 GB, free: 141.8 MB / 0.5294 GB Notification: Performance of matching and sorting (n=291): time 0.05621/1.603, allocations: 21.29 MB / 0.7636 GB, free: 131.3 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.273e-05/1.603, allocations: 158.5 kB / 0.7638 GB, free: 131.1 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00849/1.611, allocations: 5.844 MB / 0.7695 GB, free: 125.3 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.0005601/1.612, allocations: 65.7 kB / 0.7695 GB, free: 125.2 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.002386/1.614, allocations: 4.963 MB / 0.7744 GB, free: 120.3 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.0011/1.615, allocations: 1.112 MB / 0.7755 GB, free: 119.2 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001884/1.617, allocations: 1.837 MB / 0.7773 GB, free: 117.3 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 5.333e-05/1.617, allocations: 307.8 kB / 0.7776 GB, free: 117 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003334/1.621, allocations: 2.618 MB / 0.7801 GB, free: 114.4 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00581/1.627, allocations: 8.248 MB / 0.7882 GB, free: 103.6 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01079/1.637, allocations: 11.81 MB / 0.7997 GB, free: 89.16 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002611/1.638, allocations: 56 kB / 0.7998 GB, free: 89.11 MB / 0.5294 GB Notification: Performance of matching and sorting (n=1216) (initialization): time 0.02042/1.658, allocations: 10.57 MB / 0.8101 GB, free: 78.53 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 0.000113/1.658, allocations: 88 kB / 0.8102 GB, free: 78.44 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002314/1.658, allocations: 200 kB / 0.8104 GB, free: 78.25 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001841/1.659, allocations: 264 kB / 0.8106 GB, free: 77.99 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006656/1.665, allocations: 2.219 MB / 0.8128 GB, free: 75.77 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002454/1.666, allocations: 390.5 kB / 0.8132 GB, free: 75.38 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007078/1.673, allocations: 443.4 kB / 0.8136 GB, free: 74.95 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001433/1.674, allocations: 0.5507 MB / 0.8141 GB, free: 74.4 MB / 0.5294 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 904 * Number of states: 0 () * Number of discrete variables: 78 (force2.forceArrow.arrowLine.twoHeadedArrow,force2.forceArrow.headAtOrigin,force1.forceArrow.arrowLine.twoHeadedArrow,force1.forceArrow.headAtOrigin,force.forceArrow.arrowLine.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 (1192): * Single equations (assignments): 1189 * 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.005194/1.679, allocations: 3.241 MB / 0.8173 GB, free: 71.15 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009615/1.68, allocations: 0.5128 MB / 0.8178 GB, free: 70.63 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004333/1.685, allocations: 2.972 MB / 0.8207 GB, free: 67.64 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.964e-05/1.685, allocations: 28 kB / 0.8207 GB, free: 67.61 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.216e-05/1.685, allocations: 4 kB / 0.8207 GB, free: 67.61 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.948e-05/1.685, allocations: 11.95 kB / 0.8207 GB, free: 67.6 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01992/1.705, allocations: 12.44 MB / 0.8329 GB, free: 54.7 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.455e-05/1.705, allocations: 32 kB / 0.8329 GB, free: 54.66 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001778/1.707, allocations: 0.5303 MB / 0.8334 GB, free: 54.13 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.21e-05/1.707, allocations: 47.94 kB / 0.8335 GB, free: 54.09 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001417/1.707, allocations: 91.98 kB / 0.8336 GB, free: 54 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.357e-05/1.707, allocations: 63.78 kB / 0.8336 GB, free: 53.93 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.17e-05/1.707, allocations: 55.91 kB / 0.8337 GB, free: 53.88 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005679/1.712, allocations: 5.542 MB / 0.8391 GB, free: 47.8 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001776/1.714, allocations: 0.5879 MB / 0.8397 GB, free: 47.19 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006732/1.715, allocations: 91.66 kB / 0.8397 GB, free: 47.11 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001837/1.717, allocations: 132.4 kB / 0.8399 GB, free: 46.98 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000278/1.717, allocations: 271.9 kB / 0.8401 GB, free: 46.71 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001424/1.717, allocations: 120 kB / 0.8402 GB, free: 46.59 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.005475/1.723, allocations: 3.63 MB / 0.8438 GB, free: 42.96 MB / 0.5294 GB Notification: Performance of sort global known variables: time 2.7e-07/1.723, allocations: 0 / 0.8438 GB, free: 42.96 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.008991/1.732, allocations: 1.463 MB / 0.8452 GB, free: 41.5 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.0007069/1.733, allocations: 275.4 kB / 0.8455 GB, free: 41.23 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.008775/1.741, allocations: 5.969 MB / 0.8513 GB, free: 35.29 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 2.48e-05/1.741, allocations: 4 kB / 0.8513 GB, free: 35.29 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.001932/1.743, allocations: 1.343 MB / 0.8526 GB, free: 33.95 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004896/1.748, allocations: 0.7508 MB / 0.8534 GB, free: 33.2 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02404/1.772, allocations: 18.11 MB / 0.871 GB, free: 14.65 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006512/1.779, allocations: 4.894 MB / 0.8758 GB, free: 9.73 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.006651/1.786, allocations: 2.603 MB / 0.8784 GB, free: 7.117 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001111/1.787, allocations: 383.4 kB / 0.8787 GB, free: 6.742 MB / 0.5294 GB Notification: Performance of SimCode: time 1.102e-06/1.787, allocations: 0 / 0.8787 GB, free: 6.742 MB / 0.5294 GB Notification: Performance of Templates: time 0.3555/2.142, allocations: 45.8 MB / 0.9235 GB, free: 184.8 MB / 0.5607 GB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.Damper.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.Damper.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.Damper.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.Damper.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.Damper.sim & ./ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.Damper -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.Damper.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.Damper_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Forces/Damper/Damper.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.Damper.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches