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.001898/0.001898, allocations: 99.53 kB / 20.97 MB, free: 3.453 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.001972/0.001972, allocations: 160.8 kB / 24.27 MB, free: 156 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.576/1.576, allocations: 177 MB / 204.5 MB, free: 5.609 MB / 186.7 MB " [Timeout remaining time 178] 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.365/0.365, allocations: 34.25 MB / 295.2 MB, free: 0.6133 MB / 266.7 MB " [Timeout remaining time 179] 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.453e-06/1.453e-06, allocations: 0 / 377.2 MB, free: 2.906 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.869e-05/3.015e-05, allocations: 4.844 kB / 377.2 MB, free: 2.902 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Visualizers.Torus): time 0.01579/0.01582, allocations: 10.75 MB / 387.9 MB, free: 8.098 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.007574/0.02339, allocations: 2.772 MB / 390.7 MB, free: 5.316 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002078/0.02547, allocations: 63.81 kB / 390.8 MB, free: 5.254 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.003386/0.02885, allocations: 1.401 MB / 392.2 MB, free: 3.848 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003705/0.03256, allocations: 1.295 MB / 393.5 MB, free: 2.547 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007631/0.03332, allocations: 87.7 kB / 393.6 MB, free: 2.461 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.004315/0.03764, allocations: 2.777 MB / 396.3 MB, free: 15.68 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002835/0.04047, allocations: 1.727 MB / 398.1 MB, free: 13.91 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002775/0.04325, allocations: 1.563 MB / 399.6 MB, free: 12.34 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003154/0.0464, allocations: 1.496 MB / 401.1 MB, free: 10.84 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0005112/0.04691, allocations: 212 kB / 401.3 MB, free: 10.64 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001226/0.04814, allocations: 475.4 kB / 401.8 MB, free: 10.17 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001755/0.04989, allocations: 1.48 MB / 403.3 MB, free: 8.688 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001495/0.05139, allocations: 0.8639 MB / 404.1 MB, free: 7.82 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.009051/0.06044, allocations: 5.325 MB / 409.5 MB, free: 2.477 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.143e-06/0.06045, allocations: 0 / 409.5 MB, free: 2.477 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.834e-06/0.06045, allocations: 0 / 409.5 MB, free: 2.477 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0002139/0.06066, allocations: 4 kB / 409.5 MB, free: 2.473 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: 1443 * Number of variables: 1443 Notification: Performance of Generate backend data structure: time 0.01066/0.07133, allocations: 4.334 MB / 413.8 MB, free: 14.08 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.177e-05/0.07139, allocations: 12.03 kB / 413.8 MB, free: 14.07 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01466/0.08605, allocations: 3.434 MB / 417.3 MB, free: 10.63 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004846/0.09089, allocations: 1.416 MB / 418.7 MB, free: 9.18 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000226/0.09112, allocations: 172.6 kB / 418.8 MB, free: 9.008 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001018/0.09214, allocations: 224.2 kB / 419.1 MB, free: 8.789 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01333/0.1055, allocations: 5.037 MB / 424.1 MB, free: 3.242 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.007e-05/0.1055, allocations: 23.75 kB / 424.1 MB, free: 3.219 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003874/0.1059, allocations: 107.8 kB / 424.2 MB, free: 3.113 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004367/0.1103, allocations: 2.373 MB / 426.6 MB, free: 0.7344 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01157/0.1219, allocations: 3.241 MB / 429.8 MB, free: 13.48 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2108/0.3326, allocations: 35.49 MB / 465.3 MB, free: 71.45 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003167/0.3358, allocations: 1.093 MB / 466.4 MB, free: 71.39 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006183/0.3364, allocations: 332.2 kB / 466.7 MB, free: 71.38 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007422/0.3438, allocations: 3.219 MB / 470 MB, free: 70.24 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.184e-05/0.3438, allocations: 40.73 kB / 470 MB, free: 70.2 MB / 410.7 MB Notification: Performance of pre-optimization done (n=126): time 2.946e-06/0.3438, allocations: 3.406 kB / 470 MB, free: 70.2 MB / 410.7 MB Notification: Performance of matching and sorting (n=126): time 0.004257/0.3481, allocations: 1.515 MB / 471.5 MB, free: 69.89 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.567e-05/0.3481, allocations: 58.95 kB / 471.6 MB, free: 69.82 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003121/0.3512, allocations: 3.007 MB / 474.6 MB, free: 68.49 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 6.331e-05/0.3513, allocations: 40.42 kB / 474.6 MB, free: 68.45 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001268/0.3526, allocations: 3.005 MB / 477.6 MB, free: 66.43 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003684/0.3529, allocations: 0.5601 MB / 478.2 MB, free: 66.04 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001135/0.3541, allocations: 1.122 MB / 479.3 MB, free: 65.43 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001188/0.3542, allocations: 0.5433 MB / 479.8 MB, free: 64.92 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009041/0.3551, allocations: 490.9 kB / 480.3 MB, free: 64.84 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002193/0.3573, allocations: 4.712 MB / 485 MB, free: 59.12 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004109/0.3614, allocations: 5.687 MB / 490.7 MB, free: 52.79 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.843e-05/0.3615, allocations: 29.88 kB / 490.8 MB, free: 52.79 MB / 410.7 MB Notification: Performance of matching and sorting (n=588) (initialization): time 0.006859/0.3683, allocations: 3.784 MB / 494.5 MB, free: 51.31 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.307e-05/0.3684, allocations: 46.44 kB / 494.6 MB, free: 51.31 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001392/0.3686, allocations: 101 kB / 494.7 MB, free: 51.31 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001779/0.3687, allocations: 129.1 kB / 494.8 MB, free: 51.31 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002767/0.3715, allocations: 0.9705 MB / 495.8 MB, free: 51.19 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001622/0.3717, allocations: 196.5 kB / 496 MB, free: 51.15 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002783/0.3745, allocations: 0.6013 MB / 496.6 MB, free: 50.76 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005161/0.375, allocations: 278.5 kB / 496.8 MB, free: 50.72 MB / 410.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.001847/0.3768, allocations: 0.6216 MB / 497.5 MB, free: 50.25 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003958/0.3772, allocations: 239.7 kB / 497.7 MB, free: 50.12 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004272/0.3776, allocations: 216.9 kB / 497.9 MB, free: 49.98 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.072e-05/0.3777, allocations: 19 kB / 497.9 MB, free: 49.98 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.431e-05/0.3777, allocations: 0 / 497.9 MB, free: 49.98 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.014e-05/0.3777, allocations: 6.516 kB / 497.9 MB, free: 49.98 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00919/0.3869, allocations: 4.626 MB / 0.4908 GB, free: 47.82 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.159e-05/0.3869, allocations: 7.969 kB / 0.4908 GB, free: 47.82 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005468/0.3874, allocations: 138 kB / 0.4909 GB, free: 47.8 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.464e-05/0.3875, allocations: 7.438 kB / 0.4909 GB, free: 47.8 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.411e-05/0.3875, allocations: 28.2 kB / 0.491 GB, free: 47.79 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.01e-05/0.3875, allocations: 14.11 kB / 0.491 GB, free: 47.79 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.206e-06/0.3875, allocations: 9.438 kB / 0.491 GB, free: 47.79 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001696/0.3892, allocations: 1.095 MB / 0.4921 GB, free: 47.08 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005105/0.3897, allocations: 207.9 kB / 0.4922 GB, free: 46.94 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002008/0.3899, allocations: 25.16 kB / 0.4923 GB, free: 46.93 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005398/0.3905, allocations: 35.64 kB / 0.4923 GB, free: 46.92 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001372/0.3906, allocations: 65.17 kB / 0.4924 GB, free: 46.91 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.881e-05/0.3907, allocations: 47.83 kB / 0.4924 GB, free: 46.9 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.001747/0.3924, allocations: 1.21 MB / 0.4936 GB, free: 46.4 MB / 410.7 MB Notification: Performance of sort global known variables: time 1e-07/0.3924, allocations: 0 / 0.4936 GB, free: 46.4 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.00385/0.3963, allocations: 1.012 MB / 0.4946 GB, free: 46.06 MB / 410.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.0003455/0.3966, allocations: 142 kB / 0.4947 GB, free: 45.95 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.003475/0.4001, allocations: 2.059 MB / 0.4967 GB, free: 45.25 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 7.664e-06/0.4001, allocations: 1.5 kB / 0.4967 GB, free: 45.25 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000514/0.4006, allocations: 320.8 kB / 0.497 GB, free: 45.15 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001075/0.4017, allocations: 190.7 kB / 0.4972 GB, free: 45.04 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01085/0.4126, allocations: 6.221 MB / 0.5033 GB, free: 41.88 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002078/0.4146, allocations: 2.111 MB / 0.5054 GB, free: 41.21 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.002311/0.417, allocations: 1.249 MB / 0.5066 GB, free: 41.09 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002884/0.4172, allocations: 148.9 kB / 0.5067 GB, free: 41.08 MB / 410.7 MB Notification: Performance of SimCode: time 1.482e-06/0.4172, allocations: 4 kB / 0.5067 GB, free: 41.08 MB / 410.7 MB Notification: Performance of Templates: time 0.02936/0.4466, allocations: 11.86 MB / 0.5183 GB, free: 34.51 MB / 410.7 MB " [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=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.MultiBody.Visualizers.Torus.pipe 2>&1) [Timeout 240] 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: 6.247603785945103]