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.00118/0.00118, allocations: 84.73 kB / 21.5 MB, free: 2.988 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.001059/0.001059, allocations: 168.4 kB / 24.91 MB, free: 8.773 MB / 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.9654/0.9654, allocations: 177 MB / 205.2 MB, free: 5.465 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.2459/0.2459, allocations: 34.87 MB / 296.6 MB, free: 0.5 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.483e-06/1.483e-06, allocations: 0 / 325.9 MB, free: 7.195 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.234e-05/2.383e-05, allocations: 2.312 kB / 325.9 MB, free: 7.191 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Visualizers.Torus): time 0.00993/0.009953, allocations: 10.54 MB / 336.4 MB, free: 12.6 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.004852/0.01481, allocations: 2.882 MB / 339.3 MB, free: 9.707 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00106/0.01587, allocations: 59.81 kB / 339.4 MB, free: 9.648 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001738/0.0176, allocations: 1.401 MB / 340.8 MB, free: 8.242 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001822/0.01943, allocations: 1.299 MB / 342.1 MB, free: 6.938 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002164/0.01964, allocations: 91.7 kB / 342.2 MB, free: 6.848 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.002299/0.02194, allocations: 2.774 MB / 344.9 MB, free: 4.066 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001771/0.02371, allocations: 1.793 MB / 346.7 MB, free: 2.223 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001581/0.02529, allocations: 1.555 MB / 348.3 MB, free: 0.6641 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001498/0.02679, allocations: 1.43 MB / 349.7 MB, free: 15.23 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0003178/0.02711, allocations: 208 kB / 349.9 MB, free: 15.03 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006586/0.02777, allocations: 475.4 kB / 350.4 MB, free: 14.56 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0007947/0.02856, allocations: 1.476 MB / 351.8 MB, free: 13.08 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0005974/0.02916, allocations: 0.8638 MB / 352.7 MB, free: 12.21 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002412/0.03157, allocations: 3.353 MB / 356.1 MB, free: 8.848 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.337e-06/0.03158, allocations: 0 / 356.1 MB, free: 8.848 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.372e-06/0.03158, allocations: 4 kB / 356.1 MB, free: 8.844 MB / 330.7 MB Notification: Performance of Transformations before backend: time 4.666e-05/0.03163, allocations: 4 kB / 356.1 MB, free: 8.84 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.002699/0.03432, allocations: 3.4 MB / 359.5 MB, free: 5.395 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.412e-05/0.03436, allocations: 12.03 kB / 359.5 MB, free: 5.383 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003049/0.03741, allocations: 1.284 MB / 360.8 MB, free: 4.098 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001408/0.03882, allocations: 1.149 MB / 361.9 MB, free: 2.918 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.603e-05/0.0389, allocations: 176.6 kB / 362.1 MB, free: 2.742 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002648/0.03917, allocations: 232.1 kB / 362.3 MB, free: 2.516 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003946/0.04311, allocations: 4.001 MB / 366.3 MB, free: 14.13 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.002e-05/0.04315, allocations: 23.75 kB / 366.3 MB, free: 14.11 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001968/0.04335, allocations: 107.8 kB / 366.4 MB, free: 14 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00175/0.0451, allocations: 2.077 MB / 368.5 MB, free: 11.93 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00357/0.04867, allocations: 2.245 MB / 370.8 MB, free: 9.664 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01842/0.06709, allocations: 21.8 MB / 392.6 MB, free: 3.066 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001767/0.06886, allocations: 1.026 MB / 393.6 MB, free: 2.031 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002691/0.06913, allocations: 215.3 kB / 393.8 MB, free: 1.82 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003614/0.07274, allocations: 2.688 MB / 396.5 MB, free: 15.11 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.699e-05/0.07277, allocations: 39.22 kB / 396.5 MB, free: 15.06 MB / 378.7 MB Notification: Performance of pre-optimization done (n=126): time 3.036e-06/0.07277, allocations: 0 / 396.5 MB, free: 15.06 MB / 378.7 MB Notification: Performance of matching and sorting (n=126): time 0.002366/0.07514, allocations: 1.242 MB / 397.8 MB, free: 13.82 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.59e-05/0.07517, allocations: 60.06 kB / 397.8 MB, free: 13.75 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001473/0.07665, allocations: 1.92 MB / 399.8 MB, free: 11.79 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 4.28e-05/0.07669, allocations: 37.7 kB / 399.8 MB, free: 11.75 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001045/0.07773, allocations: 2.674 MB / 402.5 MB, free: 9.043 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002605/0.07799, allocations: 0.5 MB / 403 MB, free: 8.539 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000617/0.07861, allocations: 0.8384 MB / 403.8 MB, free: 7.688 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 9.964e-05/0.07871, allocations: 345.9 kB / 404.1 MB, free: 7.344 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003826/0.07909, allocations: 328.6 kB / 404.5 MB, free: 7.016 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001589/0.08068, allocations: 3.103 MB / 407.6 MB, free: 2.523 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002744/0.08343, allocations: 4.061 MB / 411.6 MB, free: 13.09 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.638e-05/0.08346, allocations: 28 kB / 411.7 MB, free: 13.06 MB / 394.7 MB Notification: Performance of matching and sorting (n=588) (initialization): time 0.002979/0.08644, allocations: 2.888 MB / 414.5 MB, free: 10.17 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.299e-05/0.08648, allocations: 44 kB / 414.6 MB, free: 10.12 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.293e-05/0.08655, allocations: 104.8 kB / 414.7 MB, free: 10.02 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.027e-05/0.08663, allocations: 128 kB / 414.8 MB, free: 9.898 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001467/0.08809, allocations: 0.9591 MB / 415.8 MB, free: 8.938 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.636e-05/0.08818, allocations: 187.3 kB / 416 MB, free: 8.754 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001488/0.08967, allocations: 0.5816 MB / 416.5 MB, free: 8.168 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002069/0.08987, allocations: 244 kB / 416.8 MB, free: 7.93 MB / 394.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.0009605/0.09083, allocations: 476.8 kB / 417.2 MB, free: 7.449 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001535/0.09099, allocations: 135.8 kB / 417.4 MB, free: 7.316 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001924/0.09118, allocations: 226.2 kB / 417.6 MB, free: 7.094 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.129e-05/0.0912, allocations: 20 kB / 417.6 MB, free: 7.074 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.532e-06/0.09121, allocations: 0 / 417.6 MB, free: 7.074 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.744e-06/0.09122, allocations: 3.984 kB / 417.6 MB, free: 7.07 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002979/0.0942, allocations: 2.472 MB / 420.1 MB, free: 4.504 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.611e-06/0.0942, allocations: 8.031 kB / 420.1 MB, free: 4.496 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002779/0.09448, allocations: 119.8 kB / 420.2 MB, free: 4.379 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.686e-06/0.09449, allocations: 15.88 kB / 420.2 MB, free: 4.363 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.099e-05/0.09452, allocations: 16 kB / 420.2 MB, free: 4.348 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.332e-06/0.09452, allocations: 8 kB / 420.3 MB, free: 4.34 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.262e-06/0.09453, allocations: 11.98 kB / 420.3 MB, free: 4.328 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006156/0.09515, allocations: 0.7492 MB / 421 MB, free: 3.512 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001672/0.09531, allocations: 194.3 kB / 421.2 MB, free: 3.32 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001174/0.09543, allocations: 35.91 kB / 421.2 MB, free: 3.285 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002418/0.09567, allocations: 12 kB / 421.2 MB, free: 3.273 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.893e-05/0.09574, allocations: 64.28 kB / 421.3 MB, free: 3.211 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.518e-05/0.09579, allocations: 32 kB / 421.3 MB, free: 3.18 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0005682/0.09636, allocations: 0.7288 MB / 422.1 MB, free: 2.43 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.6e-07/0.09636, allocations: 0 / 422.1 MB, free: 2.43 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.002073/0.09843, allocations: 1.012 MB / 423.1 MB, free: 1.414 MB / 394.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.0002274/0.09866, allocations: 128.1 kB / 423.2 MB, free: 1.281 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.00158/0.1002, allocations: 1.641 MB / 424.8 MB, free: 15.65 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 8.53e-05/0.1003, allocations: 55.94 kB / 424.9 MB, free: 15.59 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002154/0.1005, allocations: 228.2 kB / 425.1 MB, free: 15.36 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005193/0.1011, allocations: 185.7 kB / 425.3 MB, free: 15.18 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006864/0.1079, allocations: 6.359 MB / 431.7 MB, free: 8.703 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008021/0.1087, allocations: 1.039 MB / 432.7 MB, free: 7.641 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0007606/0.1095, allocations: 331.2 kB / 433 MB, free: 7.316 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003692/0.1099, allocations: 335.3 kB / 433.4 MB, free: 6.988 MB / 410.7 MB Notification: Performance of SimCode: time 1.723e-06/0.1099, allocations: 0 / 433.4 MB, free: 6.988 MB / 410.7 MB Notification: Performance of Templates: time 0.02808/0.1379, allocations: 13.63 MB / 447 MB, free: 9.582 MB / 426.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.7113711307756603]