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.001103/0.001103, allocations: 108.7 kB / 17.21 MB, free: 6.27 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.001109/0.001109, allocations: 194 kB / 18.12 MB, free: 5.363 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.42/1.42, allocations: 222.9 MB / 241.8 MB, free: 15.55 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.228/0.228, allocations: 44.17 MB / 336.1 MB, free: 3.031 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001326/0.001326, allocations: 68.33 kB / 407.8 MB, free: 27.62 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1525/0.1539, allocations: 60.81 MB / 468.6 MB, free: 14.77 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.WorldGroundVisualization): time 0.01129/0.1652, allocations: 8.916 MB / 477.5 MB, free: 5.809 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.006919/0.1722, allocations: 2.325 MB / 479.9 MB, free: 3.477 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001933/0.1742, allocations: 31.94 kB / 479.9 MB, free: 3.445 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001639/0.1759, allocations: 0.4906 MB / 480.4 MB, free: 2.953 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00304/0.179, allocations: 0.8605 MB / 481.2 MB, free: 2.09 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002725/0.1793, allocations: 15.98 kB / 481.3 MB, free: 2.074 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.004914/0.1842, allocations: 3.234 MB / 484.5 MB, free: 14.84 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001695/0.186, allocations: 0.766 MB / 485.3 MB, free: 14.05 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001096/0.1871, allocations: 438 kB / 485.7 MB, free: 13.62 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001334/0.1884, allocations: 0.7862 MB / 486.5 MB, free: 12.84 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004406/0.1889, allocations: 60 kB / 486.5 MB, free: 12.78 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009963/0.1899, allocations: 299.5 kB / 486.8 MB, free: 12.48 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001148/0.1911, allocations: 0.7049 MB / 487.5 MB, free: 11.78 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001566/0.1926, allocations: 0.8728 MB / 488.4 MB, free: 10.9 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00343/0.1961, allocations: 2.655 MB / 491 MB, free: 8.234 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.663e-06/0.1961, allocations: 0 / 491 MB, free: 8.234 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.263e-06/0.1961, allocations: 0 / 491 MB, free: 8.234 MB / 366.1 MB Notification: Performance of Transformations before backend: time 3.232e-05/0.1962, allocations: 4 kB / 491.1 MB, free: 8.23 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.003313/0.1995, allocations: 2.07 MB / 493.1 MB, free: 6.102 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.1e-05/0.1995, allocations: 8.031 kB / 493.1 MB, free: 6.094 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003899/0.1999, allocations: 373.9 kB / 493.5 MB, free: 5.719 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004668/0.2046, allocations: 1.495 MB / 495 MB, free: 4.219 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001406/0.206, allocations: 0.8603 MB / 495.9 MB, free: 3.32 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.552e-05/0.2061, allocations: 90.22 kB / 495.9 MB, free: 3.23 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001993/0.2063, allocations: 107.9 kB / 496 MB, free: 3.125 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006025/0.2123, allocations: 4.976 MB / 0.4893 GB, free: 13.68 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.987e-05/0.2124, allocations: 19.81 kB / 0.4893 GB, free: 13.66 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001681/0.2126, allocations: 63.91 kB / 0.4894 GB, free: 13.6 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001817/0.2144, allocations: 1.181 MB / 0.4905 GB, free: 12.41 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006651/0.2211, allocations: 4.266 MB / 0.4947 GB, free: 8.137 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2844/0.5055, allocations: 20.6 MB / 0.5148 GB, free: 32.73 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00164/0.5072, allocations: 1.173 MB / 0.5159 GB, free: 32 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005658/0.5078, allocations: 348.9 kB / 0.5163 GB, free: 31.87 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.014e-05/0.5078, allocations: 7.25 kB / 0.5163 GB, free: 31.87 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.526e-05/0.5079, allocations: 47.91 kB / 0.5163 GB, free: 31.82 MB / 382.1 MB Notification: Performance of pre-optimization done (n=60): time 4.859e-06/0.5079, allocations: 0 / 0.5163 GB, free: 31.82 MB / 382.1 MB Notification: Performance of matching and sorting (n=60): time 0.002198/0.5101, allocations: 1.041 MB / 0.5173 GB, free: 31.45 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.14e-05/0.5102, allocations: 109.7 kB / 0.5174 GB, free: 31.32 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004632/0.5148, allocations: 2.475 MB / 0.5199 GB, free: 30.37 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 6.715e-05/0.5149, allocations: 31.27 kB / 0.5199 GB, free: 30.34 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001161/0.5161, allocations: 1.825 MB / 0.5217 GB, free: 28.91 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002725/0.5164, allocations: 277.1 kB / 0.5219 GB, free: 28.73 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001276/0.5176, allocations: 0.7932 MB / 0.5227 GB, free: 28.34 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001342/0.5178, allocations: 356.4 kB / 0.5231 GB, free: 28.02 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001813/0.5196, allocations: 1.023 MB / 0.5241 GB, free: 27.71 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002875/0.5225, allocations: 3.723 MB / 0.5277 GB, free: 23.72 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004718/0.5272, allocations: 5.18 MB / 0.5327 GB, free: 18.85 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.099e-05/0.5273, allocations: 27.03 kB / 0.5328 GB, free: 18.85 MB / 382.1 MB Notification: Performance of matching and sorting (n=508) (initialization): time 0.007541/0.5348, allocations: 4.467 MB / 0.5371 GB, free: 17.11 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.428e-05/0.5349, allocations: 50.58 kB / 0.5372 GB, free: 17.11 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.145e-05/0.535, allocations: 97.03 kB / 0.5373 GB, free: 17.11 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001022/0.5351, allocations: 127.5 kB / 0.5374 GB, free: 17.11 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002035/0.5372, allocations: 0.8846 MB / 0.5383 GB, free: 17 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001319/0.5373, allocations: 191.1 kB / 0.5384 GB, free: 16.96 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002605/0.5399, allocations: 0.5567 MB / 0.539 GB, free: 16.6 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002452/0.5402, allocations: 253.3 kB / 0.5392 GB, free: 16.57 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.001353/0.5415, allocations: 1.196 MB / 0.5404 GB, free: 15.89 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002049/0.5418, allocations: 188.1 kB / 0.5406 GB, free: 15.78 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002677/0.542, allocations: 227.9 kB / 0.5408 GB, free: 15.66 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.658e-05/0.5421, allocations: 7.562 kB / 0.5408 GB, free: 15.66 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.125e-05/0.5421, allocations: 3.75 kB / 0.5408 GB, free: 15.66 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.633e-06/0.5421, allocations: 3.984 kB / 0.5408 GB, free: 15.66 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002731/0.5448, allocations: 2.053 MB / 0.5428 GB, free: 13.63 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.531e-06/0.5448, allocations: 0 / 0.5428 GB, free: 13.63 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002408/0.5451, allocations: 63.89 kB / 0.5429 GB, free: 13.57 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.4e-06/0.5451, allocations: 0 / 0.5429 GB, free: 13.57 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.835e-05/0.5451, allocations: 8 kB / 0.5429 GB, free: 13.56 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.892e-06/0.5451, allocations: 4.875 kB / 0.5429 GB, free: 13.56 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.733e-06/0.5451, allocations: 0 / 0.5429 GB, free: 13.56 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008319/0.546, allocations: 1.051 MB / 0.5439 GB, free: 12.48 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002549/0.5462, allocations: 250.5 kB / 0.5441 GB, free: 12.22 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001517/0.5464, allocations: 8 kB / 0.5442 GB, free: 12.21 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000446/0.5469, allocations: 11.98 kB / 0.5442 GB, free: 12.2 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.539e-05/0.5469, allocations: 27.91 kB / 0.5442 GB, free: 12.17 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.551e-05/0.547, allocations: 22.89 kB / 0.5442 GB, free: 12.16 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.001545/0.5485, allocations: 1.522 MB / 0.5457 GB, free: 10.62 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.5485, allocations: 0 / 0.5457 GB, free: 10.62 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.00263/0.5512, allocations: 0.5392 MB / 0.5462 GB, free: 10.08 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.001221/0.5524, allocations: 1.646 MB / 0.5478 GB, free: 8.414 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.00261/0.555, allocations: 2.319 MB / 0.5501 GB, free: 6.113 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 4.148e-06/0.555, allocations: 4 kB / 0.5501 GB, free: 6.109 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002962/0.5553, allocations: 327.7 kB / 0.5504 GB, free: 5.789 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009081/0.5562, allocations: 176.2 kB / 0.5506 GB, free: 5.613 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03127/0.5875, allocations: 25.26 MB / 0.5753 GB, free: 8.246 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001689/0.5893, allocations: 1.856 MB / 0.5771 GB, free: 6.359 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.002869/0.5921, allocations: 1.271 MB / 0.5783 GB, free: 5.082 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009776/0.5931, allocations: 0.7805 MB / 0.5791 GB, free: 4.301 MB / 414.1 MB Notification: Performance of SimCode: time 1.733e-06/0.5931, allocations: 0 / 0.5791 GB, free: 4.301 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04999/0.6431, allocations: 30.23 MB / 0.6086 GB, free: 6.27 MB / 446.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001771/0.6434, allocations: 204.1 kB / 0.6088 GB, free: 6.008 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.148/3.791, allocations: 4.109 kB / 0.6088 GB, free: 6.004 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