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.001533/0.001533, allocations: 118.2 kB / 17.78 MB, free: 5.258 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001283/0.001283, allocations: 205.2 kB / 18.74 MB, free: 4.312 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.407/1.407, allocations: 227.4 MB / 246.9 MB, free: 10.43 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2154/0.2154, allocations: 46.1 MB / 344.3 MB, free: 11.48 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002616/0.002616, allocations: 75.88 kB / 480.8 MB, free: 4.566 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.372/0.3746, allocations: 62.44 MB / 0.5305 GB, free: 13.39 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Parts.BodyShape): time 0.01096/0.3856, allocations: 10.95 MB / 0.5412 GB, free: 4.785 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.008364/0.394, allocations: 4.073 MB / 0.5452 GB, free: 1.605 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002372/0.3964, allocations: 71.25 kB / 0.5452 GB, free: 1.59 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005243/0.4017, allocations: 2.571 MB / 0.5478 GB, free: 15.86 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005364/0.4071, allocations: 1.813 MB / 0.5495 GB, free: 14.22 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00241/0.4095, allocations: 0.7253 MB / 0.5502 GB, free: 13.5 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.006579/0.4161, allocations: 4.22 MB / 0.5544 GB, free: 9.266 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004403/0.4205, allocations: 3.335 MB / 0.5576 GB, free: 5.875 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002575/0.4231, allocations: 1.495 MB / 0.5591 GB, free: 4.375 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00285/0.426, allocations: 1.958 MB / 0.561 GB, free: 2.41 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0009986/0.427, allocations: 312 kB / 0.5613 GB, free: 2.105 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002658/0.4297, allocations: 1.225 MB / 0.5625 GB, free: 0.8789 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002253/0.432, allocations: 1.89 MB / 0.5643 GB, free: 14.98 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003388/0.4354, allocations: 2.136 MB / 0.5664 GB, free: 12.84 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008858/0.4443, allocations: 6.794 MB / 0.573 GB, free: 6.016 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.483e-06/0.4443, allocations: 4 kB / 0.5731 GB, free: 6.012 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.893e-06/0.4443, allocations: 0 / 0.5731 GB, free: 6.012 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0002423/0.4446, allocations: 4 kB / 0.5731 GB, free: 6.008 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: 1449 * Number of variables: 1449 Notification: Performance of Generate backend data structure: time 0.01029/0.4549, allocations: 4.744 MB / 0.5777 GB, free: 1.191 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.618e-05/0.4549, allocations: 12.03 kB / 0.5777 GB, free: 1.18 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001814/0.4568, allocations: 0.6985 MB / 0.5784 GB, free: 484 kB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007366/0.4642, allocations: 2.003 MB / 0.5803 GB, free: 14.46 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00563/0.4698, allocations: 2.808 MB / 0.5831 GB, free: 11.6 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002322/0.4701, allocations: 242 kB / 0.5833 GB, free: 11.36 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001403/0.4715, allocations: 399.6 kB / 0.5837 GB, free: 10.97 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01762/0.4891, allocations: 9.713 MB / 0.5932 GB, free: 0.5742 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000164/0.4893, allocations: 43.58 kB / 0.5932 GB, free: 0.5312 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0009028/0.4903, allocations: 155.9 kB / 0.5934 GB, free: 388 kB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003124/0.4934, allocations: 1.747 MB / 0.5951 GB, free: 14.62 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01774/0.5112, allocations: 8.188 MB / 0.6031 GB, free: 6.414 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05306/0.5643, allocations: 38.34 MB / 0.6405 GB, free: 14.86 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.009162/0.5735, allocations: 3.747 MB / 0.6442 GB, free: 10.97 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002172/0.5757, allocations: 1.576 MB / 0.6457 GB, free: 9.379 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0113/0.587, allocations: 7.805 MB / 0.6533 GB, free: 1.184 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.175e-05/0.5871, allocations: 51.5 kB / 0.6534 GB, free: 1.125 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=144): time 4.107e-06/0.5872, allocations: 0 / 0.6534 GB, free: 1.125 MB / 0.4981 GB Notification: Performance of matching and sorting (n=160): time 0.04036/0.6275, allocations: 14.46 MB / 0.6675 GB, free: 2.504 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.001387/0.6289, allocations: 1.677 MB / 0.6691 GB, free: 0.6484 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006902/0.6359, allocations: 3.84 MB / 0.6729 GB, free: 12.82 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.0004322/0.6364, allocations: 45.7 kB / 0.6729 GB, free: 12.77 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.002663/0.639, allocations: 3.166 MB / 0.676 GB, free: 9.578 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.001021/0.6401, allocations: 0.6708 MB / 0.6767 GB, free: 8.902 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002737/0.6428, allocations: 1.207 MB / 0.6779 GB, free: 7.684 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 8.923e-05/0.6429, allocations: 305.1 kB / 0.6781 GB, free: 7.383 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003366/0.6463, allocations: 1.999 MB / 0.6801 GB, free: 5.379 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005998/0.6523, allocations: 5.69 MB / 0.6857 GB, free: 13.83 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009487/0.6619, allocations: 8.29 MB / 0.6938 GB, free: 3.703 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001382/0.662, allocations: 44 kB / 0.6938 GB, free: 3.66 MB / 0.545 GB Notification: Performance of matching and sorting (n=772) (initialization): time 0.0167/0.6788, allocations: 8.287 MB / 0.7019 GB, free: 11.35 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001623/0.679, allocations: 60 kB / 0.7019 GB, free: 11.29 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.005496/0.6845, allocations: 2.579 MB / 0.7045 GB, free: 8.707 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003697/0.6882, allocations: 1.17 MB / 0.7056 GB, free: 7.523 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004339/0.6926, allocations: 1.361 MB / 0.7069 GB, free: 6.16 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005476/0.6981, allocations: 4.962 MB / 0.7118 GB, free: 0.918 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00452/0.7026, allocations: 391.4 kB / 0.7122 GB, free: 0.5352 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001048/0.7037, allocations: 364 kB / 0.7125 GB, free: 184 kB / 0.5606 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.004081/0.7078, allocations: 2.013 MB / 0.7145 GB, free: 14.15 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009692/0.7088, allocations: 349.7 kB / 0.7148 GB, free: 13.81 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001189/0.71, allocations: 445.3 kB / 0.7152 GB, free: 13.37 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.005112/0.7151, allocations: 2.523 MB / 0.7177 GB, free: 10.82 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.802e-05/0.7152, allocations: 4 kB / 0.7177 GB, free: 10.82 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.387e-05/0.7152, allocations: 7.969 kB / 0.7177 GB, free: 10.81 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0184/0.7336, allocations: 9.257 MB / 0.7267 GB, free: 1.375 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.709e-05/0.7337, allocations: 11.92 kB / 0.7268 GB, free: 1.363 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00122/0.7349, allocations: 264 kB / 0.727 GB, free: 1.105 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003163/0.7381, allocations: 1.061 MB / 0.728 GB, free: 32 kB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.2511/0.9892, allocations: 46.14 kB / 0.7281 GB, free: 176.2 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006174/0.9954, allocations: 5.108 MB / 0.7331 GB, free: 173.5 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0007275/0.9961, allocations: 1.551 MB / 0.7346 GB, free: 172 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008401/1.005, allocations: 5.385 MB / 0.7398 GB, free: 170 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008977/1.005, allocations: 400.7 kB / 0.7402 GB, free: 169.9 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004638/1.006, allocations: 36.97 kB / 0.7403 GB, free: 169.9 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001442/1.007, allocations: 134.7 kB / 0.7404 GB, free: 169.8 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002922/1.008, allocations: 105 kB / 0.7405 GB, free: 169.8 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001236/1.008, allocations: 51.38 kB / 0.7405 GB, free: 169.8 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.003764/1.012, allocations: 2.362 MB / 0.7428 GB, free: 169 MB / 0.5762 GB Notification: Performance of sort global known variables: time 5.21e-07/1.012, allocations: 3.625 kB / 0.7429 GB, free: 169 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.005195/1.017, allocations: 0.9821 MB / 0.7438 GB, free: 168.9 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.007352/1.024, allocations: 5.914 MB / 0.7496 GB, free: 166.4 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.008343/1.033, allocations: 5.413 MB / 0.7549 GB, free: 164.4 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 9.338e-06/1.033, allocations: 3.938 kB / 0.7549 GB, free: 164.4 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.00343/1.036, allocations: 2.102 MB / 0.7569 GB, free: 163.5 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002973/1.039, allocations: 456.6 kB / 0.7574 GB, free: 163.3 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05742/1.097, allocations: 44.57 MB / 0.8009 GB, free: 113.3 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00424/1.101, allocations: 3.131 MB / 0.8039 GB, free: 110.1 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.003802/1.105, allocations: 1.847 MB / 0.8057 GB, free: 108.3 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002445/1.107, allocations: 1.788 MB / 0.8075 GB, free: 106.5 MB / 0.5762 GB Notification: Performance of SimCode: time 2.214e-06/1.107, allocations: 0 / 0.8075 GB, free: 106.5 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09823/1.205, allocations: 65.79 MB / 0.8717 GB, free: 41.05 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 21.94/23.15, allocations: 11.5 kB / 0.8718 GB, free: 41.04 MB / 0.5762 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