Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Visualizers.Planes.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.0009856/0.0009856, allocations: 91.5 kB / 21.2 MB, free: 3.375 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.001057/0.001057, allocations: 160.5 kB / 24.55 MB, free: 20 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.019/1.019, allocations: 177 MB / 204.8 MB, free: 5.586 MB / 186.7 MB " [Timeout remaining time 179] 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.2962/0.2962, allocations: 34.86 MB / 296.3 MB, free: 0.5547 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.Visualizers.Planes,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|surfaceWireframe.nu|surfaceWireframe.nv|surfaceSolid.nu|surfaceSolid.nv",fileNamePrefix="ModelicaTest_trunk_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_trunk_ModelicaTest.MultiBody.Visualizers.Planes") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.654e-06/1.654e-06, allocations: 0 / 378.7 MB, free: 2.141 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.696e-05/2.861e-05, allocations: 4.422 kB / 378.7 MB, free: 2.137 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Visualizers.Planes): time 0.009105/0.009134, allocations: 11.08 MB / 389.8 MB, free: 6.996 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.005159/0.01429, allocations: 3.01 MB / 392.8 MB, free: 3.977 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001135/0.01543, allocations: 71.75 kB / 392.9 MB, free: 3.906 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002181/0.01761, allocations: 1.67 MB / 394.6 MB, free: 2.23 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003188/0.0208, allocations: 1.665 MB / 396.2 MB, free: 0.5586 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002787/0.02108, allocations: 131.7 kB / 396.4 MB, free: 440 kB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.00327/0.02435, allocations: 3.36 MB / 399.7 MB, free: 13.06 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001835/0.02618, allocations: 1.968 MB / 401.7 MB, free: 11.06 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001939/0.02812, allocations: 1.695 MB / 403.4 MB, free: 9.367 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002304/0.03042, allocations: 2.506 MB / 405.9 MB, free: 6.855 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0004516/0.03088, allocations: 228 kB / 406.1 MB, free: 6.633 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009775/0.03185, allocations: 0.6825 MB / 406.8 MB, free: 5.949 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001034/0.03289, allocations: 1.605 MB / 408.4 MB, free: 4.34 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0009577/0.03384, allocations: 0.9301 MB / 409.3 MB, free: 3.406 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00371/0.03755, allocations: 3.723 MB / 413.1 MB, free: 15.67 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.29e-06/0.03756, allocations: 0 / 413.1 MB, free: 15.67 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.495e-06/0.03756, allocations: 3.984 kB / 413.1 MB, free: 15.66 MB / 394.7 MB Notification: Performance of Transformations before backend: time 8.274e-05/0.03765, allocations: 0 / 413.1 MB, free: 15.66 MB / 394.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.005368/0.04301, allocations: 4.4 MB / 417.5 MB, free: 11.2 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.313e-05/0.04306, allocations: 12.62 kB / 417.5 MB, free: 11.19 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005359/0.04841, allocations: 3.461 MB / 420.9 MB, free: 7.719 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002358/0.05077, allocations: 1.699 MB / 422.6 MB, free: 5.98 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.151e-05/0.05086, allocations: 184.9 kB / 422.8 MB, free: 5.797 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003319/0.0512, allocations: 236.2 kB / 423 MB, free: 5.566 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006939/0.05814, allocations: 4.86 MB / 427.9 MB, free: 216 kB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.736e-05/0.05818, allocations: 15.88 kB / 427.9 MB, free: 200 kB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002296/0.05841, allocations: 111.8 kB / 428 MB, free: 88 kB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002112/0.06053, allocations: 2.377 MB / 430.4 MB, free: 13.71 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006756/0.06728, allocations: 2.887 MB / 433.3 MB, free: 10.81 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1809/0.2482, allocations: 29.14 MB / 462.4 MB, free: 71.14 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003848/0.2521, allocations: 1.393 MB / 463.8 MB, free: 71.04 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006107/0.2527, allocations: 358.1 kB / 464.2 MB, free: 71 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006103/0.2588, allocations: 4.063 MB / 468.2 MB, free: 70.02 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.873e-05/0.2588, allocations: 44.92 kB / 468.3 MB, free: 69.98 MB / 410.7 MB Notification: Performance of pre-optimization done (n=135): time 3.787e-06/0.2588, allocations: 2.188 kB / 468.3 MB, free: 69.98 MB / 410.7 MB Notification: Performance of matching and sorting (n=135): time 0.004763/0.2636, allocations: 1.907 MB / 470.2 MB, free: 69.79 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.412e-05/0.2636, allocations: 113.2 kB / 470.3 MB, free: 69.66 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002572/0.2662, allocations: 2.551 MB / 472.9 MB, free: 68.98 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 4.841e-05/0.2662, allocations: 40.95 kB / 472.9 MB, free: 68.94 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00119/0.2674, allocations: 2.967 MB / 475.9 MB, free: 67 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003212/0.2677, allocations: 0.5612 MB / 476.4 MB, free: 66.6 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009027/0.2686, allocations: 1.007 MB / 477.4 MB, free: 66.06 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 9.248e-05/0.2687, allocations: 0.5352 MB / 478 MB, free: 65.55 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008357/0.2696, allocations: 461.4 kB / 478.4 MB, free: 65.48 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00215/0.2717, allocations: 4.64 MB / 483.1 MB, free: 59.8 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00367/0.2754, allocations: 5.625 MB / 488.7 MB, free: 53.63 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.908e-05/0.2754, allocations: 28.19 kB / 488.7 MB, free: 53.63 MB / 410.7 MB Notification: Performance of matching and sorting (n=609) (initialization): time 0.00554/0.281, allocations: 3.811 MB / 492.5 MB, free: 52.17 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.694e-05/0.281, allocations: 48.25 kB / 492.6 MB, free: 52.17 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001019/0.2811, allocations: 101.4 kB / 492.7 MB, free: 52.17 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001107/0.2812, allocations: 132 kB / 492.8 MB, free: 52.17 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002322/0.2836, allocations: 0.9952 MB / 493.8 MB, free: 52.04 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001619/0.2837, allocations: 202.1 kB / 494 MB, free: 51.99 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001929/0.2856, allocations: 0.6215 MB / 494.6 MB, free: 51.59 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003505/0.286, allocations: 282 kB / 494.9 MB, free: 51.56 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.001303/0.2873, allocations: 0.5238 MB / 495.4 MB, free: 51.13 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002947/0.2876, allocations: 254 kB / 495.7 MB, free: 50.99 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002234/0.2878, allocations: 235 kB / 495.9 MB, free: 50.85 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.837e-05/0.2878, allocations: 15.22 kB / 495.9 MB, free: 50.85 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.455e-05/0.2879, allocations: 1.938 kB / 495.9 MB, free: 50.85 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.107e-06/0.2879, allocations: 15.62 kB / 495.9 MB, free: 50.84 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006312/0.2942, allocations: 4.474 MB / 0.4887 GB, free: 48.53 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.24e-05/0.2942, allocations: 8.5 kB / 0.4887 GB, free: 48.53 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004026/0.2946, allocations: 167.9 kB / 0.4888 GB, free: 48.51 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.735e-05/0.2946, allocations: 15.62 kB / 0.4888 GB, free: 48.5 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.88e-05/0.2947, allocations: 28.94 kB / 0.4889 GB, free: 48.5 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.415e-05/0.2947, allocations: 19.38 kB / 0.4889 GB, free: 48.49 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.087e-06/0.2947, allocations: 13.78 kB / 0.4889 GB, free: 48.49 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001599/0.2963, allocations: 1.292 MB / 0.4902 GB, free: 47.58 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003399/0.2966, allocations: 233.1 kB / 0.4904 GB, free: 47.42 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001602/0.2968, allocations: 24.36 kB / 0.4904 GB, free: 47.41 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003595/0.2971, allocations: 43.58 kB / 0.4905 GB, free: 47.4 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001149/0.2973, allocations: 80.52 kB / 0.4905 GB, free: 47.38 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.132e-05/0.2973, allocations: 59.83 kB / 0.4906 GB, free: 47.37 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.001273/0.2986, allocations: 1.067 MB / 0.4916 GB, free: 46.96 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.8e-07/0.2986, allocations: 1.969 kB / 0.4916 GB, free: 46.96 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.00316/0.3018, allocations: 1.042 MB / 0.4927 GB, free: 46.62 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.0003206/0.3021, allocations: 157.2 kB / 0.4928 GB, free: 46.49 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.002481/0.3046, allocations: 1.953 MB / 0.4947 GB, free: 45.86 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 7.163e-06/0.3046, allocations: 3.281 kB / 0.4947 GB, free: 45.86 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003588/0.3049, allocations: 344 kB / 0.495 GB, free: 45.77 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007538/0.3057, allocations: 239.3 kB / 0.4953 GB, free: 45.64 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007275/0.313, allocations: 6.614 MB / 0.5017 GB, free: 42.16 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007923/0.3138, allocations: 1.125 MB / 0.5028 GB, free: 41.78 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.001605/0.3154, allocations: 1.308 MB / 0.5041 GB, free: 41.66 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002683/0.3156, allocations: 163.3 kB / 0.5043 GB, free: 41.64 MB / 410.7 MB Notification: Performance of SimCode: time 2.074e-06/0.3156, allocations: 0 / 0.5043 GB, free: 41.64 MB / 410.7 MB Notification: Performance of Templates: time 0.02372/0.3394, allocations: 12.91 MB / 0.5169 GB, free: 34.79 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.MultiBody.Visualizers.Planes.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.Visualizers.Planes.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.Visualizers.Planes.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.Visualizers.Planes.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Visualizers.Planes.sim & ./ModelicaTest_trunk_ModelicaTest.MultiBody.Visualizers.Planes -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.MultiBody.Visualizers.Planes.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.MultiBody.Visualizers.Planes_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.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.060467718169093]