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.001248/0.001248, allocations: 107.1 kB / 20.44 MB, free: 1.344 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.001379/0.001379, allocations: 210.9 kB / 23.73 MB, free: 4.523 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.394/1.394, 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.231/0.231, allocations: 46.96 MB / 360.9 MB, free: 4.023 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.002001/0.002001, allocations: 71.83 kB / 0.4961 GB, free: 7.711 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3066/0.3086, allocations: 66.04 MB / 0.5606 GB, free: 4.203 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.WorldGroundVisualization): time 0.006522/0.3151, allocations: 4.845 MB / 0.5653 GB, free: 15.32 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.003545/0.3186, allocations: 1.702 MB / 0.567 GB, free: 13.62 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004527/0.3191, allocations: 23.94 kB / 0.567 GB, free: 13.59 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001307/0.3204, allocations: 0.5291 MB / 0.5675 GB, free: 13.06 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002281/0.3227, allocations: 0.9301 MB / 0.5684 GB, free: 12.13 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001171/0.3228, allocations: 8 kB / 0.5684 GB, free: 12.12 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.002006/0.3248, allocations: 1.53 MB / 0.5699 GB, free: 10.59 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009703/0.3258, allocations: 0.7437 MB / 0.5706 GB, free: 9.832 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006584/0.3264, allocations: 0.533 MB / 0.5712 GB, free: 9.297 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001999/0.3284, allocations: 1.699 MB / 0.5728 GB, free: 7.594 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002769/0.3287, allocations: 92 kB / 0.5729 GB, free: 7.504 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006269/0.3293, allocations: 231.7 kB / 0.5731 GB, free: 7.277 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007619/0.3301, allocations: 0.7125 MB / 0.5738 GB, free: 6.562 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008092/0.3309, allocations: 0.6048 MB / 0.5744 GB, free: 5.953 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003287/0.3342, allocations: 2.808 MB / 0.5772 GB, free: 3.133 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.232e-06/0.3342, allocations: 0 / 0.5772 GB, free: 3.133 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.164e-06/0.3342, allocations: 0 / 0.5772 GB, free: 3.133 MB / 414.1 MB Notification: Performance of Transformations before backend: time 5.769e-05/0.3342, allocations: 0 / 0.5772 GB, free: 3.133 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.003141/0.3374, allocations: 2.03 MB / 0.5791 GB, free: 1.059 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.102e-05/0.3374, allocations: 8.031 kB / 0.5791 GB, free: 1.051 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004493/0.3379, allocations: 377.8 kB / 0.5795 GB, free: 0.6719 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005046/0.3429, allocations: 1.512 MB / 0.581 GB, free: 15.16 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002369/0.3453, allocations: 0.8042 MB / 0.5818 GB, free: 14.33 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001077/0.3454, allocations: 98.14 kB / 0.5819 GB, free: 14.23 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002983/0.3457, allocations: 107.9 kB / 0.582 GB, free: 14.12 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007446/0.3532, allocations: 4.976 MB / 0.5868 GB, free: 8.68 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.907e-05/0.3532, allocations: 23.8 kB / 0.5868 GB, free: 8.656 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001808/0.3534, allocations: 67.89 kB / 0.5869 GB, free: 8.59 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001943/0.3553, allocations: 1.174 MB / 0.5881 GB, free: 7.41 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007009/0.3623, allocations: 4.254 MB / 0.5922 GB, free: 3.152 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02289/0.3852, allocations: 19.81 MB / 0.6116 GB, free: 14.59 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001304/0.3865, allocations: 0.7253 MB / 0.6123 GB, free: 13.83 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004669/0.387, allocations: 351.1 kB / 0.6126 GB, free: 13.47 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.101e-05/0.387, allocations: 4 kB / 0.6126 GB, free: 13.47 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.401e-05/0.3871, allocations: 38.56 kB / 0.6126 GB, free: 13.42 MB / 462.1 MB Notification: Performance of pre-optimization done (n=69): time 2.896e-06/0.3871, allocations: 0 / 0.6126 GB, free: 13.42 MB / 462.1 MB Notification: Performance of matching and sorting (n=69): time 0.001756/0.3888, allocations: 1.159 MB / 0.6138 GB, free: 12.26 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.594e-05/0.3889, allocations: 136.5 kB / 0.6139 GB, free: 12.1 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003433/0.3923, allocations: 2.587 MB / 0.6164 GB, free: 9.473 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 5.467e-05/0.3924, allocations: 38.17 kB / 0.6165 GB, free: 9.43 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001496/0.3939, allocations: 1.866 MB / 0.6183 GB, free: 7.543 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003361/0.3942, allocations: 325.8 kB / 0.6186 GB, free: 7.223 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001041/0.3953, allocations: 0.7939 MB / 0.6194 GB, free: 6.422 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0003157/0.3956, allocations: 349.9 kB / 0.6197 GB, free: 6.074 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001628/0.3972, allocations: 1.038 MB / 0.6207 GB, free: 5.035 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004083/0.4013, allocations: 3.687 MB / 0.6243 GB, free: 20 kB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006925/0.4082, allocations: 5.163 MB / 0.6294 GB, free: 9.527 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.241e-05/0.4083, allocations: 32 kB / 0.6294 GB, free: 9.496 MB / 478.1 MB Notification: Performance of matching and sorting (n=508) (initialization): time 0.008095/0.4164, allocations: 4.448 MB / 0.6337 GB, free: 5.043 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.377e-05/0.4165, allocations: 48.03 kB / 0.6338 GB, free: 4.996 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002152/0.4167, allocations: 96 kB / 0.6339 GB, free: 4.902 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001427/0.4168, allocations: 124 kB / 0.634 GB, free: 4.781 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002588/0.4194, allocations: 0.8694 MB / 0.6348 GB, free: 3.91 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001641/0.4196, allocations: 187.3 kB / 0.635 GB, free: 3.727 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002629/0.4222, allocations: 0.566 MB / 0.6356 GB, free: 3.156 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003943/0.4226, allocations: 256 kB / 0.6358 GB, free: 2.906 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.001753/0.4244, allocations: 1.188 MB / 0.637 GB, free: 1.707 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003266/0.4247, allocations: 202.6 kB / 0.6372 GB, free: 1.508 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003747/0.4251, allocations: 221.8 kB / 0.6374 GB, free: 1.293 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.142e-05/0.4251, allocations: 16 kB / 0.6374 GB, free: 1.277 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.846e-06/0.4251, allocations: 0 / 0.6374 GB, free: 1.277 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.017e-06/0.4251, allocations: 11.92 kB / 0.6374 GB, free: 1.266 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003716/0.4288, allocations: 1.954 MB / 0.6393 GB, free: 15.26 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.013e-06/0.4289, allocations: 4 kB / 0.6393 GB, free: 15.25 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002875/0.4291, allocations: 63.89 kB / 0.6394 GB, free: 15.19 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.141e-06/0.4291, allocations: 4 kB / 0.6394 GB, free: 15.19 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.15e-05/0.4292, allocations: 8 kB / 0.6394 GB, free: 15.18 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.3e-06/0.4292, allocations: 4 kB / 0.6394 GB, free: 15.18 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.688e-06/0.4292, allocations: 7.938 kB / 0.6394 GB, free: 15.17 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001468/0.4307, allocations: 1.207 MB / 0.6406 GB, free: 13.94 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004219/0.4311, allocations: 182.5 kB / 0.6408 GB, free: 13.76 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000156/0.4312, allocations: 12 kB / 0.6408 GB, free: 13.75 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004747/0.4317, allocations: 15.98 kB / 0.6408 GB, free: 13.73 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.093e-05/0.4318, allocations: 31.88 kB / 0.6408 GB, free: 13.7 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.616e-05/0.4318, allocations: 23.94 kB / 0.6408 GB, free: 13.68 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.002416/0.4342, allocations: 1.49 MB / 0.6423 GB, free: 12.17 MB / 494.1 MB Notification: Performance of sort global known variables: time 6.1e-08/0.4342, allocations: 0 / 0.6423 GB, free: 12.17 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.002781/0.437, allocations: 0.5226 MB / 0.6428 GB, free: 11.65 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.002009/0.439, allocations: 1.802 MB / 0.6446 GB, free: 9.82 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.00367/0.4427, allocations: 2.261 MB / 0.6468 GB, free: 7.574 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 3.838e-06/0.4427, allocations: 4 kB / 0.6468 GB, free: 7.57 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004211/0.4431, allocations: 335.6 kB / 0.6471 GB, free: 7.242 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001102/0.4442, allocations: 165 kB / 0.6473 GB, free: 7.078 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03265/0.4769, allocations: 23.09 MB / 0.6698 GB, free: 12.57 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001617/0.4785, allocations: 1.279 MB / 0.6711 GB, free: 11.25 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.00269/0.4812, allocations: 1.255 MB / 0.6723 GB, free: 9.988 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001115/0.4823, allocations: 0.7844 MB / 0.673 GB, free: 9.203 MB / 0.5137 GB Notification: Performance of SimCode: time 1.062e-06/0.4823, allocations: 0 / 0.673 GB, free: 9.203 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07238/0.5547, allocations: 31.28 MB / 0.7036 GB, free: 10.33 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.79/13.35, allocations: 13.86 kB / 0.7036 GB, free: 10.32 MB / 0.545 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.304878121009097]