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.001213/0.001213, allocations: 115.2 kB / 17.75 MB, free: 5.34 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.001019/0.001019, allocations: 191 kB / 18.68 MB, free: 4.418 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.35/1.35, allocations: 222.9 MB / 242.4 MB, free: 15.07 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.2361/0.2361, allocations: 44.17 MB / 336.7 MB, free: 2.668 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00124/0.00124, allocations: 63.84 kB / 470.5 MB, free: 13.16 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4416/0.4429, allocations: 60.82 MB / 0.5189 GB, free: 3.602 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.Damper): time 0.01951/0.4624, allocations: 16.41 MB / 0.5349 GB, free: 7.621 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.01816/0.4806, allocations: 5.017 MB / 0.5398 GB, free: 3.664 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.007906/0.4886, allocations: 100.4 kB / 0.5399 GB, free: 3.648 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01194/0.5006, allocations: 5.201 MB / 0.545 GB, free: 168 kB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.009872/0.5106, allocations: 2.558 MB / 0.5475 GB, free: 14.3 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003702/0.5143, allocations: 1.183 MB / 0.5486 GB, free: 13.49 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.01178/0.5261, allocations: 6.67 MB / 0.5551 GB, free: 6.832 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01055/0.5367, allocations: 6.385 MB / 0.5614 GB, free: 376 kB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00553/0.5422, allocations: 2.637 MB / 0.5639 GB, free: 13.72 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006417/0.5487, allocations: 3.739 MB / 0.5676 GB, free: 9.969 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.00221/0.5509, allocations: 0.5859 MB / 0.5682 GB, free: 9.383 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004068/0.555, allocations: 1.303 MB / 0.5694 GB, free: 8.082 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.005115/0.5602, allocations: 3.312 MB / 0.5727 GB, free: 4.762 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00909/0.5693, allocations: 3.783 MB / 0.5764 GB, free: 0.957 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01928/0.5886, allocations: 11.49 MB / 0.5876 GB, free: 5.43 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.889e-06/0.5887, allocations: 0 / 0.5876 GB, free: 5.43 MB / 446.1 MB Notification: Performance of FrontEnd: time 3.126e-06/0.5887, allocations: 0 / 0.5876 GB, free: 5.43 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0006847/0.5894, allocations: 0 / 0.5876 GB, free: 5.43 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.02221/0.6116, allocations: 7.805 MB / 0.5952 GB, free: 13.54 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.881e-05/0.6117, allocations: 12.03 kB / 0.5952 GB, free: 13.53 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.011/0.6227, allocations: 2.659 MB / 0.5978 GB, free: 10.86 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00816/0.6309, allocations: 3.728 MB / 0.6014 GB, free: 7.066 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003822/0.6313, allocations: 443.5 kB / 0.6019 GB, free: 6.633 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002063/0.6334, allocations: 0.562 MB / 0.6024 GB, free: 6.07 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04615/0.6795, allocations: 20.27 MB / 0.6222 GB, free: 0.6484 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000257/0.6799, allocations: 71.34 kB / 0.6223 GB, free: 0.5781 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001137/0.681, allocations: 271.8 kB / 0.6225 GB, free: 320 kB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005412/0.6864, allocations: 3.349 MB / 0.6258 GB, free: 12.96 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04016/0.7266, allocations: 16.29 MB / 0.6417 GB, free: 12.65 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0887/0.8154, allocations: 64.99 MB / 0.7052 GB, free: 9.938 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01783/0.8332, allocations: 6.295 MB / 0.7113 GB, free: 3.488 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003218/0.8365, allocations: 2.042 MB / 0.7133 GB, free: 1.438 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.5986/1.435, allocations: 9.124 MB / 0.7222 GB, free: 165.9 MB / 0.5607 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.346e-05/1.435, allocations: 64.33 kB / 0.7223 GB, free: 165.8 MB / 0.5607 GB Notification: Performance of pre-optimization done (n=257): time 6.301e-06/1.435, allocations: 0.625 kB / 0.7223 GB, free: 165.8 MB / 0.5607 GB Notification: Performance of matching and sorting (n=291): time 0.0556/1.491, allocations: 21.31 MB / 0.7431 GB, free: 158.3 MB / 0.5607 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.363e-05/1.491, allocations: 159.6 kB / 0.7433 GB, free: 158.2 MB / 0.5607 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006578/1.498, allocations: 5.846 MB / 0.749 GB, free: 154.8 MB / 0.5607 GB Notification: Performance of collectPreVariables (initialization): time 0.0004427/1.498, allocations: 69.7 kB / 0.749 GB, free: 154.7 MB / 0.5607 GB Notification: Performance of collectInitialEqns (initialization): time 0.001961/1.5, allocations: 4.956 MB / 0.7539 GB, free: 149.7 MB / 0.5607 GB Notification: Performance of collectInitialBindings (initialization): time 0.00114/1.501, allocations: 1.112 MB / 0.755 GB, free: 148.6 MB / 0.5607 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002255/1.503, allocations: 1.839 MB / 0.7568 GB, free: 146.8 MB / 0.5607 GB Notification: Performance of setup shared object (initialization): time 9.531e-05/1.503, allocations: 305.6 kB / 0.757 GB, free: 146.5 MB / 0.5607 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00343/1.507, allocations: 2.622 MB / 0.7596 GB, free: 143.9 MB / 0.5607 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005334/1.512, allocations: 8.243 MB / 0.7677 GB, free: 132.9 MB / 0.5607 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01005/1.522, allocations: 11.81 MB / 0.7792 GB, free: 118.3 MB / 0.5607 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001507/1.523, allocations: 56 kB / 0.7792 GB, free: 118.3 MB / 0.5607 GB Notification: Performance of matching and sorting (n=1216) (initialization): time 0.01688/1.539, allocations: 10.57 MB / 0.7896 GB, free: 107.7 MB / 0.5607 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001172/1.54, allocations: 91.12 kB / 0.7897 GB, free: 107.6 MB / 0.5607 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001928/1.54, allocations: 200 kB / 0.7898 GB, free: 107.4 MB / 0.5607 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002166/1.54, allocations: 264.8 kB / 0.7901 GB, free: 107.2 MB / 0.5607 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006074/1.546, allocations: 2.219 MB / 0.7923 GB, free: 104.9 MB / 0.5607 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002419/1.546, allocations: 390.5 kB / 0.7926 GB, free: 104.6 MB / 0.5607 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006377/1.553, allocations: 455.3 kB / 0.7931 GB, free: 104.1 MB / 0.5607 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009844/1.554, allocations: 0.5469 MB / 0.7936 GB, free: 103.6 MB / 0.5607 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.004896/1.559, allocations: 3.231 MB / 0.7968 GB, free: 100.3 MB / 0.5607 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009121/1.56, allocations: 0.5168 MB / 0.7973 GB, free: 99.79 MB / 0.5607 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004135/1.564, allocations: 2.958 MB / 0.8002 GB, free: 96.82 MB / 0.5607 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.795e-05/1.564, allocations: 39.88 kB / 0.8002 GB, free: 96.78 MB / 0.5607 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.272e-05/1.564, allocations: 3.875 kB / 0.8002 GB, free: 96.78 MB / 0.5607 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.992e-05/1.564, allocations: 15.89 kB / 0.8002 GB, free: 96.77 MB / 0.5607 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0195/1.583, allocations: 12.41 MB / 0.8123 GB, free: 83.89 MB / 0.5607 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.546e-05/1.583, allocations: 32 kB / 0.8124 GB, free: 83.86 MB / 0.5607 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001801/1.585, allocations: 0.5264 MB / 0.8129 GB, free: 83.33 MB / 0.5607 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.671e-05/1.585, allocations: 48.91 kB / 0.8129 GB, free: 83.28 MB / 0.5607 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001366/1.585, allocations: 95.98 kB / 0.813 GB, free: 83.19 MB / 0.5607 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.695e-05/1.585, allocations: 71.72 kB / 0.8131 GB, free: 83.12 MB / 0.5607 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.367e-05/1.585, allocations: 47.81 kB / 0.8131 GB, free: 83.07 MB / 0.5607 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005486/1.591, allocations: 5.536 MB / 0.8185 GB, free: 77 MB / 0.5607 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001516/1.592, allocations: 0.5917 MB / 0.8191 GB, free: 76.39 MB / 0.5607 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005925/1.593, allocations: 99.91 kB / 0.8192 GB, free: 76.29 MB / 0.5607 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001879/1.595, allocations: 123.9 kB / 0.8193 GB, free: 76.17 MB / 0.5607 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002857/1.595, allocations: 268 kB / 0.8196 GB, free: 75.91 MB / 0.5607 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001358/1.595, allocations: 124 kB / 0.8197 GB, free: 75.79 MB / 0.5607 GB Notification: Performance of sorting global known variables: time 0.004983/1.6, allocations: 3.626 MB / 0.8232 GB, free: 72.16 MB / 0.5607 GB Notification: Performance of sort global known variables: time 8.91e-07/1.6, allocations: 0 / 0.8232 GB, free: 72.16 MB / 0.5607 GB Notification: Performance of remove unused functions: time 0.008637/1.609, allocations: 1.462 MB / 0.8247 GB, free: 70.7 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.0006263/1.61, allocations: 263 kB / 0.8249 GB, free: 70.44 MB / 0.5607 GB Notification: Performance of simCode: created initialization part: time 0.009118/1.619, allocations: 6.057 MB / 0.8308 GB, free: 64.43 MB / 0.5607 GB Notification: Performance of simCode: created event and clocks part: time 2.729e-05/1.619, allocations: 8 kB / 0.8308 GB, free: 64.42 MB / 0.5607 GB Notification: Performance of simCode: created simulation system equations: time 0.001884/1.621, allocations: 1.345 MB / 0.8322 GB, free: 63.09 MB / 0.5607 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004811/1.626, allocations: 0.7853 MB / 0.8329 GB, free: 62.32 MB / 0.5607 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02407/1.65, allocations: 14.57 MB / 0.8472 GB, free: 47.3 MB / 0.5607 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005988/1.656, allocations: 4.886 MB / 0.8519 GB, free: 42.39 MB / 0.5607 GB Notification: Performance of simCode: alias equations: time 0.005497/1.661, allocations: 2.599 MB / 0.8545 GB, free: 39.78 MB / 0.5607 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008964/1.662, allocations: 383.4 kB / 0.8548 GB, free: 39.4 MB / 0.5607 GB Notification: Performance of SimCode: time 1.102e-06/1.662, allocations: 4 kB / 0.8548 GB, free: 39.4 MB / 0.5607 GB Notification: Performance of Templates: time 0.07346/1.736, allocations: 39.28 MB / 0.8932 GB, free: 0.4922 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