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.0009364/0.0009364, allocations: 80.34 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.0008424/0.0008424, allocations: 156.9 kB / 23.95 MB, free: 0.6133 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.8973/0.8973, allocations: 177 MB / 204.1 MB, free: 5.75 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.2414/0.2414, allocations: 34.23 MB / 294.8 MB, free: 0.6797 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.603e-06/1.603e-06, allocations: 0 / 442.1 MB, free: 1.598 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.207e-05/2.368e-05, allocations: 2.281 kB / 442.1 MB, free: 1.594 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.WorldGroundVisualization): time 0.1986/0.1986, allocations: 4.865 MB / 447 MB, free: 41.3 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.001966/0.2006, allocations: 1.696 MB / 448.7 MB, free: 40.62 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002168/0.2008, allocations: 24.12 kB / 448.7 MB, free: 40.62 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0007617/0.2016, allocations: 0.5399 MB / 449.2 MB, free: 40.47 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001048/0.2026, allocations: 0.9592 MB / 450.2 MB, free: 40.19 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 8.486e-05/0.2027, allocations: 19.94 kB / 450.2 MB, free: 40.18 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.00134/0.204, allocations: 2.593 MB / 452.8 MB, free: 39.38 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006125/0.2046, allocations: 1.046 MB / 453.9 MB, free: 39 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005839/0.2052, allocations: 0.8728 MB / 454.7 MB, free: 38.66 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006519/0.2059, allocations: 1.017 MB / 455.8 MB, free: 38.45 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 8.649e-05/0.206, allocations: 90.91 kB / 455.8 MB, free: 38.45 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000342/0.2063, allocations: 258.2 kB / 456.1 MB, free: 38.41 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000309/0.2066, allocations: 0.7424 MB / 456.8 MB, free: 38.1 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002302/0.2069, allocations: 427.2 kB / 457.3 MB, free: 37.89 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001396/0.2082, allocations: 2.716 MB / 460 MB, free: 36.93 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.272e-06/0.2083, allocations: 3.938 kB / 460 MB, free: 36.92 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.754e-06/0.2083, allocations: 0 / 460 MB, free: 36.92 MB / 410.7 MB Notification: Performance of Transformations before backend: time 2.512e-05/0.2083, allocations: 0 / 460 MB, free: 36.92 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.001773/0.2101, allocations: 2.002 MB / 462 MB, free: 35.61 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.497e-05/0.2101, allocations: 13.53 kB / 462 MB, free: 35.6 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002249/0.2103, allocations: 369.2 kB / 462.3 MB, free: 35.42 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00247/0.2128, allocations: 1.528 MB / 463.9 MB, free: 35.22 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009134/0.2137, allocations: 0.8128 MB / 464.7 MB, free: 34.73 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.723e-05/0.2137, allocations: 81.66 kB / 464.8 MB, free: 34.69 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001214/0.2139, allocations: 109.6 kB / 464.9 MB, free: 34.65 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003366/0.2172, allocations: 4.978 MB / 469.9 MB, free: 32.06 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.074e-05/0.2173, allocations: 21.56 kB / 469.9 MB, free: 32.05 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001053/0.2174, allocations: 58.06 kB / 469.9 MB, free: 32.02 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001021/0.2184, allocations: 1.185 MB / 471.1 MB, free: 31.8 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004248/0.2226, allocations: 4.25 MB / 475.4 MB, free: 30.48 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01316/0.2358, allocations: 19.81 MB / 495.2 MB, free: 14.61 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009958/0.2368, allocations: 0.7246 MB / 495.9 MB, free: 14.32 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003583/0.2372, allocations: 344.5 kB / 496.2 MB, free: 14.19 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.188e-05/0.2372, allocations: 11.88 kB / 496.3 MB, free: 14.18 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.504e-05/0.2372, allocations: 39.25 kB / 496.3 MB, free: 14.14 MB / 410.7 MB Notification: Performance of pre-optimization done (n=69): time 3.206e-06/0.2372, allocations: 0 / 496.3 MB, free: 14.14 MB / 410.7 MB Notification: Performance of matching and sorting (n=69): time 0.001403/0.2386, allocations: 1.167 MB / 497.5 MB, free: 13.7 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.95e-05/0.2387, allocations: 142.5 kB / 497.6 MB, free: 13.54 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002626/0.2413, allocations: 2.586 MB / 0.4885 GB, free: 12.46 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.741e-05/0.2413, allocations: 31.2 kB / 0.4885 GB, free: 12.42 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007064/0.242, allocations: 1.848 MB / 0.4903 GB, free: 10.91 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001711/0.2422, allocations: 310.2 kB / 0.4906 GB, free: 10.7 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006604/0.2428, allocations: 0.7777 MB / 0.4913 GB, free: 10.3 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 7.55e-05/0.2429, allocations: 349.3 kB / 0.4917 GB, free: 9.98 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001152/0.2441, allocations: 1.034 MB / 0.4927 GB, free: 9.676 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001999/0.2461, allocations: 3.692 MB / 0.4963 GB, free: 5.754 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003795/0.2499, allocations: 5.162 MB / 0.5013 GB, free: 0.9922 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.047e-05/0.2499, allocations: 28.25 kB / 0.5014 GB, free: 0.9922 MB / 410.7 MB Notification: Performance of matching and sorting (n=508) (initialization): time 0.005812/0.2557, allocations: 4.46 MB / 0.5057 GB, free: 15.26 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.244e-05/0.2558, allocations: 46.75 kB / 0.5058 GB, free: 15.26 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.901e-05/0.2559, allocations: 98.81 kB / 0.5059 GB, free: 15.25 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001036/0.256, allocations: 124.6 kB / 0.506 GB, free: 15.25 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001424/0.2574, allocations: 0.8704 MB / 0.5068 GB, free: 14.54 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001107/0.2575, allocations: 183.6 kB / 0.507 GB, free: 14.38 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002042/0.2596, allocations: 0.5689 MB / 0.5076 GB, free: 13.81 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002314/0.2598, allocations: 253.4 kB / 0.5078 GB, free: 13.57 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.001374/0.2612, allocations: 1.186 MB / 0.509 GB, free: 12.51 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001968/0.2614, allocations: 199.2 kB / 0.5091 GB, free: 12.31 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002095/0.2616, allocations: 224.6 kB / 0.5094 GB, free: 12.12 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.323e-05/0.2616, allocations: 21.27 kB / 0.5094 GB, free: 12.11 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.161e-05/0.2616, allocations: 0 / 0.5094 GB, free: 12.11 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.712e-06/0.2616, allocations: 6.062 kB / 0.5094 GB, free: 12.11 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003012/0.2647, allocations: 1.98 MB / 0.5113 GB, free: 10.39 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.675e-06/0.2647, allocations: 3.938 kB / 0.5113 GB, free: 10.38 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002193/0.2649, allocations: 62.39 kB / 0.5114 GB, free: 10.33 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.275e-06/0.2649, allocations: 4 kB / 0.5114 GB, free: 10.33 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.697e-05/0.2649, allocations: 9.5 kB / 0.5114 GB, free: 10.32 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.422e-06/0.2649, allocations: 4 kB / 0.5114 GB, free: 10.32 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.547e-06/0.2649, allocations: 0 / 0.5114 GB, free: 10.32 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009846/0.2659, allocations: 1.205 MB / 0.5126 GB, free: 9.172 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002926/0.2662, allocations: 184.2 kB / 0.5128 GB, free: 8.996 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.119e-05/0.2663, allocations: 8.891 kB / 0.5128 GB, free: 8.988 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002635/0.2666, allocations: 17.86 kB / 0.5128 GB, free: 8.977 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.914e-05/0.2666, allocations: 35.14 kB / 0.5128 GB, free: 8.953 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.959e-05/0.2666, allocations: 17.36 kB / 0.5128 GB, free: 8.938 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.001564/0.2682, allocations: 1.491 MB / 0.5143 GB, free: 7.676 MB / 426.7 MB Notification: Performance of sort global known variables: time 2.9e-07/0.2682, allocations: 0 / 0.5143 GB, free: 7.676 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.002103/0.2703, allocations: 0.5311 MB / 0.5148 GB, free: 7.145 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.001169/0.2715, allocations: 1.805 MB / 0.5166 GB, free: 5.398 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.00275/0.2742, allocations: 2.257 MB / 0.5188 GB, free: 3.41 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 3.426e-06/0.2742, allocations: 0 / 0.5188 GB, free: 3.41 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002973/0.2745, allocations: 339.3 kB / 0.5191 GB, free: 3.117 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007714/0.2753, allocations: 168.1 kB / 0.5193 GB, free: 2.965 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02084/0.2961, allocations: 22.93 MB / 0.5416 GB, free: 8.633 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001136/0.2973, allocations: 1.283 MB / 0.5429 GB, free: 7.312 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.001804/0.2991, allocations: 1.247 MB / 0.5441 GB, free: 6.059 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006966/0.2998, allocations: 0.7854 MB / 0.5449 GB, free: 5.27 MB / 458.7 MB Notification: Performance of SimCode: time 1.693e-06/0.2998, allocations: 0 / 0.5449 GB, free: 5.27 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0427/0.3425, allocations: 29.57 MB / 0.5738 GB, free: 8.086 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.647/7.989, allocations: 3.094 kB / 0.5738 GB, free: 8.086 MB / 490.7 MB " [Timeout remaining time 652] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.MultiBody.WorldGroundVisualization_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_MultiBody_WorldGroundVisualization_fmu --startTime=0 --stopTime=1 --stepSize=0.00019992 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_MultiBody_WorldGroundVisualization.fmu > ModelicaTest_trunk_ModelicaTest.MultiBody.WorldGroundVisualization.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.MultiBody.WorldGroundVisualization_res.mat","/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] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 10.045956899411976]