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.001533/0.001533, allocations: 96.25 kB / 20.96 MB, free: 3.473 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.0019/0.0019, allocations: 156.9 kB / 24.27 MB, free: 172 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.561/1.561, allocations: 177 MB / 204.4 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.3618/0.3618, allocations: 34.25 MB / 295.2 MB, free: 0.6602 MB / 266.7 MB " [Timeout remaining time 179] 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 1.803e-06/1.803e-06, allocations: 0 / 377.2 MB, free: 2.961 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.893e-05/3.074e-05, allocations: 12.44 kB / 377.2 MB, free: 2.949 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.WorldGroundVisualization): time 0.007644/0.007675, allocations: 4.869 MB / 382 MB, free: 14.05 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.003894/0.01157, allocations: 1.698 MB / 383.7 MB, free: 12.34 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006352/0.0122, allocations: 23.94 kB / 383.8 MB, free: 12.32 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001543/0.01375, allocations: 0.5562 MB / 384.3 MB, free: 11.76 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002601/0.01635, allocations: 0.949 MB / 385.3 MB, free: 10.81 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000173/0.01652, allocations: 23.91 kB / 385.3 MB, free: 10.79 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.003628/0.02015, allocations: 2.595 MB / 387.9 MB, free: 8.188 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001826/0.02198, allocations: 1.094 MB / 389 MB, free: 7.078 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001866/0.02384, allocations: 0.865 MB / 389.8 MB, free: 6.211 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001807/0.02565, allocations: 1.017 MB / 390.9 MB, free: 5.191 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0003694/0.02602, allocations: 88 kB / 390.9 MB, free: 5.105 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008122/0.02683, allocations: 271.5 kB / 391.2 MB, free: 4.84 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000936/0.02777, allocations: 0.7321 MB / 391.9 MB, free: 4.105 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0009234/0.02869, allocations: 438.2 kB / 392.4 MB, free: 3.676 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003866/0.03256, allocations: 2.701 MB / 395.1 MB, free: 0.9648 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.499e-06/0.03256, allocations: 4 kB / 395.1 MB, free: 0.9609 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.603e-06/0.03256, allocations: 0 / 395.1 MB, free: 0.9609 MB / 362.7 MB Notification: Performance of Transformations before backend: time 0.0001235/0.03269, allocations: 0 / 395.1 MB, free: 0.9609 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.006278/0.03896, allocations: 1.995 MB / 397.1 MB, free: 14.92 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 7.546e-05/0.03904, allocations: 12.02 kB / 397.1 MB, free: 14.91 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006008/0.04505, allocations: 1.817 MB / 398.9 MB, free: 13.09 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002006/0.04705, allocations: 0.8075 MB / 399.7 MB, free: 12.25 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.08e-05/0.04714, allocations: 86.45 kB / 399.8 MB, free: 12.16 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002395/0.04738, allocations: 116.3 kB / 399.9 MB, free: 12.05 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007807/0.05519, allocations: 4.976 MB / 404.9 MB, free: 6.602 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.759e-05/0.05524, allocations: 23.75 kB / 404.9 MB, free: 6.578 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000198/0.05544, allocations: 59.89 kB / 405 MB, free: 6.52 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002099/0.05753, allocations: 1.189 MB / 406.2 MB, free: 5.328 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007505/0.06504, allocations: 4.25 MB / 410.4 MB, free: 1.07 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02309/0.08813, allocations: 19.43 MB / 429.8 MB, free: 12.91 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001451/0.08958, allocations: 0.7291 MB / 430.6 MB, free: 12.14 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005131/0.0901, allocations: 347.3 kB / 430.9 MB, free: 11.79 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.426e-05/0.09012, allocations: 8 kB / 430.9 MB, free: 11.79 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.686e-05/0.09016, allocations: 42.5 kB / 431 MB, free: 11.73 MB / 410.7 MB Notification: Performance of pre-optimization done (n=69): time 2.796e-06/0.09016, allocations: 0 / 431 MB, free: 11.73 MB / 410.7 MB Notification: Performance of matching and sorting (n=69): time 0.001902/0.09206, allocations: 1.155 MB / 432.1 MB, free: 10.57 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000101/0.09216, allocations: 136.5 kB / 432.2 MB, free: 10.41 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003105/0.09527, allocations: 2.313 MB / 434.6 MB, free: 8.047 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 4.25e-05/0.09531, allocations: 29.7 kB / 434.6 MB, free: 8.012 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001564/0.09688, allocations: 1.87 MB / 436.5 MB, free: 6.121 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003153/0.09719, allocations: 309.8 kB / 436.8 MB, free: 5.816 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001136/0.09833, allocations: 0.7861 MB / 437.5 MB, free: 5.023 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001985/0.09853, allocations: 326 kB / 437.9 MB, free: 4.699 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00161/0.1001, allocations: 1.038 MB / 438.9 MB, free: 3.66 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004206/0.1043, allocations: 3.691 MB / 442.6 MB, free: 14.64 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006928/0.1113, allocations: 5.157 MB / 447.7 MB, free: 8.148 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001003/0.1114, allocations: 32 kB / 447.8 MB, free: 8.117 MB / 426.7 MB Notification: Performance of matching and sorting (n=508) (initialization): time 0.008989/0.1204, allocations: 4.638 MB / 452.4 MB, free: 3.469 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.72e-05/0.1204, allocations: 48.22 kB / 452.5 MB, free: 3.422 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001271/0.1206, allocations: 96 kB / 452.6 MB, free: 3.328 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001633/0.1207, allocations: 128 kB / 452.7 MB, free: 3.203 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00252/0.1232, allocations: 0.8772 MB / 453.6 MB, free: 2.324 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001881/0.1234, allocations: 183.3 kB / 453.7 MB, free: 2.145 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002559/0.126, allocations: 0.539 MB / 454.3 MB, free: 1.602 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003514/0.1263, allocations: 248 kB / 454.5 MB, free: 1.359 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.001936/0.1283, allocations: 1.188 MB / 455.7 MB, free: 160 kB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.1924/0.3207, allocations: 187.5 kB / 455.9 MB, free: 112.8 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005929/0.3212, allocations: 196.1 kB / 456.1 MB, free: 112.8 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.718e-05/0.3213, allocations: 25.06 kB / 456.1 MB, free: 112.8 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.296e-05/0.3213, allocations: 3.188 kB / 456.1 MB, free: 112.8 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.777e-06/0.3213, allocations: 6.438 kB / 456.1 MB, free: 112.8 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003024/0.3244, allocations: 1.663 MB / 457.8 MB, free: 112.5 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.659e-06/0.3244, allocations: 2.969 kB / 457.8 MB, free: 112.5 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002694/0.3246, allocations: 59.22 kB / 457.8 MB, free: 112.5 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.971e-06/0.3246, allocations: 2.906 kB / 457.8 MB, free: 112.5 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.99e-05/0.3247, allocations: 10.84 kB / 457.9 MB, free: 112.5 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.499e-06/0.3247, allocations: 2.969 kB / 457.9 MB, free: 112.5 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.796e-06/0.3247, allocations: 6.562 kB / 457.9 MB, free: 112.5 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009604/0.3256, allocations: 1.185 MB / 459 MB, free: 111.9 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002565/0.3259, allocations: 159.1 kB / 459.2 MB, free: 111.8 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001295/0.326, allocations: 10.28 kB / 459.2 MB, free: 111.8 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004589/0.3265, allocations: 22.84 kB / 459.2 MB, free: 111.8 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.275e-05/0.3265, allocations: 28.22 kB / 459.3 MB, free: 111.8 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.125e-05/0.3266, allocations: 20.16 kB / 459.3 MB, free: 111.8 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.001356/0.3279, allocations: 1.294 MB / 460.6 MB, free: 111.3 MB / 426.7 MB Notification: Performance of sort global known variables: time 8e-08/0.3279, allocations: 2.125 kB / 460.6 MB, free: 111.3 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.002636/0.3306, allocations: 0.5467 MB / 461.1 MB, free: 111.2 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.000277/0.3309, allocations: 130 kB / 461.3 MB, free: 111.1 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.002804/0.3337, allocations: 2.259 MB / 463.5 MB, free: 110.5 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 3.707e-06/0.3337, allocations: 4 kB / 463.5 MB, free: 110.5 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003103/0.334, allocations: 335.5 kB / 463.8 MB, free: 110.4 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009016/0.3349, allocations: 151.8 kB / 464 MB, free: 110.3 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004835/0.3397, allocations: 4.086 MB / 468.1 MB, free: 108.5 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001217/0.3409, allocations: 1.282 MB / 469.4 MB, free: 108.1 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.00215/0.3431, allocations: 1.219 MB / 470.6 MB, free: 108 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002399/0.3433, allocations: 118.5 kB / 470.7 MB, free: 108 MB / 426.7 MB Notification: Performance of SimCode: time 2.455e-06/0.3433, allocations: 4 kB / 470.7 MB, free: 108 MB / 426.7 MB Notification: Performance of Templates: time 0.0214/0.3647, allocations: 11.78 MB / 482.5 MB, free: 106.9 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=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.MultiBody.WorldGroundVisualization.pipe 2>&1) [Timeout 480] 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.748964971979149]