Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3_2_3_ModelicaTest_MultiBody_Forces_Damper",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Forces.Damper,fileNamePrefix="ModelicaTest_3_2_3_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.001649/0.001649, allocations: 102.1 kB / 16.27 MB, free: 5.973 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.001873/0.001874, allocations: 188.6 kB / 17.19 MB, free: 5.605 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.525/1.525, allocations: 205.1 MB / 223.1 MB, free: 12.3 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2196/0.2196, allocations: 43.52 MB / 313.9 MB, free: 0.543 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001454/0.001454, allocations: 72.86 kB / 382.8 MB, free: 56.72 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1155/0.1169, allocations: 57.78 MB / 440.6 MB, free: 6.824 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.Damper): time 0.01764/0.1346, allocations: 17.62 MB / 458.2 MB, free: 5.117 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.01198/0.1467, allocations: 5.212 MB / 463.4 MB, free: 15.89 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003714/0.1504, allocations: 103.8 kB / 463.5 MB, free: 15.79 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01019/0.1606, allocations: 5.237 MB / 468.8 MB, free: 10.54 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01034/0.1711, allocations: 2.733 MB / 471.5 MB, free: 7.793 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003611/0.1747, allocations: 1.19 MB / 472.7 MB, free: 6.602 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.01295/0.1877, allocations: 7.031 MB / 479.7 MB, free: 15.56 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0118/0.1995, allocations: 6.532 MB / 486.3 MB, free: 8.953 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006795/0.2064, allocations: 2.792 MB / 489.1 MB, free: 6.152 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006771/0.2132, allocations: 3.996 MB / 493.1 MB, free: 2.145 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002808/0.2161, allocations: 0.6288 MB / 493.7 MB, free: 1.516 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004768/0.2209, allocations: 1.315 MB / 495 MB, free: 204 kB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.005898/0.2268, allocations: 3.507 MB / 498.5 MB, free: 12.68 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.008392/0.2352, allocations: 4.024 MB / 0.4908 GB, free: 8.637 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01661/0.2519, allocations: 11.85 MB / 0.5023 GB, free: 12.75 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.364e-06/0.2519, allocations: 0 / 0.5023 GB, free: 12.75 MB / 398.1 MB Notification: Performance of FrontEnd: time 4.669e-06/0.2519, allocations: 0 / 0.5023 GB, free: 12.75 MB / 398.1 MB Notification: Performance of Transformations before backend: time 0.0004877/0.2524, allocations: 3.938 kB / 0.5023 GB, free: 12.75 MB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2763 * Number of variables: 2763 Notification: Performance of Generate backend data structure: time 0.02233/0.2748, allocations: 8.253 MB / 0.5104 GB, free: 4.41 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.598e-05/0.2749, allocations: 11.89 kB / 0.5104 GB, free: 4.398 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.004631/0.2795, allocations: 1.29 MB / 0.5117 GB, free: 3.098 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01305/0.2926, allocations: 2.767 MB / 0.5144 GB, free: 324 kB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01287/0.3055, allocations: 5.146 MB / 0.5194 GB, free: 11.11 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000506/0.306, allocations: 467.7 kB / 0.5198 GB, free: 10.65 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002301/0.3083, allocations: 0.5856 MB / 0.5204 GB, free: 10.07 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.4332/0.7415, allocations: 21.21 MB / 0.5411 GB, free: 76.32 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002799/0.7419, allocations: 71.52 kB / 0.5412 GB, free: 76.29 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001114/0.743, allocations: 283.1 kB / 0.5415 GB, free: 76.15 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.006746/0.7498, allocations: 3.546 MB / 0.5449 GB, free: 75.51 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03819/0.788, allocations: 17.2 MB / 0.5617 GB, free: 65.63 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07516/0.8632, allocations: 67.87 MB / 0.628 GB, free: 12.69 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01868/0.8819, allocations: 6.677 MB / 0.6345 GB, free: 5.871 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003912/0.8859, allocations: 2.278 MB / 0.6368 GB, free: 3.582 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01689/0.9028, allocations: 9.782 MB / 0.6463 GB, free: 9.473 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.227e-05/0.9029, allocations: 76.44 kB / 0.6464 GB, free: 9.391 MB / 446.1 MB Notification: Performance of pre-optimization done (n=296): time 6.562e-06/0.9029, allocations: 2.156 kB / 0.6464 GB, free: 9.391 MB / 446.1 MB Notification: Performance of matching and sorting (n=330): time 0.06331/0.9662, allocations: 22.88 MB / 0.6687 GB, free: 2.352 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001051/0.9664, allocations: 166.6 kB / 0.6689 GB, free: 2.156 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009336/0.9757, allocations: 6.067 MB / 0.6748 GB, free: 12.07 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0006369/0.9764, allocations: 77.7 kB / 0.6749 GB, free: 11.99 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.004004/0.9804, allocations: 5.195 MB / 0.68 GB, free: 6.727 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001697/0.9821, allocations: 1.253 MB / 0.6812 GB, free: 5.457 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003039/0.9852, allocations: 1.92 MB / 0.6831 GB, free: 3.523 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001348/0.9853, allocations: 301.4 kB / 0.6833 GB, free: 3.227 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005101/0.9904, allocations: 2.83 MB / 0.6861 GB, free: 400 kB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01055/1.001, allocations: 8.635 MB / 0.6945 GB, free: 4.887 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01684/1.018, allocations: 12.49 MB / 0.7067 GB, free: 5.488 MB / 0.4982 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002431/1.018, allocations: 60 kB / 0.7068 GB, free: 5.43 MB / 0.4982 GB Notification: Performance of matching and sorting (n=1279) (initialization): time 0.02797/1.046, allocations: 11.19 MB / 0.7177 GB, free: 10.19 MB / 0.5138 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002929/1.046, allocations: 96 kB / 0.7178 GB, free: 10.09 MB / 0.5138 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0004324/1.047, allocations: 204 kB / 0.718 GB, free: 9.895 MB / 0.5138 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003918/1.047, allocations: 272 kB / 0.7183 GB, free: 9.629 MB / 0.5138 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008039/1.055, allocations: 2.343 MB / 0.7206 GB, free: 7.285 MB / 0.5138 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004475/1.056, allocations: 415.2 kB / 0.7209 GB, free: 6.879 MB / 0.5138 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007113/1.063, allocations: 467.4 kB / 0.7214 GB, free: 6.422 MB / 0.5138 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001642/1.065, allocations: 0.582 MB / 0.722 GB, free: 5.84 MB / 0.5138 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 934 * Number of states: 0 () * Number of discrete variables: 72 (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 (1255): * Single equations (assignments): 1252 * 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.007016/1.072, allocations: 3.389 MB / 0.7253 GB, free: 2.434 MB / 0.5138 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001433/1.073, allocations: 0.5437 MB / 0.7258 GB, free: 1.883 MB / 0.5138 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.2794/1.353, allocations: 3.452 MB / 0.7292 GB, free: 170 MB / 0.5138 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.585e-05/1.353, allocations: 34.28 kB / 0.7292 GB, free: 170 MB / 0.5138 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.105e-05/1.353, allocations: 7.094 kB / 0.7292 GB, free: 170 MB / 0.5138 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.446e-05/1.353, allocations: 15.11 kB / 0.7292 GB, free: 170 MB / 0.5138 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03775/1.391, allocations: 13.78 MB / 0.7427 GB, free: 166.3 MB / 0.5138 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.798e-05/1.391, allocations: 32.22 kB / 0.7427 GB, free: 166.3 MB / 0.5138 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002492/1.393, allocations: 0.6146 MB / 0.7433 GB, free: 166.3 MB / 0.5138 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.043e-05/1.393, allocations: 47.28 kB / 0.7434 GB, free: 166.3 MB / 0.5138 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002004/1.393, allocations: 105 kB / 0.7435 GB, free: 166.2 MB / 0.5138 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.329e-05/1.393, allocations: 70.31 kB / 0.7435 GB, free: 166.2 MB / 0.5138 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.819e-05/1.393, allocations: 50.97 kB / 0.7436 GB, free: 166.2 MB / 0.5138 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007254/1.401, allocations: 6.316 MB / 0.7497 GB, free: 162.7 MB / 0.5138 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002147/1.403, allocations: 0.8415 MB / 0.7506 GB, free: 162.5 MB / 0.5138 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009599/1.404, allocations: 106 kB / 0.7507 GB, free: 162.4 MB / 0.5138 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00224/1.406, allocations: 148.9 kB / 0.7508 GB, free: 162.4 MB / 0.5138 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003314/1.406, allocations: 296.8 kB / 0.7511 GB, free: 162.3 MB / 0.5138 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001697/1.407, allocations: 129.5 kB / 0.7512 GB, free: 162.3 MB / 0.5138 GB Notification: Performance of sorting global known variables: time 0.005966/1.413, allocations: 3.774 MB / 0.7549 GB, free: 161 MB / 0.5138 GB Notification: Performance of sort global known variables: time 4.31e-07/1.413, allocations: 0 / 0.7549 GB, free: 161 MB / 0.5138 GB Notification: Performance of remove unused functions: time 0.008978/1.422, allocations: 1.55 MB / 0.7564 GB, free: 160.9 MB / 0.5138 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 148 * 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 (317): * Single equations (assignments): 314 * 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.008444/1.43, allocations: 7.05 MB / 0.7633 GB, free: 156.7 MB / 0.5138 GB Notification: Performance of simCode: created initialization part: time 0.01217/1.442, allocations: 7.437 MB / 0.7706 GB, free: 153.3 MB / 0.5138 GB Notification: Performance of simCode: created event and clocks part: time 4.852e-05/1.442, allocations: 4 kB / 0.7706 GB, free: 153.2 MB / 0.5138 GB Notification: Performance of simCode: created simulation system equations: time 0.002508/1.445, allocations: 1.572 MB / 0.7721 GB, free: 151.9 MB / 0.5138 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005139/1.45, allocations: 0.786 MB / 0.7729 GB, free: 151.2 MB / 0.5138 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.09667/1.547, allocations: 88.3 MB / 0.8591 GB, free: 50.18 MB / 0.5138 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00556/1.552, allocations: 5.143 MB / 0.8641 GB, free: 45.01 MB / 0.5138 GB Notification: Performance of simCode: alias equations: time 0.006397/1.559, allocations: 2.758 MB / 0.8668 GB, free: 42.24 MB / 0.5138 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004047/1.563, allocations: 3.495 MB / 0.8702 GB, free: 38.75 MB / 0.5138 GB Notification: Performance of SimCode: time 1.142e-06/1.563, allocations: 0 / 0.8702 GB, free: 38.75 MB / 0.5138 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4035/1.966, allocations: 105.7 MB / 0.9735 GB, free: 156 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.54/13.5, allocations: 12.06 kB / 0.9735 GB, free: 156 MB / 0.5294 GB (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.Damper.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.Damper.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.Damper.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.Damper.sim & python3 -m fmpy simulate --output-file ModelicaTest_3.2.3_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_3_2_3_ModelicaTest_MultiBody_Forces_Damper.fmu > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.Damper.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.Damper_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/MultiBody/Forces/Damper/Damper.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.Damper.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches