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.001651/0.001651, allocations: 118.7 kB / 18.5 MB, free: 4.602 MB / 14.72 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.002014/0.002014, allocations: 210.5 kB / 21.46 MB, free: 1.648 MB / 14.72 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 1.518/1.518, allocations: 230.2 MB / 254.5 MB, free: 15.23 MB / 206.1 MB " [Timeout remaining time 178] 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.2444/0.2444, allocations: 46.9 MB / 357.4 MB, free: 10.47 MB / 286.1 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 0.003531/0.003531, allocations: 79.88 kB / 0.4912 GB, free: 8.316 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1539/0.1575, allocations: 65.99 MB / 0.5557 GB, free: 6.191 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.WorldGroundVisualization): time 0.008499/0.166, allocations: 5.425 MB / 0.561 GB, free: 0.7305 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.003894/0.1698, allocations: 1.811 MB / 0.5627 GB, free: 14.91 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000512/0.1704, allocations: 27.94 kB / 0.5628 GB, free: 14.88 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001246/0.1716, allocations: 0.5407 MB / 0.5633 GB, free: 14.34 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001949/0.1736, allocations: 0.9185 MB / 0.5642 GB, free: 13.42 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000112/0.1737, allocations: 19.92 kB / 0.5642 GB, free: 13.4 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.001876/0.1755, allocations: 1.525 MB / 0.5657 GB, free: 11.87 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008863/0.1764, allocations: 0.6682 MB / 0.5663 GB, free: 11.19 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006928/0.1771, allocations: 0.5252 MB / 0.5669 GB, free: 10.66 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002013/0.1791, allocations: 1.703 MB / 0.5685 GB, free: 8.957 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002656/0.1794, allocations: 88 kB / 0.5686 GB, free: 8.871 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006654/0.1801, allocations: 331.5 kB / 0.5689 GB, free: 8.547 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006637/0.1807, allocations: 0.7125 MB / 0.5696 GB, free: 7.832 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008192/0.1815, allocations: 0.8729 MB / 0.5705 GB, free: 6.953 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003012/0.1846, allocations: 2.804 MB / 0.5732 GB, free: 4.137 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.438e-06/0.1846, allocations: 4 kB / 0.5732 GB, free: 4.133 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.393e-06/0.1846, allocations: 0 / 0.5732 GB, free: 4.133 MB / 430.1 MB Notification: Performance of Transformations before backend: time 4.849e-05/0.1846, allocations: 0 / 0.5732 GB, free: 4.133 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.003095/0.1877, allocations: 2.101 MB / 0.5753 GB, free: 1.969 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.482e-05/0.1878, allocations: 12.03 kB / 0.5753 GB, free: 1.957 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004276/0.1882, allocations: 381.8 kB / 0.5756 GB, free: 1.574 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004983/0.1932, allocations: 1.512 MB / 0.5771 GB, free: 60 kB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002034/0.1952, allocations: 0.8491 MB / 0.5779 GB, free: 15.16 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.413e-05/0.1953, allocations: 90.22 kB / 0.578 GB, free: 15.07 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002531/0.1955, allocations: 107.9 kB / 0.5781 GB, free: 14.97 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006706/0.2022, allocations: 4.98 MB / 0.583 GB, free: 9.52 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.007e-05/0.2023, allocations: 19.81 kB / 0.583 GB, free: 9.5 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001809/0.2025, allocations: 63.91 kB / 0.5831 GB, free: 9.438 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001877/0.2043, allocations: 1.174 MB / 0.5842 GB, free: 8.258 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007687/0.212, allocations: 4.27 MB / 0.5884 GB, free: 3.988 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3007/0.5127, allocations: 20.54 MB / 0.6084 GB, free: 17.57 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001416/0.5141, allocations: 1.18 MB / 0.6096 GB, free: 16.91 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000502/0.5146, allocations: 347.5 kB / 0.6099 GB, free: 16.82 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.206e-05/0.5146, allocations: 9.219 kB / 0.6099 GB, free: 16.82 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.373e-05/0.5147, allocations: 40.77 kB / 0.61 GB, free: 16.78 MB / 446.1 MB Notification: Performance of pre-optimization done (n=69): time 3.346e-06/0.5147, allocations: 4 kB / 0.61 GB, free: 16.78 MB / 446.1 MB Notification: Performance of matching and sorting (n=69): time 0.002073/0.5167, allocations: 1.157 MB / 0.6111 GB, free: 16.36 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.55e-05/0.5168, allocations: 137.3 kB / 0.6112 GB, free: 16.2 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003738/0.5205, allocations: 2.43 MB / 0.6136 GB, free: 15.31 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 6.208e-05/0.5206, allocations: 31.11 kB / 0.6136 GB, free: 15.28 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001111/0.5217, allocations: 1.879 MB / 0.6155 GB, free: 13.99 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003151/0.522, allocations: 315.5 kB / 0.6158 GB, free: 13.79 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001075/0.5231, allocations: 0.7951 MB / 0.6166 GB, free: 13.39 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001307/0.5232, allocations: 356.3 kB / 0.6169 GB, free: 13.06 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001565/0.5248, allocations: 1.031 MB / 0.6179 GB, free: 12.76 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002662/0.5275, allocations: 3.692 MB / 0.6215 GB, free: 8.801 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004733/0.5322, allocations: 5.16 MB / 0.6265 GB, free: 3.965 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000106/0.5323, allocations: 27.62 kB / 0.6266 GB, free: 3.965 MB / 446.1 MB Notification: Performance of matching and sorting (n=508) (initialization): time 0.007747/0.5401, allocations: 4.454 MB / 0.6309 GB, free: 2.238 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.086e-05/0.5401, allocations: 48.89 kB / 0.631 GB, free: 2.238 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001489/0.5403, allocations: 96.62 kB / 0.6311 GB, free: 2.238 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001289/0.5404, allocations: 130.4 kB / 0.6312 GB, free: 2.238 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002259/0.5427, allocations: 0.8746 MB / 0.632 GB, free: 2.117 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001916/0.5429, allocations: 187.7 kB / 0.6322 GB, free: 2.074 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00309/0.546, allocations: 0.5618 MB / 0.6328 GB, free: 1.711 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004772/0.5464, allocations: 258.2 kB / 0.633 GB, free: 1.68 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.0016/0.548, allocations: 1.187 MB / 0.6342 GB, free: 1.078 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002813/0.5483, allocations: 197.4 kB / 0.6344 GB, free: 0.9648 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002616/0.5486, allocations: 216 kB / 0.6346 GB, free: 0.875 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.073e-05/0.5486, allocations: 30.22 kB / 0.6346 GB, free: 0.8672 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.208e-05/0.5486, allocations: 4 kB / 0.6346 GB, free: 0.8633 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.254e-06/0.5486, allocations: 6.516 kB / 0.6346 GB, free: 0.8633 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00346/0.5521, allocations: 2.063 MB / 0.6366 GB, free: 4 kB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.442e-06/0.5521, allocations: 3.781 kB / 0.6366 GB, free: 4 kB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002736/0.5524, allocations: 55.45 kB / 0.6367 GB, free: 0 / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.412e-06/0.5524, allocations: 3.531 kB / 0.6367 GB, free: 0 / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.144e-05/0.5524, allocations: 11.05 kB / 0.6367 GB, free: 0 / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.903e-06/0.5524, allocations: 3.75 kB / 0.6367 GB, free: 0 / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.865e-06/0.5524, allocations: 112 / 0.6367 GB, free: 0 / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001385/0.5538, allocations: 1.209 MB / 0.6379 GB, free: 15.3 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005552/0.5544, allocations: 261.4 kB / 0.6381 GB, free: 15.08 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001504/0.5545, allocations: 7.625 kB / 0.6381 GB, free: 15.07 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004973/0.555, allocations: 22.19 kB / 0.6382 GB, free: 15.07 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.264e-05/0.5551, allocations: 25.52 kB / 0.6382 GB, free: 15.06 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.812e-05/0.5551, allocations: 20.25 kB / 0.6382 GB, free: 15.06 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.001914/0.5571, allocations: 1.496 MB / 0.6397 GB, free: 14.52 MB / 462.1 MB Notification: Performance of sort global known variables: time 7e-08/0.5571, allocations: 0 / 0.6397 GB, free: 14.52 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.003055/0.5601, allocations: 0.5206 MB / 0.6402 GB, free: 14.39 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.002132/0.5622, allocations: 1.798 MB / 0.6419 GB, free: 12.77 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.004445/0.5667, allocations: 2.264 MB / 0.6441 GB, free: 10.53 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 5.29e-06/0.5667, allocations: 1.875 kB / 0.6441 GB, free: 10.53 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004594/0.5672, allocations: 339.7 kB / 0.6445 GB, free: 10.2 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001243/0.5684, allocations: 176.3 kB / 0.6446 GB, free: 10.03 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0335/0.6019, allocations: 23.07 MB / 0.6672 GB, free: 15.55 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001927/0.6038, allocations: 1.863 MB / 0.669 GB, free: 13.66 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.002694/0.6065, allocations: 1.251 MB / 0.6702 GB, free: 12.4 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001059/0.6076, allocations: 0.7932 MB / 0.671 GB, free: 11.61 MB / 494.1 MB Notification: Performance of SimCode: time 1.433e-06/0.6076, allocations: 0 / 0.671 GB, free: 11.61 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06728/0.6749, allocations: 30.12 MB / 0.7004 GB, free: 13.64 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.82/13.49, allocations: 15.98 kB / 0.7004 GB, free: 13.63 MB / 0.5137 GB " [Timeout remaining time 646] (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/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/WorldGroundVisualization/WorldGroundVisualization.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/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: 16.752829846926033]