Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.WorldGroundVisualization.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008385/0.0008385, allocations: 76.36 kB / 20.67 MB, free: 3.891 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0008959/0.0008959, allocations: 156.9 kB / 23.95 MB, free: 0.6094 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 0.9453/0.9453, allocations: 177 MB / 204.1 MB, free: 5.746 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2792/0.2792, allocations: 34.24 MB / 294.8 MB, free: 0.6914 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.WorldGroundVisualization,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_WorldGroundVisualization",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.WorldGroundVisualization,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_WorldGroundVisualization",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.723e-06/1.723e-06, allocations: 0 / 442.1 MB, free: 1.602 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.807e-05/1.98e-05, allocations: 2.281 kB / 442.1 MB, free: 1.598 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.WorldGroundVisualization): time 0.2045/0.2045, allocations: 4.864 MB / 447 MB, free: 41.77 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.001802/0.2063, allocations: 1.684 MB / 448.7 MB, free: 40.98 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002192/0.2065, allocations: 24.78 kB / 448.7 MB, free: 40.97 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0007524/0.2073, allocations: 0.5485 MB / 449.2 MB, free: 40.74 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0009539/0.2082, allocations: 0.9604 MB / 450.2 MB, free: 40.34 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 6.716e-05/0.2083, allocations: 13.83 kB / 450.2 MB, free: 40.33 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.001184/0.2095, allocations: 2.596 MB / 452.8 MB, free: 39.54 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005587/0.21, allocations: 1.043 MB / 453.9 MB, free: 39.15 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000523/0.2106, allocations: 0.8653 MB / 454.7 MB, free: 38.83 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006118/0.2112, allocations: 1.024 MB / 455.8 MB, free: 38.6 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 8.894e-05/0.2113, allocations: 90.19 kB / 455.8 MB, free: 38.6 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002841/0.2115, allocations: 260.3 kB / 456.1 MB, free: 38.56 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003376/0.2119, allocations: 0.7393 MB / 456.8 MB, free: 38.26 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002624/0.2121, allocations: 433.6 kB / 457.3 MB, free: 38.05 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001363/0.2135, allocations: 2.708 MB / 460 MB, free: 37.08 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.619e-06/0.2135, allocations: 0 / 460 MB, free: 37.08 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.204e-06/0.2135, allocations: 0 / 460 MB, free: 37.08 MB / 410.7 MB Notification: Performance of Transformations before backend: time 2.036e-05/0.2135, allocations: 0 / 460 MB, free: 37.08 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.001564/0.2151, allocations: 2.005 MB / 462 MB, free: 35.77 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.138e-05/0.2151, allocations: 9.562 kB / 462 MB, free: 35.77 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002315/0.2154, allocations: 373.6 kB / 462.3 MB, free: 35.58 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002455/0.2178, allocations: 1.526 MB / 463.9 MB, free: 35.38 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007888/0.2186, allocations: 0.8157 MB / 464.7 MB, free: 34.89 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.934e-05/0.2187, allocations: 88.06 kB / 464.8 MB, free: 34.84 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001306/0.2188, allocations: 113.3 kB / 464.9 MB, free: 34.8 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003104/0.2219, allocations: 4.978 MB / 469.9 MB, free: 32.21 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.777e-05/0.2219, allocations: 21.12 kB / 469.9 MB, free: 32.2 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001069/0.222, allocations: 57.88 kB / 469.9 MB, free: 32.17 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0009969/0.223, allocations: 1.185 MB / 471.1 MB, free: 31.96 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004408/0.2274, allocations: 4.251 MB / 475.4 MB, free: 30.63 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01251/0.2399, allocations: 19.81 MB / 495.2 MB, free: 14.77 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001281/0.2412, allocations: 0.7266 MB / 495.9 MB, free: 14.47 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004988/0.2417, allocations: 347.4 kB / 496.2 MB, free: 14.34 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.278e-05/0.2417, allocations: 9.938 kB / 496.3 MB, free: 14.34 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.203e-05/0.2418, allocations: 35.06 kB / 496.3 MB, free: 14.3 MB / 410.7 MB Notification: Performance of pre-optimization done (n=69): time 3.146e-06/0.2418, allocations: 0 / 496.3 MB, free: 14.3 MB / 410.7 MB Notification: Performance of matching and sorting (n=69): time 0.001842/0.2436, allocations: 1.161 MB / 497.5 MB, free: 13.86 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.83e-05/0.2437, allocations: 133.6 kB / 497.6 MB, free: 13.71 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002953/0.2466, allocations: 2.592 MB / 0.4885 GB, free: 12.62 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.448e-05/0.2466, allocations: 31.73 kB / 0.4885 GB, free: 12.59 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007234/0.2474, allocations: 1.846 MB / 0.4903 GB, free: 11.07 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001837/0.2475, allocations: 319.9 kB / 0.4906 GB, free: 10.85 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000717/0.2483, allocations: 0.7727 MB / 0.4913 GB, free: 10.46 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 7.006e-05/0.2483, allocations: 357.1 kB / 0.4917 GB, free: 10.13 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001251/0.2496, allocations: 1.035 MB / 0.4927 GB, free: 9.828 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002168/0.2518, allocations: 3.691 MB / 0.4963 GB, free: 5.906 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003654/0.2554, allocations: 5.159 MB / 0.5013 GB, free: 1.148 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.019e-05/0.2555, allocations: 28.58 kB / 0.5014 GB, free: 1.148 MB / 410.7 MB Notification: Performance of matching and sorting (n=508) (initialization): time 0.005276/0.2607, allocations: 4.451 MB / 0.5057 GB, free: 15.42 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.373e-05/0.2608, allocations: 51.56 kB / 0.5058 GB, free: 15.42 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000103/0.2609, allocations: 98.62 kB / 0.5059 GB, free: 15.42 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001236/0.261, allocations: 123.8 kB / 0.506 GB, free: 15.42 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001495/0.2625, allocations: 0.8752 MB / 0.5068 GB, free: 14.7 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001202/0.2626, allocations: 184.1 kB / 0.507 GB, free: 14.54 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001816/0.2644, allocations: 0.5685 MB / 0.5076 GB, free: 13.97 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002275/0.2647, allocations: 249.9 kB / 0.5078 GB, free: 13.73 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.001342/0.266, allocations: 1.189 MB / 0.509 GB, free: 12.67 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001748/0.2662, allocations: 195.4 kB / 0.5091 GB, free: 12.48 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002298/0.2664, allocations: 226.2 kB / 0.5094 GB, free: 12.29 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.689e-05/0.2664, allocations: 19.62 kB / 0.5094 GB, free: 12.27 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.145e-05/0.2665, allocations: 0.5625 kB / 0.5094 GB, free: 12.27 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.392e-06/0.2665, allocations: 2.109 kB / 0.5094 GB, free: 12.27 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002724/0.2692, allocations: 1.984 MB / 0.5113 GB, free: 10.55 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.176e-06/0.2692, allocations: 0 / 0.5113 GB, free: 10.55 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000162/0.2694, allocations: 65.78 kB / 0.5114 GB, free: 10.49 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.598e-06/0.2694, allocations: 4 kB / 0.5114 GB, free: 10.49 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.11e-05/0.2694, allocations: 9.219 kB / 0.5114 GB, free: 10.48 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.987e-06/0.2694, allocations: 0.5625 kB / 0.5114 GB, free: 10.48 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.338e-06/0.2694, allocations: 11.94 kB / 0.5114 GB, free: 10.47 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009071/0.2703, allocations: 1.204 MB / 0.5126 GB, free: 9.328 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001689/0.2705, allocations: 184.4 kB / 0.5128 GB, free: 9.152 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.492e-05/0.2705, allocations: 4.609 kB / 0.5128 GB, free: 9.148 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002725/0.2708, allocations: 25.78 kB / 0.5128 GB, free: 9.129 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.814e-05/0.2709, allocations: 27.75 kB / 0.5128 GB, free: 9.113 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.939e-05/0.2709, allocations: 28.92 kB / 0.5128 GB, free: 9.086 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.001552/0.2724, allocations: 1.487 MB / 0.5143 GB, free: 7.828 MB / 426.7 MB Notification: Performance of sort global known variables: time 9e-08/0.2724, allocations: 0 / 0.5143 GB, free: 7.828 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.001632/0.2741, allocations: 0.5234 MB / 0.5148 GB, free: 7.305 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.001167/0.2752, allocations: 1.807 MB / 0.5166 GB, free: 5.555 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.002394/0.2776, allocations: 2.255 MB / 0.5188 GB, free: 3.57 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.715e-06/0.2776, allocations: 0 / 0.5188 GB, free: 3.57 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003045/0.2779, allocations: 341.7 kB / 0.5191 GB, free: 3.266 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006867/0.2786, allocations: 171.6 kB / 0.5193 GB, free: 3.102 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0194/0.298, allocations: 22.93 MB / 0.5416 GB, free: 8.766 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001067/0.2991, allocations: 1.274 MB / 0.5429 GB, free: 7.461 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.001798/0.3009, allocations: 1.256 MB / 0.5441 GB, free: 6.199 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007351/0.3016, allocations: 0.7854 MB / 0.5449 GB, free: 5.41 MB / 458.7 MB Notification: Performance of SimCode: time 2.685e-06/0.3016, allocations: 0 / 0.5449 GB, free: 5.41 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04291/0.3445, allocations: 29.57 MB / 0.5738 GB, free: 8.23 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.13/8.475, allocations: 4.062 kB / 0.5738 GB, free: 8.227 MB / 490.7 MB " [Timeout remaining time 651] (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.WorldGroundVisualization.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.WorldGroundVisualization.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.WorldGroundVisualization.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.WorldGroundVisualization.sim & python3 -m fmpy simulate --output-file ModelicaTest_trunk_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_trunk_ModelicaTest_MultiBody_WorldGroundVisualization.fmu > ModelicaTest_trunk_ModelicaTest.MultiBody.WorldGroundVisualization.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_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_trunk_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_trunk_ModelicaTest.MultiBody.WorldGroundVisualization_res.csv. Warning: Get data of variable visGroundAxis.n[1] from file ModelicaTest_trunk_ModelicaTest.MultiBody.WorldGroundVisualization_res.csv failed! Error: Could not read variable visGroundAxis.n[2] in file ModelicaTest_trunk_ModelicaTest.MultiBody.WorldGroundVisualization_res.csv. Warning: Get data of variable visGroundAxis.n[2] from file ModelicaTest_trunk_ModelicaTest.MultiBody.WorldGroundVisualization_res.csv failed! Error: Could not read variable visGroundAxis.n[3] in file ModelicaTest_trunk_ModelicaTest.MultiBody.WorldGroundVisualization_res.csv. Warning: Get data of variable visGroundAxis.n[3] from file ModelicaTest_trunk_ModelicaTest.MultiBody.WorldGroundVisualization_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 10.731235989369452]