Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.MultiBody.Visualizers.Planes.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001111/0.001111, allocations: 72.89 kB / 21.49 MB, free: 2.836 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001088/0.001088, allocations: 167.4 kB / 24.91 MB, free: 9.254 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9883/0.9883, allocations: 177.1 MB / 205.3 MB, free: 5.488 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2331/0.2331, allocations: 32.81 MB / 294.6 MB, free: 1.23 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.MultiBody.Visualizers.Planes,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|surfaceWireframe.nu|surfaceWireframe.nv|surfaceSolid.nu|surfaceSolid.nv",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.MultiBody.Visualizers.Planes") translateModel(ModelicaTest.MultiBody.Visualizers.Planes,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|surfaceWireframe.nu|surfaceWireframe.nv|surfaceSolid.nu|surfaceSolid.nv",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.MultiBody.Visualizers.Planes") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.393e-06/1.393e-06, allocations: 0 / 323.2 MB, free: 9.668 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.512e-05/1.651e-05, allocations: 3.188 kB / 323.3 MB, free: 9.664 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Visualizers.Planes): time 0.009022/0.009038, allocations: 10.83 MB / 334.1 MB, free: 14.77 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.00637/0.01541, allocations: 3.125 MB / 337.2 MB, free: 11.64 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001054/0.01646, allocations: 67.81 kB / 337.3 MB, free: 11.57 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00192/0.01838, allocations: 1.646 MB / 338.9 MB, free: 9.918 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002502/0.02089, allocations: 1.657 MB / 340.6 MB, free: 8.254 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002401/0.02113, allocations: 131.7 kB / 340.7 MB, free: 8.125 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.002868/0.02399, allocations: 3.351 MB / 344.1 MB, free: 4.77 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002113/0.02611, allocations: 2.034 MB / 346.1 MB, free: 2.684 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001538/0.02765, allocations: 1.695 MB / 347.8 MB, free: 0.9844 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001973/0.02962, allocations: 2.401 MB / 350.2 MB, free: 14.58 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0003174/0.02994, allocations: 231.9 kB / 350.4 MB, free: 14.35 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001146/0.03108, allocations: 0.6904 MB / 351.1 MB, free: 13.66 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001524/0.03261, allocations: 1.597 MB / 352.7 MB, free: 12.06 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0007986/0.0334, allocations: 0.9339 MB / 353.6 MB, free: 11.12 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002794/0.0362, allocations: 3.727 MB / 357.4 MB, free: 7.379 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.841e-06/0.0362, allocations: 0 / 357.4 MB, free: 7.379 MB / 330.7 MB Notification: Performance of FrontEnd: time 9.62e-07/0.03621, allocations: 0 / 357.4 MB, free: 7.379 MB / 330.7 MB Notification: Performance of Transformations before backend: time 3.532e-05/0.03624, allocations: 0 / 357.4 MB, free: 7.379 MB / 330.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1485 * Number of variables: 1485 Notification: Performance of Generate backend data structure: time 0.003757/0.04, allocations: 3.743 MB / 361.1 MB, free: 3.586 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.358e-05/0.04003, allocations: 8.031 kB / 361.1 MB, free: 3.578 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003254/0.04329, allocations: 1.304 MB / 362.4 MB, free: 2.273 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001536/0.04482, allocations: 1.408 MB / 363.8 MB, free: 0.832 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.129e-05/0.04491, allocations: 192.9 kB / 364 MB, free: 0.6406 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002709/0.04518, allocations: 236.2 kB / 364.2 MB, free: 420 kB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004401/0.04958, allocations: 4.2 MB / 368.4 MB, free: 11.84 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.129e-05/0.04963, allocations: 15.88 kB / 368.5 MB, free: 11.82 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002049/0.04983, allocations: 111.8 kB / 368.6 MB, free: 11.71 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001694/0.05152, allocations: 2.077 MB / 370.6 MB, free: 9.637 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003635/0.05516, allocations: 2.429 MB / 373.1 MB, free: 7.184 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0166/0.07176, allocations: 21.38 MB / 394.5 MB, free: 1.066 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002787/0.07455, allocations: 1.356 MB / 395.8 MB, free: 15.68 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003336/0.07488, allocations: 259.2 kB / 396.1 MB, free: 15.42 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004117/0.079, allocations: 3.389 MB / 399.5 MB, free: 12.01 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.792e-05/0.07903, allocations: 43.22 kB / 399.5 MB, free: 11.96 MB / 378.7 MB Notification: Performance of pre-optimization done (n=135): time 3.196e-06/0.07903, allocations: 0 / 399.5 MB, free: 11.96 MB / 378.7 MB Notification: Performance of matching and sorting (n=135): time 0.003334/0.08236, allocations: 1.608 MB / 401.1 MB, free: 10.35 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.215e-05/0.08242, allocations: 115.5 kB / 401.2 MB, free: 10.21 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002068/0.08448, allocations: 2.029 MB / 403.2 MB, free: 8.152 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 5.706e-05/0.08454, allocations: 41.7 kB / 403.3 MB, free: 8.105 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001374/0.08591, allocations: 2.741 MB / 406 MB, free: 5.332 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003289/0.08624, allocations: 0.5193 MB / 406.5 MB, free: 4.809 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008672/0.08711, allocations: 0.8701 MB / 407.4 MB, free: 3.926 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.000114/0.08722, allocations: 361.8 kB / 407.8 MB, free: 3.566 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006932/0.08792, allocations: 487.6 kB / 408.2 MB, free: 3.082 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002269/0.09019, allocations: 3.167 MB / 411.4 MB, free: 14.5 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003645/0.09383, allocations: 4.179 MB / 415.6 MB, free: 8.918 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.15e-05/0.09387, allocations: 32 kB / 415.6 MB, free: 8.887 MB / 394.7 MB Notification: Performance of matching and sorting (n=609) (initialization): time 0.003751/0.09762, allocations: 2.964 MB / 418.6 MB, free: 5.914 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.829e-05/0.09768, allocations: 48 kB / 418.6 MB, free: 5.867 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.977e-05/0.09777, allocations: 104.2 kB / 418.7 MB, free: 5.766 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000107/0.09788, allocations: 132 kB / 418.9 MB, free: 5.637 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002195/0.1001, allocations: 1.01 MB / 419.9 MB, free: 4.625 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001219/0.1002, allocations: 191.3 kB / 420.1 MB, free: 4.438 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001952/0.1021, allocations: 0.6009 MB / 420.7 MB, free: 3.832 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005511/0.1027, allocations: 252.2 kB / 420.9 MB, free: 3.586 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 455 * Number of states: 0 () * Number of discrete variables: 21 (world.axisColor_x[1],world.axisColor_x[2],world.axisColor_x[3],world.gravityArrowColor[1],world.gravityArrowColor[2],world.gravityArrowColor[3],world.gravitySphereColor[1],world.gravitySphereColor[2],world.gravitySphereColor[3],world.groundColor[1],world.groundColor[2],world.groundColor[3],fixedRotation.color[1],fixedRotation.color[2],fixedRotation.color[3],fixedFrameOfWireframe.color_x[1],fixedFrameOfWireframe.color_x[2],fixedFrameOfWireframe.color_x[3],fixedFrame.color_x[1],fixedFrame.color_x[2],fixedFrame.color_x[3]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (551): * Single equations (assignments): 543 * Array equations: 8 * 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.00101/0.1037, allocations: 492.9 kB / 421.4 MB, free: 3.09 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000214/0.1039, allocations: 135.8 kB / 421.5 MB, free: 2.957 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002814/0.1042, allocations: 243.8 kB / 421.8 MB, free: 2.715 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.16e-05/0.1042, allocations: 16 kB / 421.8 MB, free: 2.699 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.337e-06/0.1042, allocations: 4 kB / 421.8 MB, free: 2.695 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.927e-06/0.1042, allocations: 7.922 kB / 421.8 MB, free: 2.688 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004648/0.1089, allocations: 3.47 MB / 425.3 MB, free: 15.08 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.002e-05/0.1089, allocations: 8.969 kB / 425.3 MB, free: 15.07 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000462/0.1094, allocations: 159.8 kB / 425.4 MB, free: 14.91 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.286e-05/0.1094, allocations: 15.94 kB / 425.4 MB, free: 14.9 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.198e-05/0.1094, allocations: 27.94 kB / 425.5 MB, free: 14.87 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.29e-05/0.1094, allocations: 19.92 kB / 425.5 MB, free: 14.85 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.506e-06/0.1095, allocations: 11.94 kB / 425.5 MB, free: 14.84 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009165/0.1104, allocations: 0.9026 MB / 426.4 MB, free: 13.81 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002251/0.1106, allocations: 234.1 kB / 426.6 MB, free: 13.58 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001665/0.1108, allocations: 27.98 kB / 426.7 MB, free: 13.55 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004071/0.1112, allocations: 27.98 kB / 426.7 MB, free: 13.53 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001264/0.1113, allocations: 84.2 kB / 426.8 MB, free: 13.45 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.89e-05/0.1114, allocations: 43.92 kB / 426.8 MB, free: 13.4 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0007876/0.1121, allocations: 0.7807 MB / 427.6 MB, free: 12.61 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.7e-07/0.1121, allocations: 0 / 427.6 MB, free: 12.61 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.005874/0.118, allocations: 1.047 MB / 428.6 MB, free: 11.55 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 34 * 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 (93): * Single equations (assignments): 87 * Array equations: 6 * 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.0002476/0.1183, allocations: 140 kB / 428.8 MB, free: 11.41 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.004937/0.1232, allocations: 1.716 MB / 430.5 MB, free: 9.703 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 0.0001196/0.1233, allocations: 59.94 kB / 430.5 MB, free: 9.641 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003391/0.1237, allocations: 267.8 kB / 430.8 MB, free: 9.379 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008868/0.1246, allocations: 227.1 kB / 431 MB, free: 9.156 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01742/0.142, allocations: 6.803 MB / 437.8 MB, free: 2.18 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001152/0.1431, allocations: 1.11 MB / 438.9 MB, free: 1.047 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.00404/0.1472, allocations: 361.8 kB / 439.3 MB, free: 0.6875 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005479/0.1477, allocations: 367.3 kB / 439.7 MB, free: 336 kB / 410.7 MB Notification: Performance of SimCode: time 1.213e-06/0.1477, allocations: 0 / 439.7 MB, free: 336 kB / 410.7 MB Notification: Performance of Templates: time 0.032/0.1797, allocations: 14.81 MB / 454.5 MB, free: 1.781 MB / 426.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Visualizers.Planes.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Visualizers.Planes.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.MultiBody.Visualizers.Planes.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.MultiBody.Visualizers.Planes.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Visualizers.Planes.sim & ./ModelicaTest_4.0.0_ModelicaTest.MultiBody.Visualizers.Planes -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.MultiBody.Visualizers.Planes.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.MultiBody.Visualizers.Planes_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Visualizers/Planes/Planes.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.6264468962326646]