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.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.001653/0.001653, allocations: 115.6 kB / 20.43 MB, free: 1.309 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.002009/0.002009, allocations: 211.9 kB / 23.74 MB, free: 4.535 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.496/1.496, allocations: 230.6 MB / 257.5 MB, free: 7.957 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2566/0.2566, allocations: 44.93 MB / 358.8 MB, free: 6.262 MB / 286.1 MB " [Timeout remaining time 179] 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.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_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"}) [Timeout 660] "Notification: ModelicaTest requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.003252/0.003252, allocations: 67.89 kB / 0.4931 GB, free: 10.72 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.376/0.3792, allocations: 65.47 MB / 0.557 GB, free: 7.516 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.WorldGroundVisualization): time 0.008026/0.3872, allocations: 5.448 MB / 0.5623 GB, free: 2.277 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.003866/0.3911, allocations: 1.822 MB / 0.5641 GB, free: 460 kB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005253/0.3916, allocations: 23.94 kB / 0.5641 GB, free: 436 kB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001496/0.3931, allocations: 0.5564 MB / 0.5647 GB, free: 15.87 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002058/0.3952, allocations: 0.9224 MB / 0.5656 GB, free: 14.94 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001156/0.3953, allocations: 15.98 kB / 0.5656 GB, free: 14.93 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.00192/0.3972, allocations: 1.522 MB / 0.5671 GB, free: 13.4 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009791/0.3982, allocations: 0.7438 MB / 0.5678 GB, free: 12.64 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006658/0.3989, allocations: 0.5291 MB / 0.5683 GB, free: 12.11 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002332/0.4012, allocations: 1.703 MB / 0.57 GB, free: 10.41 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002041/0.4014, allocations: 88 kB / 0.5701 GB, free: 10.32 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006578/0.4021, allocations: 331.5 kB / 0.5704 GB, free: 9.996 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006431/0.4027, allocations: 0.7164 MB / 0.5711 GB, free: 9.277 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008055/0.4035, allocations: 0.869 MB / 0.5719 GB, free: 8.402 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003133/0.4066, allocations: 2.811 MB / 0.5747 GB, free: 5.578 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.171e-06/0.4066, allocations: 0 / 0.5747 GB, free: 5.578 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.214e-06/0.4066, allocations: 4 kB / 0.5747 GB, free: 5.574 MB / 414.1 MB Notification: Performance of Transformations before backend: time 4.234e-05/0.4067, allocations: 0 / 0.5747 GB, free: 5.574 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.003324/0.41, allocations: 2.026 MB / 0.5766 GB, free: 3.504 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.021e-05/0.4101, allocations: 8.031 kB / 0.5767 GB, free: 3.496 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004175/0.4105, allocations: 377.8 kB / 0.577 GB, free: 3.117 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004794/0.4153, allocations: 1.516 MB / 0.5785 GB, free: 1.598 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002073/0.4173, allocations: 0.7926 MB / 0.5793 GB, free: 0.7812 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.027e-05/0.4174, allocations: 94.22 kB / 0.5794 GB, free: 0.6875 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000225/0.4177, allocations: 107.9 kB / 0.5795 GB, free: 0.582 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006683/0.4243, allocations: 4.98 MB / 0.5843 GB, free: 11.13 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.648e-05/0.4244, allocations: 27.75 kB / 0.5844 GB, free: 11.11 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001789/0.4246, allocations: 59.91 kB / 0.5844 GB, free: 11.05 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001847/0.4264, allocations: 1.185 MB / 0.5856 GB, free: 9.855 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007438/0.4338, allocations: 4.254 MB / 0.5897 GB, free: 5.598 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02274/0.4566, allocations: 20.47 MB / 0.6097 GB, free: 384 kB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001524/0.4581, allocations: 0.7332 MB / 0.6104 GB, free: 15.6 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005402/0.4587, allocations: 347.2 kB / 0.6108 GB, free: 15.25 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.897e-05/0.4587, allocations: 4 kB / 0.6108 GB, free: 15.24 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.39e-05/0.4587, allocations: 46.5 kB / 0.6108 GB, free: 15.19 MB / 462.1 MB Notification: Performance of pre-optimization done (n=69): time 5.67e-06/0.4587, allocations: 0 / 0.6108 GB, free: 15.19 MB / 462.1 MB Notification: Performance of matching and sorting (n=69): time 0.002323/0.4611, allocations: 1.154 MB / 0.6119 GB, free: 14.03 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001333/0.4612, allocations: 132.5 kB / 0.6121 GB, free: 13.87 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00363/0.4648, allocations: 2.433 MB / 0.6144 GB, free: 11.4 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 4.616e-05/0.4649, allocations: 29.7 kB / 0.6145 GB, free: 11.37 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00158/0.4664, allocations: 1.878 MB / 0.6163 GB, free: 9.473 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002816/0.4667, allocations: 321.7 kB / 0.6166 GB, free: 9.156 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009409/0.4677, allocations: 0.794 MB / 0.6174 GB, free: 8.355 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001727/0.4678, allocations: 345.9 kB / 0.6177 GB, free: 8.012 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001453/0.4693, allocations: 1.034 MB / 0.6187 GB, free: 6.977 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00361/0.4729, allocations: 3.687 MB / 0.6223 GB, free: 1.961 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005853/0.4788, allocations: 5.168 MB / 0.6274 GB, free: 11.46 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.122e-05/0.4788, allocations: 32 kB / 0.6274 GB, free: 11.43 MB / 478.1 MB Notification: Performance of matching and sorting (n=508) (initialization): time 0.007281/0.4861, allocations: 4.454 MB / 0.6317 GB, free: 6.973 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.412e-05/0.4862, allocations: 52.02 kB / 0.6318 GB, free: 6.922 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.806e-05/0.4863, allocations: 96 kB / 0.6319 GB, free: 6.828 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001306/0.4864, allocations: 124 kB / 0.632 GB, free: 6.707 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002324/0.4887, allocations: 0.8655 MB / 0.6329 GB, free: 5.84 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001594/0.4889, allocations: 187.2 kB / 0.633 GB, free: 5.656 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002257/0.4911, allocations: 0.5738 MB / 0.6336 GB, free: 5.078 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003092/0.4914, allocations: 248 kB / 0.6338 GB, free: 4.836 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.00155/0.493, allocations: 1.192 MB / 0.635 GB, free: 3.629 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003003/0.4933, allocations: 198.6 kB / 0.6352 GB, free: 3.434 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003377/0.4936, allocations: 217.8 kB / 0.6354 GB, free: 3.223 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.279e-05/0.4937, allocations: 19.98 kB / 0.6354 GB, free: 3.203 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.116e-06/0.4937, allocations: 7.938 kB / 0.6354 GB, free: 3.195 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.441e-06/0.4937, allocations: 0 / 0.6354 GB, free: 3.195 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003532/0.4972, allocations: 2.045 MB / 0.6374 GB, free: 1.094 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.871e-06/0.4972, allocations: 4 kB / 0.6374 GB, free: 1.09 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002823/0.4975, allocations: 59.91 kB / 0.6375 GB, free: 1.031 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.334e-06/0.4975, allocations: 8 kB / 0.6375 GB, free: 1.023 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.219e-05/0.4976, allocations: 11.98 kB / 0.6375 GB, free: 1.012 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.097e-05/0.4976, allocations: 4 kB / 0.6375 GB, free: 1.008 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.97e-06/0.4976, allocations: 3.938 kB / 0.6375 GB, free: 1.004 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001291/0.4989, allocations: 1.193 MB / 0.6387 GB, free: 15.79 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003613/0.4992, allocations: 186.5 kB / 0.6388 GB, free: 15.6 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001523/0.4994, allocations: 8 kB / 0.6388 GB, free: 15.59 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004794/0.4999, allocations: 19.89 kB / 0.6389 GB, free: 15.58 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.117e-05/0.4999, allocations: 27.89 kB / 0.6389 GB, free: 15.55 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.744e-05/0.5, allocations: 23.98 kB / 0.6389 GB, free: 15.53 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.001977/0.5019, allocations: 1.486 MB / 0.6404 GB, free: 14.02 MB / 494.1 MB Notification: Performance of sort global known variables: time 8e-08/0.5019, allocations: 0 / 0.6404 GB, free: 14.02 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.002548/0.5045, allocations: 0.5264 MB / 0.6409 GB, free: 13.5 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.001799/0.5063, allocations: 1.807 MB / 0.6426 GB, free: 11.66 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.003813/0.5101, allocations: 2.261 MB / 0.6449 GB, free: 9.418 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 3.827e-06/0.5101, allocations: 448 / 0.6449 GB, free: 9.418 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004448/0.5105, allocations: 346.5 kB / 0.6452 GB, free: 9.082 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001464/0.512, allocations: 183.2 kB / 0.6454 GB, free: 8.906 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03335/0.5454, allocations: 23.09 MB / 0.6679 GB, free: 14.4 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002342/0.5477, allocations: 1.857 MB / 0.6697 GB, free: 12.51 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.003064/0.5508, allocations: 1.251 MB / 0.6709 GB, free: 11.25 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001223/0.552, allocations: 0.7844 MB / 0.6717 GB, free: 10.46 MB / 0.5137 GB Notification: Performance of SimCode: time 2.334e-06/0.552, allocations: 0 / 0.6717 GB, free: 10.46 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07122/0.6232, allocations: 33.34 MB / 0.7043 GB, free: 9.328 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.92/16.55, allocations: 7.922 kB / 0.7043 GB, free: 9.32 MB / 0.545 GB " [Timeout remaining time 643] (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 --stepSize=0.00019992 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_MultiBody_WorldGroundVisualization.fmu > ModelicaTest_4.0.0_ModelicaTest.MultiBody.WorldGroundVisualization.pipe 2>&1) [Timeout 52.5] 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) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 19.71423289203085]