Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Visualizers.Torus.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.0008875/0.0008875, allocations: 88.28 kB / 21.44 MB, free: 3.133 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.004415/0.004415, allocations: 158.2 kB / 24.7 MB, free: 9.422 MB / 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 0.8519/0.8519, allocations: 177 MB / 204.9 MB, free: 5.738 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.2319/0.2319, allocations: 34.25 MB / 295.6 MB, free: 0.6914 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.Torus,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|torus1.surface.nu|torus1.surface.nv|torus2.surface.nu|torus2.surface.nv",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.Visualizers.Torus") translateModel(ModelicaTest.MultiBody.Visualizers.Torus,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|torus1.surface.nu|torus1.surface.nv|torus2.surface.nu|torus2.surface.nv",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.Visualizers.Torus") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.212e-06/1.212e-06, allocations: 0 / 443.4 MB, free: 1.078 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.756e-05/1.878e-05, allocations: 2.281 kB / 443.4 MB, free: 1.074 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Visualizers.Torus): time 0.1642/0.1642, allocations: 9.816 MB / 453.2 MB, free: 38.81 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.003379/0.1676, allocations: 2.704 MB / 455.9 MB, free: 37.13 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004984/0.1681, allocations: 62.78 kB / 456 MB, free: 37.12 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001312/0.1694, allocations: 1.349 MB / 457.3 MB, free: 36.56 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001117/0.1705, allocations: 1.294 MB / 458.6 MB, free: 35.96 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001752/0.1707, allocations: 79.52 kB / 458.7 MB, free: 35.93 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.00121/0.1719, allocations: 2.785 MB / 461.5 MB, free: 34.75 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009266/0.1729, allocations: 1.676 MB / 463.2 MB, free: 33.98 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000862/0.1737, allocations: 1.552 MB / 464.7 MB, free: 33.34 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008983/0.1746, allocations: 1.504 MB / 466.2 MB, free: 32.93 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001661/0.1748, allocations: 207.7 kB / 466.4 MB, free: 32.93 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004798/0.1753, allocations: 478 kB / 466.9 MB, free: 32.86 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000564/0.1758, allocations: 1.473 MB / 468.4 MB, free: 32.24 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004277/0.1763, allocations: 0.8584 MB / 469.2 MB, free: 31.81 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002438/0.1787, allocations: 5.327 MB / 474.6 MB, free: 29.92 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.747e-06/0.1787, allocations: 0 / 474.6 MB, free: 29.92 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.563e-06/0.1787, allocations: 0 / 474.6 MB, free: 29.92 MB / 410.7 MB Notification: Performance of Transformations before backend: time 4.071e-05/0.1787, allocations: 0 / 474.6 MB, free: 29.92 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1443 * Number of variables: 1443 Notification: Performance of Generate backend data structure: time 0.00264/0.1814, allocations: 3.552 MB / 478.1 MB, free: 27.69 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.636e-05/0.1814, allocations: 9.281 kB / 478.1 MB, free: 27.69 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004797/0.1862, allocations: 2.992 MB / 481.1 MB, free: 27.31 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001663/0.1879, allocations: 1.487 MB / 482.6 MB, free: 26.48 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001025/0.188, allocations: 175.2 kB / 482.8 MB, free: 26.39 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002846/0.1883, allocations: 221.2 kB / 483 MB, free: 26.32 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009685/0.198, allocations: 9.483 MB / 492.5 MB, free: 22.42 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.453e-05/0.198, allocations: 18.75 kB / 492.5 MB, free: 22.41 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002177/0.1982, allocations: 121.4 kB / 492.6 MB, free: 22.32 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00294/0.2012, allocations: 2.372 MB / 495 MB, free: 21.89 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01415/0.2153, allocations: 8.657 MB / 0.4918 GB, free: 19.25 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02103/0.2363, allocations: 26.54 MB / 0.5178 GB, free: 8.555 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002883/0.2392, allocations: 2.097 MB / 0.5198 GB, free: 6.457 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008156/0.24, allocations: 0.8994 MB / 0.5207 GB, free: 5.555 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005216/0.2453, allocations: 3.927 MB / 0.5245 GB, free: 1.598 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.076e-05/0.2453, allocations: 39.22 kB / 0.5246 GB, free: 1.551 MB / 426.7 MB Notification: Performance of pre-optimization done (n=126): time 3.546e-06/0.2453, allocations: 0 / 0.5246 GB, free: 1.551 MB / 426.7 MB Notification: Performance of matching and sorting (n=126): time 0.003868/0.2492, allocations: 2.87 MB / 0.5274 GB, free: 14.67 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.707e-05/0.2492, allocations: 60.06 kB / 0.5274 GB, free: 14.6 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003018/0.2522, allocations: 2.618 MB / 0.53 GB, free: 11.95 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 4.146e-05/0.2523, allocations: 37.7 kB / 0.53 GB, free: 11.9 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001255/0.2535, allocations: 2.743 MB / 0.5327 GB, free: 9.129 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002881/0.2538, allocations: 0.5001 MB / 0.5332 GB, free: 8.625 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007542/0.2546, allocations: 0.8935 MB / 0.534 GB, free: 7.719 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001173/0.2547, allocations: 349.9 kB / 0.5344 GB, free: 7.371 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001334/0.256, allocations: 1.352 MB / 0.5357 GB, free: 6.012 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002976/0.259, allocations: 4.114 MB / 0.5397 GB, free: 0.5078 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004769/0.2638, allocations: 5.964 MB / 0.5455 GB, free: 9.172 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.826e-05/0.2638, allocations: 31.94 kB / 0.5456 GB, free: 9.141 MB / 458.7 MB Notification: Performance of matching and sorting (n=588) (initialization): time 0.005814/0.2696, allocations: 5.288 MB / 0.5507 GB, free: 3.844 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.195e-05/0.2697, allocations: 44 kB / 0.5508 GB, free: 3.801 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.798e-05/0.2698, allocations: 100.8 kB / 0.5509 GB, free: 3.703 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001036/0.2699, allocations: 128 kB / 0.551 GB, free: 3.578 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00163/0.2715, allocations: 0.9747 MB / 0.5519 GB, free: 2.602 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001091/0.2716, allocations: 196.9 kB / 0.5521 GB, free: 2.41 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001676/0.2733, allocations: 0.6088 MB / 0.5527 GB, free: 1.797 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002377/0.2735, allocations: 276 kB / 0.553 GB, free: 1.527 MB / 458.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 446 * Number of states: 0 () * Number of discrete variables: 21 (fixedFrame1.color_x[3],fixedFrame1.color_x[2],fixedFrame1.color_x[1],fixedFrame.color_x[3],fixedFrame.color_x[2],fixedFrame.color_x[1],fixedTranslation.color[3],fixedTranslation.color[2],fixedTranslation.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 (540): * Single equations (assignments): 534 * 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 prepare postOptimizeDAE: time 0.002733/0.2763, allocations: 1.891 MB / 0.5548 GB, free: 15.62 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001662/0.2764, allocations: 214.5 kB / 0.555 GB, free: 15.41 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002451/0.2767, allocations: 262.3 kB / 0.5553 GB, free: 15.15 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.277e-05/0.2767, allocations: 20 kB / 0.5553 GB, free: 15.13 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.054e-05/0.2767, allocations: 0 / 0.5553 GB, free: 15.13 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.523e-06/0.2767, allocations: 3.984 kB / 0.5553 GB, free: 15.13 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004603/0.2813, allocations: 4.309 MB / 0.5595 GB, free: 10.72 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.594e-06/0.2813, allocations: 16 kB / 0.5595 GB, free: 10.71 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003054/0.2816, allocations: 135.7 kB / 0.5597 GB, free: 10.57 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.994e-06/0.2816, allocations: 8 kB / 0.5597 GB, free: 10.57 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.41e-05/0.2817, allocations: 23.98 kB / 0.5597 GB, free: 10.54 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.688e-06/0.2817, allocations: 15.92 kB / 0.5597 GB, free: 10.53 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.727e-06/0.2817, allocations: 4 kB / 0.5597 GB, free: 10.52 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001686/0.2834, allocations: 1.77 MB / 0.5614 GB, free: 8.672 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001957/0.2836, allocations: 214.2 kB / 0.5617 GB, free: 8.461 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001048/0.2837, allocations: 23.98 kB / 0.5617 GB, free: 8.438 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002989/0.284, allocations: 43.95 kB / 0.5617 GB, free: 8.395 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.297e-05/0.284, allocations: 64.28 kB / 0.5618 GB, free: 8.332 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.233e-05/0.2841, allocations: 43.98 kB / 0.5618 GB, free: 8.289 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.001289/0.2854, allocations: 1.467 MB / 0.5633 GB, free: 6.805 MB / 474.7 MB Notification: Performance of sort global known variables: time 3.61e-07/0.2854, allocations: 0 / 0.5633 GB, free: 6.805 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.002381/0.2878, allocations: 1.024 MB / 0.5643 GB, free: 5.777 MB / 474.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 19 * 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 (78): * Single equations (assignments): 72 * 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.0003308/0.2881, allocations: 139 kB / 0.5644 GB, free: 5.633 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.002835/0.2909, allocations: 3.018 MB / 0.5673 GB, free: 2.641 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 3.487e-06/0.2909, allocations: 0 / 0.5673 GB, free: 2.641 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005641/0.2915, allocations: 0.6887 MB / 0.568 GB, free: 1.957 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006591/0.2922, allocations: 176.4 kB / 0.5682 GB, free: 1.785 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009498/0.3017, allocations: 7.662 MB / 0.5757 GB, free: 10.02 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00196/0.3036, allocations: 2.418 MB / 0.578 GB, free: 7.574 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003596/0.304, allocations: 188.5 kB / 0.5782 GB, free: 7.391 MB / 490.7 MB Notification: Performance of SimCode: time 1.292e-06/0.304, allocations: 0 / 0.5782 GB, free: 7.391 MB / 490.7 MB Notification: Performance of Templates: time 0.04632/0.3503, allocations: 42.55 MB / 0.6197 GB, free: 13 MB / 0.5261 GB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.MultiBody.Visualizers.Torus.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.Visualizers.Torus.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.Visualizers.Torus.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.Visualizers.Torus.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Visualizers.Torus.sim & ./ModelicaTest_trunk_ModelicaTest.MultiBody.Visualizers.Torus -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.MultiBody.Visualizers.Torus.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.MultiBody.Visualizers.Torus_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/MultiBody/Visualizers/Torus/Torus.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.MultiBody.Visualizers.Torus.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: 7.10826713591814]