Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.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.001409/0.001409, allocations: 80.41 kB / 22.21 MB, free: 2.285 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.001185/0.001185, allocations: 166.4 kB / 25.61 MB, free: 8.594 MB / 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.938/0.938, allocations: 177.1 MB / 206 MB, free: 4.473 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.1437/0.1437, allocations: 32.8 MB / 295.4 MB, free: 15.39 MB / 282.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.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.0.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.0.0_ModelicaTest.MultiBody.Visualizers.Torus") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.774e-06/1.774e-06, allocations: 0 / 377.2 MB, free: 25.65 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.319e-05/2.497e-05, allocations: 6.188 kB / 377.2 MB, free: 25.64 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Visualizers.Torus): time 0.008436/0.008461, allocations: 10.53 MB / 387.8 MB, free: 15.05 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.004644/0.01311, allocations: 2.747 MB / 390.5 MB, free: 12.3 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001325/0.01443, allocations: 63.81 kB / 390.6 MB, free: 12.24 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001673/0.0161, allocations: 1.393 MB / 392 MB, free: 10.84 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001985/0.01809, allocations: 1.295 MB / 393.3 MB, free: 9.539 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002411/0.01833, allocations: 83.72 kB / 393.4 MB, free: 9.457 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.001734/0.02006, allocations: 2.777 MB / 396.1 MB, free: 6.676 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001287/0.02135, allocations: 1.734 MB / 397.9 MB, free: 4.906 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001254/0.0226, allocations: 1.559 MB / 399.4 MB, free: 3.344 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001164/0.02377, allocations: 1.508 MB / 400.9 MB, free: 1.832 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002233/0.02399, allocations: 208 kB / 401.1 MB, free: 1.629 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000673/0.02466, allocations: 475.4 kB / 401.6 MB, free: 1.164 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0007732/0.02544, allocations: 1.48 MB / 403.1 MB, free: 15.68 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0006822/0.02612, allocations: 0.86 MB / 403.9 MB, free: 14.82 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002655/0.02877, allocations: 3.357 MB / 407.3 MB, free: 11.45 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.33e-06/0.02878, allocations: 0 / 407.3 MB, free: 11.45 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.222e-06/0.02878, allocations: 0 / 407.3 MB, free: 11.45 MB / 330.7 MB Notification: Performance of Transformations before backend: time 6.561e-05/0.02885, allocations: 0 / 407.3 MB, free: 11.45 MB / 330.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.003268/0.03211, allocations: 3.982 MB / 411.3 MB, free: 7.402 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.985e-05/0.03215, allocations: 11.98 kB / 411.3 MB, free: 7.391 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003595/0.03575, allocations: 1.656 MB / 412.9 MB, free: 5.73 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001436/0.03719, allocations: 1.308 MB / 414.3 MB, free: 4.383 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.39e-05/0.03727, allocations: 172.7 kB / 414.4 MB, free: 4.211 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000255/0.03752, allocations: 220.2 kB / 414.6 MB, free: 3.996 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005541/0.04306, allocations: 4.27 MB / 418.9 MB, free: 15.21 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.017e-05/0.04312, allocations: 23.75 kB / 418.9 MB, free: 15.19 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002296/0.04335, allocations: 111.8 kB / 419 MB, free: 15.08 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001796/0.04515, allocations: 2.077 MB / 421.1 MB, free: 13 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003717/0.04887, allocations: 2.221 MB / 423.3 MB, free: 10.76 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02002/0.06888, allocations: 28.77 MB / 452.1 MB, free: 13.06 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001811/0.0707, allocations: 0.9781 MB / 453.1 MB, free: 12.08 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003019/0.071, allocations: 264.1 kB / 453.3 MB, free: 11.82 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003729/0.07473, allocations: 2.825 MB / 456.2 MB, free: 8.965 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.5e-05/0.07476, allocations: 42.05 kB / 456.2 MB, free: 8.914 MB / 378.7 MB Notification: Performance of pre-optimization done (n=126): time 2.756e-06/0.07476, allocations: 0 / 456.2 MB, free: 8.914 MB / 378.7 MB Notification: Performance of matching and sorting (n=126): time 0.002674/0.07744, allocations: 1.437 MB / 457.6 MB, free: 7.473 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.562e-05/0.07747, allocations: 60.06 kB / 457.7 MB, free: 7.402 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001854/0.07933, allocations: 2.387 MB / 460.1 MB, free: 4.973 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 4.406e-05/0.07937, allocations: 37.7 kB / 460.1 MB, free: 4.93 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001682/0.08105, allocations: 2.886 MB / 463 MB, free: 2.012 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005033/0.08156, allocations: 0.5274 MB / 463.5 MB, free: 1.48 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009188/0.08248, allocations: 0.9959 MB / 464.5 MB, free: 480 kB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001931/0.08267, allocations: 0.5198 MB / 465.1 MB, free: 15.94 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000432/0.0831, allocations: 348.5 kB / 465.4 MB, free: 15.59 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002303/0.0854, allocations: 4.459 MB / 469.9 MB, free: 9.234 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003869/0.08927, allocations: 5.384 MB / 475.2 MB, free: 1.965 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.139e-05/0.08934, allocations: 28 kB / 475.3 MB, free: 1.938 MB / 394.7 MB Notification: Performance of matching and sorting (n=588) (initialization): time 0.004231/0.09357, allocations: 3.461 MB / 478.7 MB, free: 14.47 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.009e-05/0.09362, allocations: 48 kB / 478.8 MB, free: 14.42 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.934e-05/0.09369, allocations: 96 kB / 478.9 MB, free: 14.33 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.479e-05/0.09377, allocations: 128 kB / 479 MB, free: 14.2 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001599/0.09537, allocations: 0.9552 MB / 479.9 MB, free: 13.25 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.423e-05/0.09546, allocations: 191.2 kB / 480.1 MB, free: 13.06 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00202/0.09748, allocations: 0.5777 MB / 480.7 MB, free: 12.48 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00024/0.09772, allocations: 244 kB / 481 MB, free: 12.24 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.001123/0.09885, allocations: 0.5124 MB / 481.5 MB, free: 11.71 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002611/0.09911, allocations: 246.5 kB / 481.7 MB, free: 11.47 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002297/0.09934, allocations: 218.3 kB / 481.9 MB, free: 11.25 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.328e-05/0.09936, allocations: 15.94 kB / 481.9 MB, free: 11.24 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.012e-05/0.09937, allocations: 8 kB / 481.9 MB, free: 11.23 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.565e-06/0.09938, allocations: 3.984 kB / 481.9 MB, free: 11.23 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003827/0.1032, allocations: 2.804 MB / 484.7 MB, free: 8.309 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.673e-06/0.1032, allocations: 4 kB / 484.8 MB, free: 8.305 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002954/0.1035, allocations: 115.8 kB / 484.9 MB, free: 8.191 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.067e-05/0.1035, allocations: 11.94 kB / 484.9 MB, free: 8.18 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.253e-05/0.1036, allocations: 20 kB / 484.9 MB, free: 8.16 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.655e-06/0.1036, allocations: 15.92 kB / 484.9 MB, free: 8.145 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.366e-06/0.1036, allocations: 4.531 kB / 484.9 MB, free: 8.141 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000838/0.1044, allocations: 1.015 MB / 485.9 MB, free: 7.027 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002647/0.1047, allocations: 214.1 kB / 486.1 MB, free: 6.816 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001256/0.1048, allocations: 23.98 kB / 486.2 MB, free: 6.793 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002778/0.1051, allocations: 16 kB / 486.2 MB, free: 6.777 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.012e-05/0.1051, allocations: 64.28 kB / 486.2 MB, free: 6.715 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.158e-05/0.1052, allocations: 35.98 kB / 486.3 MB, free: 6.68 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0007494/0.106, allocations: 0.9279 MB / 487.2 MB, free: 5.734 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.61e-07/0.106, allocations: 0 / 487.2 MB, free: 5.734 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.002552/0.1085, allocations: 1.016 MB / 488.2 MB, free: 4.715 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.0002594/0.1088, allocations: 146.9 kB / 488.4 MB, free: 4.562 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.002091/0.1109, allocations: 1.756 MB / 490.1 MB, free: 2.82 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 5.641e-06/0.1109, allocations: 4 kB / 490.1 MB, free: 2.816 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002743/0.1111, allocations: 276.9 kB / 490.4 MB, free: 2.535 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006387/0.1118, allocations: 183.4 kB / 490.6 MB, free: 2.352 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007273/0.119, allocations: 6.131 MB / 496.7 MB, free: 12.08 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000901/0.1199, allocations: 1.051 MB / 497.8 MB, free: 11.01 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0007937/0.1207, allocations: 336.8 kB / 498.1 MB, free: 10.68 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003662/0.1211, allocations: 358.1 kB / 498.4 MB, free: 10.32 MB / 426.7 MB Notification: Performance of SimCode: time 1.573e-06/0.1211, allocations: 0 / 498.4 MB, free: 10.32 MB / 426.7 MB Notification: Performance of Templates: time 0.1534/0.2745, allocations: 13.98 MB / 0.5004 GB, free: 130.3 MB / 426.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Visualizers.Torus.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Visualizers.Torus.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.MultiBody.Visualizers.Torus.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.MultiBody.Visualizers.Torus.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Visualizers.Torus.sim & ./ModelicaTest_4.0.0_ModelicaTest.MultiBody.Visualizers.Torus -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.MultiBody.Visualizers.Torus.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.MultiBody.Visualizers.Torus_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.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.9293842441402376]