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.00174/0.00174, allocations: 108.8 kB / 17.33 MB, free: 6 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.002581/0.002581, allocations: 193.3 kB / 18.25 MB, free: 5.086 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.461/1.461, allocations: 222.9 MB / 241.9 MB, free: 15.39 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.2152/0.2152, allocations: 44.18 MB / 336.2 MB, free: 2.961 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00208/0.00208, allocations: 64.59 kB / 408 MB, free: 27.51 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1439/0.146, allocations: 60.82 MB / 468.8 MB, free: 14.66 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.WorldGroundVisualization): time 0.01011/0.1561, allocations: 8.913 MB / 477.7 MB, free: 5.695 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.005589/0.1618, allocations: 2.294 MB / 480 MB, free: 3.395 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008415/0.1627, allocations: 31.94 kB / 480 MB, free: 3.363 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001165/0.1639, allocations: 498.3 kB / 480.5 MB, free: 2.875 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001773/0.1657, allocations: 0.8566 MB / 481.4 MB, free: 2.016 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001044/0.1658, allocations: 15.98 kB / 481.4 MB, free: 2 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.003045/0.1689, allocations: 2.614 MB / 484 MB, free: 15.38 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001022/0.1699, allocations: 0.7974 MB / 484.8 MB, free: 14.57 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005608/0.1705, allocations: 0.4979 MB / 485.3 MB, free: 14.07 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008371/0.1713, allocations: 0.8214 MB / 486.1 MB, free: 13.24 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001303/0.1715, allocations: 88 kB / 486.2 MB, free: 13.16 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005295/0.172, allocations: 327.5 kB / 486.5 MB, free: 12.84 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005686/0.1726, allocations: 0.7283 MB / 487.3 MB, free: 12.11 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006685/0.1732, allocations: 0.9002 MB / 488.2 MB, free: 11.2 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002242/0.1755, allocations: 2.69 MB / 490.9 MB, free: 8.5 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.441e-06/0.1755, allocations: 0 / 490.9 MB, free: 8.5 MB / 366.1 MB Notification: Performance of FrontEnd: time 3.958e-06/0.1755, allocations: 0 / 490.9 MB, free: 8.5 MB / 366.1 MB Notification: Performance of Transformations before backend: time 2.52e-05/0.1756, allocations: 7.938 kB / 490.9 MB, free: 8.492 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.002522/0.1781, allocations: 2.066 MB / 492.9 MB, free: 6.367 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.713e-05/0.1782, allocations: 8.031 kB / 492.9 MB, free: 6.359 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003722/0.1785, allocations: 373.9 kB / 493.3 MB, free: 5.984 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004606/0.1831, allocations: 1.503 MB / 494.8 MB, free: 4.477 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001263/0.1844, allocations: 0.8565 MB / 495.7 MB, free: 3.582 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.878e-05/0.1845, allocations: 86.22 kB / 495.8 MB, free: 3.496 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002025/0.1847, allocations: 111.9 kB / 495.9 MB, free: 3.387 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00584/0.1906, allocations: 4.972 MB / 0.4891 GB, free: 13.95 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.387e-05/0.1906, allocations: 23.8 kB / 0.4891 GB, free: 13.92 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001744/0.1908, allocations: 63.91 kB / 0.4892 GB, free: 13.86 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001785/0.1926, allocations: 1.185 MB / 0.4903 GB, free: 12.67 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006694/0.1993, allocations: 4.258 MB / 0.4945 GB, free: 8.402 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2587/0.4581, allocations: 20.6 MB / 0.5146 GB, free: 32.48 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001248/0.4594, allocations: 1.17 MB / 0.5158 GB, free: 31.85 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004348/0.4598, allocations: 345.5 kB / 0.5161 GB, free: 31.75 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.38e-05/0.4598, allocations: 3.656 kB / 0.5161 GB, free: 31.75 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.323e-05/0.4599, allocations: 38.45 kB / 0.5161 GB, free: 31.7 MB / 382.1 MB Notification: Performance of pre-optimization done (n=60): time 3.366e-06/0.4599, allocations: 2.406 kB / 0.5161 GB, free: 31.7 MB / 382.1 MB Notification: Performance of matching and sorting (n=60): time 0.001511/0.4614, allocations: 1.05 MB / 0.5172 GB, free: 31.32 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.98e-05/0.4614, allocations: 110.3 kB / 0.5173 GB, free: 31.2 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00366/0.4651, allocations: 2.471 MB / 0.5197 GB, free: 30.25 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 4.144e-05/0.4652, allocations: 32.02 kB / 0.5197 GB, free: 30.21 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001501/0.4667, allocations: 1.829 MB / 0.5215 GB, free: 28.79 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000363/0.467, allocations: 275.6 kB / 0.5217 GB, free: 28.61 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001391/0.4684, allocations: 0.7923 MB / 0.5225 GB, free: 28.21 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.000163/0.4686, allocations: 353.4 kB / 0.5229 GB, free: 27.89 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001787/0.4704, allocations: 1.025 MB / 0.5239 GB, free: 27.59 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003121/0.4735, allocations: 3.73 MB / 0.5275 GB, free: 23.6 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004281/0.4778, allocations: 5.174 MB / 0.5326 GB, free: 18.74 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.589e-05/0.4779, allocations: 31.94 kB / 0.5326 GB, free: 18.74 MB / 382.1 MB Notification: Performance of matching and sorting (n=508) (initialization): time 0.005674/0.4836, allocations: 4.465 MB / 0.5369 GB, free: 17.01 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.367e-05/0.4837, allocations: 45 kB / 0.537 GB, free: 17.01 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.432e-05/0.4837, allocations: 109.2 kB / 0.5371 GB, free: 17 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.805e-05/0.4838, allocations: 123.8 kB / 0.5372 GB, free: 17 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001932/0.4858, allocations: 0.8882 MB / 0.5381 GB, free: 16.89 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.426e-05/0.4859, allocations: 191.5 kB / 0.5383 GB, free: 16.84 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002235/0.4881, allocations: 0.5541 MB / 0.5388 GB, free: 16.49 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002188/0.4884, allocations: 254.2 kB / 0.539 GB, free: 16.46 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.001139/0.4895, allocations: 1.195 MB / 0.5402 GB, free: 15.86 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001916/0.4897, allocations: 186.3 kB / 0.5404 GB, free: 15.75 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002657/0.49, allocations: 230 kB / 0.5406 GB, free: 15.64 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.584e-05/0.49, allocations: 7 kB / 0.5406 GB, free: 15.64 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.049e-05/0.49, allocations: 0.875 kB / 0.5406 GB, free: 15.64 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.941e-06/0.49, allocations: 3.984 kB / 0.5406 GB, free: 15.63 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002503/0.4925, allocations: 2.048 MB / 0.5426 GB, free: 13.87 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.368e-06/0.4925, allocations: 0 / 0.5426 GB, free: 13.87 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002501/0.4928, allocations: 67.89 kB / 0.5427 GB, free: 13.8 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.328e-06/0.4928, allocations: 0 / 0.5427 GB, free: 13.8 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.753e-05/0.4928, allocations: 8 kB / 0.5427 GB, free: 13.8 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.637e-06/0.4929, allocations: 4 kB / 0.5427 GB, free: 13.79 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.543e-06/0.4929, allocations: 0 / 0.5427 GB, free: 13.79 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007568/0.4936, allocations: 1.047 MB / 0.5437 GB, free: 12.72 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002368/0.4939, allocations: 250.5 kB / 0.544 GB, free: 12.46 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001626/0.494, allocations: 18.73 kB / 0.544 GB, free: 12.45 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004493/0.4945, allocations: 15.38 kB / 0.544 GB, free: 12.43 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.223e-05/0.4946, allocations: 23.97 kB / 0.544 GB, free: 12.41 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.153e-05/0.4946, allocations: 16 kB / 0.544 GB, free: 12.39 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.00138/0.496, allocations: 1.526 MB / 0.5455 GB, free: 10.85 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.496, allocations: 0 / 0.5455 GB, free: 10.85 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.00229/0.4983, allocations: 0.537 MB / 0.546 GB, free: 10.32 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.001041/0.4993, allocations: 1.646 MB / 0.5477 GB, free: 8.652 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.00263/0.502, allocations: 2.419 MB / 0.55 GB, free: 6.254 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.535e-06/0.502, allocations: 320 / 0.55 GB, free: 6.254 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002866/0.5023, allocations: 339.7 kB / 0.5503 GB, free: 5.922 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008973/0.5032, allocations: 178.2 kB / 0.5505 GB, free: 5.758 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03156/0.5348, allocations: 25.27 MB / 0.5752 GB, free: 8.379 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002651/0.5375, allocations: 1.868 MB / 0.577 GB, free: 6.48 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.002946/0.5404, allocations: 1.256 MB / 0.5782 GB, free: 5.219 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001122/0.5416, allocations: 0.7922 MB / 0.579 GB, free: 4.426 MB / 414.1 MB Notification: Performance of SimCode: time 1.022e-06/0.5416, allocations: 0 / 0.579 GB, free: 4.426 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05616/0.5978, allocations: 30.67 MB / 0.609 GB, free: 5.969 MB / 446.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002174/0.598, allocations: 210.8 kB / 0.6092 GB, free: 5.707 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.942/3.54, allocations: 5.969 kB / 0.6092 GB, free: 5.703 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