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.001369/0.001369, allocations: 111.1 kB / 20.44 MB, free: 1.184 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.001757/0.001757, allocations: 212.4 kB / 23.73 MB, free: 4.387 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.785 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.2377/0.2377, allocations: 44.94 MB / 358.8 MB, free: 6.059 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.003428/0.003428, allocations: 63.91 kB / 0.493 GB, free: 10.57 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3895/0.3929, allocations: 65.48 MB / 0.5569 GB, free: 7.348 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.WorldGroundVisualization): time 0.008521/0.4014, allocations: 4.851 MB / 0.5617 GB, free: 2.672 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.004467/0.4059, allocations: 1.694 MB / 0.5633 GB, free: 0.9727 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008547/0.4068, allocations: 27.94 kB / 0.5634 GB, free: 0.9453 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00177/0.4085, allocations: 0.5329 MB / 0.5639 GB, free: 420 kB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002499/0.411, allocations: 0.9263 MB / 0.5648 GB, free: 15.48 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001107/0.4112, allocations: 11.98 kB / 0.5648 GB, free: 15.47 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.002561/0.4137, allocations: 1.526 MB / 0.5663 GB, free: 13.94 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001141/0.4149, allocations: 0.7361 MB / 0.567 GB, free: 13.19 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007925/0.4156, allocations: 0.533 MB / 0.5675 GB, free: 12.66 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002227/0.4179, allocations: 1.676 MB / 0.5692 GB, free: 10.98 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002805/0.4182, allocations: 88 kB / 0.5693 GB, free: 10.89 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006301/0.4188, allocations: 235.6 kB / 0.5695 GB, free: 10.66 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007072/0.4195, allocations: 0.7242 MB / 0.5702 GB, free: 9.934 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007221/0.4202, allocations: 0.597 MB / 0.5708 GB, free: 9.332 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003333/0.4235, allocations: 2.808 MB / 0.5735 GB, free: 6.512 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.923e-06/0.4236, allocations: 4 kB / 0.5735 GB, free: 6.508 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.874e-06/0.4236, allocations: 0 / 0.5735 GB, free: 6.508 MB / 414.1 MB Notification: Performance of Transformations before backend: time 4.216e-05/0.4236, allocations: 0 / 0.5735 GB, free: 6.508 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.003112/0.4267, allocations: 2.022 MB / 0.5755 GB, free: 4.441 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.744e-05/0.4268, allocations: 12.03 kB / 0.5755 GB, free: 4.43 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004259/0.4272, allocations: 373.9 kB / 0.5759 GB, free: 4.055 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005037/0.4322, allocations: 1.52 MB / 0.5773 GB, free: 2.531 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002439/0.4347, allocations: 0.8004 MB / 0.5781 GB, free: 1.707 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001123/0.4348, allocations: 98.14 kB / 0.5782 GB, free: 1.609 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002495/0.435, allocations: 107.9 kB / 0.5783 GB, free: 1.504 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006972/0.442, allocations: 4.976 MB / 0.5832 GB, free: 12.06 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.916e-05/0.442, allocations: 23.75 kB / 0.5832 GB, free: 12.04 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001728/0.4422, allocations: 63.89 kB / 0.5833 GB, free: 11.97 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001939/0.4442, allocations: 1.181 MB / 0.5844 GB, free: 10.79 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007269/0.4514, allocations: 4.25 MB / 0.5886 GB, free: 6.531 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02591/0.4773, allocations: 19.8 MB / 0.6079 GB, free: 1.977 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001465/0.4788, allocations: 0.732 MB / 0.6086 GB, free: 1.211 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005051/0.4793, allocations: 347.2 kB / 0.6089 GB, free: 0.8594 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.578e-05/0.4793, allocations: 4 kB / 0.609 GB, free: 0.8555 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.675e-05/0.4794, allocations: 42.5 kB / 0.609 GB, free: 0.8047 MB / 446.1 MB Notification: Performance of pre-optimization done (n=69): time 5.53e-06/0.4794, allocations: 3.984 kB / 0.609 GB, free: 0.8008 MB / 446.1 MB Notification: Performance of matching and sorting (n=69): time 0.001997/0.4814, allocations: 1.155 MB / 0.6101 GB, free: 15.64 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001074/0.4815, allocations: 136.5 kB / 0.6103 GB, free: 15.48 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003957/0.4854, allocations: 2.595 MB / 0.6128 GB, free: 12.84 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 6.96e-05/0.4855, allocations: 29.7 kB / 0.6128 GB, free: 12.81 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001789/0.4873, allocations: 1.87 MB / 0.6146 GB, free: 10.92 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004417/0.4877, allocations: 321.8 kB / 0.6149 GB, free: 10.6 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001189/0.4889, allocations: 0.7978 MB / 0.6157 GB, free: 9.797 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.00023/0.4892, allocations: 353.9 kB / 0.6161 GB, free: 9.445 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001849/0.491, allocations: 1.034 MB / 0.6171 GB, free: 8.41 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004204/0.4952, allocations: 3.687 MB / 0.6207 GB, free: 3.395 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007235/0.5024, allocations: 5.165 MB / 0.6257 GB, free: 12.9 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001252/0.5026, allocations: 28 kB / 0.6257 GB, free: 12.87 MB / 478.1 MB Notification: Performance of matching and sorting (n=508) (initialization): time 0.009031/0.5116, allocations: 4.452 MB / 0.6301 GB, free: 8.414 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.000109/0.5117, allocations: 46.34 kB / 0.6301 GB, free: 8.371 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002071/0.5119, allocations: 99.94 kB / 0.6302 GB, free: 8.273 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001656/0.5121, allocations: 124 kB / 0.6304 GB, free: 8.152 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002616/0.5147, allocations: 0.8694 MB / 0.6312 GB, free: 7.281 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000195/0.5149, allocations: 183.3 kB / 0.6314 GB, free: 7.102 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002938/0.5178, allocations: 0.5699 MB / 0.6319 GB, free: 6.527 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004879/0.5183, allocations: 256 kB / 0.6322 GB, free: 6.277 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.002022/0.5203, allocations: 1.184 MB / 0.6333 GB, free: 5.078 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004181/0.5208, allocations: 198.6 kB / 0.6335 GB, free: 4.883 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004176/0.5212, allocations: 217.8 kB / 0.6337 GB, free: 4.672 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.289e-05/0.5212, allocations: 23.98 kB / 0.6338 GB, free: 4.648 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.618e-06/0.5212, allocations: 0 / 0.6338 GB, free: 4.648 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.382e-06/0.5213, allocations: 0 / 0.6338 GB, free: 4.648 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004445/0.5257, allocations: 1.965 MB / 0.6357 GB, free: 2.629 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.809e-06/0.5257, allocations: 4 kB / 0.6357 GB, free: 2.625 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002988/0.526, allocations: 55.91 kB / 0.6357 GB, free: 2.57 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.013e-05/0.526, allocations: 4 kB / 0.6357 GB, free: 2.566 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.57e-05/0.526, allocations: 11.98 kB / 0.6357 GB, free: 2.555 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.161e-06/0.5261, allocations: 8 kB / 0.6358 GB, free: 2.547 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.647e-06/0.5261, allocations: 3.938 kB / 0.6358 GB, free: 2.543 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001526/0.5276, allocations: 1.201 MB / 0.6369 GB, free: 1.32 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005743/0.5282, allocations: 182.5 kB / 0.6371 GB, free: 1.141 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003236/0.5285, allocations: 8 kB / 0.6371 GB, free: 1.133 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006468/0.5291, allocations: 23.95 kB / 0.6371 GB, free: 1.109 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.549e-05/0.5292, allocations: 31.92 kB / 0.6372 GB, free: 1.078 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.953e-05/0.5293, allocations: 20 kB / 0.6372 GB, free: 1.059 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.0026/0.5319, allocations: 1.49 MB / 0.6386 GB, free: 15.55 MB / 494.1 MB Notification: Performance of sort global known variables: time 9e-08/0.5319, allocations: 0 / 0.6386 GB, free: 15.55 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.003171/0.535, allocations: 0.5225 MB / 0.6391 GB, free: 15.03 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.002302/0.5373, allocations: 1.807 MB / 0.6409 GB, free: 13.2 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.003967/0.5413, allocations: 2.256 MB / 0.6431 GB, free: 10.95 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 4.599e-06/0.5413, allocations: 0 / 0.6431 GB, free: 10.95 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004544/0.5418, allocations: 347.6 kB / 0.6434 GB, free: 10.61 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001245/0.543, allocations: 164.6 kB / 0.6436 GB, free: 10.45 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03682/0.5798, allocations: 23.09 MB / 0.6662 GB, free: 15.95 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002247/0.5821, allocations: 1.275 MB / 0.6674 GB, free: 14.64 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.00288/0.585, allocations: 1.259 MB / 0.6686 GB, free: 13.37 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001186/0.5861, allocations: 0.7844 MB / 0.6694 GB, free: 12.59 MB / 0.5137 GB Notification: Performance of SimCode: time 1.132e-06/0.5861, allocations: 0 / 0.6694 GB, free: 12.59 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0765/0.6626, allocations: 29.51 MB / 0.6982 GB, free: 15.48 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.19/13.85, allocations: 13.02 kB / 0.6982 GB, free: 15.47 MB / 0.545 GB " [Timeout remaining time 646] (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 & python3 -m fmpy simulate --output-file ModelicaTest_4.0.0_ModelicaTest.MultiBody.WorldGroundVisualization_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.00019992 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.csv","/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] "Error: Could not read variable visGroundAxis.n[1] in file ModelicaTest_4.0.0_ModelicaTest.MultiBody.WorldGroundVisualization_res.csv. Warning: Get data of variable visGroundAxis.n[1] from file ModelicaTest_4.0.0_ModelicaTest.MultiBody.WorldGroundVisualization_res.csv failed! Error: Could not read variable visGroundAxis.n[2] in file ModelicaTest_4.0.0_ModelicaTest.MultiBody.WorldGroundVisualization_res.csv. Warning: Get data of variable visGroundAxis.n[2] from file ModelicaTest_4.0.0_ModelicaTest.MultiBody.WorldGroundVisualization_res.csv failed! Error: Could not read variable visGroundAxis.n[3] in file ModelicaTest_4.0.0_ModelicaTest.MultiBody.WorldGroundVisualization_res.csv. Warning: Get data of variable visGroundAxis.n[3] from file ModelicaTest_4.0.0_ModelicaTest.MultiBody.WorldGroundVisualization_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 17.006971194874495]