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.001094/0.001094, allocations: 80.11 kB / 9.934 MB, free: 0.7539 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001385/0.00248, allocations: 449.7 kB / 10.37 MB, free: 324 kB / 10.45 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.001139/0.001139, allocations: 165.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001678/0.002817, allocations: 463.6 kB / 11.72 MB, free: 2.453 MB / 13.93 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 1.025/1.025, allocations: 177.4 MB / 189.9 MB, free: 4.836 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1049/1.13, allocations: 53.87 MB / 243.7 MB, free: 14.9 MB / 250.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.2784/0.2784, allocations: 34.85 MB / 279.3 MB, free: 14.91 MB / 282.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02359/0.302, allocations: 13.23 MB / 292.6 MB, free: 6.469 MB / 282.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.843e-06/1.843e-06, allocations: 0 / 293.8 MB, free: 5.215 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.332e-05/2.517e-05, allocations: 3.516 kB / 293.8 MB, free: 5.211 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Visualizers.Torus): time 0.01194/0.01196, allocations: 10.66 MB / 304.5 MB, free: 10.5 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.006758/0.01872, allocations: 2.894 MB / 307.4 MB, free: 7.602 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001757/0.02048, allocations: 59.81 kB / 307.5 MB, free: 7.543 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002427/0.0229, allocations: 1.389 MB / 308.8 MB, free: 6.148 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002752/0.02565, allocations: 1.31 MB / 310.2 MB, free: 4.832 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002966/0.02595, allocations: 75.78 kB / 310.2 MB, free: 4.758 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.00343/0.02938, allocations: 2.794 MB / 313 MB, free: 1.957 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002429/0.03181, allocations: 1.649 MB / 314.7 MB, free: 264 kB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002623/0.03443, allocations: 1.614 MB / 316.3 MB, free: 14.64 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002424/0.03686, allocations: 1.418 MB / 317.7 MB, free: 13.22 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0006574/0.03751, allocations: 208 kB / 317.9 MB, free: 13.02 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001238/0.03875, allocations: 479.4 kB / 318.4 MB, free: 12.55 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001444/0.0402, allocations: 1.332 MB / 319.7 MB, free: 11.21 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001324/0.04152, allocations: 0.7239 MB / 320.4 MB, free: 10.48 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004209/0.04573, allocations: 3.186 MB / 323.6 MB, free: 7.285 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.957e-05/0.04575, allocations: 4 kB / 323.6 MB, free: 7.281 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.432e-06/0.04575, allocations: 0 / 323.6 MB, free: 7.281 MB / 314.7 MB Notification: Performance of Transformations before backend: time 0.000134/0.04588, allocations: 0 / 323.6 MB, free: 7.281 MB / 314.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.00622/0.0521, allocations: 4.052 MB / 327.7 MB, free: 3.184 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.012e-05/0.05214, allocations: 12.03 kB / 327.7 MB, free: 3.172 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005121/0.05726, allocations: 1.352 MB / 329 MB, free: 1.801 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002152/0.05942, allocations: 1.16 MB / 330.2 MB, free: 0.6094 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001291/0.05955, allocations: 172.6 kB / 330.4 MB, free: 448 kB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003943/0.05994, allocations: 224.2 kB / 330.6 MB, free: 224 kB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006602/0.06654, allocations: 3.997 MB / 334.6 MB, free: 11.84 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.11e-05/0.0666, allocations: 23.75 kB / 334.6 MB, free: 11.81 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003079/0.06691, allocations: 107.8 kB / 334.7 MB, free: 11.71 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002916/0.06983, allocations: 2.096 MB / 336.8 MB, free: 9.609 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005227/0.07505, allocations: 2.247 MB / 339.1 MB, free: 7.344 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01797/0.09302, allocations: 21.82 MB / 360.9 MB, free: 0.7305 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001765/0.09479, allocations: 1.013 MB / 361.9 MB, free: 15.7 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002779/0.09506, allocations: 208.4 kB / 362.1 MB, free: 15.49 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003587/0.09865, allocations: 2.618 MB / 364.7 MB, free: 12.86 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.814e-05/0.09868, allocations: 43.16 kB / 364.8 MB, free: 12.8 MB / 362.7 MB Notification: Performance of pre-optimization done (n=126): time 3.887e-06/0.09868, allocations: 0 / 364.8 MB, free: 12.8 MB / 362.7 MB Notification: Performance of matching and sorting (n=126): time 0.002301/0.101, allocations: 1.21 MB / 366 MB, free: 11.59 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.477e-05/0.101, allocations: 60.06 kB / 366 MB, free: 11.52 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001294/0.1023, allocations: 1.92 MB / 367.9 MB, free: 9.559 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 3.958e-05/0.1024, allocations: 37.7 kB / 368 MB, free: 9.516 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001064/0.1034, allocations: 2.678 MB / 370.7 MB, free: 6.809 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000256/0.1037, allocations: 0.5 MB / 371.2 MB, free: 6.305 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005899/0.1043, allocations: 0.8306 MB / 372 MB, free: 5.461 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 9.394e-05/0.1044, allocations: 357.8 kB / 372.3 MB, free: 5.105 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000366/0.1047, allocations: 324.6 kB / 372.7 MB, free: 4.781 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001538/0.1063, allocations: 3.103 MB / 375.8 MB, free: 296 kB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00266/0.1089, allocations: 4.053 MB / 379.8 MB, free: 10.86 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.358e-05/0.109, allocations: 28 kB / 379.8 MB, free: 10.84 MB / 378.7 MB Notification: Performance of matching and sorting (n=588) (initialization): time 0.003031/0.112, allocations: 2.896 MB / 382.7 MB, free: 7.938 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.819e-05/0.112, allocations: 44 kB / 382.8 MB, free: 7.895 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.465e-05/0.1121, allocations: 100 kB / 382.9 MB, free: 7.797 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8e-05/0.1122, allocations: 128 kB / 383 MB, free: 7.672 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001619/0.1138, allocations: 1.057 MB / 384.1 MB, free: 6.613 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.199e-05/0.1139, allocations: 191.3 kB / 384.2 MB, free: 6.426 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001418/0.1153, allocations: 0.5816 MB / 384.8 MB, free: 5.84 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002018/0.1155, allocations: 236 kB / 385.1 MB, free: 5.609 MB / 378.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.0008854/0.1164, allocations: 492.8 kB / 385.5 MB, free: 5.113 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001565/0.1166, allocations: 131.7 kB / 385.7 MB, free: 4.984 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002024/0.1168, allocations: 222.3 kB / 385.9 MB, free: 4.766 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.909e-05/0.1168, allocations: 16 kB / 385.9 MB, free: 4.75 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.111e-06/0.1168, allocations: 0 / 385.9 MB, free: 4.75 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.931e-06/0.1168, allocations: 3.984 kB / 385.9 MB, free: 4.746 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002788/0.1196, allocations: 2.468 MB / 388.4 MB, free: 2.188 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.599e-06/0.1196, allocations: 4 kB / 388.4 MB, free: 2.184 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002948/0.1199, allocations: 131.8 kB / 388.5 MB, free: 2.055 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001619/0.1201, allocations: 206.2 kB / 388.7 MB, free: 1.852 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.033e-06/0.1201, allocations: 8 kB / 388.7 MB, free: 1.844 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.482e-05/0.1201, allocations: 16 kB / 388.7 MB, free: 1.828 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.855e-06/0.1201, allocations: 16.45 kB / 388.7 MB, free: 1.812 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.146e-06/0.1201, allocations: 8 kB / 388.7 MB, free: 1.805 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005974/0.1207, allocations: 0.7609 MB / 389.5 MB, free: 0.9727 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001115/0.1208, allocations: 19.94 kB / 389.5 MB, free: 0.9531 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002448/0.1211, allocations: 16 kB / 389.5 MB, free: 0.9375 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.047e-05/0.1211, allocations: 60.28 kB / 389.6 MB, free: 0.8789 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.446e-05/0.1212, allocations: 39.97 kB / 389.6 MB, free: 0.8398 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0005369/0.1217, allocations: 0.725 MB / 390.4 MB, free: 96 kB / 378.7 MB Notification: Performance of sort global known variables: time 6e-08/0.1217, allocations: 0 / 390.4 MB, free: 96 kB / 378.7 MB Notification: Performance of remove unused functions: time 0.002019/0.1237, allocations: 1.012 MB / 391.4 MB, free: 15.07 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.000261/0.124, allocations: 128.1 kB / 391.5 MB, free: 14.94 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.001601/0.1256, allocations: 1.646 MB / 393.1 MB, free: 13.3 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 0.0001054/0.1257, allocations: 71.84 kB / 393.2 MB, free: 13.23 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002175/0.1259, allocations: 222.1 kB / 393.4 MB, free: 13.01 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005969/0.1265, allocations: 323.5 kB / 393.8 MB, free: 12.69 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008543/0.1351, allocations: 6.494 MB / 400.2 MB, free: 6.082 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001188/0.1363, allocations: 1.035 MB / 401.3 MB, free: 5.027 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.001042/0.1373, allocations: 340.5 kB / 401.6 MB, free: 4.695 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005027/0.1378, allocations: 335.3 kB / 401.9 MB, free: 4.367 MB / 394.7 MB Notification: Performance of SimCode: time 1.132e-06/0.1378, allocations: 4 kB / 401.9 MB, free: 4.363 MB / 394.7 MB Notification: Performance of Templates: time 0.03181/0.1696, allocations: 13.82 MB / 415.8 MB, free: 6.766 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 -ignoreHideResult -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.6044667651876807]