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.0009528/0.0009528, allocations: 77.97 kB / 21.42 MB, free: 3.074 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.001174/0.001174, allocations: 168.2 kB / 24.82 MB, free: 8.863 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 1.001/1.001, allocations: 177.1 MB / 205.3 MB, free: 5.48 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.292/0.292, allocations: 32.8 MB / 294.6 MB, free: 1.23 MB / 266.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 2.755e-06/2.755e-06, allocations: 0 / 376.5 MB, free: 4.43 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.722e-05/1.998e-05, allocations: 6.25 kB / 376.5 MB, free: 4.422 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Visualizers.Torus): time 0.009432/0.009452, allocations: 10.54 MB / 387 MB, free: 9.828 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.005027/0.01448, allocations: 2.756 MB / 389.8 MB, free: 7.062 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009539/0.01543, allocations: 59.81 kB / 389.8 MB, free: 7.004 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001854/0.01729, allocations: 1.385 MB / 391.2 MB, free: 5.613 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002068/0.01935, allocations: 1.302 MB / 392.5 MB, free: 4.305 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002609/0.01962, allocations: 91.7 kB / 392.6 MB, free: 4.215 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.00197/0.02159, allocations: 2.775 MB / 395.4 MB, free: 1.434 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001306/0.02289, allocations: 1.73 MB / 397.1 MB, free: 15.66 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001162/0.02405, allocations: 1.547 MB / 398.6 MB, free: 14.11 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001295/0.02535, allocations: 1.512 MB / 400.2 MB, free: 12.6 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002076/0.02556, allocations: 212 kB / 400.4 MB, free: 12.39 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005546/0.02611, allocations: 471.3 kB / 400.8 MB, free: 11.93 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0008022/0.02691, allocations: 1.476 MB / 402.3 MB, free: 10.45 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0005826/0.0275, allocations: 0.8678 MB / 403.2 MB, free: 9.582 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002554/0.03005, allocations: 3.361 MB / 406.5 MB, free: 6.207 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.789e-06/0.03005, allocations: 0 / 406.5 MB, free: 6.207 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.092e-06/0.03006, allocations: 0 / 406.5 MB, free: 6.207 MB / 378.7 MB Notification: Performance of Transformations before backend: time 4.086e-05/0.0301, allocations: 0 / 406.5 MB, free: 6.207 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.003227/0.03332, allocations: 3.978 MB / 410.5 MB, free: 2.172 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.389e-05/0.03337, allocations: 12.03 kB / 410.5 MB, free: 2.16 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003641/0.03701, allocations: 1.656 MB / 412.2 MB, free: 0.5 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001404/0.03841, allocations: 1.304 MB / 413.5 MB, free: 15.16 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001068/0.03852, allocations: 168.7 kB / 413.6 MB, free: 14.99 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002701/0.03879, allocations: 224.2 kB / 413.9 MB, free: 14.77 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004269/0.04306, allocations: 4.27 MB / 418.1 MB, free: 9.988 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.023e-05/0.0431, allocations: 19.81 kB / 418.2 MB, free: 9.969 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001975/0.0433, allocations: 111.8 kB / 418.3 MB, free: 9.859 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001749/0.04505, allocations: 2.085 MB / 420.3 MB, free: 7.77 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003319/0.04836, allocations: 2.229 MB / 422.6 MB, free: 5.523 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2299/0.2782, allocations: 28.76 MB / 451.3 MB, free: 76.84 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00202/0.2803, allocations: 0.9675 MB / 452.3 MB, free: 76.81 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003324/0.2806, allocations: 263.7 kB / 452.6 MB, free: 76.79 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003903/0.2845, allocations: 2.82 MB / 455.4 MB, free: 76.41 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.76e-05/0.2845, allocations: 42.89 kB / 455.4 MB, free: 76.37 MB / 410.7 MB Notification: Performance of pre-optimization done (n=126): time 3.076e-06/0.2845, allocations: 3.031 kB / 455.4 MB, free: 76.37 MB / 410.7 MB Notification: Performance of matching and sorting (n=126): time 0.002477/0.287, allocations: 1.426 MB / 456.9 MB, free: 76.2 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.329e-05/0.287, allocations: 62.16 kB / 456.9 MB, free: 76.13 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001994/0.289, allocations: 2.387 MB / 459.3 MB, free: 75.68 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 3.713e-05/0.2891, allocations: 42.25 kB / 459.3 MB, free: 75.65 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001302/0.2904, allocations: 2.889 MB / 462.2 MB, free: 74.12 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002958/0.2907, allocations: 0.5306 MB / 462.8 MB, free: 73.83 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001667/0.2923, allocations: 0.9939 MB / 463.8 MB, free: 73.64 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 9.36e-05/0.2924, allocations: 0.5253 MB / 464.3 MB, free: 73.13 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004429/0.2929, allocations: 346.6 kB / 464.6 MB, free: 73.12 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001773/0.2946, allocations: 4.46 MB / 469.1 MB, free: 67.69 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003643/0.2983, allocations: 5.376 MB / 474.5 MB, free: 62.11 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.908e-05/0.2983, allocations: 26.34 kB / 474.5 MB, free: 62.11 MB / 410.7 MB Notification: Performance of matching and sorting (n=588) (initialization): time 0.003463/0.3018, allocations: 3.464 MB / 477.9 MB, free: 60.92 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.869e-05/0.3019, allocations: 47.53 kB / 478 MB, free: 60.92 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.769e-05/0.3019, allocations: 96 kB / 478.1 MB, free: 60.92 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001066/0.3021, allocations: 129.3 kB / 478.2 MB, free: 60.92 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0016/0.3037, allocations: 0.9579 MB / 479.2 MB, free: 60.79 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001346/0.3038, allocations: 190.6 kB / 479.4 MB, free: 60.75 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001663/0.3055, allocations: 0.576 MB / 479.9 MB, free: 60.37 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002481/0.3057, allocations: 248.2 kB / 480.2 MB, free: 60.33 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.001356/0.3071, allocations: 0.5101 MB / 480.7 MB, free: 59.91 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002205/0.3073, allocations: 239.8 kB / 480.9 MB, free: 59.77 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002119/0.3075, allocations: 221.3 kB / 481.1 MB, free: 59.64 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.357e-05/0.3075, allocations: 18.95 kB / 481.2 MB, free: 59.64 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.562e-05/0.3075, allocations: 3.938 kB / 481.2 MB, free: 59.63 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.153e-05/0.3075, allocations: 10.5 kB / 481.2 MB, free: 59.63 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003746/0.3113, allocations: 2.801 MB / 484 MB, free: 58.23 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.723e-06/0.3113, allocations: 3.094 kB / 484 MB, free: 58.23 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002635/0.3116, allocations: 115 kB / 484.1 MB, free: 58.21 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.258e-05/0.3116, allocations: 9.438 kB / 484.1 MB, free: 58.21 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.389e-05/0.3116, allocations: 26.94 kB / 484.1 MB, free: 58.2 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.427e-06/0.3116, allocations: 16.61 kB / 484.1 MB, free: 58.2 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.44e-06/0.3116, allocations: 3.094 kB / 484.1 MB, free: 58.2 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000952/0.3126, allocations: 1.021 MB / 485.2 MB, free: 57.52 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002056/0.3128, allocations: 203.7 kB / 485.4 MB, free: 57.38 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000115/0.3129, allocations: 19.38 kB / 485.4 MB, free: 57.38 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002502/0.3131, allocations: 15.88 kB / 485.4 MB, free: 57.37 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.273e-05/0.3132, allocations: 68.19 kB / 485.5 MB, free: 57.35 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.01e-05/0.3133, allocations: 39.47 kB / 485.5 MB, free: 57.34 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0009536/0.3142, allocations: 0.9261 MB / 486.4 MB, free: 56.98 MB / 410.7 MB Notification: Performance of sort global known variables: time 3.01e-07/0.3142, allocations: 0 / 486.4 MB, free: 56.98 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.002843/0.3171, allocations: 1.02 MB / 487.4 MB, free: 56.63 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.0003479/0.3174, allocations: 142.7 kB / 487.6 MB, free: 56.52 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.002338/0.3198, allocations: 1.766 MB / 489.4 MB, free: 55.95 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 5.851e-06/0.3198, allocations: 1.25 kB / 489.4 MB, free: 55.95 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003278/0.3201, allocations: 267.2 kB / 489.6 MB, free: 55.88 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006748/0.3208, allocations: 196.5 kB / 489.8 MB, free: 55.77 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008136/0.3289, allocations: 6.12 MB / 495.9 MB, free: 52.65 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009117/0.3298, allocations: 1.056 MB / 497 MB, free: 52.29 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0007618/0.3306, allocations: 342.4 kB / 497.3 MB, free: 52.18 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003781/0.331, allocations: 360.8 kB / 497.7 MB, free: 52.1 MB / 410.7 MB Notification: Performance of SimCode: time 1.974e-06/0.331, allocations: 0 / 497.7 MB, free: 52.1 MB / 410.7 MB Notification: Performance of Templates: time 0.02977/0.3607, allocations: 13.67 MB / 0.4994 GB, free: 48.47 MB / 410.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: 4.262399114202708]