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: "" <> buildModelFMU(ModelicaTest.MultiBody.Forces.Damper,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_MultiBody_Forces_Damper",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Forces.Damper,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_MultiBody_Forces_Damper",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001819/0.001819, allocations: 112.8 kB / 17.78 MB, free: 5.277 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.00207/0.00207, allocations: 180.9 kB / 18.71 MB, free: 4.363 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.472/1.472, allocations: 222.9 MB / 242.4 MB, free: 15.15 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.2249/0.2249, allocations: 44.19 MB / 336.8 MB, free: 2.676 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002086/0.002087, allocations: 63.91 kB / 470.1 MB, free: 13.65 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3152/0.3173, allocations: 60.82 MB / 0.5184 GB, free: 3.16 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.Damper): time 0.01798/0.3353, allocations: 16.4 MB / 0.5345 GB, free: 7.344 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.01223/0.3476, allocations: 5.014 MB / 0.5393 GB, free: 3.387 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003092/0.3508, allocations: 99.75 kB / 0.5394 GB, free: 3.371 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01049/0.3613, allocations: 5.202 MB / 0.5445 GB, free: 15.89 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007575/0.3689, allocations: 2.565 MB / 0.547 GB, free: 14.02 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003143/0.3721, allocations: 1.179 MB / 0.5482 GB, free: 13.21 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.01071/0.3828, allocations: 6.662 MB / 0.5547 GB, free: 6.816 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.009202/0.3921, allocations: 6.397 MB / 0.5609 GB, free: 348 kB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005124/0.3972, allocations: 2.64 MB / 0.5635 GB, free: 13.69 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006593/0.4039, allocations: 3.735 MB / 0.5672 GB, free: 9.941 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.003004/0.4069, allocations: 0.582 MB / 0.5677 GB, free: 9.359 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005026/0.412, allocations: 1.299 MB / 0.569 GB, free: 8.062 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.005381/0.4174, allocations: 3.316 MB / 0.5722 GB, free: 4.738 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.007147/0.4246, allocations: 3.791 MB / 0.5759 GB, free: 0.9258 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01654/0.4412, allocations: 11.56 MB / 0.5872 GB, free: 5.316 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.765e-06/0.4413, allocations: 0 / 0.5872 GB, free: 5.316 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.904e-06/0.4413, allocations: 0 / 0.5872 GB, free: 5.316 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0003983/0.4417, allocations: 7.984 kB / 0.5872 GB, free: 5.309 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.01809/0.4598, allocations: 8.043 MB / 0.5951 GB, free: 13.16 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.897e-05/0.4598, allocations: 8.031 kB / 0.5951 GB, free: 13.16 MB / 462.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002972/0.4628, allocations: 1.232 MB / 0.5963 GB, free: 11.91 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01153/0.4744, allocations: 2.738 MB / 0.599 GB, free: 9.168 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01053/0.485, allocations: 4.651 MB / 0.6035 GB, free: 4.457 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005703/0.4856, allocations: 447.2 kB / 0.6039 GB, free: 4.02 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002152/0.4877, allocations: 0.5583 MB / 0.6045 GB, free: 3.461 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04814/0.5359, allocations: 20.27 MB / 0.6243 GB, free: 14.04 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003873/0.5363, allocations: 71.44 kB / 0.6244 GB, free: 13.96 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002301/0.5387, allocations: 275.8 kB / 0.6246 GB, free: 13.7 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.006149/0.5448, allocations: 3.333 MB / 0.6279 GB, free: 10.36 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04157/0.5864, allocations: 16.29 MB / 0.6438 GB, free: 10.04 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0968/0.6833, allocations: 65.13 MB / 0.7074 GB, free: 7.199 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01847/0.7018, allocations: 6.279 MB / 0.7135 GB, free: 0.7656 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.4257/1.128, allocations: 2.079 MB / 0.7156 GB, free: 167.4 MB / 0.5607 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01661/1.144, allocations: 9.145 MB / 0.7245 GB, free: 163.6 MB / 0.5607 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.944e-05/1.144, allocations: 61.56 kB / 0.7245 GB, free: 163.5 MB / 0.5607 GB Notification: Performance of pre-optimization done (n=257): time 5.751e-06/1.144, allocations: 0 / 0.7245 GB, free: 163.5 MB / 0.5607 GB Notification: Performance of matching and sorting (n=291): time 0.05654/1.201, allocations: 21.69 MB / 0.7457 GB, free: 156.1 MB / 0.5607 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.509e-05/1.201, allocations: 165.6 kB / 0.7459 GB, free: 156 MB / 0.5607 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008633/1.21, allocations: 5.882 MB / 0.7516 GB, free: 151.9 MB / 0.5607 GB Notification: Performance of collectPreVariables (initialization): time 0.0005191/1.21, allocations: 73.53 kB / 0.7517 GB, free: 151.8 MB / 0.5607 GB Notification: Performance of collectInitialEqns (initialization): time 0.003017/1.213, allocations: 5.16 MB / 0.7567 GB, free: 146.9 MB / 0.5607 GB Notification: Performance of collectInitialBindings (initialization): time 0.001205/1.214, allocations: 1.167 MB / 0.7579 GB, free: 145.8 MB / 0.5607 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00393/1.218, allocations: 1.826 MB / 0.7597 GB, free: 144 MB / 0.5607 GB Notification: Performance of setup shared object (initialization): time 5.194e-05/1.218, allocations: 305.1 kB / 0.76 GB, free: 143.7 MB / 0.5607 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004456/1.223, allocations: 2.599 MB / 0.7625 GB, free: 141.1 MB / 0.5607 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007187/1.23, allocations: 8.211 MB / 0.7705 GB, free: 130.2 MB / 0.5607 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01174/1.242, allocations: 11.78 MB / 0.782 GB, free: 115.6 MB / 0.5607 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001838/1.242, allocations: 56 kB / 0.7821 GB, free: 115.5 MB / 0.5607 GB Notification: Performance of matching and sorting (n=1204) (initialization): time 0.01875/1.261, allocations: 10.53 MB / 0.7923 GB, free: 105 MB / 0.5607 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002505/1.261, allocations: 90.66 kB / 0.7924 GB, free: 104.9 MB / 0.5607 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003052/1.262, allocations: 200 kB / 0.7926 GB, free: 104.7 MB / 0.5607 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002892/1.262, allocations: 267.9 kB / 0.7929 GB, free: 104.5 MB / 0.5607 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006942/1.269, allocations: 2.203 MB / 0.795 GB, free: 102.3 MB / 0.5607 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003923/1.269, allocations: 392.3 kB / 0.7954 GB, free: 101.9 MB / 0.5607 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006772/1.276, allocations: 447.5 kB / 0.7958 GB, free: 101.4 MB / 0.5607 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001619/1.278, allocations: 0.543 MB / 0.7964 GB, free: 100.9 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 (1180): * Single equations (assignments): 1177 * 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.006153/1.284, allocations: 3.234 MB / 0.7995 GB, free: 97.66 MB / 0.5607 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001299/1.285, allocations: 0.5471 MB / 0.8001 GB, free: 97.11 MB / 0.5607 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005842/1.291, allocations: 2.959 MB / 0.8029 GB, free: 94.13 MB / 0.5607 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.339e-05/1.291, allocations: 35.36 kB / 0.803 GB, free: 94.1 MB / 0.5607 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.91e-05/1.291, allocations: 0 / 0.803 GB, free: 94.1 MB / 0.5607 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.012e-05/1.291, allocations: 27.06 kB / 0.803 GB, free: 94.08 MB / 0.5607 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02117/1.312, allocations: 12.43 MB / 0.8151 GB, free: 81.18 MB / 0.5607 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.364e-05/1.313, allocations: 32 kB / 0.8152 GB, free: 81.14 MB / 0.5607 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001921/1.314, allocations: 0.5264 MB / 0.8157 GB, free: 80.62 MB / 0.5607 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.09e-05/1.315, allocations: 44 kB / 0.8157 GB, free: 80.57 MB / 0.5607 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002536/1.315, allocations: 95.98 kB / 0.8158 GB, free: 80.48 MB / 0.5607 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.668e-05/1.315, allocations: 67.72 kB / 0.8159 GB, free: 80.41 MB / 0.5607 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.801e-05/1.315, allocations: 51.75 kB / 0.8159 GB, free: 80.36 MB / 0.5607 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006465/1.321, allocations: 5.57 MB / 0.8214 GB, free: 74.27 MB / 0.5607 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00138/1.323, allocations: 0.6143 MB / 0.822 GB, free: 73.63 MB / 0.5607 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001161/1.324, allocations: 95.97 kB / 0.8221 GB, free: 73.54 MB / 0.5607 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002575/1.327, allocations: 124.4 kB / 0.8222 GB, free: 73.41 MB / 0.5607 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003927/1.327, allocations: 275.9 kB / 0.8224 GB, free: 73.14 MB / 0.5607 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000243/1.327, allocations: 124 kB / 0.8226 GB, free: 73.02 MB / 0.5607 GB Notification: Performance of sorting global known variables: time 0.006033/1.333, allocations: 3.639 MB / 0.8261 GB, free: 69.38 MB / 0.5607 GB Notification: Performance of sort global known variables: time 4.01e-07/1.333, allocations: 0 / 0.8261 GB, free: 69.38 MB / 0.5607 GB Notification: Performance of remove unused functions: time 0.007967/1.341, allocations: 1.46 MB / 0.8275 GB, free: 67.93 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.007398/1.349, allocations: 6.291 MB / 0.8337 GB, free: 61.09 MB / 0.5607 GB Notification: Performance of simCode: created initialization part: time 0.009511/1.358, allocations: 6.011 MB / 0.8396 GB, free: 55.11 MB / 0.5607 GB Notification: Performance of simCode: created event and clocks part: time 2.923e-05/1.358, allocations: 4 kB / 0.8396 GB, free: 55.11 MB / 0.5607 GB Notification: Performance of simCode: created simulation system equations: time 0.002323/1.361, allocations: 1.34 MB / 0.8409 GB, free: 53.77 MB / 0.5607 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006237/1.367, allocations: 0.796 MB / 0.8416 GB, free: 52.99 MB / 0.5607 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1058/1.473, allocations: 68.44 MB / 0.9085 GB, free: 6.434 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.009678/1.483, allocations: 4.894 MB / 0.9133 GB, free: 1.516 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.007356/1.49, allocations: 2.595 MB / 0.9158 GB, free: 14.91 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005887/1.496, allocations: 3.288 MB / 0.919 GB, free: 11.62 MB / 0.6075 GB Notification: Performance of SimCode: time 7.91e-07/1.496, allocations: 0 / 0.919 GB, free: 11.62 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4021/1.898, allocations: 94.18 MB / 1.011 GB, free: 168 MB / 0.6232 GB Notification: Performance of buildModelFMU: Generate platform static: time 23.34/25.24, allocations: 11.34 kB / 1.011 GB, free: 168 MB / 0.6232 GB (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 & python3 -m fmpy simulate --output-file ModelicaTest_4.0.0_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_4_0_0_ModelicaTest_MultiBody_Forces_Damper.fmu > ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.Damper.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_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_4.0.0_ModelicaTest.MultiBody.Forces.Damper.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches