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.0009815/0.0009812, allocations: 94 kB / 17.35 MB, free: 6.375 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001298/0.001298, allocations: 196.6 kB / 18.28 MB, free: 5.5 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.319/1.319, allocations: 227.7 MB / 246.8 MB, free: 11.42 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1966/0.1966, allocations: 46.17 MB / 345.2 MB, free: 11.41 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002418/0.0002419, allocations: 8 kB / 419.6 MB, free: 19.66 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1032/0.1035, allocations: 63.56 MB / 483.2 MB, free: 4.082 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Parts.BodyShape): time 0.2624/0.3659, allocations: 41 MB / 0.5119 GB, free: 9.77 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.02473/0.3907, allocations: 9.176 MB / 0.5208 GB, free: 9.246 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.008755/0.3995, allocations: 181.6 kB / 0.521 GB, free: 9.219 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001439/0.4009, allocations: 409.5 kB / 0.5214 GB, free: 9.125 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004906/0.4059, allocations: 1.683 MB / 0.5231 GB, free: 8.645 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001841/0.4077, allocations: 0.664 MB / 0.5237 GB, free: 8.395 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.007648/0.4154, allocations: 5.923 MB / 0.5295 GB, free: 7.066 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005594/0.421, allocations: 4.372 MB / 0.5338 GB, free: 4.852 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002223/0.4233, allocations: 1.093 MB / 0.5348 GB, free: 4.332 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002496/0.4258, allocations: 1.818 MB / 0.5366 GB, free: 3.449 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003822/0.4262, allocations: 127.3 kB / 0.5367 GB, free: 3.449 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001991/0.4282, allocations: 1.096 MB / 0.5378 GB, free: 2.965 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001264/0.4294, allocations: 1.682 MB / 0.5394 GB, free: 2.07 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001483/0.4309, allocations: 1.913 MB / 0.5413 GB, free: 0.6484 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005755/0.4367, allocations: 6.304 MB / 0.5475 GB, free: 12.44 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.26e-06/0.4367, allocations: 0 / 0.5475 GB, free: 12.44 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.194e-06/0.4367, allocations: 0 / 0.5475 GB, free: 12.44 MB / 398.1 MB Notification: Performance of Transformations before backend: time 0.0001285/0.4369, allocations: 0 / 0.5475 GB, free: 12.44 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: 1449 * Number of variables: 1449 Notification: Performance of Generate backend data structure: time 0.006768/0.4436, allocations: 3.781 MB / 0.5512 GB, free: 8.621 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.384e-05/0.4437, allocations: 8.875 kB / 0.5512 GB, free: 8.613 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0009824/0.4447, allocations: 0.6919 MB / 0.5518 GB, free: 7.945 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006988/0.4517, allocations: 2.021 MB / 0.5538 GB, free: 5.918 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004397/0.4561, allocations: 2.745 MB / 0.5565 GB, free: 3.148 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001444/0.4563, allocations: 238.5 kB / 0.5567 GB, free: 2.945 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007827/0.4571, allocations: 406.2 kB / 0.5571 GB, free: 2.586 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01461/0.4717, allocations: 9.73 MB / 0.5666 GB, free: 8.277 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001111/0.4718, allocations: 43.53 kB / 0.5667 GB, free: 8.234 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004065/0.4722, allocations: 148.3 kB / 0.5668 GB, free: 8.121 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002473/0.4747, allocations: 1.762 MB / 0.5685 GB, free: 6.367 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01491/0.4896, allocations: 8.207 MB / 0.5765 GB, free: 14.14 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04201/0.5317, allocations: 38.42 MB / 0.614 GB, free: 6.688 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009812/0.5415, allocations: 3.765 MB / 0.6177 GB, free: 2.777 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002266/0.5438, allocations: 1.569 MB / 0.6193 GB, free: 1.203 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0117/0.5556, allocations: 7.789 MB / 0.6269 GB, free: 9.062 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.815e-05/0.5556, allocations: 55.48 kB / 0.6269 GB, free: 9 MB / 478.1 MB Notification: Performance of pre-optimization done (n=144): time 4.669e-06/0.5557, allocations: 0 / 0.6269 GB, free: 9 MB / 478.1 MB Notification: Performance of matching and sorting (n=160): time 0.03972/0.5954, allocations: 14.27 MB / 0.6409 GB, free: 10.57 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.001341/0.5968, allocations: 1.598 MB / 0.6424 GB, free: 8.793 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006722/0.6035, allocations: 3.823 MB / 0.6461 GB, free: 4.984 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002521/0.6038, allocations: 49.7 kB / 0.6462 GB, free: 4.93 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002455/0.6063, allocations: 3.042 MB / 0.6492 GB, free: 1.891 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008776/0.6071, allocations: 0.6459 MB / 0.6498 GB, free: 1.25 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009384/0.6081, allocations: 0.5072 MB / 0.6503 GB, free: 0.7344 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001188/0.6082, allocations: 301.1 kB / 0.6506 GB, free: 448 kB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003404/0.6116, allocations: 1.999 MB / 0.6525 GB, free: 14.43 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005971/0.6176, allocations: 5.69 MB / 0.6581 GB, free: 6.891 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01023/0.6279, allocations: 8.317 MB / 0.6662 GB, free: 12.73 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001555/0.6281, allocations: 36 kB / 0.6662 GB, free: 12.7 MB / 0.5137 GB Notification: Performance of matching and sorting (n=772) (initialization): time 0.01659/0.6447, allocations: 8.286 MB / 0.6743 GB, free: 4.398 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001077/0.6448, allocations: 60 kB / 0.6744 GB, free: 4.34 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.005346/0.6501, allocations: 2.583 MB / 0.6769 GB, free: 1.742 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003828/0.654, allocations: 1.166 MB / 0.6781 GB, free: 0.5625 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004574/0.6586, allocations: 1.365 MB / 0.6794 GB, free: 15.2 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005398/0.664, allocations: 4.665 MB / 0.6839 GB, free: 10.26 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004628/0.6687, allocations: 391.3 kB / 0.6843 GB, free: 9.875 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009297/0.6696, allocations: 364 kB / 0.6847 GB, free: 9.52 MB / 0.5294 GB 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.003799/0.6734, allocations: 2.012 MB / 0.6866 GB, free: 7.496 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006874/0.6741, allocations: 335.7 kB / 0.6869 GB, free: 7.164 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00107/0.6752, allocations: 453.2 kB / 0.6874 GB, free: 6.723 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.005246/0.6805, allocations: 2.519 MB / 0.6898 GB, free: 4.188 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.326e-05/0.6805, allocations: 4 kB / 0.6898 GB, free: 4.184 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.755e-05/0.6805, allocations: 7.984 kB / 0.6899 GB, free: 4.176 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01714/0.6977, allocations: 9.28 MB / 0.6989 GB, free: 10.75 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.381e-05/0.6977, allocations: 4 kB / 0.6989 GB, free: 10.75 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001136/0.6988, allocations: 264.1 kB / 0.6992 GB, free: 10.49 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003328/0.7022, allocations: 1.064 MB / 0.7002 GB, free: 9.41 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001926/0.7024, allocations: 50 kB / 0.7003 GB, free: 9.363 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005776/0.7082, allocations: 4.804 MB / 0.7049 GB, free: 4.289 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.001165/0.7094, allocations: 1.466 MB / 0.7064 GB, free: 2.68 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.2364/0.9458, allocations: 5.365 MB / 0.7116 GB, free: 189.9 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009498/0.9468, allocations: 389.5 kB / 0.712 GB, free: 189.8 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004233/0.9472, allocations: 33.75 kB / 0.712 GB, free: 189.8 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00144/0.9487, allocations: 141.2 kB / 0.7122 GB, free: 189.8 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003184/0.949, allocations: 106.6 kB / 0.7123 GB, free: 189.8 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001357/0.9492, allocations: 49.38 kB / 0.7123 GB, free: 189.8 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.004418/0.9536, allocations: 2.368 MB / 0.7146 GB, free: 189.6 MB / 0.545 GB Notification: Performance of sort global known variables: time 3.2e-07/0.9536, allocations: 0 / 0.7146 GB, free: 189.6 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.004762/0.9584, allocations: 0.9807 MB / 0.7156 GB, free: 189.6 MB / 0.545 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.008748/0.9671, allocations: 5.908 MB / 0.7213 GB, free: 187.3 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.009026/0.9762, allocations: 5.386 MB / 0.7266 GB, free: 185.4 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 8.236e-06/0.9762, allocations: 1.375 kB / 0.7266 GB, free: 185.4 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.003434/0.9796, allocations: 2.083 MB / 0.7286 GB, free: 184.5 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004571/0.9842, allocations: 435.5 kB / 0.7291 GB, free: 184.3 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05996/1.044, allocations: 51.63 MB / 0.7795 GB, free: 137.6 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003786/1.048, allocations: 3.131 MB / 0.7825 GB, free: 134.5 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.004395/1.052, allocations: 1.846 MB / 0.7843 GB, free: 132.6 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002487/1.055, allocations: 1.784 MB / 0.7861 GB, free: 130.8 MB / 0.545 GB Notification: Performance of SimCode: time 1.763e-06/1.055, allocations: 0 / 0.7861 GB, free: 130.8 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08213/1.137, allocations: 67.27 MB / 0.8518 GB, free: 63.86 MB / 0.545 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001498/1.137, allocations: 228 kB / 0.852 GB, free: 63.61 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.504/4.641, allocations: 0 / 0.852 GB, free: 63.61 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.BodyShape_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_MultiBody_Parts_BodyShape_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_MultiBody_Parts_BodyShape.fmu > ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.BodyShape.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.BodyShape_res.mat","/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