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.000981/0.000981, allocations: 91.5 kB / 21.19 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.0009751/0.0009751, allocations: 156.5 kB / 24.55 MB, free: 20 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.9776/0.9776, allocations: 177 MB / 204.8 MB, free: 5.598 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.279/0.279, allocations: 34.87 MB / 296.3 MB, free: 0.5586 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.553e-06/1.553e-06, allocations: 0 / 378.7 MB, free: 2.125 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.168e-05/2.323e-05, allocations: 3.016 kB / 378.7 MB, free: 2.121 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Visualizers.Torus): time 0.008241/0.008264, allocations: 10.83 MB / 389.6 MB, free: 7.238 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.004668/0.01293, allocations: 2.78 MB / 392.4 MB, free: 4.449 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009456/0.01388, allocations: 63.81 kB / 392.4 MB, free: 4.387 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001636/0.01551, allocations: 1.397 MB / 393.8 MB, free: 2.984 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001855/0.01737, allocations: 1.295 MB / 395.1 MB, free: 1.684 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000243/0.01761, allocations: 91.7 kB / 395.2 MB, free: 1.594 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.002359/0.01997, allocations: 2.775 MB / 398 MB, free: 14.81 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001416/0.02139, allocations: 1.723 MB / 399.7 MB, free: 13.05 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001293/0.02268, allocations: 1.555 MB / 401.2 MB, free: 11.49 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001161/0.02384, allocations: 1.504 MB / 402.8 MB, free: 9.98 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001946/0.02404, allocations: 212 kB / 403 MB, free: 9.773 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005627/0.0246, allocations: 475.3 kB / 403.4 MB, free: 9.309 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0007627/0.02536, allocations: 1.476 MB / 404.9 MB, free: 7.828 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0005934/0.02595, allocations: 0.8639 MB / 405.8 MB, free: 6.961 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002437/0.02839, allocations: 3.349 MB / 409.1 MB, free: 3.598 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.509e-06/0.0284, allocations: 0 / 409.1 MB, free: 3.598 MB / 378.7 MB Notification: Performance of FrontEnd: time 8.71e-07/0.0284, allocations: 0 / 409.1 MB, free: 3.598 MB / 378.7 MB Notification: Performance of Transformations before backend: time 2.576e-05/0.02842, allocations: 4 kB / 409.1 MB, free: 3.594 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.003243/0.03167, allocations: 3.971 MB / 413.1 MB, free: 15.57 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.693e-05/0.0317, allocations: 16.02 kB / 413.1 MB, free: 15.55 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005559/0.03726, allocations: 3.434 MB / 416.5 MB, free: 12.11 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001555/0.03882, allocations: 1.408 MB / 417.9 MB, free: 10.67 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.689e-05/0.0389, allocations: 176.6 kB / 418.1 MB, free: 10.49 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002624/0.03917, allocations: 220.2 kB / 418.3 MB, free: 10.28 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004889/0.04406, allocations: 4.666 MB / 423 MB, free: 5.102 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.084e-05/0.0441, allocations: 27.73 kB / 423 MB, free: 5.074 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002036/0.0443, allocations: 107.8 kB / 423.1 MB, free: 4.969 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001962/0.04626, allocations: 2.369 MB / 425.5 MB, free: 2.594 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004284/0.05054, allocations: 2.753 MB / 428.3 MB, free: 15.83 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1924/0.243, allocations: 29.05 MB / 457.3 MB, free: 72.82 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002232/0.2452, allocations: 1.046 MB / 458.3 MB, free: 72.78 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004743/0.2457, allocations: 306.4 kB / 458.6 MB, free: 72.77 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004611/0.2503, allocations: 3.018 MB / 461.7 MB, free: 72.29 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.458e-05/0.2503, allocations: 46.02 kB / 461.7 MB, free: 72.24 MB / 410.7 MB Notification: Performance of pre-optimization done (n=126): time 4.098e-06/0.2503, allocations: 0 / 461.7 MB, free: 72.24 MB / 410.7 MB Notification: Performance of matching and sorting (n=126): time 0.002945/0.2533, allocations: 1.497 MB / 463.2 MB, free: 72.07 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.095e-05/0.2533, allocations: 61.06 kB / 463.3 MB, free: 72 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002304/0.2556, allocations: 2.408 MB / 465.7 MB, free: 71.55 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 4.458e-05/0.2557, allocations: 40.17 kB / 465.7 MB, free: 71.52 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001316/0.257, allocations: 2.868 MB / 468.6 MB, free: 69.88 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003211/0.2573, allocations: 0.5264 MB / 469.1 MB, free: 69.5 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007814/0.2581, allocations: 0.9713 MB / 470.1 MB, free: 68.98 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001284/0.2582, allocations: 0.5176 MB / 470.6 MB, free: 68.48 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007588/0.259, allocations: 447.6 kB / 471 MB, free: 68.41 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002025/0.261, allocations: 4.533 MB / 475.6 MB, free: 62.84 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0032/0.2642, allocations: 5.483 MB / 481.1 MB, free: 56.84 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.42e-05/0.2642, allocations: 32 kB / 481.1 MB, free: 56.84 MB / 410.7 MB Notification: Performance of matching and sorting (n=588) (initialization): time 0.004009/0.2683, allocations: 3.706 MB / 484.8 MB, free: 55.4 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.775e-05/0.2683, allocations: 46.66 kB / 484.8 MB, free: 55.4 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001101/0.2684, allocations: 100.6 kB / 484.9 MB, free: 55.4 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001236/0.2685, allocations: 130.9 kB / 485.1 MB, free: 55.4 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001594/0.2701, allocations: 0.974 MB / 486 MB, free: 55.28 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.173e-05/0.2702, allocations: 195.7 kB / 486.2 MB, free: 55.23 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00153/0.2718, allocations: 0.61 MB / 486.8 MB, free: 54.84 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002453/0.272, allocations: 277.5 kB / 487.1 MB, free: 54.81 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.001137/0.2731, allocations: 0.5157 MB / 487.6 MB, free: 54.39 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000173/0.2733, allocations: 235.9 kB / 487.9 MB, free: 54.26 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001796/0.2735, allocations: 223.5 kB / 488.1 MB, free: 54.12 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.687e-05/0.2735, allocations: 14.72 kB / 488.1 MB, free: 54.12 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.326e-05/0.2735, allocations: 2.875 kB / 488.1 MB, free: 54.12 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.083e-06/0.2735, allocations: 3.047 kB / 488.1 MB, free: 54.12 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004929/0.2785, allocations: 3.828 MB / 491.9 MB, free: 52.34 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.094e-06/0.2785, allocations: 3.781 kB / 491.9 MB, free: 52.34 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003194/0.2788, allocations: 142.6 kB / 492.1 MB, free: 52.32 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.039e-05/0.2788, allocations: 7.906 kB / 492.1 MB, free: 52.32 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.741e-05/0.2788, allocations: 27.81 kB / 492.1 MB, free: 52.31 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.326e-06/0.2788, allocations: 10.14 kB / 492.1 MB, free: 52.31 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.443e-06/0.2788, allocations: 9.062 kB / 492.1 MB, free: 52.3 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001002/0.2799, allocations: 1.064 MB / 493.2 MB, free: 51.62 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001809/0.28, allocations: 207.5 kB / 493.4 MB, free: 51.48 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001211/0.2802, allocations: 19.59 kB / 493.4 MB, free: 51.47 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002809/0.2804, allocations: 44.06 kB / 493.4 MB, free: 51.46 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.794e-05/0.2805, allocations: 67.66 kB / 493.5 MB, free: 51.44 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.611e-05/0.2806, allocations: 43.97 kB / 493.6 MB, free: 51.43 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.001088/0.2817, allocations: 0.9969 MB / 494.6 MB, free: 51.05 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.51e-07/0.2817, allocations: 0 / 494.6 MB, free: 51.05 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.002381/0.284, allocations: 1.014 MB / 495.6 MB, free: 50.71 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.0002618/0.2843, allocations: 140.2 kB / 495.7 MB, free: 50.6 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.002393/0.2867, allocations: 1.878 MB / 497.6 MB, free: 49.98 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.968e-06/0.2867, allocations: 0 / 497.6 MB, free: 49.98 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000321/0.287, allocations: 293.3 kB / 497.9 MB, free: 49.91 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006215/0.2876, allocations: 188.3 kB / 498 MB, free: 49.8 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007113/0.2948, allocations: 6.144 MB / 0.4924 GB, free: 46.68 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000732/0.2955, allocations: 1.049 MB / 0.4934 GB, free: 46.32 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.001522/0.297, allocations: 1.255 MB / 0.4946 GB, free: 46.2 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002458/0.2973, allocations: 151.6 kB / 0.4948 GB, free: 46.19 MB / 410.7 MB Notification: Performance of SimCode: time 1.243e-06/0.2973, allocations: 0 / 0.4948 GB, free: 46.19 MB / 410.7 MB Notification: Performance of Templates: time 0.02271/0.32, allocations: 11.87 MB / 0.5064 GB, free: 41.99 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.962071232032031]