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.001318/0.001318, allocations: 79.59 kB / 21.18 MB, free: 3.387 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.001731/0.001731, allocations: 161 kB / 24.56 MB, free: 16 kB / 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.9854/0.9854, allocations: 177.1 MB / 205 MB, free: 5.629 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.257/0.257, allocations: 32.81 MB / 294.3 MB, free: 1.27 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.162e-06/1.162e-06, allocations: 3.938 kB / 376 MB, free: 4.672 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.655e-05/1.771e-05, allocations: 6.312 kB / 376 MB, free: 4.664 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Visualizers.Planes): time 0.00841/0.008428, allocations: 11.09 MB / 387.1 MB, free: 9.52 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.004805/0.01323, allocations: 3.01 MB / 390.1 MB, free: 6.5 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009226/0.01416, allocations: 71.75 kB / 390.2 MB, free: 6.43 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00195/0.01611, allocations: 1.666 MB / 391.8 MB, free: 4.758 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002313/0.01842, allocations: 1.668 MB / 393.5 MB, free: 3.082 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002102/0.01863, allocations: 127.7 kB / 393.6 MB, free: 2.957 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.002555/0.02118, allocations: 3.352 MB / 397 MB, free: 15.6 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00155/0.02273, allocations: 1.976 MB / 399 MB, free: 13.59 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001317/0.02405, allocations: 1.691 MB / 400.6 MB, free: 11.89 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002062/0.02611, allocations: 2.514 MB / 403.2 MB, free: 9.371 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002926/0.0264, allocations: 228 kB / 403.4 MB, free: 9.148 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007657/0.02717, allocations: 0.6748 MB / 404.1 MB, free: 8.473 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0008679/0.02804, allocations: 1.605 MB / 405.7 MB, free: 6.863 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000707/0.02875, allocations: 0.9262 MB / 406.6 MB, free: 5.934 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002608/0.03135, allocations: 3.727 MB / 410.3 MB, free: 2.191 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.368e-06/0.03136, allocations: 0 / 410.3 MB, free: 2.191 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.092e-06/0.03136, allocations: 0 / 410.3 MB, free: 2.191 MB / 378.7 MB Notification: Performance of Transformations before backend: time 6.232e-05/0.03142, allocations: 0 / 410.3 MB, free: 2.191 MB / 378.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.004104/0.03552, allocations: 4.4 MB / 414.7 MB, free: 13.73 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.656e-05/0.03556, allocations: 8.031 kB / 414.7 MB, free: 13.72 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005515/0.04108, allocations: 3.477 MB / 418.2 MB, free: 10.23 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00193/0.04301, allocations: 1.695 MB / 419.9 MB, free: 8.5 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.143e-05/0.0431, allocations: 180.9 kB / 420.1 MB, free: 8.32 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003138/0.04341, allocations: 240.2 kB / 420.3 MB, free: 8.086 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005275/0.04869, allocations: 4.86 MB / 425.2 MB, free: 2.73 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.264e-05/0.04873, allocations: 19.81 kB / 425.2 MB, free: 2.711 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002294/0.04896, allocations: 115.8 kB / 425.3 MB, free: 2.598 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002059/0.05102, allocations: 2.365 MB / 427.7 MB, free: 236 kB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005306/0.05632, allocations: 2.883 MB / 430.5 MB, free: 13.34 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1569/0.2132, allocations: 29.15 MB / 459.7 MB, free: 73.85 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002911/0.2161, allocations: 1.395 MB / 461.1 MB, free: 73.75 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004605/0.2166, allocations: 362.5 kB / 461.4 MB, free: 73.7 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005175/0.2217, allocations: 4.05 MB / 465.5 MB, free: 72.73 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.112e-05/0.2218, allocations: 57.89 kB / 465.6 MB, free: 72.68 MB / 410.7 MB Notification: Performance of pre-optimization done (n=135): time 5.169e-06/0.2218, allocations: 2.766 kB / 465.6 MB, free: 72.68 MB / 410.7 MB Notification: Performance of matching and sorting (n=135): time 0.003776/0.2256, allocations: 1.901 MB / 467.5 MB, free: 72.49 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.806e-05/0.2256, allocations: 117.1 kB / 467.6 MB, free: 72.37 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00235/0.2279, allocations: 2.547 MB / 470.1 MB, free: 71.74 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 4.873e-05/0.228, allocations: 37.61 kB / 470.2 MB, free: 71.7 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001132/0.2291, allocations: 2.978 MB / 473.1 MB, free: 69.76 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003144/0.2294, allocations: 0.5587 MB / 473.7 MB, free: 69.36 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007375/0.2302, allocations: 1.009 MB / 474.7 MB, free: 68.82 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 9.305e-05/0.2303, allocations: 0.5322 MB / 475.2 MB, free: 68.31 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006981/0.231, allocations: 460.1 kB / 475.7 MB, free: 68.25 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001859/0.2328, allocations: 4.636 MB / 480.3 MB, free: 62.56 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00326/0.2361, allocations: 5.626 MB / 485.9 MB, free: 56.42 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.93e-05/0.2361, allocations: 26.78 kB / 486 MB, free: 56.42 MB / 410.7 MB Notification: Performance of matching and sorting (n=609) (initialization): time 0.004355/0.2405, allocations: 3.808 MB / 489.8 MB, free: 54.95 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.826e-05/0.2405, allocations: 52.75 kB / 489.8 MB, free: 54.95 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.694e-05/0.2406, allocations: 98.41 kB / 489.9 MB, free: 54.95 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.247e-05/0.2407, allocations: 131.3 kB / 490.1 MB, free: 54.95 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001635/0.2423, allocations: 0.9953 MB / 491.1 MB, free: 54.82 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001385/0.2425, allocations: 191.2 kB / 491.2 MB, free: 54.79 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001805/0.2443, allocations: 0.6148 MB / 491.9 MB, free: 54.39 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003065/0.2446, allocations: 295.2 kB / 492.1 MB, free: 54.35 MB / 410.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 (fixedFrame.color_x[3],fixedFrame.color_x[2],fixedFrame.color_x[1],fixedFrameOfWireframe.color_x[3],fixedFrameOfWireframe.color_x[2],fixedFrameOfWireframe.color_x[1],fixedRotation.color[3],fixedRotation.color[2],fixedRotation.color[1],world.groundColor[3],world.groundColor[2],world.groundColor[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1]) * 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.001222/0.2458, allocations: 0.5225 MB / 492.7 MB, free: 53.92 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002983/0.2461, allocations: 262.8 kB / 492.9 MB, free: 53.77 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002093/0.2463, allocations: 237.5 kB / 493.2 MB, free: 53.63 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.505e-05/0.2463, allocations: 19.19 kB / 493.2 MB, free: 53.63 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.254e-05/0.2463, allocations: 1.094 kB / 493.2 MB, free: 53.63 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.524e-06/0.2464, allocations: 4.422 kB / 493.2 MB, free: 53.63 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005462/0.2518, allocations: 4.474 MB / 497.7 MB, free: 51.32 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.978e-06/0.2518, allocations: 10.72 kB / 497.7 MB, free: 51.32 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003631/0.2522, allocations: 163.7 kB / 497.8 MB, free: 51.3 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.18e-05/0.2522, allocations: 12.09 kB / 497.8 MB, free: 51.3 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.241e-05/0.2522, allocations: 31.69 kB / 497.9 MB, free: 51.29 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.618e-06/0.2523, allocations: 15.97 kB / 497.9 MB, free: 51.29 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.443e-06/0.2523, allocations: 11.91 kB / 497.9 MB, free: 51.28 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001129/0.2534, allocations: 1.294 MB / 499.2 MB, free: 50.37 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002574/0.2536, allocations: 228.7 kB / 499.4 MB, free: 50.21 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001299/0.2538, allocations: 27.19 kB / 499.4 MB, free: 50.2 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003423/0.2541, allocations: 48.64 kB / 499.5 MB, free: 50.19 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.467e-05/0.2542, allocations: 86.73 kB / 499.6 MB, free: 50.17 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.966e-05/0.2543, allocations: 47.66 kB / 499.6 MB, free: 50.16 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.001101/0.2554, allocations: 1.067 MB / 0.4889 GB, free: 49.76 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.61e-07/0.2554, allocations: 0 / 0.4889 GB, free: 49.76 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.002784/0.2582, allocations: 1.058 MB / 0.49 GB, free: 49.4 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.0002917/0.2585, allocations: 153.7 kB / 0.4901 GB, free: 49.28 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.002456/0.2609, allocations: 1.95 MB / 0.492 GB, free: 48.65 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 5.069e-06/0.2609, allocations: 3.938 kB / 0.492 GB, free: 48.65 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003617/0.2613, allocations: 340.5 kB / 0.4924 GB, free: 48.55 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008724/0.2621, allocations: 245.8 kB / 0.4926 GB, free: 48.43 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007278/0.2694, allocations: 6.622 MB / 0.4991 GB, free: 44.95 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008237/0.2702, allocations: 1.116 MB / 0.5001 GB, free: 44.57 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.001716/0.272, allocations: 1.302 MB / 0.5014 GB, free: 44.46 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002707/0.2722, allocations: 166.4 kB / 0.5016 GB, free: 44.45 MB / 410.7 MB Notification: Performance of SimCode: time 2.695e-06/0.2722, allocations: 0 / 0.5016 GB, free: 44.45 MB / 410.7 MB Notification: Performance of Templates: time 0.02502/0.2973, allocations: 12.92 MB / 0.5142 GB, free: 37.56 MB / 410.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: 4.072398588992655]