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.001043/0.001043, allocations: 95.91 kB / 17.35 MB, free: 6.375 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.0008942/0.0008943, allocations: 180.2 kB / 18.26 MB, free: 5.52 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.276/1.276, allocations: 223.3 MB / 242.3 MB, free: 216 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.1882/0.1882, allocations: 44.25 MB / 337.7 MB, free: 2.688 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003863/0.0003864, allocations: 10.12 kB / 410.4 MB, free: 27.24 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1114/0.1118, allocations: 61.92 MB / 472.3 MB, free: 13.29 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.WorldGroundVisualization): time 0.008798/0.1207, allocations: 8.441 MB / 480.8 MB, free: 4.797 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.004545/0.1252, allocations: 2.298 MB / 483.1 MB, free: 2.492 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000952/0.1262, allocations: 27.94 kB / 483.1 MB, free: 2.465 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000547/0.1268, allocations: 219 kB / 483.3 MB, free: 2.25 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00166/0.1285, allocations: 0.8644 MB / 484.2 MB, free: 1.383 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 8.764e-05/0.1286, allocations: 15.98 kB / 484.2 MB, free: 1.367 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.003126/0.1317, allocations: 3.242 MB / 487.5 MB, free: 14.12 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001189/0.1329, allocations: 0.9582 MB / 488.4 MB, free: 13.13 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004508/0.1334, allocations: 434 kB / 488.8 MB, free: 12.7 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007695/0.1341, allocations: 0.7627 MB / 489.6 MB, free: 11.94 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001091/0.1343, allocations: 59.94 kB / 489.7 MB, free: 11.88 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004703/0.1347, allocations: 287.5 kB / 489.9 MB, free: 11.6 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005049/0.1353, allocations: 0.6971 MB / 490.6 MB, free: 10.9 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005978/0.1359, allocations: 0.8901 MB / 491.5 MB, free: 9.996 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001961/0.1378, allocations: 2.611 MB / 494.1 MB, free: 7.375 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.398e-06/0.1378, allocations: 0 / 494.1 MB, free: 7.375 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.144e-06/0.1379, allocations: 0 / 494.1 MB, free: 7.375 MB / 366.1 MB Notification: Performance of Transformations before backend: time 2.626e-05/0.1379, allocations: 0 / 494.1 MB, free: 7.375 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.002006/0.1399, allocations: 1.695 MB / 495.8 MB, free: 5.621 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.073e-05/0.1399, allocations: 16.02 kB / 495.8 MB, free: 5.605 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003624/0.1403, allocations: 377.8 kB / 496.2 MB, free: 5.227 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00477/0.1451, allocations: 1.538 MB / 497.8 MB, free: 3.684 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001184/0.1463, allocations: 0.8604 MB / 498.6 MB, free: 2.785 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.8e-05/0.1464, allocations: 90.16 kB / 498.7 MB, free: 2.695 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002021/0.1466, allocations: 107.9 kB / 498.8 MB, free: 2.59 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005206/0.1518, allocations: 4.972 MB / 0.492 GB, free: 13.15 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.066e-05/0.1518, allocations: 27.75 kB / 0.492 GB, free: 13.12 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001581/0.152, allocations: 55.91 kB / 0.4921 GB, free: 13.07 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00171/0.1537, allocations: 1.185 MB / 0.4932 GB, free: 11.88 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005717/0.1594, allocations: 4.254 MB / 0.4974 GB, free: 7.609 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2067/0.3662, allocations: 20.6 MB / 0.5175 GB, free: 31.45 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001385/0.3676, allocations: 1.171 MB / 0.5186 GB, free: 30.81 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004961/0.3681, allocations: 346.7 kB / 0.519 GB, free: 30.79 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.14e-05/0.3681, allocations: 4.734 kB / 0.519 GB, free: 30.79 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.347e-05/0.3682, allocations: 42.53 kB / 0.519 GB, free: 30.75 MB / 382.1 MB Notification: Performance of pre-optimization done (n=60): time 3.066e-06/0.3682, allocations: 0 / 0.519 GB, free: 30.75 MB / 382.1 MB Notification: Performance of matching and sorting (n=60): time 0.001784/0.37, allocations: 1.047 MB / 0.52 GB, free: 30.41 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.385e-05/0.37, allocations: 114.5 kB / 0.5201 GB, free: 30.28 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003289/0.3733, allocations: 2.468 MB / 0.5225 GB, free: 29.33 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 3.345e-05/0.3734, allocations: 32.61 kB / 0.5226 GB, free: 29.3 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001135/0.3745, allocations: 1.823 MB / 0.5244 GB, free: 27.87 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002622/0.3748, allocations: 283.2 kB / 0.5246 GB, free: 27.69 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004997/0.3753, allocations: 335.3 kB / 0.5249 GB, free: 27.54 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001028/0.3754, allocations: 355.2 kB / 0.5253 GB, free: 27.22 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001439/0.3768, allocations: 1.025 MB / 0.5263 GB, free: 26.92 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002538/0.3794, allocations: 3.728 MB / 0.5299 GB, free: 22.9 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004343/0.3837, allocations: 5.18 MB / 0.535 GB, free: 18.03 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.769e-05/0.3839, allocations: 31.88 kB / 0.535 GB, free: 18.02 MB / 382.1 MB Notification: Performance of matching and sorting (n=508) (initialization): time 0.006657/0.3905, allocations: 4.453 MB / 0.5394 GB, free: 16.3 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.567e-05/0.3906, allocations: 47.88 kB / 0.5394 GB, free: 16.3 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.378e-05/0.3907, allocations: 95.78 kB / 0.5395 GB, free: 16.3 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.26e-05/0.3908, allocations: 125.2 kB / 0.5396 GB, free: 16.3 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001935/0.3927, allocations: 0.8891 MB / 0.5405 GB, free: 16.19 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.357e-05/0.3928, allocations: 187.7 kB / 0.5407 GB, free: 16.14 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002128/0.3949, allocations: 0.5615 MB / 0.5412 GB, free: 15.79 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002221/0.3952, allocations: 263 kB / 0.5415 GB, free: 15.75 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 442 * 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 (484): * Single equations (assignments): 481 * Array equations: 3 * 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.001181/0.3964, allocations: 1.202 MB / 0.5426 GB, free: 15.07 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001755/0.3965, allocations: 189.5 kB / 0.5428 GB, free: 14.96 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002858/0.3968, allocations: 217.1 kB / 0.543 GB, free: 14.85 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.685e-05/0.3969, allocations: 10.75 kB / 0.543 GB, free: 14.85 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.122e-05/0.3969, allocations: 0 / 0.543 GB, free: 14.85 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.43e-06/0.3969, allocations: 3.984 kB / 0.543 GB, free: 14.84 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002841/0.3997, allocations: 2.039 MB / 0.545 GB, free: 12.86 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.648e-06/0.3998, allocations: 4 kB / 0.545 GB, free: 12.85 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002473/0.4, allocations: 59.84 kB / 0.5451 GB, free: 12.79 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.985e-06/0.4, allocations: 4 kB / 0.5451 GB, free: 12.79 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.134e-05/0.4001, allocations: 16.25 kB / 0.5451 GB, free: 12.78 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.497e-06/0.4001, allocations: 0 / 0.5451 GB, free: 12.78 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.138e-06/0.4001, allocations: 4 kB / 0.5451 GB, free: 12.77 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008898/0.401, allocations: 1.054 MB / 0.5461 GB, free: 11.7 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002796/0.4013, allocations: 258.4 kB / 0.5464 GB, free: 11.43 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001423/0.4014, allocations: 4 kB / 0.5464 GB, free: 11.42 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004282/0.4019, allocations: 15.98 kB / 0.5464 GB, free: 11.41 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.199e-05/0.4019, allocations: 19.97 kB / 0.5464 GB, free: 11.39 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.395e-05/0.402, allocations: 21.33 kB / 0.5464 GB, free: 11.37 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.001547/0.4035, allocations: 1.522 MB / 0.5479 GB, free: 9.828 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.4035, allocations: 0 / 0.5479 GB, free: 9.828 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.002429/0.406, allocations: 0.5343 MB / 0.5485 GB, free: 9.301 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (36): * Single equations (assignments): 33 * Array equations: 3 * 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.001123/0.4071, allocations: 1.653 MB / 0.5501 GB, free: 7.625 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.002711/0.4098, allocations: 2.322 MB / 0.5523 GB, free: 5.32 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.725e-06/0.4098, allocations: 0 / 0.5523 GB, free: 5.32 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000293/0.4101, allocations: 336.4 kB / 0.5527 GB, free: 4.992 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001102/0.4112, allocations: 174.2 kB / 0.5528 GB, free: 4.824 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03193/0.4432, allocations: 25.29 MB / 0.5775 GB, free: 7.426 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002153/0.4454, allocations: 1.861 MB / 0.5793 GB, free: 5.531 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.002772/0.4482, allocations: 1.267 MB / 0.5806 GB, free: 4.258 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008943/0.4491, allocations: 0.7845 MB / 0.5813 GB, free: 3.473 MB / 414.1 MB Notification: Performance of SimCode: time 8.82e-07/0.4491, allocations: 3.938 kB / 0.5813 GB, free: 3.469 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04959/0.4987, allocations: 30.06 MB / 0.6107 GB, free: 5.621 MB / 446.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002336/0.499, allocations: 203.6 kB / 0.6109 GB, free: 5.359 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.684/3.183, allocations: 4 kB / 0.6109 GB, free: 5.355 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.MultiBody.WorldGroundVisualization_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_MultiBody_WorldGroundVisualization_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 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.mat","/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