Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.MultiBody.Visualizers.Torus.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.001008/0.001008, 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.0009846/0.0009846, allocations: 161 kB / 24.56 MB, free: 12 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.9575/0.9575, allocations: 177.1 MB / 205 MB, free: 5.633 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2747/0.2747, allocations: 34.26 MB / 295.7 MB, free: 0.7695 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.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.Torus,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|torus1.surface.nu|torus1.surface.nv|torus2.surface.nu|torus2.surface.nv",fileNamePrefix="ModelicaTest_4.1.0_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_4.1.0_ModelicaTest.MultiBody.Visualizers.Torus") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.505e-06/2.505e-06, allocations: 0 / 378 MB, free: 2.691 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.512e-05/3.762e-05, allocations: 2.312 kB / 378 MB, free: 2.688 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Visualizers.Torus): time 0.0134/0.01344, allocations: 10.82 MB / 388.8 MB, free: 7.809 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.00648/0.01992, allocations: 2.78 MB / 391.6 MB, free: 5.02 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001376/0.0213, allocations: 63.81 kB / 391.7 MB, free: 4.957 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001991/0.02329, allocations: 1.405 MB / 393.1 MB, free: 3.547 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001752/0.02504, allocations: 1.295 MB / 394.4 MB, free: 2.246 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002308/0.02527, allocations: 91.69 kB / 394.5 MB, free: 2.156 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.00194/0.02721, allocations: 2.775 MB / 397.2 MB, free: 15.37 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001442/0.02865, allocations: 1.723 MB / 399 MB, free: 13.61 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001273/0.02993, allocations: 1.551 MB / 400.5 MB, free: 12.06 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00127/0.0312, allocations: 1.504 MB / 402 MB, free: 10.55 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002564/0.03145, allocations: 212 kB / 402.2 MB, free: 10.35 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006049/0.03206, allocations: 471.3 kB / 402.7 MB, free: 9.887 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0008268/0.03289, allocations: 1.48 MB / 404.2 MB, free: 8.402 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0006621/0.03355, allocations: 0.8639 MB / 405 MB, free: 7.535 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002449/0.036, allocations: 3.349 MB / 408.4 MB, free: 4.172 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.158e-06/0.036, allocations: 3.938 kB / 408.4 MB, free: 4.168 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.292e-06/0.036, allocations: 0 / 408.4 MB, free: 4.168 MB / 378.7 MB Notification: Performance of Transformations before backend: time 5.48e-05/0.03606, allocations: 0 / 408.4 MB, free: 4.168 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.003394/0.03945, allocations: 3.975 MB / 412.4 MB, free: 140 kB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.448e-05/0.03949, allocations: 12.03 kB / 412.4 MB, free: 128 kB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005568/0.04505, allocations: 3.434 MB / 415.8 MB, free: 12.68 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001675/0.04673, allocations: 1.404 MB / 417.2 MB, free: 11.24 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.557e-05/0.04683, allocations: 180.6 kB / 417.4 MB, free: 11.06 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002825/0.04711, allocations: 220.2 kB / 417.6 MB, free: 10.85 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005189/0.0523, allocations: 4.662 MB / 422.3 MB, free: 5.676 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.409e-05/0.05234, allocations: 23.75 kB / 422.3 MB, free: 5.652 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002155/0.05256, allocations: 107.8 kB / 422.4 MB, free: 5.547 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00213/0.05469, allocations: 2.369 MB / 424.8 MB, free: 3.172 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005399/0.06008, allocations: 2.757 MB / 427.5 MB, free: 412 kB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2026/0.2626, allocations: 29.06 MB / 456.6 MB, free: 72.97 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002699/0.2653, allocations: 1.046 MB / 457.6 MB, free: 72.93 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004207/0.2658, allocations: 303.8 kB / 457.9 MB, free: 72.92 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00408/0.2698, allocations: 3.012 MB / 460.9 MB, free: 72.47 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.31e-05/0.2699, allocations: 40.81 kB / 461 MB, free: 72.43 MB / 410.7 MB Notification: Performance of pre-optimization done (n=126): time 2.465e-06/0.2699, allocations: 1.062 kB / 461 MB, free: 72.43 MB / 410.7 MB Notification: Performance of matching and sorting (n=126): time 0.002682/0.2725, allocations: 1.509 MB / 462.5 MB, free: 72.25 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.708e-05/0.2726, allocations: 61.41 kB / 462.5 MB, free: 72.19 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002043/0.2746, allocations: 2.398 MB / 464.9 MB, free: 71.74 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 4.594e-05/0.2747, allocations: 36.58 kB / 465 MB, free: 71.71 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001104/0.2758, allocations: 2.879 MB / 467.8 MB, free: 70.18 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002793/0.276, allocations: 0.5328 MB / 468.4 MB, free: 69.89 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006976/0.2767, allocations: 0.9666 MB / 469.3 MB, free: 69.48 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 7.315e-05/0.2768, allocations: 0.521 MB / 469.9 MB, free: 68.98 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006427/0.2775, allocations: 444.3 kB / 470.3 MB, free: 68.91 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001968/0.2794, allocations: 4.532 MB / 474.8 MB, free: 63.34 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003557/0.283, allocations: 5.488 MB / 480.3 MB, free: 57.39 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.728e-05/0.283, allocations: 29.69 kB / 480.4 MB, free: 57.39 MB / 410.7 MB Notification: Performance of matching and sorting (n=588) (initialization): time 0.004021/0.287, allocations: 3.705 MB / 484.1 MB, free: 55.96 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.238e-05/0.2871, allocations: 45.31 kB / 484.1 MB, free: 55.96 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.379e-05/0.2872, allocations: 100.1 kB / 484.2 MB, free: 55.96 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.171e-05/0.2872, allocations: 128.4 kB / 484.3 MB, free: 55.96 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001471/0.2887, allocations: 0.9783 MB / 485.3 MB, free: 55.84 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.478e-05/0.2888, allocations: 192.9 kB / 485.5 MB, free: 55.79 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001461/0.2903, allocations: 0.6079 MB / 486.1 MB, free: 55.4 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002158/0.2905, allocations: 278.6 kB / 486.4 MB, free: 55.37 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.0009392/0.2914, allocations: 0.5038 MB / 486.9 MB, free: 54.95 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001759/0.2916, allocations: 238.2 kB / 487.1 MB, free: 54.82 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001837/0.2918, allocations: 222.8 kB / 487.3 MB, free: 54.69 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.984e-05/0.2918, allocations: 19.34 kB / 487.3 MB, free: 54.68 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.194e-05/0.2918, allocations: 0 / 487.3 MB, free: 54.68 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.364e-06/0.2918, allocations: 5.438 kB / 487.4 MB, free: 54.68 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004612/0.2964, allocations: 3.84 MB / 491.2 MB, free: 52.89 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.384e-06/0.2964, allocations: 8.062 kB / 491.2 MB, free: 52.89 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003209/0.2967, allocations: 133.2 kB / 491.3 MB, free: 52.88 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.078e-06/0.2968, allocations: 8.062 kB / 491.3 MB, free: 52.88 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.861e-05/0.2968, allocations: 25.31 kB / 491.4 MB, free: 52.88 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.783e-06/0.2968, allocations: 7.281 kB / 491.4 MB, free: 52.88 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.218e-06/0.2968, allocations: 8.969 kB / 491.4 MB, free: 52.87 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009917/0.2978, allocations: 1.064 MB / 492.4 MB, free: 52.18 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000173/0.298, allocations: 213.5 kB / 492.6 MB, free: 52.04 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001114/0.2981, allocations: 21.22 kB / 492.7 MB, free: 52.02 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000286/0.2984, allocations: 39.91 kB / 492.7 MB, free: 52.02 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.342e-05/0.2985, allocations: 67.41 kB / 492.8 MB, free: 52 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.873e-05/0.2985, allocations: 39.88 kB / 492.8 MB, free: 52 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.001051/0.2996, allocations: 0.9915 MB / 493.8 MB, free: 51.61 MB / 410.7 MB Notification: Performance of sort global known variables: time 2.1e-07/0.2996, allocations: 0 / 493.8 MB, free: 51.61 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.002259/0.3018, allocations: 1.014 MB / 494.8 MB, free: 51.27 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.0002803/0.3021, allocations: 153.6 kB / 495 MB, free: 51.15 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.002339/0.3044, allocations: 1.865 MB / 496.8 MB, free: 50.55 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 5.16e-06/0.3044, allocations: 1.062 kB / 496.8 MB, free: 50.55 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003365/0.3048, allocations: 297.2 kB / 497.1 MB, free: 50.47 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006148/0.3054, allocations: 187.4 kB / 497.3 MB, free: 50.36 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006969/0.3124, allocations: 6.149 MB / 0.4917 GB, free: 47.24 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007202/0.3131, allocations: 1.053 MB / 0.4927 GB, free: 46.88 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.001614/0.3147, allocations: 1.246 MB / 0.4939 GB, free: 46.77 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002638/0.315, allocations: 156.7 kB / 0.4941 GB, free: 46.75 MB / 410.7 MB Notification: Performance of SimCode: time 1.974e-06/0.315, allocations: 0 / 0.4941 GB, free: 46.75 MB / 410.7 MB Notification: Performance of Templates: time 0.02327/0.3382, allocations: 11.88 MB / 0.5056 GB, free: 42.84 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.MultiBody.Visualizers.Torus.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.MultiBody.Visualizers.Torus.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.MultiBody.Visualizers.Torus.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.MultiBody.Visualizers.Torus.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.MultiBody.Visualizers.Torus.sim & ./ModelicaTest_4.1.0_ModelicaTest.MultiBody.Visualizers.Torus -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.MultiBody.Visualizers.Torus.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_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","",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.125769379083067]