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.001184/0.001184, allocations: 76.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001334/0.002518, allocations: 457.8 kB / 10.45 MB, free: 244 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.0008026/0.0008026, allocations: 162 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001107/0.00191, allocations: 475.6 kB / 11.82 MB, free: 2.348 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.003/1.003, allocations: 177.5 MB / 190 MB, free: 4.742 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09739/1.101, allocations: 53.87 MB / 243.9 MB, free: 14.8 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.2788/0.2788, allocations: 34.88 MB / 279.5 MB, free: 14.89 MB / 282.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02505/0.3039, allocations: 13.25 MB / 292.8 MB, free: 6.336 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.773e-06/1.773e-06, allocations: 0 / 294.1 MB, free: 5.055 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.188e-05/2.365e-05, allocations: 2.312 kB / 294.1 MB, free: 5.051 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Visualizers.Torus): time 0.009696/0.00972, allocations: 10.66 MB / 304.7 MB, free: 10.34 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.005136/0.01486, allocations: 2.905 MB / 307.7 MB, free: 7.43 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001232/0.01609, allocations: 63.81 kB / 307.7 MB, free: 7.367 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002102/0.01819, allocations: 1.362 MB / 309.1 MB, free: 6 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002473/0.02066, allocations: 1.318 MB / 310.4 MB, free: 4.676 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002631/0.02093, allocations: 79.84 kB / 310.5 MB, free: 4.598 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.002571/0.0235, allocations: 2.788 MB / 313.3 MB, free: 1.805 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002276/0.02577, allocations: 1.661 MB / 314.9 MB, free: 96 kB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002129/0.0279, allocations: 1.611 MB / 316.5 MB, free: 14.48 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001881/0.02978, allocations: 1.414 MB / 317.9 MB, free: 13.06 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0005622/0.03035, allocations: 208 kB / 318.2 MB, free: 12.86 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000943/0.03129, allocations: 487.3 kB / 318.6 MB, free: 12.38 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001073/0.03236, allocations: 1.332 MB / 320 MB, free: 11.05 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0008946/0.03326, allocations: 0.7161 MB / 320.7 MB, free: 10.33 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003228/0.03649, allocations: 3.197 MB / 323.9 MB, free: 7.117 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.317e-05/0.0365, allocations: 0 / 323.9 MB, free: 7.117 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.094e-06/0.0365, allocations: 0 / 323.9 MB, free: 7.117 MB / 314.7 MB Notification: Performance of Transformations before backend: time 0.0001069/0.03661, allocations: 0 / 323.9 MB, free: 7.117 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.003994/0.0406, allocations: 4.056 MB / 327.9 MB, free: 3.016 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.672e-05/0.04065, allocations: 12.03 kB / 327.9 MB, free: 3.004 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003635/0.04428, allocations: 1.344 MB / 329.3 MB, free: 1.641 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001475/0.04576, allocations: 1.157 MB / 330.4 MB, free: 464 kB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.274e-05/0.04585, allocations: 176.6 kB / 330.6 MB, free: 284 kB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002743/0.04613, allocations: 224.2 kB / 330.8 MB, free: 60 kB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004376/0.0505, allocations: 3.998 MB / 334.8 MB, free: 11.68 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.23e-05/0.05054, allocations: 23.75 kB / 334.9 MB, free: 11.65 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001944/0.05074, allocations: 107.8 kB / 335 MB, free: 11.55 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002016/0.05275, allocations: 1.971 MB / 336.9 MB, free: 9.57 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004184/0.05694, allocations: 2.239 MB / 339.2 MB, free: 7.312 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02284/0.07978, allocations: 21.82 MB / 361 MB, free: 0.6953 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001964/0.08175, allocations: 1.016 MB / 362 MB, free: 15.67 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003132/0.08206, allocations: 204.4 kB / 362.2 MB, free: 15.46 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004267/0.08633, allocations: 2.621 MB / 364.8 MB, free: 12.82 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.871e-05/0.08635, allocations: 35.22 kB / 364.9 MB, free: 12.78 MB / 362.7 MB Notification: Performance of pre-optimization done (n=126): time 3.807e-06/0.08636, allocations: 4 kB / 364.9 MB, free: 12.77 MB / 362.7 MB Notification: Performance of matching and sorting (n=126): time 0.002373/0.08873, allocations: 1.218 MB / 366.1 MB, free: 11.55 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.348e-05/0.08877, allocations: 64.05 kB / 366.1 MB, free: 11.48 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001535/0.0903, allocations: 1.912 MB / 368.1 MB, free: 9.527 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 4.655e-05/0.09035, allocations: 37.7 kB / 368.1 MB, free: 9.484 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001106/0.09145, allocations: 2.674 MB / 370.8 MB, free: 6.781 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000566/0.09202, allocations: 0.4961 MB / 371.3 MB, free: 6.281 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006124/0.09263, allocations: 0.8384 MB / 372.1 MB, free: 5.43 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 9.243e-05/0.09272, allocations: 345.9 kB / 372.4 MB, free: 5.086 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000341/0.09306, allocations: 324.6 kB / 372.8 MB, free: 4.762 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001522/0.09459, allocations: 3.107 MB / 375.9 MB, free: 272 kB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003357/0.09794, allocations: 4.385 MB / 380.3 MB, free: 10.5 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.426e-05/0.09799, allocations: 31.94 kB / 380.3 MB, free: 10.47 MB / 378.7 MB Notification: Performance of matching and sorting (n=588) (initialization): time 0.003368/0.1014, allocations: 2.892 MB / 383.2 MB, free: 7.574 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.62e-05/0.1014, allocations: 48 kB / 383.2 MB, free: 7.527 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.535e-05/0.1015, allocations: 112 kB / 383.3 MB, free: 7.418 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.003e-05/0.1016, allocations: 128 kB / 383.5 MB, free: 7.293 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001611/0.1032, allocations: 1.057 MB / 384.5 MB, free: 6.234 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.059e-05/0.1033, allocations: 195.2 kB / 384.7 MB, free: 6.043 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001555/0.1048, allocations: 0.5816 MB / 385.3 MB, free: 5.457 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002124/0.105, allocations: 244.2 kB / 385.5 MB, free: 5.219 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.0009758/0.106, allocations: 476.8 kB / 386 MB, free: 4.738 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001632/0.1062, allocations: 135.8 kB / 386.1 MB, free: 4.605 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002086/0.1064, allocations: 218.3 kB / 386.3 MB, free: 4.391 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.685e-05/0.1064, allocations: 8 kB / 386.3 MB, free: 4.383 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.771e-06/0.1064, allocations: 0 / 386.3 MB, free: 4.383 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.763e-06/0.1064, allocations: 3.984 kB / 386.3 MB, free: 4.379 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00312/0.1095, allocations: 2.472 MB / 388.8 MB, free: 1.816 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.918e-05/0.1096, allocations: 16 kB / 388.8 MB, free: 1.801 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003124/0.1099, allocations: 131.8 kB / 389 MB, free: 1.672 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002238/0.1101, allocations: 210.2 kB / 389.2 MB, free: 1.465 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.464e-06/0.1101, allocations: 8.562 kB / 389.2 MB, free: 1.457 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.463e-05/0.1101, allocations: 20 kB / 389.2 MB, free: 1.438 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.502e-06/0.1101, allocations: 8 kB / 389.2 MB, free: 1.43 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.322e-06/0.1101, allocations: 11.94 kB / 389.2 MB, free: 1.418 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006119/0.1108, allocations: 0.7454 MB / 390 MB, free: 0.6016 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001233/0.1109, allocations: 23.92 kB / 390 MB, free: 0.5781 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002533/0.1111, allocations: 20 kB / 390 MB, free: 0.5586 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.801e-05/0.1112, allocations: 60.28 kB / 390.1 MB, free: 0.4961 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.778e-05/0.1113, allocations: 35.98 kB / 390.1 MB, free: 472 kB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0008262/0.1121, allocations: 0.7328 MB / 390.8 MB, free: 15.71 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.81e-07/0.1121, allocations: 0 / 390.8 MB, free: 15.71 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.002284/0.1144, allocations: 1.008 MB / 391.8 MB, free: 14.7 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.000272/0.1146, allocations: 132.1 kB / 392 MB, free: 14.55 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.001897/0.1165, allocations: 1.723 MB / 393.7 MB, free: 12.86 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 0.0001187/0.1167, allocations: 75.94 kB / 393.8 MB, free: 12.78 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003359/0.117, allocations: 283.3 kB / 394 MB, free: 12.5 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001136/0.1181, allocations: 1.072 MB / 395.1 MB, free: 11.33 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01038/0.1285, allocations: 6.486 MB / 401.6 MB, free: 4.727 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009594/0.1295, allocations: 1.027 MB / 402.6 MB, free: 3.68 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0008146/0.1303, allocations: 328.8 kB / 402.9 MB, free: 3.355 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003107/0.1306, allocations: 315.3 kB / 403.3 MB, free: 3.047 MB / 394.7 MB Notification: Performance of SimCode: time 2.044e-06/0.1306, allocations: 0 / 403.3 MB, free: 3.047 MB / 394.7 MB Notification: Performance of Templates: time 0.02753/0.1581, allocations: 12 MB / 415.3 MB, free: 7.09 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,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.154897100292146]