Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.BodyShape.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.Parts.BodyShape,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_Parts_BodyShape",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Parts.BodyShape,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_Parts_BodyShape",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001287/0.001287, allocations: 103.9 kB / 17.63 MB, free: 5.523 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001833/0.001833, allocations: 206.4 kB / 18.58 MB, free: 4.582 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.511/1.511, allocations: 227.4 MB / 246.8 MB, free: 10.62 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2319/0.2319, allocations: 46.1 MB / 344.1 MB, free: 11.62 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001429/0.001429, allocations: 78.94 kB / 417.7 MB, free: 19.66 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1465/0.1479, allocations: 62.44 MB / 480.1 MB, free: 5.207 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Parts.BodyShape): time 0.01412/0.1621, allocations: 10.95 MB / 491.1 MB, free: 10.2 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.009276/0.1714, allocations: 4.081 MB / 495.2 MB, free: 6.105 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003484/0.175, allocations: 71.75 kB / 495.2 MB, free: 6.035 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.006322/0.1814, allocations: 2.566 MB / 497.8 MB, free: 3.461 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005978/0.1875, allocations: 1.762 MB / 499.6 MB, free: 1.691 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002523/0.19, allocations: 0.733 MB / 0.4886 GB, free: 0.957 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.006926/0.1969, allocations: 4.216 MB / 0.4927 GB, free: 12.73 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005578/0.2026, allocations: 3.351 MB / 0.4959 GB, free: 9.324 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003426/0.206, allocations: 1.483 MB / 0.4974 GB, free: 7.836 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003438/0.2095, allocations: 1.943 MB / 0.4993 GB, free: 5.887 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.00134/0.2108, allocations: 312 kB / 0.4996 GB, free: 5.582 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003462/0.2143, allocations: 1.217 MB / 0.5008 GB, free: 4.363 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00279/0.2171, allocations: 1.866 MB / 0.5026 GB, free: 2.492 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.005162/0.2223, allocations: 2.14 MB / 0.5047 GB, free: 348 kB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.3142/0.5365, allocations: 6.54 MB / 0.5111 GB, free: 18.37 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.273e-06/0.5365, allocations: 1.125 kB / 0.5111 GB, free: 18.37 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.164e-06/0.5365, allocations: 2.156 kB / 0.5111 GB, free: 18.37 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0003066/0.5369, allocations: 0 / 0.5111 GB, free: 18.37 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: 1449 * Number of variables: 1449 Notification: Performance of Generate backend data structure: time 0.015/0.5519, allocations: 4.629 MB / 0.5156 GB, free: 16.52 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.907e-05/0.5519, allocations: 10.59 kB / 0.5156 GB, free: 16.52 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001369/0.5533, allocations: 0.693 MB / 0.5163 GB, free: 16.45 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007459/0.5608, allocations: 1.974 MB / 0.5182 GB, free: 16.18 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006903/0.5677, allocations: 2.749 MB / 0.5209 GB, free: 15.61 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003383/0.5681, allocations: 238 kB / 0.5211 GB, free: 15.61 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002168/0.5702, allocations: 408 kB / 0.5215 GB, free: 15.59 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02953/0.5998, allocations: 9.707 MB / 0.531 GB, free: 11.34 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002775/0.6001, allocations: 48.08 kB / 0.531 GB, free: 11.34 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00185/0.602, allocations: 150.4 kB / 0.5312 GB, free: 11.26 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003143/0.6051, allocations: 1.754 MB / 0.5329 GB, free: 10.61 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01832/0.6235, allocations: 8.186 MB / 0.5409 GB, free: 6.988 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05908/0.6826, allocations: 38.42 MB / 0.5784 GB, free: 15.94 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01031/0.6929, allocations: 3.747 MB / 0.5821 GB, free: 12.05 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002598/0.6956, allocations: 1.587 MB / 0.5836 GB, free: 10.47 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01475/0.7103, allocations: 7.781 MB / 0.5912 GB, free: 2.359 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.171e-05/0.7104, allocations: 47.03 kB / 0.5913 GB, free: 2.309 MB / 430.1 MB Notification: Performance of pre-optimization done (n=144): time 5.651e-06/0.7105, allocations: 4 kB / 0.5913 GB, free: 2.305 MB / 430.1 MB Notification: Performance of matching and sorting (n=160): time 0.04525/0.7557, allocations: 14.25 MB / 0.6052 GB, free: 3.941 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.001536/0.7573, allocations: 1.683 MB / 0.6068 GB, free: 2.086 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008208/0.7655, allocations: 3.829 MB / 0.6106 GB, free: 14.28 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0004622/0.766, allocations: 45.7 kB / 0.6106 GB, free: 14.23 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002858/0.7689, allocations: 3.033 MB / 0.6136 GB, free: 11.21 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001072/0.77, allocations: 0.652 MB / 0.6142 GB, free: 10.57 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003206/0.7732, allocations: 1.201 MB / 0.6154 GB, free: 9.355 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001057/0.7733, allocations: 305.1 kB / 0.6157 GB, free: 9.055 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003752/0.7771, allocations: 1.994 MB / 0.6176 GB, free: 7.059 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006792/0.7839, allocations: 5.691 MB / 0.6232 GB, free: 15.58 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01256/0.7965, allocations: 8.297 MB / 0.6313 GB, free: 5.977 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001847/0.7967, allocations: 40 kB / 0.6313 GB, free: 5.938 MB / 478.1 MB Notification: Performance of matching and sorting (n=772) (initialization): time 0.01877/0.8155, allocations: 8.279 MB / 0.6394 GB, free: 13.86 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.000165/0.8157, allocations: 62.62 kB / 0.6395 GB, free: 13.8 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.006061/0.8218, allocations: 2.575 MB / 0.642 GB, free: 11.21 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004341/0.8261, allocations: 1.174 MB / 0.6431 GB, free: 10.03 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005889/0.8321, allocations: 1.357 MB / 0.6444 GB, free: 8.668 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006482/0.8386, allocations: 4.945 MB / 0.6493 GB, free: 3.434 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006465/0.8451, allocations: 403.4 kB / 0.6497 GB, free: 3.039 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001581/0.8467, allocations: 364 kB / 0.65 GB, free: 2.684 MB / 494.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 598 * Number of states: 0 () * Number of discrete variables: 41 (freeMotion.arrow.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 (734): * Single equations (assignments): 725 * 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.006189/0.8529, allocations: 2.007 MB / 0.652 GB, free: 0.668 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001174/0.8541, allocations: 335.7 kB / 0.6523 GB, free: 344 kB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001977/0.8561, allocations: 467.1 kB / 0.6527 GB, free: 0 / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.006026/0.8621, allocations: 2.519 MB / 0.6552 GB, free: 13.46 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.53e-05/0.8622, allocations: 0 / 0.6552 GB, free: 13.46 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.854e-05/0.8622, allocations: 11.97 kB / 0.6552 GB, free: 13.45 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02389/0.8861, allocations: 9.29 MB / 0.6643 GB, free: 4.027 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.19e-05/0.8862, allocations: 12.03 kB / 0.6643 GB, free: 4.016 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001312/0.8875, allocations: 259.6 kB / 0.6645 GB, free: 3.762 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003505/0.891, allocations: 1.064 MB / 0.6656 GB, free: 2.684 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003016/0.8913, allocations: 46.59 kB / 0.6656 GB, free: 2.641 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00647/0.8978, allocations: 5.114 MB / 0.6706 GB, free: 13.24 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.001295/0.8992, allocations: 1.534 MB / 0.6721 GB, free: 11.56 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01059/0.9098, allocations: 5.373 MB / 0.6774 GB, free: 6.105 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001355/0.9112, allocations: 388.4 kB / 0.6777 GB, free: 5.707 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00105/0.9122, allocations: 36.17 kB / 0.6778 GB, free: 5.672 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002099/0.9143, allocations: 131.8 kB / 0.6779 GB, free: 5.543 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000368/0.9147, allocations: 116.7 kB / 0.678 GB, free: 5.43 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001708/0.9149, allocations: 54.75 kB / 0.678 GB, free: 5.379 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.006092/0.921, allocations: 2.366 MB / 0.6804 GB, free: 3.031 MB / 0.5137 GB Notification: Performance of sort global known variables: time 4.41e-07/0.921, allocations: 0 / 0.6804 GB, free: 3.031 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.00795/0.929, allocations: 0.9765 MB / 0.6813 GB, free: 2.055 MB / 0.5137 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.01171/0.9407, allocations: 5.897 MB / 0.6871 GB, free: 12.07 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0131/0.9539, allocations: 5.978 MB / 0.6929 GB, free: 6.051 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 1.135e-05/0.9539, allocations: 0 / 0.6929 GB, free: 6.051 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.004797/0.9587, allocations: 2.084 MB / 0.6949 GB, free: 3.895 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00553/0.9643, allocations: 457.9 kB / 0.6954 GB, free: 3.449 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3493/1.314, allocations: 49.65 MB / 0.7439 GB, free: 174.9 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004379/1.318, allocations: 3.136 MB / 0.7469 GB, free: 173.6 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.004384/1.322, allocations: 1.847 MB / 0.7487 GB, free: 173.1 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00245/1.325, allocations: 1.785 MB / 0.7505 GB, free: 171.5 MB / 0.545 GB Notification: Performance of SimCode: time 9.22e-07/1.325, allocations: 3.375 kB / 0.7505 GB, free: 171.5 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1224/1.447, allocations: 69.36 MB / 0.8182 GB, free: 104.7 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.64/15.09, allocations: 4.062 kB / 0.8182 GB, free: 104.7 MB / 0.545 GB (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.BodyShape.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.BodyShape.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.BodyShape.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.BodyShape.sim & python3 -m fmpy simulate --output-file ModelicaTest_trunk_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_trunk_ModelicaTest_MultiBody_Parts_BodyShape.fmu > ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.BodyShape.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_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_trunk_ModelicaTest.MultiBody.Parts.BodyShape.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches