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.00112/0.00112, allocations: 109.6 kB / 18.45 MB, free: 4.621 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.001264/0.001264, allocations: 186.2 kB / 19.38 MB, free: 3.699 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.292/1.292, allocations: 222.9 MB / 243.1 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.1992/0.1992, allocations: 44.19 MB / 337.4 MB, free: 2.672 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00136/0.001361, allocations: 59.91 kB / 471.2 MB, free: 13.17 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3302/0.3316, allocations: 60.83 MB / 0.5196 GB, free: 3.617 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.Damper): time 0.01626/0.3479, allocations: 16.4 MB / 0.5356 GB, free: 7.633 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.01153/0.3595, allocations: 5.02 MB / 0.5405 GB, free: 3.672 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003307/0.3628, allocations: 105.2 kB / 0.5406 GB, free: 3.652 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01006/0.3729, allocations: 5.194 MB / 0.5457 GB, free: 180 kB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007222/0.3802, allocations: 2.557 MB / 0.5482 GB, free: 14.31 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002943/0.3832, allocations: 1.182 MB / 0.5493 GB, free: 13.5 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.009697/0.3929, allocations: 6.667 MB / 0.5558 GB, free: 6.852 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.007844/0.4008, allocations: 6.385 MB / 0.5621 GB, free: 396 kB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004775/0.4056, allocations: 2.644 MB / 0.5646 GB, free: 13.73 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005356/0.411, allocations: 3.743 MB / 0.5683 GB, free: 9.98 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001799/0.4128, allocations: 0.582 MB / 0.5689 GB, free: 9.398 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003334/0.4161, allocations: 1.299 MB / 0.5701 GB, free: 8.098 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003537/0.4197, allocations: 3.335 MB / 0.5734 GB, free: 4.754 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.005422/0.4251, allocations: 3.783 MB / 0.5771 GB, free: 0.9492 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01279/0.438, allocations: 11.5 MB / 0.5883 GB, free: 5.414 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.48e-06/0.438, allocations: 0 / 0.5883 GB, free: 5.414 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.774e-06/0.438, allocations: 0 / 0.5883 GB, free: 5.414 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0003321/0.4383, allocations: 0 / 0.5883 GB, free: 5.414 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.01591/0.4543, allocations: 7.798 MB / 0.5959 GB, free: 13.53 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.653e-05/0.4543, allocations: 8.031 kB / 0.5959 GB, free: 13.52 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01058/0.4649, allocations: 2.659 MB / 0.5985 GB, free: 10.85 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007487/0.4725, allocations: 3.736 MB / 0.6022 GB, free: 7.051 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000342/0.4728, allocations: 435.5 kB / 0.6026 GB, free: 6.625 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001494/0.4743, allocations: 0.5698 MB / 0.6032 GB, free: 6.055 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03823/0.5126, allocations: 20.27 MB / 0.623 GB, free: 0.6328 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002066/0.5128, allocations: 67.41 kB / 0.623 GB, free: 0.5664 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0009678/0.5138, allocations: 275.8 kB / 0.6233 GB, free: 304 kB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004928/0.5187, allocations: 3.337 MB / 0.6265 GB, free: 12.96 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03541/0.5542, allocations: 16.29 MB / 0.6424 GB, free: 12.64 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08203/0.6363, allocations: 65.01 MB / 0.7059 GB, free: 9.918 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01665/0.6529, allocations: 6.287 MB / 0.7121 GB, free: 3.477 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003393/0.6564, allocations: 2.084 MB / 0.7141 GB, free: 1.387 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.483/1.139, allocations: 9.118 MB / 0.723 GB, free: 165.7 MB / 0.5607 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.486e-05/1.14, allocations: 64.47 kB / 0.7231 GB, free: 165.7 MB / 0.5607 GB Notification: Performance of pre-optimization done (n=257): time 6.071e-06/1.14, allocations: 0 / 0.7231 GB, free: 165.7 MB / 0.5607 GB Notification: Performance of matching and sorting (n=291): time 0.05102/1.191, allocations: 21.31 MB / 0.7439 GB, free: 158.2 MB / 0.5607 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.653e-05/1.191, allocations: 158.4 kB / 0.744 GB, free: 158 MB / 0.5607 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006228/1.197, allocations: 5.84 MB / 0.7497 GB, free: 154.6 MB / 0.5607 GB Notification: Performance of collectPreVariables (initialization): time 0.0003918/1.197, allocations: 73.55 kB / 0.7498 GB, free: 154.5 MB / 0.5607 GB Notification: Performance of collectInitialEqns (initialization): time 0.002001/1.199, allocations: 4.968 MB / 0.7547 GB, free: 149.5 MB / 0.5607 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008473/1.2, allocations: 1.116 MB / 0.7557 GB, free: 148.4 MB / 0.5607 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001684/1.202, allocations: 1.825 MB / 0.7575 GB, free: 146.6 MB / 0.5607 GB Notification: Performance of setup shared object (initialization): time 4.891e-05/1.202, allocations: 313.1 kB / 0.7578 GB, free: 146.3 MB / 0.5607 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003237/1.205, allocations: 2.622 MB / 0.7604 GB, free: 143.7 MB / 0.5607 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005045/1.21, allocations: 8.234 MB / 0.7684 GB, free: 132.7 MB / 0.5607 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009532/1.22, allocations: 11.82 MB / 0.78 GB, free: 118.1 MB / 0.5607 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001184/1.22, allocations: 56 kB / 0.78 GB, free: 118.1 MB / 0.5607 GB Notification: Performance of matching and sorting (n=1216) (initialization): time 0.01509/1.235, allocations: 10.57 MB / 0.7903 GB, free: 107.5 MB / 0.5607 GB Notification: Performance of prepare postOptimizeDAE: time 9.613e-05/1.235, allocations: 88 kB / 0.7904 GB, free: 107.4 MB / 0.5607 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001619/1.235, allocations: 196 kB / 0.7906 GB, free: 107.2 MB / 0.5607 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001735/1.236, allocations: 264 kB / 0.7909 GB, free: 107 MB / 0.5607 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006044/1.242, allocations: 2.219 MB / 0.793 GB, free: 104.7 MB / 0.5607 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002207/1.242, allocations: 386.5 kB / 0.7934 GB, free: 104.4 MB / 0.5607 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005594/1.247, allocations: 451.3 kB / 0.7938 GB, free: 103.9 MB / 0.5607 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009323/1.248, allocations: 0.5469 MB / 0.7944 GB, free: 103.4 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.004041/1.252, allocations: 3.23 MB / 0.7975 GB, free: 100.1 MB / 0.5607 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007274/1.253, allocations: 0.5168 MB / 0.798 GB, free: 99.6 MB / 0.5607 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00382/1.257, allocations: 2.966 MB / 0.8009 GB, free: 96.62 MB / 0.5607 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.855e-05/1.257, allocations: 39.98 kB / 0.801 GB, free: 96.58 MB / 0.5607 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.12e-05/1.257, allocations: 0 / 0.801 GB, free: 96.58 MB / 0.5607 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.117e-05/1.257, allocations: 16.92 kB / 0.801 GB, free: 96.56 MB / 0.5607 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01671/1.274, allocations: 12.42 MB / 0.8131 GB, free: 83.68 MB / 0.5607 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.193e-05/1.274, allocations: 28 kB / 0.8131 GB, free: 83.65 MB / 0.5607 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001715/1.276, allocations: 0.5303 MB / 0.8136 GB, free: 83.12 MB / 0.5607 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.011e-05/1.276, allocations: 47.94 kB / 0.8137 GB, free: 83.07 MB / 0.5607 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001293/1.276, allocations: 91.98 kB / 0.8138 GB, free: 82.98 MB / 0.5607 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.98e-05/1.276, allocations: 63.8 kB / 0.8138 GB, free: 82.92 MB / 0.5607 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.942e-05/1.276, allocations: 47.75 kB / 0.8139 GB, free: 82.88 MB / 0.5607 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004971/1.281, allocations: 5.54 MB / 0.8193 GB, free: 76.8 MB / 0.5607 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001159/1.282, allocations: 0.5879 MB / 0.8199 GB, free: 76.19 MB / 0.5607 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005399/1.283, allocations: 95.97 kB / 0.82 GB, free: 76.1 MB / 0.5607 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001859/1.284, allocations: 120.4 kB / 0.8201 GB, free: 75.98 MB / 0.5607 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002462/1.285, allocations: 283.8 kB / 0.8203 GB, free: 75.7 MB / 0.5607 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001348/1.285, allocations: 120 kB / 0.8205 GB, free: 75.59 MB / 0.5607 GB Notification: Performance of sorting global known variables: time 0.004463/1.289, allocations: 3.63 MB / 0.824 GB, free: 71.95 MB / 0.5607 GB Notification: Performance of sort global known variables: time 5.11e-07/1.289, allocations: 0 / 0.824 GB, free: 71.95 MB / 0.5607 GB Notification: Performance of remove unused functions: time 0.006737/1.296, allocations: 1.466 MB / 0.8254 GB, free: 70.49 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.0006063/1.297, allocations: 263.5 kB / 0.8257 GB, free: 70.23 MB / 0.5607 GB Notification: Performance of simCode: created initialization part: time 0.007801/1.305, allocations: 6.054 MB / 0.8316 GB, free: 64.22 MB / 0.5607 GB Notification: Performance of simCode: created event and clocks part: time 2.621e-05/1.305, allocations: 8 kB / 0.8316 GB, free: 64.21 MB / 0.5607 GB Notification: Performance of simCode: created simulation system equations: time 0.00164/1.306, allocations: 1.342 MB / 0.8329 GB, free: 62.89 MB / 0.5607 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004351/1.311, allocations: 0.7825 MB / 0.8337 GB, free: 62.12 MB / 0.5607 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02072/1.331, allocations: 15.29 MB / 0.8486 GB, free: 46.37 MB / 0.5607 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005964/1.337, allocations: 4.878 MB / 0.8534 GB, free: 41.46 MB / 0.5607 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001229/1.339, allocations: 451.4 kB / 0.8538 GB, free: 41.02 MB / 0.5607 GB Notification: Performance of SimCode: time 8.72e-07/1.339, allocations: 0 / 0.8538 GB, free: 41.02 MB / 0.5607 GB Notification: Performance of Templates: time 0.1107/1.449, allocations: 85.95 MB / 0.9377 GB, free: 3.18 MB / 0.6075 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/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_4.0.0_ModelicaTest.MultiBody.Forces.Damper.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches