Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.MultiBody.WorldGroundVisualization.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.WorldGroundVisualization,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_MultiBody_WorldGroundVisualization",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.WorldGroundVisualization,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_MultiBody_WorldGroundVisualization",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.001556/0.001556, allocations: 104.1 kB / 17.64 MB, free: 5.48 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.001668/0.001668, allocations: 192 kB / 18.55 MB, free: 4.566 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.398/1.398, allocations: 222.9 MB / 242.3 MB, free: 15.18 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.2069/0.2069, allocations: 44.19 MB / 336.6 MB, free: 2.758 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001591/0.001591, allocations: 60.44 kB / 408.5 MB, free: 27.14 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1253/0.1269, allocations: 60.82 MB / 469.4 MB, free: 14.28 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.WorldGroundVisualization): time 0.007647/0.1346, allocations: 5.413 MB / 474.8 MB, free: 8.832 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.003737/0.1384, allocations: 1.753 MB / 476.5 MB, free: 7.074 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008937/0.1393, allocations: 19.94 kB / 476.5 MB, free: 7.055 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001597/0.1409, allocations: 0.5212 MB / 477.1 MB, free: 6.531 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002271/0.1433, allocations: 0.9068 MB / 478 MB, free: 5.621 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001881/0.1435, allocations: 15.98 kB / 478 MB, free: 5.605 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.002297/0.1458, allocations: 1.549 MB / 479.5 MB, free: 4.055 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001247/0.1471, allocations: 0.7546 MB / 480.3 MB, free: 3.285 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009002/0.148, allocations: 0.5213 MB / 480.8 MB, free: 2.762 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002022/0.15, allocations: 1.504 MB / 482.3 MB, free: 1.254 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003651/0.1504, allocations: 88 kB / 482.4 MB, free: 1.168 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008484/0.1512, allocations: 319.5 kB / 482.7 MB, free: 0.8555 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0008587/0.1521, allocations: 0.7127 MB / 483.4 MB, free: 144 kB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001266/0.1534, allocations: 0.877 MB / 484.3 MB, free: 15.25 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002737/0.1561, allocations: 2.667 MB / 487 MB, free: 12.58 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.741e-06/0.1562, allocations: 3.938 kB / 487 MB, free: 12.58 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.023e-06/0.1562, allocations: 4 kB / 487 MB, free: 12.57 MB / 366.1 MB Notification: Performance of Transformations before backend: time 9.726e-05/0.1563, allocations: 4 kB / 487 MB, free: 12.57 MB / 366.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 774 * Number of variables: 774 Notification: Performance of Generate backend data structure: time 0.003923/0.1602, allocations: 2.069 MB / 489 MB, free: 10.44 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.867e-05/0.1603, allocations: 8.031 kB / 489.1 MB, free: 10.43 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0007268/0.161, allocations: 373.9 kB / 489.4 MB, free: 10.06 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005184/0.1662, allocations: 1.503 MB / 490.9 MB, free: 8.551 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001647/0.1679, allocations: 0.8565 MB / 491.8 MB, free: 7.652 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.696e-05/0.168, allocations: 90.2 kB / 491.9 MB, free: 7.562 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003236/0.1683, allocations: 107.9 kB / 492 MB, free: 7.457 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006755/0.175, allocations: 4.972 MB / 496.9 MB, free: 2.012 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.264e-05/0.1751, allocations: 27.75 kB / 497 MB, free: 1.984 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002545/0.1754, allocations: 67.89 kB / 497 MB, free: 1.918 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001863/0.1773, allocations: 1.178 MB / 498.2 MB, free: 0.7383 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006718/0.184, allocations: 4.258 MB / 0.4907 GB, free: 12.48 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2295/0.4136, allocations: 20.56 MB / 0.5108 GB, free: 32.17 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001336/0.4149, allocations: 1.22 MB / 0.512 GB, free: 31.52 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004646/0.4154, allocations: 382.8 kB / 0.5123 GB, free: 31.48 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.193e-05/0.4154, allocations: 10.92 kB / 0.5123 GB, free: 31.48 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.994e-05/0.4155, allocations: 41.08 kB / 0.5124 GB, free: 31.44 MB / 382.1 MB Notification: Performance of pre-optimization done (n=69): time 3.456e-06/0.4155, allocations: 0 / 0.5124 GB, free: 31.44 MB / 382.1 MB Notification: Performance of matching and sorting (n=69): time 0.001823/0.4173, allocations: 1.156 MB / 0.5135 GB, free: 31.3 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.542e-05/0.4174, allocations: 136.1 kB / 0.5136 GB, free: 31.14 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003722/0.4211, allocations: 2.425 MB / 0.516 GB, free: 30.32 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 8.029e-05/0.4212, allocations: 36.66 kB / 0.516 GB, free: 30.29 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001387/0.4226, allocations: 1.797 MB / 0.5178 GB, free: 28.88 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004042/0.423, allocations: 301.5 kB / 0.5181 GB, free: 28.68 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001188/0.4242, allocations: 0.7943 MB / 0.5189 GB, free: 28.29 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001511/0.4244, allocations: 353.1 kB / 0.5192 GB, free: 27.97 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001919/0.4263, allocations: 1.032 MB / 0.5202 GB, free: 27.67 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00436/0.4307, allocations: 3.693 MB / 0.5238 GB, free: 23.76 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007893/0.4386, allocations: 5.155 MB / 0.5289 GB, free: 19.01 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000268/0.4389, allocations: 26.12 kB / 0.5289 GB, free: 19.01 MB / 382.1 MB Notification: Performance of matching and sorting (n=508) (initialization): time 0.008572/0.4475, allocations: 4.449 MB / 0.5332 GB, free: 17.3 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.854e-05/0.4476, allocations: 52.38 kB / 0.5333 GB, free: 17.29 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.343e-05/0.4477, allocations: 95.44 kB / 0.5334 GB, free: 17.29 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.922e-05/0.4478, allocations: 126.1 kB / 0.5335 GB, free: 17.29 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001955/0.4498, allocations: 0.8707 MB / 0.5343 GB, free: 17.18 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001136/0.4499, allocations: 182.2 kB / 0.5345 GB, free: 17.14 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002488/0.4524, allocations: 0.5551 MB / 0.535 GB, free: 16.78 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002229/0.4526, allocations: 257.3 kB / 0.5353 GB, free: 16.75 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 434 * Number of states: 0 () * Number of discrete variables: 17 (visGroundAxis.arrowLine.twoHeadedArrow,visGroundAxis.headAtOrigin,world.groundColor[3],world.groundColor[2],world.groundColor[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1],visGroundAxis.color[3],visGroundAxis.color[2],visGroundAxis.color[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (476): * Single equations (assignments): 472 * Array equations: 4 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001213/0.4538, allocations: 1.186 MB / 0.5365 GB, free: 16.15 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002093/0.4541, allocations: 190.2 kB / 0.5366 GB, free: 16.05 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000264/0.4543, allocations: 218 kB / 0.5368 GB, free: 15.96 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.83e-05/0.4544, allocations: 22.5 kB / 0.5369 GB, free: 15.95 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.079e-05/0.4544, allocations: 3.375 kB / 0.5369 GB, free: 15.95 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.781e-06/0.4544, allocations: 3.844 kB / 0.5369 GB, free: 15.95 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002815/0.4572, allocations: 2.068 MB / 0.5389 GB, free: 15.03 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.48e-06/0.4572, allocations: 2.625 kB / 0.5389 GB, free: 15.03 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002461/0.4575, allocations: 62.91 kB / 0.539 GB, free: 14.98 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.252e-06/0.4575, allocations: 0 / 0.539 GB, free: 14.98 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.667e-05/0.4575, allocations: 19.39 kB / 0.539 GB, free: 14.96 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.628e-06/0.4576, allocations: 0 / 0.539 GB, free: 14.96 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.946e-06/0.4576, allocations: 7.938 kB / 0.539 GB, free: 14.95 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008297/0.4584, allocations: 1.192 MB / 0.5401 GB, free: 13.77 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002673/0.4587, allocations: 255.1 kB / 0.5404 GB, free: 13.5 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001536/0.4588, allocations: 12 kB / 0.5404 GB, free: 13.49 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00047/0.4593, allocations: 15.98 kB / 0.5404 GB, free: 13.48 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.813e-05/0.4594, allocations: 35.12 kB / 0.5404 GB, free: 13.45 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.779e-05/0.4594, allocations: 19.98 kB / 0.5405 GB, free: 13.43 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.001417/0.4609, allocations: 1.494 MB / 0.5419 GB, free: 11.91 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.4609, allocations: 0 / 0.5419 GB, free: 11.91 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.002648/0.4635, allocations: 0.5324 MB / 0.5424 GB, free: 11.39 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 0 () * 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 (37): * Single equations (assignments): 33 * Array equations: 4 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001148/0.4647, allocations: 1.785 MB / 0.5442 GB, free: 9.578 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.003/0.4677, allocations: 2.452 MB / 0.5466 GB, free: 7.148 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 6.492e-06/0.4677, allocations: 0 / 0.5466 GB, free: 7.148 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003176/0.468, allocations: 377.7 kB / 0.5469 GB, free: 6.781 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00101/0.469, allocations: 165.1 kB / 0.5471 GB, free: 6.621 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0281/0.4972, allocations: 24.45 MB / 0.571 GB, free: 10.14 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002345/0.4996, allocations: 1.865 MB / 0.5728 GB, free: 8.246 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.002972/0.5025, allocations: 1.244 MB / 0.574 GB, free: 6.996 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001255/0.5038, allocations: 0.7883 MB / 0.5748 GB, free: 6.211 MB / 414.1 MB Notification: Performance of SimCode: time 2.124e-06/0.5038, allocations: 0 / 0.5748 GB, free: 6.211 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05839/0.5622, allocations: 30.71 MB / 0.6048 GB, free: 7.668 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.439/9.001, allocations: 14.89 kB / 0.6048 GB, free: 7.66 MB / 446.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.WorldGroundVisualization.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.MultiBody.WorldGroundVisualization.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.MultiBody.WorldGroundVisualization.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.WorldGroundVisualization.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.0.0_ModelicaTest.MultiBody.WorldGroundVisualization_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 ModelicaTest_4_0_0_ModelicaTest_MultiBody_WorldGroundVisualization.fmu > ModelicaTest_4.0.0_ModelicaTest.MultiBody.WorldGroundVisualization.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.MultiBody.WorldGroundVisualization_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/WorldGroundVisualization/WorldGroundVisualization.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.WorldGroundVisualization.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches