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.0009879/0.0009879, allocations: 71.77 kB / 21.69 MB, free: 2.859 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.00107/0.00107, allocations: 161.9 kB / 24.99 MB, free: 8.336 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.9908/0.9908, allocations: 177.1 MB / 205.3 MB, free: 5.625 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.2683/0.2683, allocations: 34.27 MB / 296 MB, free: 0.7734 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.914e-06/1.914e-06, allocations: 0 / 378 MB, free: 3.031 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.722e-05/2.914e-05, allocations: 2.312 kB / 378 MB, free: 3.027 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Visualizers.Torus): time 0.008608/0.008637, allocations: 10.79 MB / 388.8 MB, free: 8.18 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.004897/0.01353, allocations: 2.768 MB / 391.6 MB, free: 5.402 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001006/0.01454, allocations: 59.81 kB / 391.6 MB, free: 5.344 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001779/0.01632, allocations: 1.405 MB / 393 MB, free: 3.934 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001742/0.01806, allocations: 1.299 MB / 394.3 MB, free: 2.629 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002164/0.01828, allocations: 87.72 kB / 394.4 MB, free: 2.543 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.002314/0.02059, allocations: 2.774 MB / 397.2 MB, free: 15.77 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001796/0.02239, allocations: 1.73 MB / 398.9 MB, free: 14 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001402/0.02379, allocations: 1.547 MB / 400.5 MB, free: 12.45 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001274/0.02506, allocations: 1.504 MB / 402 MB, free: 10.94 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002259/0.02529, allocations: 208 kB / 402.2 MB, free: 10.74 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006195/0.02591, allocations: 479.3 kB / 402.6 MB, free: 10.27 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0007973/0.02671, allocations: 1.476 MB / 404.1 MB, free: 8.789 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0007628/0.02747, allocations: 0.8639 MB / 405 MB, free: 7.922 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002536/0.03, allocations: 3.349 MB / 408.3 MB, free: 4.559 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.348e-06/0.03001, allocations: 4 kB / 408.3 MB, free: 4.555 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.542e-06/0.03001, allocations: 0 / 408.3 MB, free: 4.555 MB / 378.7 MB Notification: Performance of Transformations before backend: time 5.351e-05/0.03006, allocations: 0 / 408.3 MB, free: 4.555 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.003549/0.03361, allocations: 3.975 MB / 412.3 MB, free: 0.5234 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.006e-05/0.03365, allocations: 8.031 kB / 412.3 MB, free: 0.5156 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005804/0.03946, allocations: 3.434 MB / 415.7 MB, free: 13.07 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002119/0.04158, allocations: 1.416 MB / 417.2 MB, free: 11.62 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001008/0.04168, allocations: 172.6 kB / 417.3 MB, free: 11.45 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003076/0.04198, allocations: 216.2 kB / 417.5 MB, free: 11.24 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006414/0.0484, allocations: 4.666 MB / 422.2 MB, free: 6.062 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.245e-05/0.04844, allocations: 19.81 kB / 422.2 MB, free: 6.043 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000213/0.04865, allocations: 103.8 kB / 422.3 MB, free: 5.941 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002115/0.05077, allocations: 2.377 MB / 424.7 MB, free: 3.559 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006104/0.05687, allocations: 2.755 MB / 427.5 MB, free: 0.793 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1867/0.2436, allocations: 29.05 MB / 456.5 MB, free: 77.05 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002257/0.2458, allocations: 1.048 MB / 457.6 MB, free: 77.01 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003956/0.2462, allocations: 306.5 kB / 457.9 MB, free: 76.99 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003682/0.2499, allocations: 3.009 MB / 460.9 MB, free: 76.54 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.495e-05/0.2499, allocations: 48.61 kB / 460.9 MB, free: 76.5 MB / 410.7 MB Notification: Performance of pre-optimization done (n=126): time 2.485e-06/0.2499, allocations: 0.5625 kB / 460.9 MB, free: 76.5 MB / 410.7 MB Notification: Performance of matching and sorting (n=126): time 0.0026/0.2525, allocations: 1.502 MB / 462.4 MB, free: 76.32 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.096e-05/0.2526, allocations: 61.31 kB / 462.5 MB, free: 76.26 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001651/0.2542, allocations: 2.406 MB / 464.9 MB, free: 75.68 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 3.362e-05/0.2543, allocations: 41.58 kB / 464.9 MB, free: 75.64 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007794/0.255, allocations: 2.868 MB / 467.8 MB, free: 73.69 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002019/0.2552, allocations: 0.5247 MB / 468.3 MB, free: 73.31 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005989/0.2558, allocations: 0.9757 MB / 469.3 MB, free: 72.79 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 8.721e-05/0.2559, allocations: 0.5182 MB / 469.8 MB, free: 72.29 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005756/0.2565, allocations: 439.3 kB / 470.2 MB, free: 72.22 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001498/0.258, allocations: 4.541 MB / 474.8 MB, free: 66.65 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002866/0.2609, allocations: 5.484 MB / 480.3 MB, free: 60.48 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.921e-05/0.2609, allocations: 28.44 kB / 480.3 MB, free: 60.48 MB / 410.7 MB Notification: Performance of matching and sorting (n=588) (initialization): time 0.003404/0.2643, allocations: 3.712 MB / 484 MB, free: 59.04 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.777e-05/0.2643, allocations: 52.28 kB / 484.1 MB, free: 59.04 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.218e-05/0.2644, allocations: 95.78 kB / 484.1 MB, free: 59.04 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.608e-05/0.2645, allocations: 129.3 kB / 484.3 MB, free: 59.04 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00139/0.2658, allocations: 0.9777 MB / 485.3 MB, free: 58.91 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.143e-05/0.2659, allocations: 189.4 kB / 485.4 MB, free: 58.88 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001255/0.2672, allocations: 0.6016 MB / 486 MB, free: 58.49 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001825/0.2674, allocations: 273.7 kB / 486.3 MB, free: 58.46 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.000771/0.2681, allocations: 0.5164 MB / 486.8 MB, free: 58.03 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001464/0.2683, allocations: 242.7 kB / 487.1 MB, free: 57.89 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001746/0.2685, allocations: 225 kB / 487.3 MB, free: 57.76 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.715e-05/0.2685, allocations: 15.47 kB / 487.3 MB, free: 57.76 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.106e-05/0.2685, allocations: 0 / 487.3 MB, free: 57.76 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.282e-06/0.2685, allocations: 3.328 kB / 487.3 MB, free: 57.76 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003959/0.2725, allocations: 3.827 MB / 491.1 MB, free: 55.98 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.582e-06/0.2725, allocations: 8.422 kB / 491.1 MB, free: 55.98 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002912/0.2727, allocations: 134.6 kB / 491.3 MB, free: 55.97 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.386e-06/0.2728, allocations: 16.41 kB / 491.3 MB, free: 55.96 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.689e-05/0.2728, allocations: 23.34 kB / 491.3 MB, free: 55.95 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.524e-06/0.2728, allocations: 15.11 kB / 491.3 MB, free: 55.95 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.489e-06/0.2728, allocations: 5.219 kB / 491.3 MB, free: 55.95 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008177/0.2736, allocations: 1.066 MB / 492.4 MB, free: 55.25 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001318/0.2738, allocations: 204.7 kB / 492.6 MB, free: 55.11 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001138/0.2739, allocations: 24.53 kB / 492.6 MB, free: 55.1 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002735/0.2741, allocations: 43.59 kB / 492.7 MB, free: 55.09 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.446e-05/0.2742, allocations: 65.23 kB / 492.7 MB, free: 55.07 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.654e-05/0.2743, allocations: 47.53 kB / 492.8 MB, free: 55.07 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0008778/0.2752, allocations: 0.9931 MB / 493.8 MB, free: 54.68 MB / 410.7 MB Notification: Performance of sort global known variables: time 6e-08/0.2752, allocations: 0 / 493.8 MB, free: 54.68 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.002017/0.2772, allocations: 1.013 MB / 494.8 MB, free: 54.34 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.0002147/0.2774, allocations: 143.4 kB / 494.9 MB, free: 54.23 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.001942/0.2793, allocations: 1.877 MB / 496.8 MB, free: 53.62 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.156e-06/0.2793, allocations: 0 / 496.8 MB, free: 53.62 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003036/0.2796, allocations: 300.8 kB / 497.1 MB, free: 53.54 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005714/0.2802, allocations: 176.1 kB / 497.3 MB, free: 53.44 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005426/0.2856, allocations: 6.149 MB / 0.4916 GB, free: 50.31 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006582/0.2863, allocations: 1.055 MB / 0.4926 GB, free: 49.95 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.001396/0.2877, allocations: 1.242 MB / 0.4938 GB, free: 49.85 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002062/0.2879, allocations: 153.2 kB / 0.494 GB, free: 49.83 MB / 410.7 MB Notification: Performance of SimCode: time 1.092e-06/0.2879, allocations: 0 / 0.494 GB, free: 49.83 MB / 410.7 MB Notification: Performance of Templates: time 0.02274/0.3106, allocations: 11.88 MB / 0.5056 GB, free: 45.14 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.909491494996473]