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.001118/0.001118, allocations: 116.2 kB / 18.46 MB, free: 4.574 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001118/0.001118, allocations: 210 kB / 19.4 MB, free: 3.633 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.236/1.236, allocations: 227.4 MB / 247.6 MB, free: 10.45 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1919/0.1919, allocations: 46.09 MB / 344.9 MB, free: 11.51 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001239/0.001239, allocations: 71.89 kB / 482 MB, free: 4.074 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2896/0.2908, allocations: 62.44 MB / 0.5317 GB, free: 13.61 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.Damper): time 0.01585/0.3067, allocations: 16.09 MB / 0.5474 GB, free: 0.9688 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.01061/0.3174, allocations: 4.984 MB / 0.5522 GB, free: 12.6 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002952/0.3203, allocations: 103.7 kB / 0.5523 GB, free: 12.5 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.009261/0.3296, allocations: 5.159 MB / 0.5574 GB, free: 7.32 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0067/0.3364, allocations: 2.536 MB / 0.5599 GB, free: 4.773 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00253/0.3389, allocations: 1.186 MB / 0.561 GB, free: 3.586 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.008567/0.3475, allocations: 6.659 MB / 0.5675 GB, free: 12.91 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.006286/0.3538, allocations: 6.334 MB / 0.5737 GB, free: 6.5 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003913/0.3578, allocations: 2.59 MB / 0.5762 GB, free: 3.902 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005704/0.3635, allocations: 3.673 MB / 0.5798 GB, free: 224 kB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.00217/0.3657, allocations: 0.5704 MB / 0.5804 GB, free: 15.64 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00278/0.3685, allocations: 1.272 MB / 0.5816 GB, free: 14.38 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003084/0.3716, allocations: 3.226 MB / 0.5848 GB, free: 11.14 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.004253/0.3759, allocations: 3.659 MB / 0.5883 GB, free: 7.461 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01108/0.387, allocations: 11.09 MB / 0.5992 GB, free: 12.33 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.09e-06/0.387, allocations: 0 / 0.5992 GB, free: 12.33 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.513e-06/0.387, allocations: 0 / 0.5992 GB, free: 12.33 MB / 462.1 MB Notification: Performance of Transformations before backend: time 0.0003297/0.3874, allocations: 0 / 0.5992 GB, free: 12.33 MB / 462.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.01438/0.4018, allocations: 7.571 MB / 0.6066 GB, free: 4.68 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.107e-05/0.4018, allocations: 12.03 kB / 0.6066 GB, free: 4.668 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009409/0.4112, allocations: 2.589 MB / 0.6091 GB, free: 2.066 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006948/0.4182, allocations: 3.584 MB / 0.6126 GB, free: 14.42 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003319/0.4186, allocations: 431.2 kB / 0.613 GB, free: 14 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001613/0.4202, allocations: 0.558 MB / 0.6136 GB, free: 13.44 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03531/0.4555, allocations: 19.75 MB / 0.6329 GB, free: 8.559 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001743/0.4557, allocations: 67.39 kB / 0.6329 GB, free: 8.492 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006641/0.4564, allocations: 271.8 kB / 0.6332 GB, free: 8.227 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00399/0.4604, allocations: 3.153 MB / 0.6363 GB, free: 5.07 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03232/0.4927, allocations: 15.85 MB / 0.6517 GB, free: 5.188 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07517/0.568, allocations: 63.73 MB / 0.714 GB, free: 3.789 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.4307/0.9987, allocations: 6.326 MB / 0.7201 GB, free: 162.6 MB / 0.5607 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002977/1.002, allocations: 2.082 MB / 0.7222 GB, free: 162 MB / 0.5607 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0122/1.014, allocations: 9.182 MB / 0.7311 GB, free: 157.6 MB / 0.5607 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.653e-05/1.014, allocations: 68.16 kB / 0.7312 GB, free: 157.5 MB / 0.5607 GB Notification: Performance of pre-optimization done (n=257): time 5.029e-06/1.014, allocations: 0 / 0.7312 GB, free: 157.5 MB / 0.5607 GB Notification: Performance of matching and sorting (n=291): time 0.04459/1.059, allocations: 21.37 MB / 0.7521 GB, free: 145.1 MB / 0.5607 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.549e-05/1.059, allocations: 170.4 kB / 0.7522 GB, free: 144.9 MB / 0.5607 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005197/1.064, allocations: 5.755 MB / 0.7579 GB, free: 139.2 MB / 0.5607 GB Notification: Performance of collectPreVariables (initialization): time 0.0002974/1.064, allocations: 69.7 kB / 0.7579 GB, free: 139.1 MB / 0.5607 GB Notification: Performance of collectInitialEqns (initialization): time 0.001632/1.066, allocations: 4.828 MB / 0.7626 GB, free: 134.3 MB / 0.5607 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006509/1.067, allocations: 1.12 MB / 0.7637 GB, free: 133.2 MB / 0.5607 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001495/1.068, allocations: 1.817 MB / 0.7655 GB, free: 131.4 MB / 0.5607 GB Notification: Performance of setup shared object (initialization): time 3.835e-05/1.068, allocations: 301.1 kB / 0.7658 GB, free: 131.1 MB / 0.5607 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003029/1.071, allocations: 2.634 MB / 0.7684 GB, free: 128.4 MB / 0.5607 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004344/1.075, allocations: 8.197 MB / 0.7764 GB, free: 117.5 MB / 0.5607 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008598/1.084, allocations: 11.77 MB / 0.7879 GB, free: 103 MB / 0.5607 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.421e-05/1.084, allocations: 59.94 kB / 0.7879 GB, free: 102.9 MB / 0.5607 GB Notification: Performance of matching and sorting (n=1207) (initialization): time 0.01357/1.098, allocations: 10.53 MB / 0.7982 GB, free: 92.41 MB / 0.5607 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001156/1.098, allocations: 91.98 kB / 0.7983 GB, free: 92.32 MB / 0.5607 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001852/1.098, allocations: 196 kB / 0.7985 GB, free: 92.12 MB / 0.5607 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001937/1.098, allocations: 261.6 kB / 0.7987 GB, free: 91.87 MB / 0.5607 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005717/1.104, allocations: 2.223 MB / 0.8009 GB, free: 89.64 MB / 0.5607 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002365/1.104, allocations: 386.5 kB / 0.8013 GB, free: 89.27 MB / 0.5607 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004917/1.109, allocations: 455.5 kB / 0.8017 GB, free: 88.82 MB / 0.5607 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008196/1.11, allocations: 0.5429 MB / 0.8022 GB, free: 88.28 MB / 0.5607 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.003825/1.114, allocations: 3.144 MB / 0.8053 GB, free: 85.12 MB / 0.5607 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007066/1.115, allocations: 0.5129 MB / 0.8058 GB, free: 84.61 MB / 0.5607 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00411/1.119, allocations: 2.983 MB / 0.8087 GB, free: 81.6 MB / 0.5607 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.647e-05/1.119, allocations: 39.92 kB / 0.8088 GB, free: 81.56 MB / 0.5607 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.518e-06/1.119, allocations: 0 / 0.8088 GB, free: 81.56 MB / 0.5607 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.892e-05/1.119, allocations: 11.95 kB / 0.8088 GB, free: 81.55 MB / 0.5607 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01453/1.133, allocations: 12.25 MB / 0.8207 GB, free: 68.83 MB / 0.5607 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.677e-05/1.133, allocations: 32.19 kB / 0.8208 GB, free: 68.8 MB / 0.5607 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001631/1.135, allocations: 0.5536 MB / 0.8213 GB, free: 68.25 MB / 0.5607 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.524e-05/1.135, allocations: 44 kB / 0.8213 GB, free: 68.2 MB / 0.5607 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001225/1.135, allocations: 87.98 kB / 0.8214 GB, free: 68.12 MB / 0.5607 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.708e-05/1.135, allocations: 63.78 kB / 0.8215 GB, free: 68.05 MB / 0.5607 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.711e-05/1.135, allocations: 51.75 kB / 0.8215 GB, free: 68 MB / 0.5607 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004938/1.14, allocations: 5.613 MB / 0.827 GB, free: 61.85 MB / 0.5607 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009044/1.141, allocations: 0.5763 MB / 0.8276 GB, free: 61.25 MB / 0.5607 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004351/1.142, allocations: 87.97 kB / 0.8277 GB, free: 61.16 MB / 0.5607 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001663/1.143, allocations: 147.9 kB / 0.8278 GB, free: 61.02 MB / 0.5607 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002425/1.143, allocations: 275.9 kB / 0.8281 GB, free: 60.75 MB / 0.5607 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001296/1.144, allocations: 116 kB / 0.8282 GB, free: 60.64 MB / 0.5607 GB Notification: Performance of sorting global known variables: time 0.003879/1.147, allocations: 3.574 MB / 0.8317 GB, free: 57.09 MB / 0.5607 GB Notification: Performance of sort global known variables: time 1.3e-07/1.147, allocations: 0 / 0.8317 GB, free: 57.09 MB / 0.5607 GB Notification: Performance of remove unused functions: time 0.00579/1.153, allocations: 1.415 MB / 0.8331 GB, free: 55.68 MB / 0.5607 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.0003945/1.154, allocations: 259.6 kB / 0.8333 GB, free: 55.43 MB / 0.5607 GB Notification: Performance of simCode: created initialization part: time 0.007111/1.161, allocations: 6.076 MB / 0.8392 GB, free: 49.41 MB / 0.5607 GB Notification: Performance of simCode: created event and clocks part: time 1.329e-05/1.161, allocations: 4 kB / 0.8392 GB, free: 49.4 MB / 0.5607 GB Notification: Performance of simCode: created simulation system equations: time 0.001568/1.162, allocations: 1.374 MB / 0.8406 GB, free: 48.03 MB / 0.5607 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003473/1.166, allocations: 0.7474 MB / 0.8413 GB, free: 47.3 MB / 0.5607 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01784/1.184, allocations: 14.96 MB / 0.8559 GB, free: 31.88 MB / 0.5607 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003914/1.188, allocations: 4.752 MB / 0.8606 GB, free: 27.1 MB / 0.5607 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001179/1.189, allocations: 447.4 kB / 0.861 GB, free: 26.66 MB / 0.5607 GB Notification: Performance of SimCode: time 1.182e-06/1.189, allocations: 0 / 0.861 GB, free: 26.66 MB / 0.5607 GB Notification: Performance of Templates: time 0.103/1.292, allocations: 83.82 MB / 0.9428 GB, free: 6.934 MB / 0.6232 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