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.0007902/0.0007902, allocations: 80.92 kB / 21.49 MB, free: 2.996 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.000879/0.000879, allocations: 170.4 kB / 24.91 MB, free: 8.723 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.9454/0.9454, allocations: 177.1 MB / 205.3 MB, free: 5.117 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.2425/0.2425, allocations: 32.81 MB / 294.6 MB, free: 1.188 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.462e-06/1.462e-06, allocations: 0 / 323.2 MB, free: 9.746 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.749e-05/1.895e-05, allocations: 5.5 kB / 323.2 MB, free: 9.742 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Visualizers.Planes): time 0.00826/0.008279, allocations: 10.78 MB / 334 MB, free: 14.9 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.005243/0.01352, allocations: 3.125 MB / 337.1 MB, free: 11.76 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006094/0.01413, allocations: 63.81 kB / 337.2 MB, free: 11.7 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001836/0.01597, allocations: 1.67 MB / 338.9 MB, free: 10.02 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002335/0.0183, allocations: 1.672 MB / 340.5 MB, free: 8.344 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002097/0.01851, allocations: 131.7 kB / 340.7 MB, free: 8.215 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.002242/0.02075, allocations: 3.345 MB / 344 MB, free: 4.863 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001262/0.02202, allocations: 2.031 MB / 346 MB, free: 2.781 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001372/0.02339, allocations: 1.699 MB / 347.7 MB, free: 1.078 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001799/0.02519, allocations: 2.405 MB / 350.1 MB, free: 14.67 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002107/0.0254, allocations: 232 kB / 350.4 MB, free: 14.44 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006959/0.02609, allocations: 0.6708 MB / 351 MB, free: 13.77 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0008574/0.02695, allocations: 1.601 MB / 352.6 MB, free: 12.16 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0006217/0.02757, allocations: 0.9301 MB / 353.6 MB, free: 11.23 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002685/0.03026, allocations: 3.727 MB / 357.3 MB, free: 7.488 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.068e-06/0.03026, allocations: 0 / 357.3 MB, free: 7.488 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.134e-06/0.03026, allocations: 4 kB / 357.3 MB, free: 7.484 MB / 330.7 MB Notification: Performance of Transformations before backend: time 2.982e-05/0.03029, allocations: 0 / 357.3 MB, free: 7.484 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.006892/0.03718, allocations: 3.743 MB / 361 MB, free: 3.691 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.209e-05/0.03722, allocations: 8.031 kB / 361 MB, free: 3.684 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01048/0.0477, allocations: 1.3 MB / 362.3 MB, free: 2.383 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001838/0.04954, allocations: 1.408 MB / 363.8 MB, free: 0.9414 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00312/0.05266, allocations: 188.9 kB / 363.9 MB, free: 0.7539 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003709/0.05303, allocations: 236.2 kB / 364.2 MB, free: 0.5234 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008193/0.06122, allocations: 4.204 MB / 368.4 MB, free: 11.95 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.508e-05/0.06127, allocations: 15.88 kB / 368.4 MB, free: 11.93 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003535/0.0648, allocations: 119.8 kB / 368.5 MB, free: 11.82 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002351/0.06715, allocations: 2.077 MB / 370.6 MB, free: 9.738 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01072/0.07787, allocations: 2.425 MB / 373 MB, free: 7.289 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02716/0.105, allocations: 21.37 MB / 394.4 MB, free: 1.18 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002591/0.1076, allocations: 1.36 MB / 395.7 MB, free: 15.79 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005787/0.1082, allocations: 255.4 kB / 396 MB, free: 15.54 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004168/0.1124, allocations: 3.401 MB / 399.4 MB, free: 12.11 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.916e-05/0.1124, allocations: 39.22 kB / 399.4 MB, free: 12.07 MB / 378.7 MB Notification: Performance of pre-optimization done (n=135): time 3.818e-06/0.1124, allocations: 0 / 399.4 MB, free: 12.07 MB / 378.7 MB Notification: Performance of matching and sorting (n=135): time 0.003417/0.1158, allocations: 1.608 MB / 401 MB, free: 10.45 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.576e-05/0.1159, allocations: 123.5 kB / 401.2 MB, free: 10.31 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001383/0.1173, allocations: 2.021 MB / 403.2 MB, free: 8.258 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 4.261e-05/0.1173, allocations: 45.69 kB / 403.2 MB, free: 8.207 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001057/0.1184, allocations: 2.733 MB / 406 MB, free: 5.441 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002719/0.1186, allocations: 0.531 MB / 406.5 MB, free: 4.906 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000635/0.1193, allocations: 0.8584 MB / 407.3 MB, free: 4.035 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 9.978e-05/0.1194, allocations: 361.8 kB / 407.7 MB, free: 3.676 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004992/0.1199, allocations: 491.5 kB / 408.2 MB, free: 3.188 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001629/0.1215, allocations: 3.171 MB / 411.3 MB, free: 14.6 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002568/0.1241, allocations: 4.179 MB / 415.5 MB, free: 9.02 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.611e-05/0.1241, allocations: 28 kB / 415.6 MB, free: 8.992 MB / 394.7 MB Notification: Performance of matching and sorting (n=609) (initialization): time 0.002782/0.1269, allocations: 2.968 MB / 418.5 MB, free: 6.016 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.871e-05/0.1269, allocations: 48.22 kB / 418.6 MB, free: 5.969 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.571e-05/0.127, allocations: 104 kB / 418.7 MB, free: 5.867 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.605e-05/0.127, allocations: 132 kB / 418.8 MB, free: 5.738 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001442/0.1285, allocations: 0.9669 MB / 419.8 MB, free: 4.77 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.659e-05/0.1286, allocations: 195.2 kB / 420 MB, free: 4.578 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0013/0.1299, allocations: 0.597 MB / 420.6 MB, free: 3.977 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002041/0.1301, allocations: 256 kB / 420.8 MB, free: 3.727 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.0008507/0.1309, allocations: 485 kB / 421.3 MB, free: 3.238 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001488/0.1311, allocations: 131.9 kB / 421.4 MB, free: 3.109 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001972/0.1313, allocations: 243.8 kB / 421.6 MB, free: 2.867 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.739e-05/0.1313, allocations: 19.98 kB / 421.7 MB, free: 2.848 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.745e-06/0.1313, allocations: 4 kB / 421.7 MB, free: 2.844 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.234e-06/0.1313, allocations: 7.922 kB / 421.7 MB, free: 2.836 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003516/0.1348, allocations: 3.474 MB / 425.2 MB, free: 15.22 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.111e-06/0.1348, allocations: 9 kB / 425.2 MB, free: 15.21 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002857/0.1351, allocations: 148 kB / 425.3 MB, free: 15.07 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.608e-06/0.1351, allocations: 15.94 kB / 425.3 MB, free: 15.05 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.369e-05/0.1352, allocations: 32 kB / 425.4 MB, free: 15.02 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.133e-05/0.1352, allocations: 19.92 kB / 425.4 MB, free: 15 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.021e-06/0.1352, allocations: 11.94 kB / 425.4 MB, free: 14.99 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006646/0.1358, allocations: 0.9026 MB / 426.3 MB, free: 13.96 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001601/0.136, allocations: 234.1 kB / 426.5 MB, free: 13.73 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001157/0.1361, allocations: 31.98 kB / 426.5 MB, free: 13.7 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002628/0.1364, allocations: 20 kB / 426.6 MB, free: 13.68 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.923e-05/0.1365, allocations: 84.2 kB / 426.6 MB, free: 13.6 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.735e-05/0.1365, allocations: 47.86 kB / 426.7 MB, free: 13.55 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0005739/0.1371, allocations: 0.7846 MB / 427.5 MB, free: 12.75 MB / 410.7 MB Notification: Performance of sort global known variables: time 7.1e-08/0.1371, allocations: 0 / 427.5 MB, free: 12.75 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.001956/0.139, allocations: 1.043 MB / 428.5 MB, free: 11.71 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.0002209/0.1393, allocations: 140.8 kB / 428.7 MB, free: 11.56 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.00141/0.1407, allocations: 1.712 MB / 430.4 MB, free: 9.859 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 9.051e-05/0.1408, allocations: 59.94 kB / 430.4 MB, free: 9.797 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002423/0.141, allocations: 275.8 kB / 430.7 MB, free: 9.527 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006442/0.1416, allocations: 222.3 kB / 430.9 MB, free: 9.312 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006262/0.1479, allocations: 6.803 MB / 437.7 MB, free: 2.336 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008771/0.1488, allocations: 1.11 MB / 438.8 MB, free: 1.203 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0007594/0.1495, allocations: 361.8 kB / 439.2 MB, free: 0.8438 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004064/0.15, allocations: 367.3 kB / 439.5 MB, free: 496 kB / 410.7 MB Notification: Performance of SimCode: time 9.02e-07/0.15, allocations: 0 / 439.5 MB, free: 496 kB / 410.7 MB Notification: Performance of Templates: time 0.02786/0.1778, allocations: 14.8 MB / 454.3 MB, free: 1.938 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 -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.605097485240549]