Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.MultiBody.WorldGroundVisualization.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001549/0.001549, allocations: 111.1 kB / 20.44 MB, free: 1.176 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001942/0.001942, allocations: 206.9 kB / 23.73 MB, free: 4.379 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.461/1.461, allocations: 230.6 MB / 257.5 MB, free: 7.805 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.23/0.23, allocations: 46.97 MB / 360.9 MB, free: 4.012 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.WorldGroundVisualization,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_MultiBody_WorldGroundVisualization",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.WorldGroundVisualization,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_MultiBody_WorldGroundVisualization",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001918/0.001918, allocations: 67.89 kB / 0.4961 GB, free: 7.719 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3627/0.3647, allocations: 66.03 MB / 0.5606 GB, free: 4.227 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.WorldGroundVisualization): time 0.006808/0.3715, allocations: 4.853 MB / 0.5653 GB, free: 15.34 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.003732/0.3752, allocations: 1.702 MB / 0.567 GB, free: 13.63 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004022/0.3756, allocations: 23.94 kB / 0.567 GB, free: 13.61 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001159/0.3768, allocations: 0.533 MB / 0.5675 GB, free: 13.07 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002008/0.3788, allocations: 0.9301 MB / 0.5684 GB, free: 12.14 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 9.528e-05/0.3789, allocations: 11.98 kB / 0.5684 GB, free: 12.13 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.001943/0.3808, allocations: 1.518 MB / 0.5699 GB, free: 10.61 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009045/0.3817, allocations: 0.7477 MB / 0.5706 GB, free: 9.848 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006675/0.3824, allocations: 0.5252 MB / 0.5712 GB, free: 9.32 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002213/0.3846, allocations: 1.711 MB / 0.5728 GB, free: 7.605 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002445/0.3848, allocations: 88 kB / 0.5729 GB, free: 7.52 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005207/0.3854, allocations: 223.7 kB / 0.5731 GB, free: 7.301 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006697/0.386, allocations: 0.7242 MB / 0.5738 GB, free: 6.574 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000689/0.3867, allocations: 0.597 MB / 0.5744 GB, free: 5.973 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002817/0.3895, allocations: 2.815 MB / 0.5772 GB, free: 3.145 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.06e-06/0.3895, allocations: 0 / 0.5772 GB, free: 3.145 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.244e-06/0.3895, allocations: 0 / 0.5772 GB, free: 3.145 MB / 414.1 MB Notification: Performance of Transformations before backend: time 3.144e-05/0.3896, allocations: 0 / 0.5772 GB, free: 3.145 MB / 414.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.002937/0.3925, allocations: 2.026 MB / 0.5791 GB, free: 1.074 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.155e-05/0.3925, allocations: 8.031 kB / 0.5791 GB, free: 1.066 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004005/0.3929, allocations: 373.9 kB / 0.5795 GB, free: 0.6914 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004732/0.3977, allocations: 1.516 MB / 0.581 GB, free: 15.17 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001839/0.3995, allocations: 0.8042 MB / 0.5818 GB, free: 14.34 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.639e-05/0.3996, allocations: 94.2 kB / 0.5819 GB, free: 14.25 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002383/0.3998, allocations: 111.9 kB / 0.582 GB, free: 14.14 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006355/0.4062, allocations: 4.972 MB / 0.5868 GB, free: 8.699 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.376e-05/0.4062, allocations: 23.81 kB / 0.5868 GB, free: 8.676 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001794/0.4064, allocations: 63.89 kB / 0.5869 GB, free: 8.613 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001893/0.4083, allocations: 1.189 MB / 0.5881 GB, free: 7.418 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00674/0.415, allocations: 4.25 MB / 0.5922 GB, free: 3.164 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02159/0.4366, allocations: 19.79 MB / 0.6115 GB, free: 14.62 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001263/0.4379, allocations: 0.7292 MB / 0.6123 GB, free: 13.85 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004593/0.4384, allocations: 347.2 kB / 0.6126 GB, free: 13.5 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.907e-05/0.4384, allocations: 11.94 kB / 0.6126 GB, free: 13.49 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.178e-05/0.4384, allocations: 42.55 kB / 0.6126 GB, free: 13.44 MB / 462.1 MB Notification: Performance of pre-optimization done (n=69): time 3.847e-06/0.4384, allocations: 0 / 0.6126 GB, free: 13.44 MB / 462.1 MB Notification: Performance of matching and sorting (n=69): time 0.001687/0.4401, allocations: 1.156 MB / 0.6138 GB, free: 12.28 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.954e-05/0.4402, allocations: 132.5 kB / 0.6139 GB, free: 12.12 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003151/0.4433, allocations: 2.595 MB / 0.6164 GB, free: 9.488 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 4.649e-05/0.4434, allocations: 33.7 kB / 0.6165 GB, free: 9.449 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001449/0.4448, allocations: 1.87 MB / 0.6183 GB, free: 7.559 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002942/0.4451, allocations: 317.8 kB / 0.6186 GB, free: 7.246 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009604/0.4461, allocations: 0.7939 MB / 0.6194 GB, free: 6.445 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001833/0.4463, allocations: 353.9 kB / 0.6197 GB, free: 6.094 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001495/0.4478, allocations: 1.039 MB / 0.6207 GB, free: 5.055 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003748/0.4515, allocations: 3.691 MB / 0.6243 GB, free: 36 kB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006314/0.4578, allocations: 5.167 MB / 0.6294 GB, free: 9.539 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.625e-05/0.4579, allocations: 28 kB / 0.6294 GB, free: 9.512 MB / 478.1 MB Notification: Performance of matching and sorting (n=508) (initialization): time 0.007232/0.4651, allocations: 4.455 MB / 0.6337 GB, free: 5.051 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.403e-05/0.4652, allocations: 48 kB / 0.6338 GB, free: 5.004 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.705e-05/0.4653, allocations: 92 kB / 0.6339 GB, free: 4.914 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001327/0.4654, allocations: 124 kB / 0.634 GB, free: 4.793 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00234/0.4678, allocations: 0.8733 MB / 0.6349 GB, free: 3.918 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001553/0.4679, allocations: 183.3 kB / 0.635 GB, free: 3.738 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0026/0.4705, allocations: 0.5699 MB / 0.6356 GB, free: 3.164 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003214/0.4709, allocations: 256 kB / 0.6358 GB, free: 2.914 MB / 478.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.001586/0.4724, allocations: 1.184 MB / 0.637 GB, free: 1.719 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003217/0.4728, allocations: 202.6 kB / 0.6372 GB, free: 1.52 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003544/0.4731, allocations: 217.8 kB / 0.6374 GB, free: 1.309 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.006e-05/0.4732, allocations: 19.98 kB / 0.6374 GB, free: 1.289 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.181e-05/0.4732, allocations: 4 kB / 0.6374 GB, free: 1.285 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.909e-06/0.4732, allocations: 0 / 0.6374 GB, free: 1.285 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003529/0.4767, allocations: 1.958 MB / 0.6393 GB, free: 15.27 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.419e-06/0.4767, allocations: 0 / 0.6393 GB, free: 15.27 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002899/0.477, allocations: 63.91 kB / 0.6394 GB, free: 15.21 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.003e-05/0.477, allocations: 3.984 kB / 0.6394 GB, free: 15.2 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.517e-05/0.4771, allocations: 12 kB / 0.6394 GB, free: 15.19 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.948e-06/0.4771, allocations: 4 kB / 0.6394 GB, free: 15.19 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.288e-06/0.4771, allocations: 3.938 kB / 0.6394 GB, free: 15.18 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001419/0.4785, allocations: 1.204 MB / 0.6406 GB, free: 13.96 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003851/0.4789, allocations: 178.5 kB / 0.6407 GB, free: 13.79 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001613/0.479, allocations: 8 kB / 0.6408 GB, free: 13.78 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000492/0.4795, allocations: 19.97 kB / 0.6408 GB, free: 13.76 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.738e-05/0.4796, allocations: 35.89 kB / 0.6408 GB, free: 13.73 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.925e-05/0.4796, allocations: 23.94 kB / 0.6408 GB, free: 13.7 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.002204/0.4818, allocations: 1.494 MB / 0.6423 GB, free: 12.19 MB / 494.1 MB Notification: Performance of sort global known variables: time 7e-08/0.4818, allocations: 0 / 0.6423 GB, free: 12.19 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.002652/0.4845, allocations: 0.5225 MB / 0.6428 GB, free: 11.67 MB / 494.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.002272/0.4868, allocations: 1.802 MB / 0.6446 GB, free: 9.84 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.004964/0.4917, allocations: 2.261 MB / 0.6468 GB, free: 7.594 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 5.941e-06/0.4917, allocations: 0 / 0.6468 GB, free: 7.594 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005118/0.4923, allocations: 339.6 kB / 0.6471 GB, free: 7.262 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001327/0.4936, allocations: 180.8 kB / 0.6473 GB, free: 7.082 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03033/0.5239, allocations: 23.09 MB / 0.6698 GB, free: 12.58 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00179/0.5257, allocations: 1.275 MB / 0.6711 GB, free: 11.27 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.002644/0.5283, allocations: 1.263 MB / 0.6723 GB, free: 9.996 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00107/0.5294, allocations: 0.7844 MB / 0.6731 GB, free: 9.211 MB / 0.5137 GB Notification: Performance of SimCode: time 1.122e-06/0.5294, allocations: 0 / 0.6731 GB, free: 9.211 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07381/0.6032, allocations: 31.27 MB / 0.7036 GB, free: 10.34 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.97/13.57, allocations: 9.922 kB / 0.7036 GB, free: 10.34 MB / 0.545 GB " [Timeout remaining time 646] (rm -f ModelicaTest_4.1.0_ModelicaTest.MultiBody.WorldGroundVisualization.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.MultiBody.WorldGroundVisualization.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.MultiBody.WorldGroundVisualization.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.MultiBody.WorldGroundVisualization.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0_ModelicaTest.MultiBody.WorldGroundVisualization_res.mat --tempDir=temp_ModelicaTest_4_1_0_ModelicaTest_MultiBody_WorldGroundVisualization_fmu --startTime=0 --stopTime=1 --stepSize=0.00019992 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0_ModelicaTest_MultiBody_WorldGroundVisualization.fmu > ModelicaTest_4.1.0_ModelicaTest.MultiBody.WorldGroundVisualization.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.MultiBody.WorldGroundVisualization_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/MultiBody/WorldGroundVisualization/WorldGroundVisualization.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.MultiBody.WorldGroundVisualization.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 16.597056722006528]