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.00132/0.00132, 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.001548/0.001548, allocations: 165 kB / 24.56 MB, free: 20 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.9518/0.9518, allocations: 177.1 MB / 205 MB, free: 5.277 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.2386/0.2386, allocations: 34.26 MB / 295.7 MB, free: 0.6562 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 1.393e-06/1.393e-06, allocations: 0 / 378 MB, free: 2.668 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.563e-05/2.702e-05, allocations: 2.312 kB / 378 MB, free: 2.664 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Visualizers.Torus): time 0.008392/0.008419, allocations: 10.83 MB / 388.8 MB, free: 7.781 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.00499/0.01341, allocations: 2.772 MB / 391.6 MB, free: 5 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001186/0.0146, allocations: 59.81 kB / 391.7 MB, free: 4.941 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002182/0.01678, allocations: 1.413 MB / 393.1 MB, free: 3.523 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002382/0.01916, allocations: 1.306 MB / 394.4 MB, free: 2.211 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002738/0.01943, allocations: 79.78 kB / 394.5 MB, free: 2.133 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.002917/0.02235, allocations: 2.772 MB / 397.2 MB, free: 15.35 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002087/0.02444, allocations: 1.727 MB / 399 MB, free: 13.59 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001684/0.02612, allocations: 1.555 MB / 400.5 MB, free: 12.03 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001351/0.02747, allocations: 1.508 MB / 402 MB, free: 10.52 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002412/0.02771, allocations: 212 kB / 402.2 MB, free: 10.31 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006268/0.02834, allocations: 471.3 kB / 402.7 MB, free: 9.852 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0007877/0.02913, allocations: 1.476 MB / 404.2 MB, free: 8.371 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0006441/0.02977, allocations: 0.8639 MB / 405 MB, free: 7.504 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002327/0.0321, allocations: 3.353 MB / 408.4 MB, free: 4.137 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.428e-06/0.0321, allocations: 0 / 408.4 MB, free: 4.137 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.143e-06/0.03211, allocations: 0 / 408.4 MB, free: 4.137 MB / 378.7 MB Notification: Performance of Transformations before backend: time 4.366e-05/0.03215, allocations: 0 / 408.4 MB, free: 4.137 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.003269/0.03542, allocations: 3.979 MB / 412.4 MB, free: 104 kB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.847e-05/0.03546, allocations: 12.03 kB / 412.4 MB, free: 92 kB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005413/0.04087, allocations: 3.426 MB / 415.8 MB, free: 12.66 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001432/0.0423, allocations: 1.464 MB / 417.3 MB, free: 11.16 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.141e-05/0.04239, allocations: 172.6 kB / 417.4 MB, free: 10.98 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002585/0.04265, allocations: 224.2 kB / 417.7 MB, free: 10.77 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004646/0.0473, allocations: 4.666 MB / 422.3 MB, free: 5.59 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.411e-05/0.04734, allocations: 19.75 kB / 422.3 MB, free: 5.57 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000203/0.04754, allocations: 107.8 kB / 422.5 MB, free: 5.465 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002038/0.04958, allocations: 2.373 MB / 424.8 MB, free: 3.086 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004991/0.05457, allocations: 2.762 MB / 427.6 MB, free: 324 kB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1715/0.2261, allocations: 29.05 MB / 456.6 MB, free: 72.75 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002614/0.2287, allocations: 1.046 MB / 457.7 MB, free: 72.72 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005093/0.2292, allocations: 308.3 kB / 458 MB, free: 72.7 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004607/0.2338, allocations: 3.008 MB / 461 MB, free: 72.25 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.456e-05/0.2338, allocations: 49.73 kB / 461 MB, free: 72.2 MB / 410.7 MB Notification: Performance of pre-optimization done (n=126): time 3.216e-06/0.2338, allocations: 0.7188 kB / 461 MB, free: 72.2 MB / 410.7 MB Notification: Performance of matching and sorting (n=126): time 0.003625/0.2374, allocations: 1.505 MB / 462.6 MB, free: 72.02 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.422e-05/0.2375, allocations: 61.25 kB / 462.6 MB, free: 71.96 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002102/0.2396, allocations: 2.397 MB / 465 MB, free: 71.51 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 4.489e-05/0.2396, allocations: 42.8 kB / 465 MB, free: 71.48 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001001/0.2406, allocations: 2.869 MB / 467.9 MB, free: 69.95 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002759/0.2409, allocations: 0.5387 MB / 468.5 MB, free: 69.65 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008467/0.2417, allocations: 0.9676 MB / 469.4 MB, free: 69.36 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 7.118e-05/0.2418, allocations: 0.5177 MB / 469.9 MB, free: 68.86 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007629/0.2426, allocations: 446.4 kB / 470.4 MB, free: 68.8 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001847/0.2444, allocations: 4.531 MB / 474.9 MB, free: 63.23 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00345/0.2479, allocations: 5.495 MB / 480.4 MB, free: 57.28 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.276e-05/0.2479, allocations: 26.62 kB / 480.4 MB, free: 57.28 MB / 410.7 MB Notification: Performance of matching and sorting (n=588) (initialization): time 0.004556/0.2525, allocations: 3.702 MB / 484.1 MB, free: 55.85 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.013e-05/0.2525, allocations: 46.25 kB / 484.2 MB, free: 55.85 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.217e-05/0.2526, allocations: 98.97 kB / 484.3 MB, free: 55.85 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.642e-05/0.2527, allocations: 131.2 kB / 484.4 MB, free: 55.84 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002/0.2547, allocations: 0.9766 MB / 485.4 MB, free: 55.72 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001129/0.2548, allocations: 190.4 kB / 485.6 MB, free: 55.68 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001851/0.2567, allocations: 0.61 MB / 486.2 MB, free: 55.29 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000269/0.2569, allocations: 275.9 kB / 486.4 MB, free: 55.26 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.0008812/0.2578, allocations: 0.5123 MB / 487 MB, free: 54.84 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002047/0.258, allocations: 238 kB / 487.2 MB, free: 54.71 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002197/0.2582, allocations: 227.6 kB / 487.4 MB, free: 54.57 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.05e-05/0.2582, allocations: 15.5 kB / 487.4 MB, free: 54.57 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.588e-06/0.2583, allocations: 0 / 487.4 MB, free: 54.57 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.164e-06/0.2583, allocations: 7.172 kB / 487.4 MB, free: 54.57 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005195/0.2635, allocations: 3.826 MB / 491.3 MB, free: 52.79 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.955e-06/0.2635, allocations: 4.344 kB / 491.3 MB, free: 52.79 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004181/0.2639, allocations: 138.5 kB / 491.4 MB, free: 52.77 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.048e-05/0.2639, allocations: 10.33 kB / 491.4 MB, free: 52.77 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.852e-05/0.2639, allocations: 22.16 kB / 491.4 MB, free: 52.77 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.105e-05/0.264, allocations: 11.91 kB / 491.4 MB, free: 52.76 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.891e-06/0.264, allocations: 4.656 kB / 491.4 MB, free: 52.76 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001152/0.2651, allocations: 1.068 MB / 492.5 MB, free: 52.07 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001901/0.2653, allocations: 214.4 kB / 492.7 MB, free: 51.92 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000167/0.2655, allocations: 19.39 kB / 492.7 MB, free: 51.91 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000401/0.2659, allocations: 42.62 kB / 492.8 MB, free: 51.9 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001103/0.266, allocations: 57.33 kB / 492.8 MB, free: 51.89 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.485e-05/0.266, allocations: 49.64 kB / 492.9 MB, free: 51.88 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.001047/0.2671, allocations: 0.996 MB / 493.9 MB, free: 51.5 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.6e-07/0.2671, allocations: 0 / 493.9 MB, free: 51.5 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.001958/0.2691, allocations: 1.007 MB / 494.9 MB, free: 51.16 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.0002413/0.2693, allocations: 152.8 kB / 495 MB, free: 51.04 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.001969/0.2713, allocations: 1.865 MB / 496.9 MB, free: 50.44 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 4.168e-06/0.2713, allocations: 0 / 496.9 MB, free: 50.44 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003067/0.2716, allocations: 301.5 kB / 497.2 MB, free: 50.36 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005783/0.2722, allocations: 189.9 kB / 497.4 MB, free: 50.25 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005755/0.2779, allocations: 6.147 MB / 0.4917 GB, free: 47.12 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006575/0.2786, allocations: 1.053 MB / 0.4928 GB, free: 46.76 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.001386/0.2799, allocations: 1.245 MB / 0.494 GB, free: 46.66 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002121/0.2802, allocations: 154.4 kB / 0.4941 GB, free: 46.64 MB / 410.7 MB Notification: Performance of SimCode: time 6.11e-07/0.2802, allocations: 0 / 0.4941 GB, free: 46.64 MB / 410.7 MB Notification: Performance of Templates: time 0.02316/0.3033, allocations: 12.44 MB / 0.5063 GB, free: 42.38 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: 3.7355697476305068]