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.001512/0.001512, allocations: 91.5 kB / 21.2 MB, free: 3.375 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.001361/0.001361, allocations: 160.5 kB / 24.55 MB, free: 16 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 0.9429/0.9429, allocations: 177 MB / 204.8 MB, free: 5.586 MB / 186.7 MB " [Timeout remaining time 179] 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.2714/0.2714, allocations: 34.87 MB / 296.3 MB, free: 0.5508 MB / 266.7 MB " [Timeout remaining time 180] 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.523e-06/1.523e-06, allocations: 0 / 378.7 MB, free: 2.113 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.626e-05/1.778e-05, allocations: 3.578 kB / 378.7 MB, free: 2.109 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Visualizers.Torus): time 0.02278/0.0228, allocations: 10.83 MB / 389.6 MB, free: 7.227 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.008192/0.03099, allocations: 2.776 MB / 392.3 MB, free: 4.441 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003855/0.03485, allocations: 63.81 kB / 392.4 MB, free: 4.379 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001937/0.03678, allocations: 1.401 MB / 393.8 MB, free: 2.973 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.004836/0.04162, allocations: 1.303 MB / 395.1 MB, free: 1.664 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002269/0.04185, allocations: 87.7 kB / 395.2 MB, free: 1.578 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.002413/0.04426, allocations: 2.777 MB / 398 MB, free: 14.8 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001647/0.04591, allocations: 1.727 MB / 399.7 MB, free: 13.03 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001461/0.04737, allocations: 1.551 MB / 401.3 MB, free: 11.48 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001606/0.04897, allocations: 1.508 MB / 402.8 MB, free: 9.965 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0003752/0.04935, allocations: 208 kB / 403 MB, free: 9.762 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007274/0.05008, allocations: 475.3 kB / 403.4 MB, free: 9.297 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0009359/0.05101, allocations: 1.476 MB / 404.9 MB, free: 7.816 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0009789/0.05199, allocations: 0.8639 MB / 405.8 MB, free: 6.949 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002684/0.05467, allocations: 3.357 MB / 409.1 MB, free: 3.578 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.647e-06/0.05468, allocations: 0 / 409.1 MB, free: 3.578 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.182e-06/0.05468, allocations: 0 / 409.1 MB, free: 3.578 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0001069/0.05479, allocations: 0 / 409.1 MB, free: 3.578 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.003545/0.05833, allocations: 3.979 MB / 413.1 MB, free: 15.54 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.899e-05/0.05836, allocations: 8.031 kB / 413.1 MB, free: 15.54 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005226/0.06359, allocations: 3.434 MB / 416.5 MB, free: 12.09 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001382/0.06497, allocations: 1.456 MB / 418 MB, free: 10.61 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.209e-05/0.06506, allocations: 180.6 kB / 418.2 MB, free: 10.43 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002626/0.06532, allocations: 224.2 kB / 418.4 MB, free: 10.21 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004882/0.0702, allocations: 4.662 MB / 423.1 MB, free: 5.035 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.113e-05/0.07025, allocations: 23.75 kB / 423.1 MB, free: 5.012 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002121/0.07046, allocations: 107.8 kB / 423.2 MB, free: 4.906 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002003/0.07246, allocations: 2.373 MB / 425.6 MB, free: 2.527 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004786/0.07725, allocations: 2.749 MB / 428.3 MB, free: 15.77 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.178/0.2553, allocations: 29.05 MB / 457.4 MB, free: 72.66 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002068/0.2574, allocations: 1.047 MB / 458.4 MB, free: 72.62 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000399/0.2578, allocations: 308.4 kB / 458.7 MB, free: 72.61 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003649/0.2614, allocations: 3.01 MB / 461.7 MB, free: 72.12 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.47e-05/0.2614, allocations: 46.94 kB / 461.8 MB, free: 72.08 MB / 410.7 MB Notification: Performance of pre-optimization done (n=126): time 2.825e-06/0.2614, allocations: 0 / 461.8 MB, free: 72.08 MB / 410.7 MB Notification: Performance of matching and sorting (n=126): time 0.002693/0.2641, allocations: 1.503 MB / 463.3 MB, free: 71.91 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.745e-05/0.2642, allocations: 58.31 kB / 463.3 MB, free: 71.84 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00183/0.266, allocations: 2.403 MB / 465.7 MB, free: 71.39 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 3.841e-05/0.266, allocations: 45.36 kB / 465.8 MB, free: 71.36 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008975/0.2669, allocations: 2.866 MB / 468.6 MB, free: 69.75 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002199/0.2671, allocations: 0.5295 MB / 469.2 MB, free: 69.36 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006358/0.2678, allocations: 0.9755 MB / 470.1 MB, free: 68.84 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 6.727e-05/0.2678, allocations: 0.5219 MB / 470.7 MB, free: 68.33 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005823/0.2684, allocations: 448.3 kB / 471.1 MB, free: 68.27 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00154/0.27, allocations: 4.534 MB / 475.6 MB, free: 62.7 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002817/0.2728, allocations: 5.486 MB / 481.1 MB, free: 56.71 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.181e-05/0.2728, allocations: 26.09 kB / 481.2 MB, free: 56.71 MB / 410.7 MB Notification: Performance of matching and sorting (n=588) (initialization): time 0.003535/0.2764, allocations: 3.706 MB / 484.9 MB, free: 55.28 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.116e-05/0.2764, allocations: 46.84 kB / 484.9 MB, free: 55.28 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.237e-05/0.2765, allocations: 99.84 kB / 485 MB, free: 55.28 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.991e-05/0.2765, allocations: 126.7 kB / 485.1 MB, free: 55.28 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001492/0.278, allocations: 0.9795 MB / 486.1 MB, free: 55.16 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.908e-05/0.2781, allocations: 188.2 kB / 486.3 MB, free: 55.12 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00176/0.2799, allocations: 0.6096 MB / 486.9 MB, free: 54.72 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002701/0.2802, allocations: 274.7 kB / 487.2 MB, free: 54.69 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.0008785/0.281, allocations: 0.5196 MB / 487.7 MB, free: 54.27 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002252/0.2813, allocations: 236.3 kB / 487.9 MB, free: 54.14 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002183/0.2815, allocations: 223.7 kB / 488.1 MB, free: 54 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.975e-05/0.2815, allocations: 15.06 kB / 488.2 MB, free: 54 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.005e-05/0.2815, allocations: 2.844 kB / 488.2 MB, free: 54 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.874e-06/0.2815, allocations: 3.234 kB / 488.2 MB, free: 54 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005466/0.287, allocations: 3.826 MB / 492 MB, free: 52.22 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.885e-06/0.287, allocations: 6.469 kB / 492 MB, free: 52.22 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004326/0.2874, allocations: 137.3 kB / 492.1 MB, free: 52.21 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.01e-05/0.2874, allocations: 7.469 kB / 492.1 MB, free: 52.21 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.028e-05/0.2875, allocations: 31.08 kB / 492.2 MB, free: 52.19 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.007e-06/0.2875, allocations: 7.719 kB / 492.2 MB, free: 52.19 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.801e-06/0.2875, allocations: 8.844 kB / 492.2 MB, free: 52.19 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001145/0.2886, allocations: 1.066 MB / 493.2 MB, free: 51.5 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001914/0.2888, allocations: 209 kB / 493.4 MB, free: 51.36 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001648/0.289, allocations: 18.34 kB / 493.5 MB, free: 51.35 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004049/0.2894, allocations: 44.44 kB / 493.5 MB, free: 51.34 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001124/0.2895, allocations: 60.58 kB / 493.6 MB, free: 51.32 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.173e-05/0.2896, allocations: 50.64 kB / 493.6 MB, free: 51.31 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.001176/0.2908, allocations: 0.997 MB / 494.6 MB, free: 50.93 MB / 410.7 MB Notification: Performance of sort global known variables: time 9.1e-08/0.2908, allocations: 0 / 494.6 MB, free: 50.93 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.002673/0.2934, allocations: 1.01 MB / 495.6 MB, free: 50.59 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.000253/0.2937, allocations: 141.4 kB / 495.8 MB, free: 50.48 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.00537/0.2991, allocations: 1.874 MB / 497.6 MB, free: 49.87 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 4.288e-06/0.2991, allocations: 1.656 kB / 497.6 MB, free: 49.87 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003893/0.2994, allocations: 293.9 kB / 497.9 MB, free: 49.79 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007589/0.3002, allocations: 194 kB / 498.1 MB, free: 49.68 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01591/0.3161, allocations: 6.141 MB / 0.4924 GB, free: 46.55 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00083/0.3169, allocations: 1.051 MB / 0.4935 GB, free: 46.2 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.001933/0.3189, allocations: 1.247 MB / 0.4947 GB, free: 46.09 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003287/0.3222, allocations: 155.2 kB / 0.4948 GB, free: 46.07 MB / 410.7 MB Notification: Performance of SimCode: time 9.32e-07/0.3222, allocations: 0 / 0.4948 GB, free: 46.07 MB / 410.7 MB Notification: Performance of Templates: time 0.0425/0.3647, allocations: 12.42 MB / 0.507 GB, free: 41.55 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","",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.8597386148758233]