Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.BodyShape.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.Parts.BodyShape,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_MultiBody_Parts_BodyShape",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Parts.BodyShape,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_MultiBody_Parts_BodyShape",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.001214/0.001214, allocations: 104.2 kB / 17.63 MB, free: 5.531 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.001377/0.001377, allocations: 191.9 kB / 18.56 MB, free: 4.609 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.403/1.403, allocations: 222.9 MB / 242.3 MB, free: 15.28 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.2144/0.2144, allocations: 44.18 MB / 336.6 MB, free: 2.781 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001248/0.001248, allocations: 73.16 kB / 408.5 MB, free: 27.16 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1283/0.1295, allocations: 60.82 MB / 469.4 MB, free: 14.29 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Parts.BodyShape): time 0.01332/0.1429, allocations: 11.08 MB / 480.4 MB, free: 3.148 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.01067/0.1537, allocations: 4.093 MB / 484.5 MB, free: 15.04 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002526/0.1562, allocations: 71.75 kB / 484.6 MB, free: 14.97 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004858/0.1611, allocations: 2.562 MB / 487.2 MB, free: 12.4 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005914/0.1671, allocations: 1.821 MB / 489 MB, free: 10.57 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002324/0.1695, allocations: 0.7369 MB / 489.7 MB, free: 9.836 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.00688/0.1763, allocations: 4.172 MB / 493.9 MB, free: 5.656 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005035/0.1814, allocations: 3.359 MB / 497.3 MB, free: 2.238 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002789/0.1842, allocations: 1.511 MB / 498.8 MB, free: 0.7227 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002766/0.187, allocations: 1.97 MB / 0.489 GB, free: 14.75 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0006824/0.1877, allocations: 316 kB / 0.4893 GB, free: 14.44 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002461/0.1902, allocations: 1.256 MB / 0.4905 GB, free: 13.18 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001904/0.1921, allocations: 1.901 MB / 0.4924 GB, free: 11.27 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002964/0.1951, allocations: 2.194 MB / 0.4945 GB, free: 9.066 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008737/0.2038, allocations: 6.694 MB / 0.5011 GB, free: 2.352 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.117e-06/0.2039, allocations: 0 / 0.5011 GB, free: 2.352 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.923e-06/0.2039, allocations: 0 / 0.5011 GB, free: 2.352 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0002419/0.2042, allocations: 0 / 0.5011 GB, free: 2.352 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1478 * Number of variables: 1478 Notification: Performance of Generate backend data structure: time 0.2861/0.4902, allocations: 4.706 MB / 0.5057 GB, free: 40.3 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.266e-05/0.4903, allocations: 9.656 kB / 0.5057 GB, free: 40.3 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001364/0.4917, allocations: 0.7133 MB / 0.5064 GB, free: 40.22 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007797/0.4995, allocations: 1.944 MB / 0.5083 GB, free: 39.95 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006489/0.506, allocations: 2.982 MB / 0.5112 GB, free: 39.35 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002327/0.5063, allocations: 238.5 kB / 0.5114 GB, free: 39.27 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001091/0.5074, allocations: 406 kB / 0.5118 GB, free: 39.17 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01917/0.5265, allocations: 9.873 MB / 0.5214 GB, free: 34.72 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001123/0.5267, allocations: 48.31 kB / 0.5215 GB, free: 34.71 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003916/0.5271, allocations: 156.3 kB / 0.5216 GB, free: 34.64 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002379/0.5295, allocations: 1.811 MB / 0.5234 GB, free: 33.96 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01419/0.5437, allocations: 8.318 MB / 0.5315 GB, free: 27.45 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0427/0.5864, allocations: 38.85 MB / 0.5695 GB, free: 3.66 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009026/0.5955, allocations: 3.733 MB / 0.5731 GB, free: 15.79 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001968/0.5975, allocations: 1.566 MB / 0.5746 GB, free: 14.22 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01048/0.608, allocations: 7.707 MB / 0.5822 GB, free: 6.199 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.129e-05/0.608, allocations: 63.48 kB / 0.5822 GB, free: 6.129 MB / 414.1 MB Notification: Performance of pre-optimization done (n=144): time 3.857e-06/0.6081, allocations: 0 / 0.5822 GB, free: 6.129 MB / 414.1 MB Notification: Performance of matching and sorting (n=160): time 0.0368/0.6449, allocations: 14.23 MB / 0.5961 GB, free: 7.738 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.001428/0.6463, allocations: 1.687 MB / 0.5978 GB, free: 5.871 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005584/0.6519, allocations: 3.864 MB / 0.6015 GB, free: 2.023 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003556/0.6523, allocations: 45.7 kB / 0.6016 GB, free: 1.973 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002233/0.6546, allocations: 3.09 MB / 0.6046 GB, free: 14.88 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008707/0.6554, allocations: 0.6455 MB / 0.6052 GB, free: 14.24 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001527/0.657, allocations: 1.208 MB / 0.6064 GB, free: 13.02 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001283/0.6571, allocations: 305.1 kB / 0.6067 GB, free: 12.72 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002697/0.6598, allocations: 1.991 MB / 0.6086 GB, free: 10.72 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005421/0.6652, allocations: 5.728 MB / 0.6142 GB, free: 3.133 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.009793/0.6751, allocations: 8.352 MB / 0.6224 GB, free: 8.969 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001034/0.6752, allocations: 36 kB / 0.6224 GB, free: 8.934 MB / 462.1 MB Notification: Performance of matching and sorting (n=778) (initialization): time 0.01596/0.6912, allocations: 8.295 MB / 0.6305 GB, free: 0.6211 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001365/0.6913, allocations: 64.19 kB / 0.6306 GB, free: 0.5586 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.005225/0.6966, allocations: 2.56 MB / 0.6331 GB, free: 13.99 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004079/0.7007, allocations: 1.182 MB / 0.6342 GB, free: 12.79 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004631/0.7053, allocations: 1.365 MB / 0.6356 GB, free: 11.43 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005605/0.711, allocations: 4.957 MB / 0.6404 GB, free: 6.188 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00558/0.7166, allocations: 387.3 kB / 0.6408 GB, free: 5.809 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00123/0.7178, allocations: 370.6 kB / 0.6411 GB, free: 5.449 MB / 478.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 604 * Number of states: 0 () * Number of discrete variables: 41 (freeMotion.arrow.arrowLine.twoHeadedArrow,freeMotion.arrow.headAtOrigin,freeMotion.arrowColor[3],freeMotion.arrowColor[2],freeMotion.arrowColor[1],spring2.color[3],spring2.color[2],spring2.color[1],spring2.massColor[3],spring2.massColor[2],spring2.massColor[1],body.color[3],body.color[2],body.color[1],body.body.sphereColor[3],body.body.sphereColor[2],body.body.sphereColor[1],body.frameTranslation.color[3],body.frameTranslation.color[2],body.frameTranslation.color[1],spring1.color[3],spring1.color[2],spring1.color[1],spring1.massColor[3],spring1.massColor[2],spring1.massColor[1],bar2.color[3],bar2.color[2],bar2.color[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 (740): * Single equations (assignments): 731 * Array equations: 5 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 3 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 2 systems {(4,100.0%), (3,100.0%)} * Non-linear Jacobian (size): 1 system {4} * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(2,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.004689/0.7225, allocations: 2.045 MB / 0.6431 GB, free: 3.391 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009283/0.7235, allocations: 335.7 kB / 0.6435 GB, free: 3.059 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006797/0.7303, allocations: 2.957 MB / 0.6463 GB, free: 84 kB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.005157/0.7355, allocations: 2.494 MB / 0.6488 GB, free: 13.57 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.827e-05/0.7355, allocations: 8 kB / 0.6488 GB, free: 13.56 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.587e-05/0.7355, allocations: 11.91 kB / 0.6488 GB, free: 13.55 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02131/0.7568, allocations: 9.385 MB / 0.658 GB, free: 4.027 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.544e-05/0.7569, allocations: 5.312 kB / 0.658 GB, free: 4.023 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001244/0.7582, allocations: 251.6 kB / 0.6582 GB, free: 3.777 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003352/0.7615, allocations: 1.08 MB / 0.6593 GB, free: 2.684 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002104/0.7618, allocations: 39.97 kB / 0.6593 GB, free: 2.645 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005931/0.7677, allocations: 5.118 MB / 0.6643 GB, free: 13.25 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.001206/0.7689, allocations: 1.549 MB / 0.6658 GB, free: 11.55 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009114/0.7781, allocations: 5.34 MB / 0.671 GB, free: 6.129 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001189/0.7793, allocations: 384.6 kB / 0.6714 GB, free: 5.73 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000936/0.7802, allocations: 35.98 kB / 0.6714 GB, free: 5.695 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001963/0.7822, allocations: 127.8 kB / 0.6715 GB, free: 5.57 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003155/0.7825, allocations: 112.7 kB / 0.6717 GB, free: 5.457 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000143/0.7827, allocations: 43.98 kB / 0.6717 GB, free: 5.414 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.005528/0.7882, allocations: 2.391 MB / 0.674 GB, free: 3.043 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.7e-07/0.7883, allocations: 0 / 0.674 GB, free: 3.043 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.006691/0.795, allocations: 1.004 MB / 0.675 GB, free: 2.047 MB / 0.4981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 19 * Number of states: 12 ($STATESET1.x[3],$STATESET1.x[2],$STATESET1.x[1],freeMotion.r_rel_a[1],freeMotion.r_rel_a[2],freeMotion.r_rel_a[3],freeMotion.v_rel_a[1],freeMotion.v_rel_a[2],freeMotion.v_rel_a[3],freeMotion.w_rel_b[1],freeMotion.w_rel_b[2],freeMotion.w_rel_b[3]) * 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 (126): * Single equations (assignments): 119 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 3 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 2 systems {(4,100.0%), (3,100.0%)} * Non-linear Jacobian (size): 1 system {4} * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(2,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.009879/0.8048, allocations: 5.866 MB / 0.6807 GB, free: 12.09 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.01181/0.8167, allocations: 5.982 MB / 0.6866 GB, free: 6.086 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 1.4e-05/0.8168, allocations: 4 kB / 0.6866 GB, free: 6.082 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.00401/0.8208, allocations: 2.091 MB / 0.6886 GB, free: 3.926 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004184/0.825, allocations: 465.2 kB / 0.6891 GB, free: 3.477 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3418/1.167, allocations: 50.09 MB / 0.738 GB, free: 165.4 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00281/1.17, allocations: 3.183 MB / 0.7411 GB, free: 164.1 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.00395/1.174, allocations: 1.858 MB / 0.7429 GB, free: 164 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001982/1.176, allocations: 1.835 MB / 0.7447 GB, free: 162.5 MB / 0.5294 GB Notification: Performance of SimCode: time 8.81e-07/1.176, allocations: 0 / 0.7447 GB, free: 162.5 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1172/1.293, allocations: 70.05 MB / 0.8131 GB, free: 94.37 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.67/14.96, allocations: 2.297 kB / 0.8131 GB, free: 94.37 MB / 0.5294 GB (rm -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.BodyShape.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.BodyShape.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.BodyShape.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.BodyShape.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.BodyShape_res.csv --start-time 0 --stop-time 10 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.004 ModelicaTest_4_0_0_ModelicaTest_MultiBody_Parts_BodyShape.fmu > ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.BodyShape.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.BodyShape_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Parts/BodyShape/BodyShape.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.BodyShape.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches