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.001425/0.001425, allocations: 123.4 kB / 17.79 MB, free: 5.266 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.001415/0.001415, allocations: 200.3 kB / 20.74 MB, free: 2.32 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.507/1.507, allocations: 230.6 MB / 254.1 MB, free: 15.05 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.2425/0.2425, allocations: 46.92 MB / 357.1 MB, free: 10.3 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.001826/0.001826, allocations: 63.91 kB / 0.4909 GB, free: 7.965 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1334/0.1352, allocations: 65.99 MB / 0.5553 GB, free: 5.848 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.WorldGroundVisualization): time 0.007071/0.1423, allocations: 5.429 MB / 0.5606 GB, free: 396 kB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.003584/0.1459, allocations: 1.815 MB / 0.5624 GB, free: 14.56 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004241/0.1463, allocations: 23.94 kB / 0.5624 GB, free: 14.54 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001271/0.1476, allocations: 0.5446 MB / 0.563 GB, free: 13.99 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001884/0.1495, allocations: 0.9184 MB / 0.5639 GB, free: 13.07 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001016/0.1496, allocations: 15.97 kB / 0.5639 GB, free: 13.05 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.001884/0.1515, allocations: 1.526 MB / 0.5654 GB, free: 11.53 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000857/0.1523, allocations: 0.676 MB / 0.566 GB, free: 10.84 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006704/0.153, allocations: 0.5291 MB / 0.5665 GB, free: 10.31 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00198/0.155, allocations: 1.703 MB / 0.5682 GB, free: 8.602 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002191/0.1552, allocations: 92 kB / 0.5683 GB, free: 8.512 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006319/0.1558, allocations: 323.5 kB / 0.5686 GB, free: 8.195 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006409/0.1565, allocations: 0.7202 MB / 0.5693 GB, free: 7.473 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008511/0.1573, allocations: 0.869 MB / 0.5702 GB, free: 6.598 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003397/0.1607, allocations: 2.804 MB / 0.5729 GB, free: 3.781 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.394e-06/0.1607, allocations: 0 / 0.5729 GB, free: 3.781 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.863e-06/0.1607, allocations: 0 / 0.5729 GB, free: 3.781 MB / 430.1 MB Notification: Performance of Transformations before backend: time 7.084e-05/0.1608, allocations: 0 / 0.5729 GB, free: 3.781 MB / 430.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.0038/0.1646, allocations: 2.114 MB / 0.575 GB, free: 1.605 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.522e-05/0.1646, allocations: 8.031 kB / 0.575 GB, free: 1.598 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005141/0.1651, allocations: 377.8 kB / 0.5753 GB, free: 1.219 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005394/0.1705, allocations: 1.516 MB / 0.5768 GB, free: 15.7 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002102/0.1726, allocations: 0.8491 MB / 0.5776 GB, free: 14.81 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.183e-05/0.1727, allocations: 86.22 kB / 0.5777 GB, free: 14.72 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002806/0.173, allocations: 107.9 kB / 0.5778 GB, free: 14.62 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008185/0.1812, allocations: 4.98 MB / 0.5827 GB, free: 9.164 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.094e-05/0.1812, allocations: 23.75 kB / 0.5827 GB, free: 9.141 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001834/0.1814, allocations: 67.89 kB / 0.5828 GB, free: 9.074 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002045/0.1835, allocations: 1.178 MB / 0.5839 GB, free: 7.891 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007616/0.1911, allocations: 4.254 MB / 0.5881 GB, free: 3.629 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2998/0.4909, allocations: 20.55 MB / 0.6081 GB, free: 17.02 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001548/0.4924, allocations: 1.176 MB / 0.6093 GB, free: 16.36 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005517/0.493, allocations: 355.3 kB / 0.6096 GB, free: 16.32 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.386e-05/0.493, allocations: 3.156 kB / 0.6096 GB, free: 16.32 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.829e-05/0.493, allocations: 44 kB / 0.6097 GB, free: 16.29 MB / 446.1 MB Notification: Performance of pre-optimization done (n=69): time 3.356e-06/0.4931, allocations: 0 / 0.6097 GB, free: 16.29 MB / 446.1 MB Notification: Performance of matching and sorting (n=69): time 0.002379/0.4954, allocations: 1.162 MB / 0.6108 GB, free: 16.01 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.5e-05/0.4955, allocations: 141 kB / 0.611 GB, free: 15.85 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004294/0.4998, allocations: 2.431 MB / 0.6133 GB, free: 14.96 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001227/0.4999, allocations: 32.27 kB / 0.6134 GB, free: 14.92 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001364/0.5013, allocations: 1.873 MB / 0.6152 GB, free: 13.64 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004415/0.5017, allocations: 314.7 kB / 0.6155 GB, free: 13.43 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00115/0.5029, allocations: 0.7918 MB / 0.6163 GB, free: 13.04 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001182/0.503, allocations: 356.1 kB / 0.6166 GB, free: 12.71 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001661/0.5046, allocations: 1.03 MB / 0.6176 GB, free: 12.41 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003319/0.508, allocations: 3.695 MB / 0.6212 GB, free: 8.43 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005119/0.5131, allocations: 5.156 MB / 0.6262 GB, free: 3.598 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001128/0.5132, allocations: 31 kB / 0.6263 GB, free: 3.598 MB / 446.1 MB Notification: Performance of matching and sorting (n=508) (initialization): time 0.008693/0.5219, allocations: 4.463 MB / 0.6306 GB, free: 1.871 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.534e-05/0.522, allocations: 47.91 kB / 0.6307 GB, free: 1.871 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001106/0.5221, allocations: 92.66 kB / 0.6308 GB, free: 1.871 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001629/0.5222, allocations: 126.8 kB / 0.6309 GB, free: 1.871 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002415/0.5247, allocations: 0.8689 MB / 0.6317 GB, free: 1.758 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001362/0.5248, allocations: 182.4 kB / 0.6319 GB, free: 1.719 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002596/0.5274, allocations: 0.5671 MB / 0.6325 GB, free: 1.352 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003571/0.5277, allocations: 259.9 kB / 0.6327 GB, free: 1.316 MB / 446.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.001562/0.5293, allocations: 1.193 MB / 0.6339 GB, free: 0.7109 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000281/0.5296, allocations: 189.8 kB / 0.6341 GB, free: 0.6016 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002962/0.5299, allocations: 219.8 kB / 0.6343 GB, free: 0.5117 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.195e-05/0.5299, allocations: 19.19 kB / 0.6343 GB, free: 0.5078 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.336e-05/0.5299, allocations: 3.375 kB / 0.6343 GB, free: 0.5078 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.939e-06/0.5299, allocations: 0 / 0.6343 GB, free: 0.5078 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00315/0.5331, allocations: 2.074 MB / 0.6363 GB, free: 15.66 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.231e-06/0.5331, allocations: 2.625 kB / 0.6363 GB, free: 15.66 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002634/0.5334, allocations: 66.61 kB / 0.6364 GB, free: 15.65 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.609e-06/0.5334, allocations: 0 / 0.6364 GB, free: 15.65 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.245e-05/0.5334, allocations: 18.83 kB / 0.6364 GB, free: 15.65 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.078e-06/0.5334, allocations: 0 / 0.6364 GB, free: 15.65 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.904e-06/0.5334, allocations: 3.812 kB / 0.6364 GB, free: 15.65 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001137/0.5345, allocations: 1.201 MB / 0.6376 GB, free: 14.96 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003686/0.5349, allocations: 259.1 kB / 0.6378 GB, free: 14.74 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001412/0.5351, allocations: 13.98 kB / 0.6378 GB, free: 14.73 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004757/0.5355, allocations: 15.5 kB / 0.6379 GB, free: 14.73 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.49e-05/0.5356, allocations: 26.38 kB / 0.6379 GB, free: 14.73 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.257e-05/0.5356, allocations: 26.91 kB / 0.6379 GB, free: 14.72 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.001686/0.5373, allocations: 1.492 MB / 0.6394 GB, free: 14.07 MB / 462.1 MB Notification: Performance of sort global known variables: time 1e-07/0.5373, allocations: 5.031 kB / 0.6394 GB, free: 14.07 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.002815/0.5401, allocations: 0.529 MB / 0.6399 GB, free: 13.93 MB / 462.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.001907/0.542, allocations: 1.793 MB / 0.6416 GB, free: 12.12 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.004083/0.5461, allocations: 2.266 MB / 0.6438 GB, free: 9.871 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 4.148e-06/0.5461, allocations: 0 / 0.6438 GB, free: 9.871 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004598/0.5466, allocations: 339.4 kB / 0.6442 GB, free: 9.543 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001259/0.5479, allocations: 167.9 kB / 0.6443 GB, free: 9.379 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0336/0.5815, allocations: 23.08 MB / 0.6669 GB, free: 14.9 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001923/0.5834, allocations: 1.869 MB / 0.6687 GB, free: 13 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.002672/0.586, allocations: 1.254 MB / 0.6699 GB, free: 11.75 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001071/0.5871, allocations: 0.7894 MB / 0.6707 GB, free: 10.96 MB / 494.1 MB Notification: Performance of SimCode: time 1.252e-06/0.5871, allocations: 0 / 0.6707 GB, free: 10.96 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06472/0.6518, allocations: 30.12 MB / 0.7001 GB, free: 13.04 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.56/13.21, allocations: 6.562 kB / 0.7001 GB, free: 13.03 MB / 0.5137 GB " [Timeout remaining time 647] (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.54741743800696]