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.002378/0.002378, allocations: 99.53 kB / 20.97 MB, free: 3.449 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.002032/0.002032, allocations: 164.8 kB / 24.27 MB, free: 148 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 1.569/1.569, allocations: 177 MB / 204.5 MB, free: 5.629 MB / 186.7 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.3476/0.3476, allocations: 34.25 MB / 295.2 MB, free: 0.6523 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.1.|visGroundAxis.n.2.|visGroundAxis.n.3.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.WorldGroundVisualization") translateModel(ModelicaTest.MultiBody.WorldGroundVisualization,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|visGroundAxis.n.1.|visGroundAxis.n.2.|visGroundAxis.n.3.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.WorldGroundVisualization") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.245e-06/2.245e-06, allocations: 0 / 377.2 MB, free: 2.961 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.573e-05/2.797e-05, allocations: 8 kB / 377.2 MB, free: 2.953 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.WorldGroundVisualization): time 0.008211/0.008239, allocations: 5.22 MB / 382.4 MB, free: 13.7 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.003658/0.0119, allocations: 1.748 MB / 384.2 MB, free: 11.95 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003056/0.0122, allocations: 23.94 kB / 384.2 MB, free: 11.92 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00137/0.01357, allocations: 0.564 MB / 384.7 MB, free: 11.36 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002059/0.01563, allocations: 0.9529 MB / 385.7 MB, free: 10.4 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 9.733e-05/0.01573, allocations: 19.88 kB / 385.7 MB, free: 10.38 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.003512/0.01924, allocations: 2.604 MB / 388.3 MB, free: 7.773 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001483/0.02072, allocations: 1.086 MB / 389.4 MB, free: 6.672 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001266/0.02199, allocations: 0.8689 MB / 390.3 MB, free: 5.801 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001508/0.0235, allocations: 1.017 MB / 391.3 MB, free: 4.781 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001953/0.02369, allocations: 88 kB / 391.4 MB, free: 4.695 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006124/0.02431, allocations: 263.6 kB / 391.6 MB, free: 4.438 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0007669/0.02507, allocations: 0.7477 MB / 392.4 MB, free: 3.688 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000585/0.02566, allocations: 434.2 kB / 392.8 MB, free: 3.262 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003503/0.02916, allocations: 2.713 MB / 395.5 MB, free: 0.5391 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.328e-06/0.02917, allocations: 0 / 395.5 MB, free: 0.5391 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.192e-06/0.02917, allocations: 0 / 395.5 MB, free: 0.5391 MB / 362.7 MB Notification: Performance of Transformations before backend: time 3.356e-05/0.0292, allocations: 0 / 395.5 MB, free: 0.5391 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.003765/0.03296, allocations: 2.498 MB / 398 MB, free: 13.98 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.364e-05/0.03301, allocations: 12.03 kB / 398 MB, free: 13.97 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00583/0.03884, allocations: 1.754 MB / 399.8 MB, free: 12.21 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00186/0.0407, allocations: 0.7751 MB / 400.6 MB, free: 11.41 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.226e-05/0.04078, allocations: 82.47 kB / 400.6 MB, free: 11.32 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002302/0.04101, allocations: 112.3 kB / 400.7 MB, free: 11.21 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005294/0.0463, allocations: 3.243 MB / 404 MB, free: 7.336 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.98e-05/0.04635, allocations: 23.75 kB / 404 MB, free: 7.312 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001819/0.04654, allocations: 63.91 kB / 404.1 MB, free: 7.25 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002144/0.04868, allocations: 1.185 MB / 405.3 MB, free: 6.062 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004254/0.05293, allocations: 1.661 MB / 406.9 MB, free: 4.398 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03/0.08294, allocations: 26.76 MB / 433.7 MB, free: 8.723 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001031/0.08397, allocations: 408.9 kB / 434.1 MB, free: 8.273 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003/0.08427, allocations: 134.7 kB / 434.2 MB, free: 8.125 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.851e-05/0.08429, allocations: 12.05 kB / 434.2 MB, free: 8.113 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.556e-05/0.08434, allocations: 53.31 kB / 434.3 MB, free: 8.051 MB / 410.7 MB Notification: Performance of pre-optimization done (n=69): time 2.565e-06/0.08434, allocations: 0 / 434.3 MB, free: 8.051 MB / 410.7 MB Notification: Performance of matching and sorting (n=69): time 0.001261/0.0856, allocations: 0.5458 MB / 434.8 MB, free: 7.5 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001039/0.08571, allocations: 132.5 kB / 434.9 MB, free: 7.34 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004217/0.08992, allocations: 2.765 MB / 437.7 MB, free: 4.516 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 5.645e-05/0.08998, allocations: 37.64 kB / 437.7 MB, free: 4.473 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002011/0.09199, allocations: 2.111 MB / 439.9 MB, free: 2.34 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003883/0.09238, allocations: 353.9 kB / 440.2 MB, free: 1.992 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001388/0.09377, allocations: 0.9936 MB / 441.2 MB, free: 0.9883 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0003076/0.09408, allocations: 0.516 MB / 441.7 MB, free: 476 kB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008897/0.09497, allocations: 375.4 kB / 442.1 MB, free: 100 kB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.1873/0.2822, allocations: 4.444 MB / 446.5 MB, free: 92.14 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004022/0.2863, allocations: 5.291 MB / 451.8 MB, free: 86.6 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.401e-05/0.2863, allocations: 26.06 kB / 451.8 MB, free: 86.6 MB / 410.7 MB Notification: Performance of matching and sorting (n=508) (initialization): time 0.005565/0.2919, allocations: 3.329 MB / 455.2 MB, free: 85.89 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.946e-05/0.292, allocations: 51.69 kB / 455.2 MB, free: 85.89 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.899e-05/0.2921, allocations: 96.34 kB / 455.3 MB, free: 85.89 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001245/0.2922, allocations: 128.6 kB / 455.4 MB, free: 85.89 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002054/0.2942, allocations: 0.8659 MB / 456.3 MB, free: 85.8 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000116/0.2944, allocations: 186.5 kB / 456.5 MB, free: 85.76 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00208/0.2964, allocations: 0.5381 MB / 457 MB, free: 85.76 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002385/0.2967, allocations: 256.9 kB / 457.3 MB, free: 85.76 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.0007659/0.2974, allocations: 0.5337 MB / 457.8 MB, free: 85.51 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000235/0.2977, allocations: 193.3 kB / 458 MB, free: 85.45 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002638/0.2979, allocations: 160.4 kB / 458.2 MB, free: 85.43 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.794e-05/0.298, allocations: 17.47 kB / 458.2 MB, free: 85.43 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.442e-06/0.298, allocations: 3.25 kB / 458.2 MB, free: 85.43 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.941e-06/0.298, allocations: 3.375 kB / 458.2 MB, free: 85.43 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003415/0.3014, allocations: 2.181 MB / 460.4 MB, free: 85.07 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.35e-06/0.3014, allocations: 3.219 kB / 460.4 MB, free: 85.07 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002646/0.3017, allocations: 58.89 kB / 460.4 MB, free: 85.07 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.673e-06/0.3017, allocations: 7.281 kB / 460.4 MB, free: 85.06 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.162e-05/0.3017, allocations: 17.16 kB / 460.4 MB, free: 85.05 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.616e-06/0.3017, allocations: 3.156 kB / 460.4 MB, free: 85.05 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.563e-06/0.3017, allocations: 0 / 460.4 MB, free: 85.05 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007131/0.3024, allocations: 1.009 MB / 461.5 MB, free: 84.32 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002322/0.3027, allocations: 153.1 kB / 461.6 MB, free: 84.23 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001332/0.3028, allocations: 15 kB / 461.6 MB, free: 84.21 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000439/0.3032, allocations: 19.19 kB / 461.6 MB, free: 84.21 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.777e-05/0.3033, allocations: 22.34 kB / 461.7 MB, free: 84.21 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.677e-05/0.3033, allocations: 26.09 kB / 461.7 MB, free: 84.21 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.001156/0.3045, allocations: 1.059 MB / 462.7 MB, free: 83.75 MB / 410.7 MB Notification: Performance of sort global known variables: time 9e-08/0.3045, allocations: 0 / 462.7 MB, free: 83.75 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.002596/0.3071, allocations: 0.5496 MB / 463.3 MB, free: 83.64 MB / 410.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.0002562/0.3074, allocations: 122.6 kB / 463.4 MB, free: 83.55 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.002485/0.3098, allocations: 1.742 MB / 465.2 MB, free: 82.94 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.685e-06/0.3098, allocations: 3.828 kB / 465.2 MB, free: 82.94 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002309/0.3101, allocations: 182.5 kB / 465.3 MB, free: 82.89 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008945/0.311, allocations: 152.8 kB / 465.5 MB, free: 82.8 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005032/0.316, allocations: 3.266 MB / 468.8 MB, free: 81.14 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001362/0.3174, allocations: 1.151 MB / 469.9 MB, free: 80.76 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.002141/0.3195, allocations: 1.079 MB / 471 MB, free: 80.67 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002321/0.3197, allocations: 124.2 kB / 471.1 MB, free: 80.66 MB / 410.7 MB Notification: Performance of SimCode: time 1.312e-06/0.3197, allocations: 0 / 471.1 MB, free: 80.66 MB / 410.7 MB Notification: Performance of Templates: time 0.0249/0.3446, allocations: 11.71 MB / 482.8 MB, free: 79.51 MB / 410.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","/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: 5.65532721101772]