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.001378/0.001378, 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.001582/0.001582, 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.413/1.413, allocations: 230.6 MB / 257.5 MB, free: 7.789 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.2314/0.2314, allocations: 46.96 MB / 360.9 MB, free: 4.047 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.002868/0.002868, allocations: 71.89 kB / 0.4961 GB, free: 7.75 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3266/0.3294, allocations: 66.04 MB / 0.5606 GB, free: 4.266 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.WorldGroundVisualization): time 0.006929/0.3364, allocations: 4.849 MB / 0.5653 GB, free: 15.38 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.00373/0.3401, allocations: 1.694 MB / 0.567 GB, free: 13.68 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005529/0.3407, allocations: 23.94 kB / 0.567 GB, free: 13.66 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001399/0.3421, allocations: 0.5331 MB / 0.5675 GB, free: 13.12 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002101/0.3442, allocations: 0.9301 MB / 0.5684 GB, free: 12.19 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001055/0.3443, allocations: 8 kB / 0.5684 GB, free: 12.18 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.001944/0.3462, allocations: 1.526 MB / 0.5699 GB, free: 10.66 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009911/0.3472, allocations: 0.7476 MB / 0.5706 GB, free: 9.895 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007255/0.3479, allocations: 0.5291 MB / 0.5712 GB, free: 9.363 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002317/0.3502, allocations: 1.683 MB / 0.5728 GB, free: 7.676 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002867/0.3505, allocations: 88 kB / 0.5729 GB, free: 7.59 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005978/0.3511, allocations: 231.7 kB / 0.5731 GB, free: 7.363 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007127/0.3518, allocations: 0.7125 MB / 0.5738 GB, free: 6.648 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006952/0.3525, allocations: 0.6009 MB / 0.5744 GB, free: 6.043 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003234/0.3558, allocations: 2.804 MB / 0.5771 GB, free: 3.227 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.911e-06/0.3558, allocations: 8 kB / 0.5771 GB, free: 3.219 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.104e-06/0.3558, allocations: 0 / 0.5771 GB, free: 3.219 MB / 414.1 MB Notification: Performance of Transformations before backend: time 5.719e-05/0.3558, allocations: 0 / 0.5771 GB, free: 3.219 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.003395/0.3592, allocations: 2.026 MB / 0.5791 GB, free: 1.148 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.915e-05/0.3593, allocations: 12.03 kB / 0.5791 GB, free: 1.137 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004444/0.3597, allocations: 377.8 kB / 0.5795 GB, free: 0.7578 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005043/0.3648, allocations: 1.516 MB / 0.581 GB, free: 15.24 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002056/0.3668, allocations: 0.8081 MB / 0.5818 GB, free: 14.41 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.314e-05/0.3669, allocations: 86.22 kB / 0.5818 GB, free: 14.32 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002582/0.3672, allocations: 107.9 kB / 0.5819 GB, free: 14.21 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007396/0.3746, allocations: 4.984 MB / 0.5868 GB, free: 8.762 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.507e-05/0.3746, allocations: 23.81 kB / 0.5868 GB, free: 8.738 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001914/0.3748, allocations: 63.89 kB / 0.5869 GB, free: 8.676 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002013/0.3768, allocations: 1.178 MB / 0.588 GB, free: 7.492 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007054/0.3839, allocations: 4.246 MB / 0.5922 GB, free: 3.242 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.023/0.4069, allocations: 19.8 MB / 0.6115 GB, free: 14.69 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001302/0.4082, allocations: 0.7292 MB / 0.6122 GB, free: 13.92 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000472/0.4086, allocations: 351.2 kB / 0.6126 GB, free: 13.57 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.46e-05/0.4087, allocations: 11.94 kB / 0.6126 GB, free: 13.55 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.04e-05/0.4087, allocations: 38.56 kB / 0.6126 GB, free: 13.51 MB / 462.1 MB Notification: Performance of pre-optimization done (n=69): time 3.156e-06/0.4087, allocations: 0 / 0.6126 GB, free: 13.51 MB / 462.1 MB Notification: Performance of matching and sorting (n=69): time 0.001876/0.4106, allocations: 1.157 MB / 0.6137 GB, free: 12.35 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001013/0.4107, allocations: 137 kB / 0.6139 GB, free: 12.18 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003659/0.4143, allocations: 2.591 MB / 0.6164 GB, free: 9.555 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 6.671e-05/0.4144, allocations: 29.7 kB / 0.6164 GB, free: 9.52 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001741/0.4161, allocations: 1.87 MB / 0.6183 GB, free: 7.629 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003677/0.4165, allocations: 325.8 kB / 0.6186 GB, free: 7.309 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001019/0.4175, allocations: 0.7939 MB / 0.6194 GB, free: 6.508 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001998/0.4177, allocations: 354 kB / 0.6197 GB, free: 6.156 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0015/0.4192, allocations: 1.038 MB / 0.6207 GB, free: 5.117 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004043/0.4233, allocations: 3.687 MB / 0.6243 GB, free: 104 kB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006409/0.4297, allocations: 5.159 MB / 0.6293 GB, free: 9.613 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.341e-05/0.4298, allocations: 28 kB / 0.6294 GB, free: 9.586 MB / 478.1 MB Notification: Performance of matching and sorting (n=508) (initialization): time 0.007643/0.4374, allocations: 4.453 MB / 0.6337 GB, free: 5.129 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.789e-05/0.4375, allocations: 45 kB / 0.6338 GB, free: 5.086 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001544/0.4376, allocations: 96 kB / 0.6339 GB, free: 4.992 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001299/0.4378, allocations: 128 kB / 0.634 GB, free: 4.867 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002337/0.4401, allocations: 0.8772 MB / 0.6348 GB, free: 3.988 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001569/0.4403, allocations: 183.3 kB / 0.635 GB, free: 3.809 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002399/0.4426, allocations: 0.566 MB / 0.6356 GB, free: 3.238 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003242/0.443, allocations: 256 kB / 0.6358 GB, free: 2.988 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.001665/0.4446, allocations: 1.184 MB / 0.637 GB, free: 1.793 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003194/0.445, allocations: 198.6 kB / 0.6371 GB, free: 1.598 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003454/0.4453, allocations: 217.8 kB / 0.6374 GB, free: 1.387 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.596e-05/0.4453, allocations: 24 kB / 0.6374 GB, free: 1.363 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.273e-06/0.4454, allocations: 0 / 0.6374 GB, free: 1.363 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.714e-06/0.4454, allocations: 3.984 kB / 0.6374 GB, free: 1.359 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003564/0.4489, allocations: 1.954 MB / 0.6393 GB, free: 15.35 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.687e-06/0.4489, allocations: 7.984 kB / 0.6393 GB, free: 15.34 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002915/0.4492, allocations: 55.91 kB / 0.6394 GB, free: 15.29 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.726e-06/0.4492, allocations: 7.938 kB / 0.6394 GB, free: 15.28 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.098e-05/0.4493, allocations: 8 kB / 0.6394 GB, free: 15.27 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.791e-06/0.4493, allocations: 4 kB / 0.6394 GB, free: 15.27 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.386e-06/0.4493, allocations: 4.031 kB / 0.6394 GB, free: 15.27 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00133/0.4506, allocations: 1.207 MB / 0.6406 GB, free: 14.04 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003603/0.451, allocations: 198.5 kB / 0.6407 GB, free: 13.84 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001539/0.4511, allocations: 8 kB / 0.6407 GB, free: 13.84 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004944/0.4516, allocations: 19.97 kB / 0.6408 GB, free: 13.82 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.36e-05/0.4517, allocations: 27.89 kB / 0.6408 GB, free: 13.79 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.538e-05/0.4517, allocations: 23.98 kB / 0.6408 GB, free: 13.77 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.002125/0.4539, allocations: 1.49 MB / 0.6423 GB, free: 12.26 MB / 494.1 MB Notification: Performance of sort global known variables: time 7e-08/0.4539, allocations: 0 / 0.6423 GB, free: 12.26 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.002651/0.4565, allocations: 0.5225 MB / 0.6428 GB, free: 11.73 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.002003/0.4585, allocations: 1.798 MB / 0.6445 GB, free: 9.91 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.003906/0.4624, allocations: 2.262 MB / 0.6467 GB, free: 7.664 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 9.979e-06/0.4624, allocations: 3.938 kB / 0.6468 GB, free: 7.66 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004928/0.4629, allocations: 347.6 kB / 0.6471 GB, free: 7.32 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001187/0.4641, allocations: 163.8 kB / 0.6472 GB, free: 7.156 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03286/0.497, allocations: 23.1 MB / 0.6698 GB, free: 12.64 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001733/0.4987, allocations: 1.275 MB / 0.671 GB, free: 11.33 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.002744/0.5014, allocations: 1.247 MB / 0.6723 GB, free: 10.07 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001193/0.5026, allocations: 0.7922 MB / 0.673 GB, free: 9.281 MB / 0.5137 GB Notification: Performance of SimCode: time 8.92e-07/0.5026, allocations: 0 / 0.673 GB, free: 9.281 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0757/0.5783, allocations: 29.5 MB / 0.7018 GB, free: 12.2 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.27/13.85, allocations: 3.859 kB / 0.7018 GB, free: 12.19 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 & python3 -m fmpy simulate --output-file ModelicaTest_4.1.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_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.csv","/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] "Error: Could not read variable visGroundAxis.n[1] in file ModelicaTest_4.1.0_ModelicaTest.MultiBody.WorldGroundVisualization_res.csv. Warning: Get data of variable visGroundAxis.n[1] from file ModelicaTest_4.1.0_ModelicaTest.MultiBody.WorldGroundVisualization_res.csv failed! Error: Could not read variable visGroundAxis.n[2] in file ModelicaTest_4.1.0_ModelicaTest.MultiBody.WorldGroundVisualization_res.csv. Warning: Get data of variable visGroundAxis.n[2] from file ModelicaTest_4.1.0_ModelicaTest.MultiBody.WorldGroundVisualization_res.csv failed! Error: Could not read variable visGroundAxis.n[3] in file ModelicaTest_4.1.0_ModelicaTest.MultiBody.WorldGroundVisualization_res.csv. Warning: Get data of variable visGroundAxis.n[3] from file ModelicaTest_4.1.0_ModelicaTest.MultiBody.WorldGroundVisualization_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 16.864958382677287]