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.0009063/0.0009063, allocations: 79.7 kB / 20.67 MB, free: 3.879 MB / 18.57 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.001032/0.001032, allocations: 170 kB / 23.95 MB, free: 0.6016 MB / 18.57 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 0.9565/0.9565, allocations: 177.1 MB / 204.3 MB, free: 5.734 MB / 186.7 MB " [Timeout remaining time 179] 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.2639/0.2639, allocations: 34.25 MB / 294.9 MB, free: 0.7266 MB / 266.7 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 1.713e-06/1.713e-06, allocations: 0 / 442.1 MB, free: 1.711 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.485e-05/2.656e-05, allocations: 6.844 kB / 442.1 MB, free: 1.703 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.WorldGroundVisualization): time 0.2015/0.2015, allocations: 4.86 MB / 447 MB, free: 41.89 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.001833/0.2034, allocations: 1.691 MB / 448.7 MB, free: 41.1 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002224/0.2036, allocations: 22.34 kB / 448.7 MB, free: 41.1 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0008088/0.2044, allocations: 0.5472 MB / 449.3 MB, free: 40.87 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0009829/0.2054, allocations: 0.9549 MB / 450.2 MB, free: 40.47 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 8.419e-05/0.2055, allocations: 19.02 kB / 450.2 MB, free: 40.45 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.001578/0.2071, allocations: 2.59 MB / 452.8 MB, free: 39.66 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007508/0.2078, allocations: 1.049 MB / 453.9 MB, free: 39.28 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007029/0.2085, allocations: 0.8677 MB / 454.8 MB, free: 38.95 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008556/0.2094, allocations: 1.027 MB / 455.8 MB, free: 38.72 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001216/0.2095, allocations: 86.81 kB / 455.9 MB, free: 38.72 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003538/0.2098, allocations: 259.2 kB / 456.1 MB, free: 38.68 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003159/0.2102, allocations: 0.7379 MB / 456.9 MB, free: 38.38 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002403/0.2104, allocations: 434.7 kB / 457.3 MB, free: 38.17 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001331/0.2117, allocations: 2.701 MB / 460 MB, free: 37.21 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.097e-06/0.2117, allocations: 0 / 460 MB, free: 37.21 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.432e-06/0.2117, allocations: 0 / 460 MB, free: 37.21 MB / 410.7 MB Notification: Performance of Transformations before backend: time 2.005e-05/0.2118, allocations: 3.938 kB / 460 MB, free: 37.21 MB / 410.7 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.001505/0.2133, allocations: 2.002 MB / 462 MB, free: 35.89 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.625e-05/0.2133, allocations: 13.31 kB / 462 MB, free: 35.89 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002199/0.2135, allocations: 379.5 kB / 462.4 MB, free: 35.7 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002399/0.2159, allocations: 1.526 MB / 463.9 MB, free: 35.5 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007566/0.2167, allocations: 0.8091 MB / 464.7 MB, free: 35.01 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.875e-05/0.2167, allocations: 85.38 kB / 464.8 MB, free: 34.97 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001292/0.2168, allocations: 110 kB / 464.9 MB, free: 34.93 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003239/0.2201, allocations: 4.976 MB / 469.9 MB, free: 32.34 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.724e-05/0.2201, allocations: 21.5 kB / 469.9 MB, free: 32.33 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001074/0.2202, allocations: 60.56 kB / 469.9 MB, free: 32.29 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0009323/0.2211, allocations: 1.178 MB / 471.1 MB, free: 32.09 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0041/0.2252, allocations: 4.264 MB / 475.4 MB, free: 30.75 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01169/0.2369, allocations: 19.81 MB / 495.2 MB, free: 14.88 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009159/0.2379, allocations: 0.7176 MB / 495.9 MB, free: 14.59 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003433/0.2382, allocations: 348.2 kB / 496.3 MB, free: 14.46 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.548e-05/0.2382, allocations: 4.219 kB / 496.3 MB, free: 14.46 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.118e-05/0.2382, allocations: 40.78 kB / 496.3 MB, free: 14.42 MB / 410.7 MB Notification: Performance of pre-optimization done (n=69): time 2.835e-06/0.2382, allocations: 0 / 496.3 MB, free: 14.42 MB / 410.7 MB Notification: Performance of matching and sorting (n=69): time 0.001228/0.2395, allocations: 1.166 MB / 497.5 MB, free: 13.98 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.963e-05/0.2395, allocations: 134.8 kB / 497.6 MB, free: 13.82 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002454/0.242, allocations: 2.59 MB / 0.4885 GB, free: 12.74 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.353e-05/0.242, allocations: 32.3 kB / 0.4885 GB, free: 12.7 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007329/0.2427, allocations: 1.851 MB / 0.4903 GB, free: 11.19 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000171/0.2429, allocations: 311 kB / 0.4906 GB, free: 10.97 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006896/0.2436, allocations: 0.7779 MB / 0.4914 GB, free: 10.58 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 7.604e-05/0.2436, allocations: 352.4 kB / 0.4917 GB, free: 10.25 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001152/0.2448, allocations: 1.032 MB / 0.4927 GB, free: 9.953 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002073/0.2469, allocations: 3.695 MB / 0.4963 GB, free: 6.027 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003239/0.2501, allocations: 5.158 MB / 0.5014 GB, free: 1.273 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.955e-05/0.2502, allocations: 27.28 kB / 0.5014 GB, free: 1.273 MB / 410.7 MB Notification: Performance of matching and sorting (n=508) (initialization): time 0.004759/0.2549, allocations: 4.458 MB / 0.5057 GB, free: 15.54 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.346e-05/0.255, allocations: 46.75 kB / 0.5058 GB, free: 15.54 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.088e-05/0.255, allocations: 98.81 kB / 0.5059 GB, free: 15.54 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001037/0.2551, allocations: 128.4 kB / 0.506 GB, free: 15.54 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00145/0.2566, allocations: 0.8725 MB / 0.5068 GB, free: 14.86 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001073/0.2567, allocations: 180.1 kB / 0.507 GB, free: 14.7 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001663/0.2584, allocations: 0.5723 MB / 0.5076 GB, free: 14.13 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002075/0.2586, allocations: 254.8 kB / 0.5078 GB, free: 13.89 MB / 426.7 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.001413/0.26, allocations: 1.191 MB / 0.509 GB, free: 12.83 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001698/0.2602, allocations: 199.4 kB / 0.5092 GB, free: 12.63 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002326/0.2604, allocations: 221.8 kB / 0.5094 GB, free: 12.45 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.308e-05/0.2604, allocations: 17.88 kB / 0.5094 GB, free: 12.43 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.524e-05/0.2605, allocations: 4 kB / 0.5094 GB, free: 12.43 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.957e-06/0.2605, allocations: 2.016 kB / 0.5094 GB, free: 12.43 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002807/0.2633, allocations: 1.981 MB / 0.5113 GB, free: 10.7 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.689e-06/0.2633, allocations: 3.703 kB / 0.5113 GB, free: 10.7 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000161/0.2634, allocations: 62.06 kB / 0.5114 GB, free: 10.65 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.398e-06/0.2634, allocations: 0 / 0.5114 GB, free: 10.65 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.204e-05/0.2635, allocations: 13.36 kB / 0.5114 GB, free: 10.64 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.739e-06/0.2635, allocations: 7.875 kB / 0.5114 GB, free: 10.63 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.224e-06/0.2635, allocations: 0.75 kB / 0.5114 GB, free: 10.63 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001025/0.2645, allocations: 1.207 MB / 0.5126 GB, free: 9.488 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002333/0.2647, allocations: 176.6 kB / 0.5128 GB, free: 9.32 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.867e-05/0.2648, allocations: 13.06 kB / 0.5128 GB, free: 9.309 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002874/0.2651, allocations: 17.62 kB / 0.5128 GB, free: 9.297 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.155e-05/0.2652, allocations: 35.33 kB / 0.5128 GB, free: 9.273 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.378e-05/0.2652, allocations: 21.22 kB / 0.5129 GB, free: 9.254 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.001846/0.2671, allocations: 1.495 MB / 0.5143 GB, free: 7.988 MB / 426.7 MB Notification: Performance of sort global known variables: time 7.81e-07/0.2671, allocations: 0 / 0.5143 GB, free: 7.988 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.001897/0.269, allocations: 0.527 MB / 0.5148 GB, free: 7.461 MB / 426.7 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.001281/0.2702, allocations: 1.795 MB / 0.5166 GB, free: 5.723 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.002394/0.2726, allocations: 2.257 MB / 0.5188 GB, free: 3.738 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/0.2726, allocations: 0 / 0.5188 GB, free: 3.738 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002875/0.2729, allocations: 350.2 kB / 0.5191 GB, free: 3.406 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006785/0.2736, allocations: 164.7 kB / 0.5193 GB, free: 3.25 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01888/0.2925, allocations: 22.93 MB / 0.5417 GB, free: 8.918 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001028/0.2935, allocations: 1.278 MB / 0.5429 GB, free: 7.609 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.001558/0.2951, allocations: 1.255 MB / 0.5441 GB, free: 6.348 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006955/0.2958, allocations: 0.7893 MB / 0.5449 GB, free: 5.555 MB / 458.7 MB Notification: Performance of SimCode: time 1.763e-06/0.2958, allocations: 0 / 0.5449 GB, free: 5.555 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04091/0.3367, allocations: 29.56 MB / 0.5738 GB, free: 8.41 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.161/8.498, allocations: 4.062 kB / 0.5738 GB, free: 8.406 MB / 490.7 MB " [Timeout remaining time 651] (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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/MultiBody/WorldGroundVisualization/WorldGroundVisualization.csv","/var/lib/jenkins/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: 10.728059530258179]