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.001717/0.001717, allocations: 114.4 kB / 17.78 MB, free: 5.262 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.001692/0.001692, allocations: 183.8 kB / 18.71 MB, free: 4.336 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.407/1.407, allocations: 222.9 MB / 242.4 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.221/0.221, allocations: 44.18 MB / 336.7 MB, free: 2.672 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001853/0.001853, allocations: 71.88 kB / 470 MB, free: 13.68 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3336/0.3355, allocations: 60.81 MB / 0.5184 GB, free: 3.285 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Parts.BodyShape): time 0.01146/0.347, allocations: 11.08 MB / 0.5292 GB, free: 11.41 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.008679/0.3557, allocations: 4.086 MB / 0.5332 GB, free: 8.418 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001725/0.3574, allocations: 71 kB / 0.5333 GB, free: 8.402 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004742/0.3622, allocations: 2.58 MB / 0.5358 GB, free: 6.664 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004685/0.3669, allocations: 1.817 MB / 0.5376 GB, free: 5.383 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001789/0.3687, allocations: 0.7339 MB / 0.5383 GB, free: 4.867 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.006663/0.3754, allocations: 4.167 MB / 0.5424 GB, free: 2.688 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004827/0.3803, allocations: 3.354 MB / 0.5456 GB, free: 100 kB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00285/0.3831, allocations: 1.515 MB / 0.5471 GB, free: 14.57 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003031/0.3862, allocations: 1.966 MB / 0.549 GB, free: 12.6 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0008972/0.3871, allocations: 316 kB / 0.5493 GB, free: 12.29 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002685/0.3898, allocations: 1.252 MB / 0.5506 GB, free: 11.04 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002058/0.3919, allocations: 1.905 MB / 0.5524 GB, free: 9.133 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002639/0.3945, allocations: 2.194 MB / 0.5546 GB, free: 6.926 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008501/0.403, allocations: 6.942 MB / 0.5614 GB, free: 15.96 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.579e-06/0.4031, allocations: 0 / 0.5614 GB, free: 15.96 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.493e-06/0.4031, allocations: 0 / 0.5614 GB, free: 15.96 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0001721/0.4032, allocations: 0 / 0.5614 GB, free: 15.96 MB / 430.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.009022/0.4123, allocations: 4.852 MB / 0.5661 GB, free: 11.03 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.759e-05/0.4123, allocations: 12.03 kB / 0.5661 GB, free: 11.02 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0009705/0.4133, allocations: 0.7071 MB / 0.5668 GB, free: 10.3 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007099/0.4204, allocations: 1.979 MB / 0.5687 GB, free: 8.316 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005481/0.4259, allocations: 3.042 MB / 0.5717 GB, free: 5.215 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002013/0.4261, allocations: 246 kB / 0.5719 GB, free: 4.973 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009677/0.4271, allocations: 407.6 kB / 0.5723 GB, free: 4.574 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0173/0.4444, allocations: 9.868 MB / 0.582 GB, free: 10.03 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001739/0.4446, allocations: 47.58 kB / 0.582 GB, free: 9.984 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004813/0.4451, allocations: 151.9 kB / 0.5821 GB, free: 9.836 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002845/0.448, allocations: 1.818 MB / 0.5839 GB, free: 8.016 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01705/0.465, allocations: 8.31 MB / 0.592 GB, free: 15.68 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04907/0.5142, allocations: 38.75 MB / 0.6299 GB, free: 7.703 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009634/0.5238, allocations: 3.71 MB / 0.6335 GB, free: 3.844 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00232/0.5262, allocations: 1.579 MB / 0.635 GB, free: 2.254 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01164/0.5378, allocations: 7.73 MB / 0.6426 GB, free: 10.15 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.173e-05/0.5379, allocations: 55.44 kB / 0.6426 GB, free: 10.09 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=144): time 5.57e-06/0.538, allocations: 0 / 0.6426 GB, free: 10.09 MB / 0.4981 GB Notification: Performance of matching and sorting (n=160): time 0.03903/0.577, allocations: 14.47 MB / 0.6568 GB, free: 11.46 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.001544/0.5786, allocations: 1.672 MB / 0.6584 GB, free: 9.613 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005561/0.5841, allocations: 3.869 MB / 0.6622 GB, free: 5.762 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 0.0003508/0.5845, allocations: 45.7 kB / 0.6622 GB, free: 5.711 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.002489/0.587, allocations: 3.221 MB / 0.6654 GB, free: 2.457 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008415/0.5879, allocations: 0.6824 MB / 0.666 GB, free: 1.77 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001597/0.5895, allocations: 1.215 MB / 0.6672 GB, free: 0.543 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001188/0.5896, allocations: 317 kB / 0.6675 GB, free: 236 kB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003017/0.5927, allocations: 1.987 MB / 0.6695 GB, free: 14.24 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005912/0.5986, allocations: 5.723 MB / 0.6751 GB, free: 6.641 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01035/0.6089, allocations: 8.356 MB / 0.6832 GB, free: 12.42 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001013/0.6091, allocations: 40 kB / 0.6833 GB, free: 12.38 MB / 0.545 GB Notification: Performance of matching and sorting (n=778) (initialization): time 0.01645/0.6255, allocations: 8.306 MB / 0.6914 GB, free: 4.059 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 8.975e-05/0.6256, allocations: 60 kB / 0.6914 GB, free: 4 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.005507/0.6312, allocations: 2.567 MB / 0.6939 GB, free: 1.426 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003818/0.635, allocations: 1.174 MB / 0.6951 GB, free: 244 kB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00442/0.6394, allocations: 1.368 MB / 0.6964 GB, free: 14.87 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005899/0.6454, allocations: 4.938 MB / 0.7012 GB, free: 9.645 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004424/0.6498, allocations: 395.4 kB / 0.7016 GB, free: 9.258 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008007/0.6506, allocations: 372 kB / 0.702 GB, free: 8.895 MB / 0.5606 GB 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.003432/0.6541, allocations: 2.041 MB / 0.704 GB, free: 6.84 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006469/0.6547, allocations: 361.6 kB / 0.7043 GB, free: 6.484 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0062/0.6609, allocations: 2.954 MB / 0.7072 GB, free: 3.504 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.005336/0.6663, allocations: 2.5 MB / 0.7096 GB, free: 0.9844 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.4e-05/0.6663, allocations: 0 / 0.7096 GB, free: 0.9844 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.916e-05/0.6664, allocations: 15.97 kB / 0.7096 GB, free: 0.9688 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01829/0.6847, allocations: 9.37 MB / 0.7188 GB, free: 7.426 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.823e-05/0.6847, allocations: 4 kB / 0.7188 GB, free: 7.422 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001202/0.6859, allocations: 255.6 kB / 0.719 GB, free: 7.172 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003425/0.6894, allocations: 1.065 MB / 0.7201 GB, free: 6.094 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002115/0.6896, allocations: 39.97 kB / 0.7201 GB, free: 6.055 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006238/0.6959, allocations: 5.122 MB / 0.7251 GB, free: 0.6523 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.2576/0.9534, allocations: 1.551 MB / 0.7266 GB, free: 179.9 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008502/0.962, allocations: 5.355 MB / 0.7319 GB, free: 178.7 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008426/0.9629, allocations: 411.1 kB / 0.7323 GB, free: 178.5 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003908/0.9633, allocations: 34.75 kB / 0.7323 GB, free: 178.5 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00139/0.9647, allocations: 128 kB / 0.7324 GB, free: 178.5 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002723/0.9649, allocations: 114 kB / 0.7325 GB, free: 178.5 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001156/0.9651, allocations: 48.98 kB / 0.7326 GB, free: 178.5 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.003218/0.9683, allocations: 2.389 MB / 0.7349 GB, free: 177.7 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.2e-07/0.9683, allocations: 0 / 0.7349 GB, free: 177.7 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.004251/0.9725, allocations: 0.9989 MB / 0.7359 GB, free: 177.6 MB / 0.5762 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.007624/0.9802, allocations: 5.891 MB / 0.7416 GB, free: 175.1 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.007673/0.9879, allocations: 5.414 MB / 0.7469 GB, free: 173.1 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 9.357e-06/0.9879, allocations: 3.906 kB / 0.7469 GB, free: 173.1 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.003277/0.9912, allocations: 2.083 MB / 0.749 GB, free: 172.2 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002637/0.9939, allocations: 464.5 kB / 0.7494 GB, free: 172 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0476/1.041, allocations: 44.92 MB / 0.7933 GB, free: 127.8 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002524/1.044, allocations: 3.175 MB / 0.7964 GB, free: 124.6 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.003222/1.047, allocations: 1.866 MB / 0.7982 GB, free: 122.8 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001766/1.049, allocations: 1.827 MB / 0.8 GB, free: 120.9 MB / 0.5762 GB Notification: Performance of SimCode: time 8.82e-07/1.049, allocations: 0 / 0.8 GB, free: 120.9 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1056/1.155, allocations: 66.42 MB / 0.8648 GB, free: 54.93 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 21.92/23.07, allocations: 10.44 kB / 0.8649 GB, free: 54.93 MB / 0.5762 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