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.001385/0.001385, allocations: 114.3 kB / 18.49 MB, free: 4.539 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.001483/0.001483, allocations: 219 kB / 21.46 MB, free: 1.586 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.458/1.458, allocations: 230.6 MB / 254.8 MB, free: 15.08 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.2326/0.2326, allocations: 46.93 MB / 357.8 MB, free: 10.29 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.WorldGroundVisualization,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_MultiBody_WorldGroundVisualization",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001901/0.001901, allocations: 63.91 kB / 0.4916 GB, free: 7.953 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1177/0.1196, allocations: 66 MB / 0.556 GB, free: 5.828 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.WorldGroundVisualization): time 0.006744/0.1263, allocations: 5.422 MB / 0.5613 GB, free: 384 kB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.003432/0.1297, allocations: 1.811 MB / 0.5631 GB, free: 14.55 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004761/0.1302, allocations: 23.94 kB / 0.5631 GB, free: 14.53 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001221/0.1314, allocations: 0.5485 MB / 0.5637 GB, free: 13.98 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001972/0.1334, allocations: 0.9185 MB / 0.5646 GB, free: 13.06 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001201/0.1335, allocations: 19.98 kB / 0.5646 GB, free: 13.04 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.001952/0.1355, allocations: 1.521 MB / 0.5661 GB, free: 11.52 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008768/0.1363, allocations: 0.6721 MB / 0.5667 GB, free: 10.83 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007086/0.1371, allocations: 0.5408 MB / 0.5672 GB, free: 10.29 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00205/0.1391, allocations: 1.695 MB / 0.5689 GB, free: 8.59 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002725/0.1394, allocations: 88 kB / 0.569 GB, free: 8.504 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006403/0.14, allocations: 323.5 kB / 0.5693 GB, free: 8.188 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006818/0.1407, allocations: 0.7203 MB / 0.57 GB, free: 7.465 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008186/0.1415, allocations: 0.869 MB / 0.5708 GB, free: 6.59 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003142/0.1447, allocations: 2.811 MB / 0.5736 GB, free: 3.766 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.621e-06/0.1447, allocations: 0 / 0.5736 GB, free: 3.766 MB / 430.1 MB Notification: Performance of FrontEnd: time 4.137e-06/0.1447, allocations: 3.984 kB / 0.5736 GB, free: 3.762 MB / 430.1 MB Notification: Performance of Transformations before backend: time 7.16e-05/0.1447, allocations: 0 / 0.5736 GB, free: 3.762 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.00347/0.1482, allocations: 2.105 MB / 0.5757 GB, free: 1.594 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.087e-05/0.1483, allocations: 12.03 kB / 0.5757 GB, free: 1.582 MB / 430.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 6.299e-05/0.1483, allocations: 46.31 kB / 0.5757 GB, free: 1.535 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004315/0.1488, allocations: 373.9 kB / 0.5761 GB, free: 1.16 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005028/0.1538, allocations: 1.516 MB / 0.5775 GB, free: 15.64 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001498/0.1553, allocations: 0.853 MB / 0.5784 GB, free: 14.75 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.218e-05/0.1554, allocations: 94.02 kB / 0.5785 GB, free: 14.65 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002116/0.1556, allocations: 103.9 kB / 0.5786 GB, free: 14.55 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006436/0.162, allocations: 4.972 MB / 0.5834 GB, free: 9.105 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.924e-05/0.1621, allocations: 23.75 kB / 0.5834 GB, free: 9.082 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001898/0.1622, allocations: 63.89 kB / 0.5835 GB, free: 9.02 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001957/0.1642, allocations: 1.182 MB / 0.5847 GB, free: 7.832 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007118/0.1713, allocations: 4.254 MB / 0.5888 GB, free: 3.57 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2667/0.4381, allocations: 20.54 MB / 0.6089 GB, free: 18 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001431/0.4395, allocations: 1.176 MB / 0.61 GB, free: 17.15 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005033/0.44, allocations: 352.4 kB / 0.6104 GB, free: 17.02 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.178e-05/0.44, allocations: 11.97 kB / 0.6104 GB, free: 17.02 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.541e-05/0.44, allocations: 38.39 kB / 0.6104 GB, free: 16.97 MB / 446.1 MB Notification: Performance of pre-optimization done (n=69): time 2.926e-06/0.44, allocations: 0 / 0.6104 GB, free: 16.97 MB / 446.1 MB Notification: Performance of matching and sorting (n=69): time 0.00207/0.4421, allocations: 1.163 MB / 0.6115 GB, free: 16.56 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.576e-05/0.4422, allocations: 140.7 kB / 0.6117 GB, free: 16.39 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003592/0.4458, allocations: 2.43 MB / 0.6141 GB, free: 15.51 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 4.64e-05/0.4458, allocations: 31.17 kB / 0.6141 GB, free: 15.47 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001062/0.4469, allocations: 1.877 MB / 0.6159 GB, free: 14.19 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002999/0.4472, allocations: 315.5 kB / 0.6162 GB, free: 13.98 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001048/0.4482, allocations: 0.7911 MB / 0.617 GB, free: 13.59 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001032/0.4483, allocations: 352.2 kB / 0.6173 GB, free: 13.27 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001563/0.4499, allocations: 1.038 MB / 0.6183 GB, free: 12.96 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00292/0.4528, allocations: 3.683 MB / 0.6219 GB, free: 8.98 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005374/0.4582, allocations: 5.169 MB / 0.627 GB, free: 4.141 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001144/0.4583, allocations: 27.19 kB / 0.627 GB, free: 4.141 MB / 446.1 MB Notification: Performance of matching and sorting (n=508) (initialization): time 0.008538/0.4668, allocations: 4.458 MB / 0.6314 GB, free: 2.414 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.043e-05/0.4669, allocations: 51.47 kB / 0.6314 GB, free: 2.414 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001067/0.467, allocations: 97.62 kB / 0.6315 GB, free: 2.414 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001362/0.4672, allocations: 121.8 kB / 0.6316 GB, free: 2.414 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002174/0.4693, allocations: 0.8646 MB / 0.6325 GB, free: 2.305 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001421/0.4695, allocations: 185.3 kB / 0.6326 GB, free: 2.262 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00276/0.4722, allocations: 0.5774 MB / 0.6332 GB, free: 1.887 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003547/0.4726, allocations: 253.2 kB / 0.6334 GB, free: 1.859 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.001691/0.4743, allocations: 1.18 MB / 0.6346 GB, free: 1.266 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003802/0.4747, allocations: 208 kB / 0.6348 GB, free: 1.145 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003447/0.475, allocations: 219.7 kB / 0.635 GB, free: 1.055 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.899e-05/0.4751, allocations: 19.06 kB / 0.635 GB, free: 1.055 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.804e-05/0.4751, allocations: 3.969 kB / 0.635 GB, free: 1.055 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.563e-06/0.4751, allocations: 0 / 0.635 GB, free: 1.055 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003182/0.4783, allocations: 2.067 MB / 0.637 GB, free: 192 kB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.669e-06/0.4783, allocations: 3.469 kB / 0.6371 GB, free: 192 kB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002529/0.4785, allocations: 59.75 kB / 0.6371 GB, free: 184 kB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.641e-06/0.4785, allocations: 3.156 kB / 0.6371 GB, free: 184 kB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.063e-05/0.4786, allocations: 16.39 kB / 0.6371 GB, free: 180 kB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.008e-06/0.4786, allocations: 0 / 0.6371 GB, free: 180 kB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.315e-06/0.4786, allocations: 3.125 kB / 0.6371 GB, free: 180 kB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001077/0.4796, allocations: 1.208 MB / 0.6383 GB, free: 15.48 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004137/0.4801, allocations: 255.3 kB / 0.6386 GB, free: 15.27 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001416/0.4802, allocations: 7.625 kB / 0.6386 GB, free: 15.26 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004784/0.4807, allocations: 18.88 kB / 0.6386 GB, free: 15.26 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.302e-05/0.4808, allocations: 28.91 kB / 0.6386 GB, free: 15.25 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.775e-05/0.4808, allocations: 29.39 kB / 0.6386 GB, free: 15.24 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.001855/0.4827, allocations: 1.49 MB / 0.6401 GB, free: 14.45 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.4827, allocations: 0 / 0.6401 GB, free: 14.45 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.00295/0.4856, allocations: 0.5225 MB / 0.6406 GB, free: 14.12 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.001879/0.4875, allocations: 1.805 MB / 0.6424 GB, free: 12.29 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.004065/0.4916, allocations: 2.262 MB / 0.6446 GB, free: 10.04 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 3.446e-06/0.4916, allocations: 0 / 0.6446 GB, free: 10.04 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004654/0.492, allocations: 339.6 kB / 0.6449 GB, free: 9.715 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001272/0.4933, allocations: 173.5 kB / 0.6451 GB, free: 9.547 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03484/0.5281, allocations: 23.08 MB / 0.6676 GB, free: 15.07 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002066/0.5302, allocations: 1.868 MB / 0.6694 GB, free: 13.17 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.002827/0.533, allocations: 1.253 MB / 0.6706 GB, free: 11.92 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001143/0.5342, allocations: 0.7893 MB / 0.6714 GB, free: 11.13 MB / 494.1 MB Notification: Performance of SimCode: time 1.523e-06/0.5342, allocations: 0 / 0.6714 GB, free: 11.13 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06538/0.5996, allocations: 30.17 MB / 0.7009 GB, free: 13.18 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.8/13.4, allocations: 3.984 kB / 0.7009 GB, free: 13.18 MB / 0.5137 GB " [Timeout remaining time 646] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0_ModelicaTest.MultiBody.WorldGroundVisualization_res.mat --tempDir=temp_ModelicaTest_4_1_0_ModelicaTest_MultiBody_WorldGroundVisualization_fmu --startTime=0 --stopTime=1 --stepSize=0.00019992 --timeout=50 --tolerance=1e-06 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.mat","/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] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 16.676874192955438]