Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.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.0007813/0.0007813, allocations: 79.7 kB / 20.67 MB, free: 3.891 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.0009404/0.0009404, allocations: 174.3 kB / 23.95 MB, free: 0.6094 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.9281/0.9281, allocations: 177.2 MB / 204.3 MB, free: 5.73 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2653/0.2653, allocations: 32.79 MB / 293.5 MB, free: 1.227 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.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_0_0_ModelicaTest_MultiBody_WorldGroundVisualization",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.WorldGroundVisualization,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_MultiBody_WorldGroundVisualization",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.543e-06/1.543e-06, allocations: 0 / 439.5 MB, free: 4.305 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.399e-05/2.554e-05, allocations: 4.391 kB / 439.5 MB, free: 4.301 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.WorldGroundVisualization): time 0.1919/0.1919, allocations: 4.861 MB / 444.4 MB, free: 43.23 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.002157/0.1941, allocations: 1.704 MB / 446.1 MB, free: 43.11 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002501/0.1943, allocations: 21.31 kB / 446.1 MB, free: 43.11 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0007454/0.1951, allocations: 0.5461 MB / 446.7 MB, free: 43.01 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0009319/0.196, allocations: 0.9516 MB / 447.6 MB, free: 42.82 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 6.471e-05/0.1961, allocations: 16.78 kB / 447.6 MB, free: 42.82 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.001165/0.1972, allocations: 2.6 MB / 450.2 MB, free: 42.18 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005329/0.1978, allocations: 1.052 MB / 451.3 MB, free: 41.8 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004733/0.1982, allocations: 0.8688 MB / 452.2 MB, free: 41.47 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00058/0.1988, allocations: 1.015 MB / 453.2 MB, free: 41.25 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 7.996e-05/0.1989, allocations: 91.12 kB / 453.3 MB, free: 41.25 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002612/0.1992, allocations: 263.4 kB / 453.5 MB, free: 41.21 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002619/0.1994, allocations: 0.7421 MB / 454.3 MB, free: 40.9 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000209/0.1996, allocations: 431 kB / 454.7 MB, free: 40.69 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001141/0.2008, allocations: 2.707 MB / 457.4 MB, free: 39.73 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.596e-06/0.2008, allocations: 0 / 457.4 MB, free: 39.73 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.352e-06/0.2008, allocations: 0 / 457.4 MB, free: 39.73 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.799e-05/0.2008, allocations: 0 / 457.4 MB, free: 39.73 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.001426/0.2022, allocations: 2.004 MB / 459.4 MB, free: 38.41 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.122e-05/0.2023, allocations: 9.281 kB / 459.4 MB, free: 38.41 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002265/0.2025, allocations: 374.8 kB / 459.8 MB, free: 38.23 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002404/0.2049, allocations: 1.531 MB / 461.3 MB, free: 38.02 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007429/0.2056, allocations: 0.8019 MB / 462.1 MB, free: 37.54 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.581e-05/0.2057, allocations: 95.95 kB / 462.2 MB, free: 37.49 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001282/0.2058, allocations: 105.2 kB / 462.3 MB, free: 37.45 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002933/0.2087, allocations: 4.979 MB / 467.3 MB, free: 34.86 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.996e-05/0.2088, allocations: 20.88 kB / 467.3 MB, free: 34.85 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001098/0.2089, allocations: 72.08 kB / 467.4 MB, free: 34.8 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000903/0.2098, allocations: 1.179 MB / 468.6 MB, free: 34.6 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003421/0.2132, allocations: 4.253 MB / 472.8 MB, free: 33.27 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009401/0.2226, allocations: 19.8 MB / 492.6 MB, free: 17.41 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009096/0.2235, allocations: 0.7305 MB / 493.3 MB, free: 17.11 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003552/0.2239, allocations: 350.9 kB / 493.7 MB, free: 16.98 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.904e-05/0.2239, allocations: 7.047 kB / 493.7 MB, free: 16.98 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.928e-05/0.2239, allocations: 42.61 kB / 493.7 MB, free: 16.93 MB / 410.7 MB Notification: Performance of pre-optimization done (n=69): time 2.555e-06/0.2239, allocations: 1.359 kB / 493.7 MB, free: 16.93 MB / 410.7 MB Notification: Performance of matching and sorting (n=69): time 0.00127/0.2252, allocations: 1.163 MB / 494.9 MB, free: 16.5 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.712e-05/0.2252, allocations: 134 kB / 495 MB, free: 16.35 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002137/0.2274, allocations: 2.587 MB / 497.6 MB, free: 15.27 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.276e-05/0.2274, allocations: 32.45 kB / 497.6 MB, free: 15.23 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006798/0.2281, allocations: 1.847 MB / 499.5 MB, free: 13.72 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001448/0.2282, allocations: 311.2 kB / 499.8 MB, free: 13.5 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005845/0.2288, allocations: 0.7846 MB / 0.4888 GB, free: 13.1 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 6.311e-05/0.2288, allocations: 353.9 kB / 0.4892 GB, free: 12.78 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001044/0.2299, allocations: 1.034 MB / 0.4902 GB, free: 12.47 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001795/0.2317, allocations: 3.688 MB / 0.4938 GB, free: 8.555 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003019/0.2347, allocations: 5.161 MB / 0.4988 GB, free: 3.797 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.935e-05/0.2347, allocations: 28.03 kB / 0.4989 GB, free: 3.797 MB / 410.7 MB Notification: Performance of matching and sorting (n=508) (initialization): time 0.004359/0.2391, allocations: 4.459 MB / 0.5032 GB, free: 2.066 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.424e-05/0.2392, allocations: 46.59 kB / 0.5033 GB, free: 2.066 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.235e-05/0.2392, allocations: 100.7 kB / 0.5034 GB, free: 2.062 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.621e-05/0.2393, allocations: 122.5 kB / 0.5035 GB, free: 2.062 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001362/0.2407, allocations: 0.869 MB / 0.5043 GB, free: 1.949 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001168/0.2408, allocations: 183.4 kB / 0.5045 GB, free: 1.91 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001462/0.2423, allocations: 0.5653 MB / 0.505 GB, free: 1.539 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000244/0.2425, allocations: 256.4 kB / 0.5053 GB, free: 1.441 MB / 410.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.001026/0.2435, allocations: 1.198 MB / 0.5065 GB, free: 380 kB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001254/0.2437, allocations: 194.6 kB / 0.5066 GB, free: 184 kB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002042/0.2439, allocations: 222.2 kB / 0.5069 GB, free: 15.99 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.368e-05/0.2439, allocations: 13.88 kB / 0.5069 GB, free: 15.98 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.1e-05/0.2439, allocations: 4 kB / 0.5069 GB, free: 15.97 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.673e-06/0.2439, allocations: 2.109 kB / 0.5069 GB, free: 15.97 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002581/0.2465, allocations: 1.984 MB / 0.5088 GB, free: 14.25 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.036e-06/0.2465, allocations: 0 / 0.5088 GB, free: 14.25 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001591/0.2467, allocations: 66.39 kB / 0.5089 GB, free: 14.2 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.468e-06/0.2467, allocations: 1.375 kB / 0.5089 GB, free: 14.2 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.307e-05/0.2467, allocations: 13.45 kB / 0.5089 GB, free: 14.19 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.815e-06/0.2467, allocations: 4 kB / 0.5089 GB, free: 14.18 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.635e-06/0.2467, allocations: 4.094 kB / 0.5089 GB, free: 14.18 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008926/0.2476, allocations: 1.197 MB / 0.5101 GB, free: 13.04 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001691/0.2477, allocations: 184.9 kB / 0.5102 GB, free: 12.87 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.862e-05/0.2478, allocations: 12.45 kB / 0.5103 GB, free: 12.86 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002752/0.2481, allocations: 17.44 kB / 0.5103 GB, free: 12.85 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.375e-05/0.2482, allocations: 32.17 kB / 0.5103 GB, free: 12.83 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.729e-05/0.2482, allocations: 16.75 kB / 0.5103 GB, free: 12.81 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.001524/0.2497, allocations: 1.498 MB / 0.5118 GB, free: 11.54 MB / 426.7 MB Notification: Performance of sort global known variables: time 2.5e-07/0.2497, allocations: 0 / 0.5118 GB, free: 11.54 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.00172/0.2514, allocations: 0.5238 MB / 0.5123 GB, free: 11.02 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.001439/0.2529, allocations: 1.805 MB / 0.5141 GB, free: 9.27 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.002695/0.2556, allocations: 2.254 MB / 0.5163 GB, free: 7.289 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 4.699e-06/0.2556, allocations: 0 / 0.5163 GB, free: 7.289 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003385/0.2559, allocations: 335.2 kB / 0.5166 GB, free: 7 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007811/0.2567, allocations: 180.5 kB / 0.5168 GB, free: 6.844 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01872/0.2754, allocations: 22.92 MB / 0.5391 GB, free: 12.78 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009988/0.2764, allocations: 1.274 MB / 0.5404 GB, free: 11.47 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.001508/0.2779, allocations: 1.259 MB / 0.5416 GB, free: 10.21 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006469/0.2786, allocations: 0.7893 MB / 0.5424 GB, free: 9.414 MB / 458.7 MB Notification: Performance of SimCode: time 8.62e-07/0.2786, allocations: 0 / 0.5424 GB, free: 9.414 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03695/0.3155, allocations: 29.56 MB / 0.5713 GB, free: 12.27 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.098/8.413, allocations: 8.672 kB / 0.5713 GB, free: 12.27 MB / 490.7 MB " [Timeout remaining time 651] (rm -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.WorldGroundVisualization.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.MultiBody.WorldGroundVisualization.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.MultiBody.WorldGroundVisualization.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.WorldGroundVisualization.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.0.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_0_0_ModelicaTest_MultiBody_WorldGroundVisualization.fmu > ModelicaTest_4.0.0_ModelicaTest.MultiBody.WorldGroundVisualization.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.MultiBody.WorldGroundVisualization_res.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/WorldGroundVisualization/WorldGroundVisualization.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.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.0.0_ModelicaTest.MultiBody.WorldGroundVisualization_res.csv. Warning: Get data of variable visGroundAxis.n[1] from file ModelicaTest_4.0.0_ModelicaTest.MultiBody.WorldGroundVisualization_res.csv failed! Error: Could not read variable visGroundAxis.n[2] in file ModelicaTest_4.0.0_ModelicaTest.MultiBody.WorldGroundVisualization_res.csv. Warning: Get data of variable visGroundAxis.n[2] from file ModelicaTest_4.0.0_ModelicaTest.MultiBody.WorldGroundVisualization_res.csv failed! Error: Could not read variable visGroundAxis.n[3] in file ModelicaTest_4.0.0_ModelicaTest.MultiBody.WorldGroundVisualization_res.csv. Warning: Get data of variable visGroundAxis.n[3] from file ModelicaTest_4.0.0_ModelicaTest.MultiBody.WorldGroundVisualization_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 10.594946943223476]