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.001703/0.001703, allocations: 107.5 kB / 21.21 MB, free: 0.6523 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.002042/0.002042, allocations: 212.5 kB / 24.51 MB, free: 3.941 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.477/1.477, allocations: 230.6 MB / 258.3 MB, free: 7.777 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.2268/0.2268, allocations: 44.93 MB / 359.6 MB, free: 6.031 MB / 286.1 MB " [Timeout remaining time 180] 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.WorldGroundVisualization,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_MultiBody_WorldGroundVisualization",fmuType="cs",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.001968/0.001968, allocations: 63.84 kB / 0.4938 GB, free: 10.55 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3321/0.3341, allocations: 65.46 MB / 0.5577 GB, free: 7.332 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.WorldGroundVisualization): time 0.006741/0.3408, allocations: 4.833 MB / 0.5624 GB, free: 2.691 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.00353/0.3443, allocations: 1.69 MB / 0.5641 GB, free: 0.9961 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005299/0.3449, allocations: 23.94 kB / 0.5641 GB, free: 0.9727 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001325/0.3462, allocations: 0.5252 MB / 0.5646 GB, free: 456 kB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002034/0.3482, allocations: 0.9341 MB / 0.5655 GB, free: 15.51 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 9.847e-05/0.3483, allocations: 19.91 kB / 0.5655 GB, free: 15.49 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.001845/0.3502, allocations: 1.518 MB / 0.567 GB, free: 13.97 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008694/0.351, allocations: 0.7477 MB / 0.5677 GB, free: 13.21 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005951/0.3516, allocations: 0.533 MB / 0.5683 GB, free: 12.67 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00201/0.3536, allocations: 1.699 MB / 0.5699 GB, free: 10.97 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002345/0.3539, allocations: 92 kB / 0.57 GB, free: 10.88 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005155/0.3544, allocations: 231.7 kB / 0.5702 GB, free: 10.65 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000654/0.355, allocations: 0.7164 MB / 0.5709 GB, free: 9.934 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006135/0.3557, allocations: 0.6009 MB / 0.5715 GB, free: 9.328 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003168/0.3588, allocations: 2.808 MB / 0.5743 GB, free: 6.508 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.781e-06/0.3588, allocations: 0 / 0.5743 GB, free: 6.508 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.713e-06/0.3588, allocations: 4 kB / 0.5743 GB, free: 6.504 MB / 414.1 MB Notification: Performance of Transformations before backend: time 6.375e-05/0.3589, allocations: 0 / 0.5743 GB, free: 6.504 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.003515/0.3624, allocations: 2.03 MB / 0.5762 GB, free: 4.43 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.311e-05/0.3625, allocations: 8.031 kB / 0.5763 GB, free: 4.422 MB / 414.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 6.637e-05/0.3625, allocations: 46.38 kB / 0.5763 GB, free: 4.375 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00041/0.3629, allocations: 373.9 kB / 0.5767 GB, free: 4 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004942/0.3679, allocations: 1.512 MB / 0.5781 GB, free: 2.484 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00172/0.3696, allocations: 0.8081 MB / 0.5789 GB, free: 1.652 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.948e-05/0.3697, allocations: 94.03 kB / 0.579 GB, free: 1.559 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002269/0.3699, allocations: 107.9 kB / 0.5791 GB, free: 1.453 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006524/0.3764, allocations: 4.976 MB / 0.584 GB, free: 12.01 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.899e-05/0.3765, allocations: 27.8 kB / 0.584 GB, free: 11.98 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001862/0.3767, allocations: 63.91 kB / 0.5841 GB, free: 11.92 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00189/0.3786, allocations: 1.185 MB / 0.5852 GB, free: 10.73 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00673/0.3853, allocations: 4.246 MB / 0.5894 GB, free: 6.477 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02319/0.4085, allocations: 19.8 MB / 0.6087 GB, free: 1.922 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001326/0.4098, allocations: 0.7291 MB / 0.6094 GB, free: 1.156 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004697/0.4103, allocations: 343.3 kB / 0.6097 GB, free: 0.8086 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.131e-05/0.4103, allocations: 11.94 kB / 0.6098 GB, free: 0.7969 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.246e-05/0.4103, allocations: 38.56 kB / 0.6098 GB, free: 0.75 MB / 446.1 MB Notification: Performance of pre-optimization done (n=69): time 3.637e-06/0.4103, allocations: 0 / 0.6098 GB, free: 0.75 MB / 446.1 MB Notification: Performance of matching and sorting (n=69): time 0.001771/0.4121, allocations: 1.164 MB / 0.6109 GB, free: 15.58 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.507e-05/0.4122, allocations: 132.5 kB / 0.6111 GB, free: 15.42 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003262/0.4155, allocations: 2.433 MB / 0.6134 GB, free: 12.95 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 4.475e-05/0.4155, allocations: 33.7 kB / 0.6135 GB, free: 12.91 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001577/0.4171, allocations: 1.87 MB / 0.6153 GB, free: 11.02 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003487/0.4174, allocations: 317.8 kB / 0.6156 GB, free: 10.71 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009992/0.4184, allocations: 0.7901 MB / 0.6164 GB, free: 9.91 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0002086/0.4186, allocations: 358 kB / 0.6167 GB, free: 9.555 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001499/0.4201, allocations: 1.031 MB / 0.6177 GB, free: 8.523 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003917/0.424, allocations: 3.691 MB / 0.6213 GB, free: 3.504 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006004/0.4301, allocations: 5.163 MB / 0.6264 GB, free: 13.01 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.643e-05/0.4301, allocations: 28 kB / 0.6264 GB, free: 12.98 MB / 478.1 MB Notification: Performance of matching and sorting (n=508) (initialization): time 0.007002/0.4371, allocations: 4.459 MB / 0.6307 GB, free: 8.52 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.691e-05/0.4372, allocations: 48 kB / 0.6308 GB, free: 8.473 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001051/0.4373, allocations: 92 kB / 0.6309 GB, free: 8.383 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001302/0.4374, allocations: 128 kB / 0.631 GB, free: 8.258 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00228/0.4397, allocations: 0.8694 MB / 0.6318 GB, free: 7.387 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001478/0.4398, allocations: 183.3 kB / 0.632 GB, free: 7.207 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002297/0.4421, allocations: 0.5699 MB / 0.6326 GB, free: 6.633 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003154/0.4425, allocations: 252 kB / 0.6328 GB, free: 6.387 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.001547/0.444, allocations: 1.196 MB / 0.634 GB, free: 5.176 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002933/0.4443, allocations: 198.6 kB / 0.6342 GB, free: 4.98 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003155/0.4446, allocations: 213.8 kB / 0.6344 GB, free: 4.773 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.609e-05/0.4447, allocations: 27.97 kB / 0.6344 GB, free: 4.746 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.965e-06/0.4447, allocations: 0 / 0.6344 GB, free: 4.746 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.434e-06/0.4447, allocations: 4 kB / 0.6344 GB, free: 4.742 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003306/0.448, allocations: 1.954 MB / 0.6363 GB, free: 2.734 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.737e-06/0.448, allocations: 0 / 0.6363 GB, free: 2.734 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002758/0.4483, allocations: 63.91 kB / 0.6364 GB, free: 2.672 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.129e-06/0.4483, allocations: 48 / 0.6364 GB, free: 2.672 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.385e-05/0.4483, allocations: 15.97 kB / 0.6364 GB, free: 2.656 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.577e-06/0.4483, allocations: 4 kB / 0.6364 GB, free: 2.652 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.707e-06/0.4483, allocations: 3.938 kB / 0.6364 GB, free: 2.648 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001322/0.4496, allocations: 1.205 MB / 0.6376 GB, free: 1.422 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002748/0.4499, allocations: 182.5 kB / 0.6378 GB, free: 1.242 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001564/0.4501, allocations: 8 kB / 0.6378 GB, free: 1.234 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004802/0.4505, allocations: 19.97 kB / 0.6378 GB, free: 1.215 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.638e-05/0.4506, allocations: 27.98 kB / 0.6378 GB, free: 1.188 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.303e-05/0.4507, allocations: 23.94 kB / 0.6378 GB, free: 1.164 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.001967/0.4526, allocations: 1.49 MB / 0.6393 GB, free: 15.66 MB / 494.1 MB Notification: Performance of sort global known variables: time 8e-08/0.4526, allocations: 0 / 0.6393 GB, free: 15.66 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.002461/0.4551, allocations: 0.5303 MB / 0.6398 GB, free: 15.12 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.001777/0.4569, allocations: 1.809 MB / 0.6416 GB, free: 13.29 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.003553/0.4604, allocations: 2.269 MB / 0.6438 GB, free: 11.04 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.385e-06/0.4604, allocations: 0 / 0.6438 GB, free: 11.04 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004399/0.4609, allocations: 335.6 kB / 0.6441 GB, free: 10.71 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001033/0.4619, allocations: 166.3 kB / 0.6443 GB, free: 10.55 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0317/0.4936, allocations: 23.09 MB / 0.6668 GB, free: 40 kB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001756/0.4953, allocations: 1.279 MB / 0.6681 GB, free: 14.72 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.002638/0.498, allocations: 1.255 MB / 0.6693 GB, free: 13.46 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001107/0.4991, allocations: 0.7805 MB / 0.67 GB, free: 12.68 MB / 0.5137 GB Notification: Performance of SimCode: time 9.92e-07/0.4991, allocations: 0 / 0.67 GB, free: 12.68 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06222/0.5613, allocations: 31.14 MB / 0.7005 GB, free: 14 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.61/16.17, allocations: 3.938 kB / 0.7005 GB, free: 14 MB / 0.545 GB " [Timeout remaining time 644] (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.483765518991277]