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: "" <> buildModelFMU(ModelicaTest.MultiBody.Forces.Damper,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_Forces_Damper",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Forces.Damper,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_Forces_Damper",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001723/0.001723, allocations: 117.6 kB / 17.78 MB, free: 5.254 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002013/0.002013, allocations: 200.7 kB / 18.73 MB, free: 4.312 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.385/1.385, allocations: 227.4 MB / 246.9 MB, free: 10.48 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2058/0.2058, allocations: 46.1 MB / 344.3 MB, free: 11.5 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002404/0.002405, allocations: 79.86 kB / 480.8 MB, free: 4.562 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3499/0.3523, allocations: 62.44 MB / 0.5305 GB, free: 13.42 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.Damper): time 0.0164/0.3687, allocations: 16.09 MB / 0.5462 GB, free: 0.7695 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.01233/0.3811, allocations: 4.983 MB / 0.5511 GB, free: 12.66 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00322/0.3844, allocations: 95.75 kB / 0.5512 GB, free: 12.56 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.009745/0.3941, allocations: 5.167 MB / 0.5562 GB, free: 7.379 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007431/0.4016, allocations: 2.536 MB / 0.5587 GB, free: 4.832 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003049/0.4047, allocations: 1.182 MB / 0.5599 GB, free: 3.648 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.00979/0.4145, allocations: 6.66 MB / 0.5664 GB, free: 12.97 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.008425/0.423, allocations: 6.329 MB / 0.5726 GB, free: 6.566 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004473/0.4275, allocations: 2.59 MB / 0.5751 GB, free: 3.969 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005381/0.4329, allocations: 3.673 MB / 0.5787 GB, free: 292 kB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002128/0.4351, allocations: 0.5704 MB / 0.5792 GB, free: 15.71 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003772/0.4389, allocations: 1.276 MB / 0.5805 GB, free: 14.44 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00422/0.4431, allocations: 3.219 MB / 0.5836 GB, free: 11.21 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.007018/0.4501, allocations: 3.67 MB / 0.5872 GB, free: 7.52 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0156/0.4658, allocations: 11.15 MB / 0.5981 GB, free: 12.32 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.654e-06/0.4658, allocations: 0 / 0.5981 GB, free: 12.32 MB / 462.1 MB Notification: Performance of FrontEnd: time 2.404e-06/0.4658, allocations: 0 / 0.5981 GB, free: 12.32 MB / 462.1 MB Notification: Performance of Transformations before backend: time 0.0004514/0.4663, allocations: 0 / 0.5981 GB, free: 12.32 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.01778/0.4841, allocations: 7.816 MB / 0.6057 GB, free: 4.41 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.141e-05/0.4842, allocations: 8.031 kB / 0.6057 GB, free: 4.402 MB / 462.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.003211/0.4874, allocations: 1.194 MB / 0.6069 GB, free: 3.199 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01079/0.4982, allocations: 2.664 MB / 0.6095 GB, free: 0.5273 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009422/0.5077, allocations: 4.268 MB / 0.6137 GB, free: 12.2 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004922/0.5082, allocations: 439 kB / 0.6141 GB, free: 11.77 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002386/0.5106, allocations: 0.5544 MB / 0.6146 GB, free: 11.21 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04197/0.5526, allocations: 19.75 MB / 0.6339 GB, free: 6.332 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003227/0.5529, allocations: 63.45 kB / 0.634 GB, free: 6.27 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001837/0.5548, allocations: 267.8 kB / 0.6342 GB, free: 6.008 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004884/0.5597, allocations: 3.157 MB / 0.6373 GB, free: 2.848 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0367/0.5964, allocations: 15.85 MB / 0.6528 GB, free: 2.969 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08196/0.6784, allocations: 63.86 MB / 0.7152 GB, free: 1.453 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.2701/0.9486, allocations: 6.33 MB / 0.7213 GB, free: 162.4 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003097/0.9517, allocations: 2.083 MB / 0.7234 GB, free: 161.7 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01248/0.9642, allocations: 9.2 MB / 0.7324 GB, free: 157.4 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.926e-05/0.9643, allocations: 63.44 kB / 0.7324 GB, free: 157.3 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=257): time 5.461e-06/0.9643, allocations: 3.219 kB / 0.7324 GB, free: 157.3 MB / 0.5606 GB Notification: Performance of matching and sorting (n=291): time 0.04945/1.014, allocations: 21.74 MB / 0.7537 GB, free: 142.6 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.458e-05/1.014, allocations: 170.4 kB / 0.7538 GB, free: 142.4 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005829/1.02, allocations: 5.788 MB / 0.7595 GB, free: 136.8 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.0003511/1.02, allocations: 69.7 kB / 0.7595 GB, free: 136.7 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.001872/1.022, allocations: 5.037 MB / 0.7645 GB, free: 131.9 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.000772/1.023, allocations: 1.166 MB / 0.7656 GB, free: 130.8 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001564/1.024, allocations: 1.807 MB / 0.7674 GB, free: 129 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 4.947e-05/1.024, allocations: 305.1 kB / 0.7676 GB, free: 128.7 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003181/1.028, allocations: 2.614 MB / 0.7702 GB, free: 126 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004851/1.032, allocations: 8.166 MB / 0.7782 GB, free: 115.2 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009922/1.042, allocations: 11.72 MB / 0.7896 GB, free: 100.7 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001465/1.043, allocations: 59.94 kB / 0.7897 GB, free: 100.7 MB / 0.5606 GB Notification: Performance of matching and sorting (n=1195) (initialization): time 0.01559/1.058, allocations: 10.5 MB / 0.7999 GB, free: 90.17 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001013/1.058, allocations: 92 kB / 0.8 GB, free: 90.08 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001776/1.058, allocations: 196 kB / 0.8002 GB, free: 89.89 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001698/1.059, allocations: 260.8 kB / 0.8005 GB, free: 89.63 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006339/1.065, allocations: 2.203 MB / 0.8026 GB, free: 87.43 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002202/1.065, allocations: 386.5 kB / 0.803 GB, free: 87.05 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006053/1.071, allocations: 462.8 kB / 0.8034 GB, free: 86.6 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001222/1.073, allocations: 0.539 MB / 0.8039 GB, free: 86.06 MB / 0.5606 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 (1171): * Single equations (assignments): 1168 * 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.005788/1.078, allocations: 3.144 MB / 0.807 GB, free: 82.9 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00118/1.08, allocations: 0.5355 MB / 0.8075 GB, free: 82.36 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005507/1.085, allocations: 2.984 MB / 0.8104 GB, free: 79.36 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.772e-05/1.085, allocations: 34.56 kB / 0.8105 GB, free: 79.33 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.233e-05/1.085, allocations: 7.938 kB / 0.8105 GB, free: 79.32 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.657e-05/1.085, allocations: 15.94 kB / 0.8105 GB, free: 79.3 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01899/1.104, allocations: 12.27 MB / 0.8225 GB, free: 66.56 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.268e-05/1.104, allocations: 32 kB / 0.8225 GB, free: 66.53 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001748/1.106, allocations: 0.5421 MB / 0.823 GB, free: 65.99 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.942e-05/1.106, allocations: 44 kB / 0.8231 GB, free: 65.95 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000129/1.106, allocations: 84 kB / 0.8232 GB, free: 65.86 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.083e-05/1.106, allocations: 72.84 kB / 0.8232 GB, free: 65.79 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.9e-05/1.106, allocations: 51.8 kB / 0.8233 GB, free: 65.74 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005359/1.112, allocations: 5.65 MB / 0.8288 GB, free: 59.56 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00119/1.113, allocations: 0.6027 MB / 0.8294 GB, free: 58.93 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005806/1.113, allocations: 91.97 kB / 0.8295 GB, free: 58.84 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001857/1.115, allocations: 139.9 kB / 0.8296 GB, free: 58.71 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002692/1.116, allocations: 271.9 kB / 0.8299 GB, free: 58.44 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000137/1.116, allocations: 119.9 kB / 0.83 GB, free: 58.33 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.004541/1.12, allocations: 3.59 MB / 0.8335 GB, free: 54.77 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.9e-07/1.12, allocations: 0 / 0.8335 GB, free: 54.77 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.006841/1.127, allocations: 1.406 MB / 0.8349 GB, free: 53.36 MB / 0.5606 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.006266/1.133, allocations: 6.361 MB / 0.8411 GB, free: 46.46 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.008328/1.142, allocations: 6.03 MB / 0.847 GB, free: 40.47 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 3.064e-05/1.142, allocations: 4.375 kB / 0.847 GB, free: 40.47 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.001902/1.144, allocations: 1.374 MB / 0.8483 GB, free: 39.1 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00424/1.148, allocations: 0.7556 MB / 0.8491 GB, free: 38.36 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0873/1.235, allocations: 67.64 MB / 0.9151 GB, free: 8.695 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00615/1.242, allocations: 4.764 MB / 0.9198 GB, free: 3.902 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.005835/1.247, allocations: 2.575 MB / 0.9223 GB, free: 1.32 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004254/1.252, allocations: 3.196 MB / 0.9254 GB, free: 14.14 MB / 0.6231 GB Notification: Performance of SimCode: time 1.012e-06/1.252, allocations: 4 kB / 0.9254 GB, free: 14.13 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3929/1.645, allocations: 92.58 MB / 1.016 GB, free: 177.6 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate platform static: time 22.61/24.26, allocations: 11.11 kB / 1.016 GB, free: 177.6 MB / 0.6387 GB (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 & python3 -m fmpy simulate --output-file ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.Damper_res.csv --start-time 0 --stop-time 7 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0028 ModelicaTest_trunk_ModelicaTest_MultiBody_Forces_Damper.fmu > ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.Damper.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.Damper_res.csv","/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