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.001316/0.001316, allocations: 95.5 kB / 21.2 MB, free: 3.371 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.001424/0.001424, allocations: 160.5 kB / 24.55 MB, free: 16 kB / 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.9897/0.9897, allocations: 177 MB / 204.8 MB, free: 5.594 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.2687/0.2687, allocations: 34.86 MB / 296.3 MB, free: 0.5469 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: translateModel(ModelicaTest.MultiBody.WorldGroundVisualization,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|visGroundAxis.n.[0-9,]+.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.WorldGroundVisualization") translateModel(ModelicaTest.MultiBody.WorldGroundVisualization,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|visGroundAxis.n.[0-9,]+.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.WorldGroundVisualization") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.094e-06/2.094e-06, allocations: 0 / 378.7 MB, free: 2.152 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.129e-05/3.338e-05, allocations: 7.094 kB / 378.7 MB, free: 2.145 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.WorldGroundVisualization): time 0.004982/0.005015, allocations: 5.262 MB / 384 MB, free: 12.85 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.002824/0.007839, allocations: 1.768 MB / 385.8 MB, free: 11.08 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003454/0.008185, allocations: 23.94 kB / 385.8 MB, free: 11.05 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001048/0.009232, allocations: 0.564 MB / 386.3 MB, free: 10.49 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001407/0.01064, allocations: 0.949 MB / 387.3 MB, free: 9.535 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 8.187e-05/0.01072, allocations: 23.91 kB / 387.3 MB, free: 9.512 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.001923/0.01264, allocations: 2.594 MB / 389.9 MB, free: 6.914 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009589/0.0136, allocations: 1.094 MB / 391 MB, free: 5.805 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008427/0.01445, allocations: 0.8611 MB / 391.9 MB, free: 4.941 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009378/0.01538, allocations: 1.021 MB / 392.9 MB, free: 3.918 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001426/0.01553, allocations: 92 kB / 393 MB, free: 3.828 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00042/0.01595, allocations: 267.5 kB / 393.2 MB, free: 3.566 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0004341/0.01638, allocations: 0.736 MB / 394 MB, free: 2.828 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003284/0.01671, allocations: 434.2 kB / 394.4 MB, free: 2.402 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001425/0.01813, allocations: 1.777 MB / 396.2 MB, free: 0.6172 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.201e-06/0.01814, allocations: 4 kB / 396.2 MB, free: 0.6133 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.372e-06/0.01814, allocations: 0 / 396.2 MB, free: 0.6133 MB / 362.7 MB Notification: Performance of Transformations before backend: time 2.707e-05/0.01817, allocations: 0 / 396.2 MB, free: 0.6133 MB / 362.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.001947/0.02012, allocations: 2.264 MB / 398.4 MB, free: 14.3 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.617e-05/0.02016, allocations: 8.031 kB / 398.5 MB, free: 14.29 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002833/0.02299, allocations: 1.758 MB / 400.2 MB, free: 12.53 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001022/0.02402, allocations: 0.7672 MB / 401 MB, free: 11.73 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.173e-05/0.02407, allocations: 82.47 kB / 401.1 MB, free: 11.64 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001434/0.02421, allocations: 112.3 kB / 401.2 MB, free: 11.54 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002906/0.02712, allocations: 3.032 MB / 404.2 MB, free: 7.867 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.835e-05/0.02716, allocations: 23.81 kB / 404.2 MB, free: 7.844 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001269/0.02728, allocations: 63.84 kB / 404.3 MB, free: 7.781 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001146/0.02843, allocations: 1.185 MB / 405.5 MB, free: 6.594 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002435/0.03086, allocations: 1.456 MB / 406.9 MB, free: 5.137 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01468/0.04554, allocations: 25.05 MB / 432 MB, free: 11.17 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006468/0.04619, allocations: 379.9 kB / 432.4 MB, free: 10.75 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001618/0.04635, allocations: 130.5 kB / 432.5 MB, free: 10.61 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.881e-05/0.04637, allocations: 12 kB / 432.5 MB, free: 10.6 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.8e-05/0.0464, allocations: 41.33 kB / 432.5 MB, free: 10.55 MB / 410.7 MB Notification: Performance of pre-optimization done (n=69): time 3.507e-06/0.0464, allocations: 0 / 432.5 MB, free: 10.55 MB / 410.7 MB Notification: Performance of matching and sorting (n=69): time 0.0008029/0.0472, allocations: 0.5273 MB / 433.1 MB, free: 10.02 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.449e-05/0.04727, allocations: 144.4 kB / 433.2 MB, free: 9.844 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00193/0.0492, allocations: 2.18 MB / 435.4 MB, free: 7.605 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 3.069e-05/0.04923, allocations: 29.7 kB / 435.4 MB, free: 7.57 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001011/0.05024, allocations: 2.001 MB / 437.4 MB, free: 5.547 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002341/0.05047, allocations: 333.8 kB / 437.7 MB, free: 5.219 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006832/0.05115, allocations: 0.8646 MB / 438.6 MB, free: 4.344 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001554/0.05131, allocations: 0.5004 MB / 439.1 MB, free: 3.836 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004978/0.05181, allocations: 343.4 kB / 439.4 MB, free: 3.5 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002543/0.05435, allocations: 4.293 MB / 443.7 MB, free: 13.38 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003831/0.05818, allocations: 5.117 MB / 448.8 MB, free: 6.438 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.061e-05/0.05824, allocations: 28 kB / 448.9 MB, free: 6.41 MB / 426.7 MB Notification: Performance of matching and sorting (n=508) (initialization): time 0.004352/0.0626, allocations: 3.267 MB / 452.1 MB, free: 3.141 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.693e-05/0.06265, allocations: 48 kB / 452.2 MB, free: 3.094 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.548e-05/0.06273, allocations: 92 kB / 452.3 MB, free: 3.004 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.243e-05/0.06282, allocations: 127.9 kB / 452.4 MB, free: 2.879 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001455/0.06427, allocations: 0.8733 MB / 453.3 MB, free: 2.004 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.951e-05/0.06437, allocations: 187.3 kB / 453.5 MB, free: 1.82 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001643/0.06602, allocations: 0.5394 MB / 454 MB, free: 1.277 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002409/0.06626, allocations: 256 kB / 454.2 MB, free: 1.027 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.0007282/0.06699, allocations: 488.3 kB / 454.7 MB, free: 0.5352 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001911/0.06718, allocations: 182.8 kB / 454.9 MB, free: 364 kB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001599/0.06734, allocations: 159.9 kB / 455.1 MB, free: 200 kB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.339e-05/0.06738, allocations: 31.91 kB / 455.1 MB, free: 168 kB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.636e-06/0.06739, allocations: 0 / 455.1 MB, free: 168 kB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.264e-06/0.0674, allocations: 4 kB / 455.1 MB, free: 164 kB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1963/0.2637, allocations: 1.742 MB / 456.8 MB, free: 106.4 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.67e-06/0.2638, allocations: 2.531 kB / 456.8 MB, free: 106.4 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002046/0.264, allocations: 64.8 kB / 456.9 MB, free: 106.4 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.071e-06/0.264, allocations: 2.875 kB / 456.9 MB, free: 106.4 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.62e-05/0.264, allocations: 10.64 kB / 456.9 MB, free: 106.4 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.663e-06/0.264, allocations: 2.875 kB / 456.9 MB, free: 106.4 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.126e-06/0.264, allocations: 0 / 456.9 MB, free: 106.4 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007124/0.2647, allocations: 0.9862 MB / 457.9 MB, free: 105.9 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002431/0.265, allocations: 153.9 kB / 458.1 MB, free: 105.8 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.438e-05/0.265, allocations: 11.97 kB / 458.1 MB, free: 105.8 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002551/0.2653, allocations: 15.42 kB / 458.1 MB, free: 105.8 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.861e-05/0.2654, allocations: 25.97 kB / 458.1 MB, free: 105.8 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.474e-05/0.2654, allocations: 24.38 kB / 458.1 MB, free: 105.8 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0009173/0.2663, allocations: 0.8883 MB / 459 MB, free: 105.6 MB / 426.7 MB Notification: Performance of sort global known variables: time 3.61e-07/0.2663, allocations: 0 / 459 MB, free: 105.6 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.002098/0.2684, allocations: 0.5497 MB / 459.6 MB, free: 105.6 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.0002774/0.2687, allocations: 128.2 kB / 459.7 MB, free: 105.5 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.002203/0.2709, allocations: 1.571 MB / 461.3 MB, free: 105.4 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 3.587e-06/0.2709, allocations: 5.938 kB / 461.3 MB, free: 105.4 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001699/0.2711, allocations: 157.7 kB / 461.4 MB, free: 105.4 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006986/0.2718, allocations: 140.3 kB / 461.6 MB, free: 105.4 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004462/0.2762, allocations: 3.22 MB / 464.8 MB, free: 104 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006499/0.2769, allocations: 0.5739 MB / 465.4 MB, free: 103.9 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.00176/0.2786, allocations: 1.086 MB / 466.4 MB, free: 103.9 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002602/0.2789, allocations: 129.3 kB / 466.6 MB, free: 103.9 MB / 426.7 MB Notification: Performance of SimCode: time 4.979e-06/0.2789, allocations: 0 / 466.6 MB, free: 103.9 MB / 426.7 MB Notification: Performance of Templates: time 0.01999/0.2989, allocations: 11.72 MB / 478.3 MB, free: 102.8 MB / 426.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.MultiBody.WorldGroundVisualization.makefile [Timeout 660] (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 & ./ModelicaTest_trunk_ModelicaTest.MultiBody.WorldGroundVisualization -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.MultiBody.WorldGroundVisualization.pipe 2>&1) [Timeout 240] 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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.905501872766763]