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.001442/0.001442, allocations: 79.69 kB / 21.7 MB, free: 2.852 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.002015/0.002015, allocations: 162.2 kB / 24.99 MB, free: 8.801 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 1.098/1.098, allocations: 177 MB / 205.2 MB, free: 5.602 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.3393/0.3393, allocations: 34.86 MB / 296.6 MB, free: 0.5742 MB / 266.7 MB " [Timeout remaining time 179] 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.513e-06/1.513e-06, allocations: 0 / 378.7 MB, free: 2.453 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.559e-05/3.71e-05, allocations: 2.312 kB / 378.7 MB, free: 2.449 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Visualizers.Torus): time 0.01062/0.01065, allocations: 10.8 MB / 389.5 MB, free: 7.594 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.00723/0.01788, allocations: 2.768 MB / 392.3 MB, free: 4.816 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002074/0.01996, allocations: 59.81 kB / 392.4 MB, free: 4.758 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002878/0.02284, allocations: 1.397 MB / 393.7 MB, free: 3.355 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003386/0.02622, allocations: 1.295 MB / 395 MB, free: 2.055 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004616/0.02668, allocations: 87.7 kB / 395.1 MB, free: 1.969 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.003412/0.0301, allocations: 2.775 MB / 397.9 MB, free: 15.18 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002691/0.03279, allocations: 1.727 MB / 399.6 MB, free: 13.42 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002266/0.03505, allocations: 1.551 MB / 401.2 MB, free: 11.86 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002411/0.03746, allocations: 1.508 MB / 402.7 MB, free: 10.35 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0005027/0.03797, allocations: 208 kB / 402.9 MB, free: 10.15 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001042/0.03901, allocations: 475.4 kB / 403.4 MB, free: 9.684 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001112/0.04012, allocations: 1.476 MB / 404.8 MB, free: 8.203 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001033/0.04115, allocations: 0.8639 MB / 405.7 MB, free: 7.336 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004587/0.04574, allocations: 3.345 MB / 409 MB, free: 3.977 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.006e-05/0.04575, allocations: 0 / 409 MB, free: 3.977 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.763e-06/0.04575, allocations: 0 / 409 MB, free: 3.977 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0001823/0.04594, allocations: 0 / 409 MB, free: 3.977 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.004782/0.05072, allocations: 3.979 MB / 413 MB, free: 15.94 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.551e-05/0.05078, allocations: 12.03 kB / 413 MB, free: 15.93 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006815/0.0576, allocations: 3.438 MB / 416.5 MB, free: 12.48 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003037/0.06063, allocations: 1.404 MB / 417.9 MB, free: 11.05 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001338/0.06077, allocations: 172.6 kB / 418 MB, free: 10.88 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004407/0.06121, allocations: 224.2 kB / 418.3 MB, free: 10.66 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008887/0.0701, allocations: 4.662 MB / 422.9 MB, free: 5.484 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.098e-05/0.07015, allocations: 27.75 kB / 422.9 MB, free: 5.457 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002549/0.0704, allocations: 107.8 kB / 423.1 MB, free: 5.352 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002536/0.07294, allocations: 2.369 MB / 425.4 MB, free: 2.977 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01026/0.0832, allocations: 2.761 MB / 428.2 MB, free: 212 kB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2921/0.3753, allocations: 29.06 MB / 457.2 MB, free: 76.56 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00331/0.3786, allocations: 1.037 MB / 458.3 MB, free: 76.52 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006422/0.3792, allocations: 310.6 kB / 458.6 MB, free: 76.51 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006387/0.3856, allocations: 3.007 MB / 461.6 MB, free: 76.04 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.692e-05/0.3857, allocations: 43.52 kB / 461.6 MB, free: 76 MB / 410.7 MB Notification: Performance of pre-optimization done (n=126): time 5.83e-06/0.3857, allocations: 0 / 461.6 MB, free: 76 MB / 410.7 MB Notification: Performance of matching and sorting (n=126): time 0.004445/0.3901, allocations: 1.509 MB / 463.1 MB, free: 75.82 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.788e-05/0.3902, allocations: 61.31 kB / 463.2 MB, free: 75.75 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003365/0.3935, allocations: 2.4 MB / 465.6 MB, free: 75.1 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 8.291e-05/0.3936, allocations: 36.64 kB / 465.6 MB, free: 75.06 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001741/0.3954, allocations: 2.878 MB / 468.5 MB, free: 73.11 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004943/0.3959, allocations: 0.5227 MB / 469 MB, free: 72.73 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001066/0.3969, allocations: 0.968 MB / 470 MB, free: 72.2 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001124/0.397, allocations: 0.5223 MB / 470.5 MB, free: 71.7 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009146/0.398, allocations: 445.7 kB / 471 MB, free: 71.64 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002658/0.4006, allocations: 4.538 MB / 475.5 MB, free: 66.07 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005043/0.4057, allocations: 5.488 MB / 481 MB, free: 59.87 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001206/0.4058, allocations: 31.94 kB / 481 MB, free: 59.87 MB / 410.7 MB Notification: Performance of matching and sorting (n=588) (initialization): time 0.007127/0.4129, allocations: 3.709 MB / 484.7 MB, free: 58.44 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.966e-05/0.413, allocations: 52.39 kB / 484.8 MB, free: 58.43 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001892/0.4132, allocations: 99.91 kB / 484.9 MB, free: 58.43 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001573/0.4133, allocations: 126.9 kB / 485 MB, free: 58.43 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002376/0.4157, allocations: 0.973 MB / 486 MB, free: 58.31 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001528/0.4159, allocations: 194.8 kB / 486.2 MB, free: 58.27 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002926/0.4188, allocations: 0.6022 MB / 486.8 MB, free: 57.88 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004202/0.4192, allocations: 277.3 kB / 487 MB, free: 57.84 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.001551/0.4208, allocations: 0.5201 MB / 487.6 MB, free: 57.42 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003258/0.4211, allocations: 239.4 kB / 487.8 MB, free: 57.29 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002891/0.4214, allocations: 225 kB / 488 MB, free: 57.15 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.281e-05/0.4214, allocations: 12.06 kB / 488 MB, free: 57.15 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.921e-05/0.4214, allocations: 3.188 kB / 488 MB, free: 57.15 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.264e-05/0.4214, allocations: 3.328 kB / 488 MB, free: 57.15 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007029/0.4285, allocations: 3.832 MB / 491.9 MB, free: 55.36 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.691e-05/0.4285, allocations: 4.75 kB / 491.9 MB, free: 55.36 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005937/0.4291, allocations: 135.9 kB / 492 MB, free: 55.35 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.285e-05/0.4291, allocations: 7.719 kB / 492 MB, free: 55.35 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.653e-05/0.4292, allocations: 23.3 kB / 492 MB, free: 55.34 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.739e-05/0.4292, allocations: 11.53 kB / 492 MB, free: 55.34 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.087e-05/0.4292, allocations: 9.188 kB / 492 MB, free: 55.34 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001957/0.4312, allocations: 1.072 MB / 493.1 MB, free: 54.64 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004147/0.4316, allocations: 209.3 kB / 493.3 MB, free: 54.5 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001999/0.4318, allocations: 23.58 kB / 493.3 MB, free: 54.49 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000449/0.4322, allocations: 36.86 kB / 493.4 MB, free: 54.48 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001266/0.4324, allocations: 67.47 kB / 493.4 MB, free: 54.46 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.827e-05/0.4324, allocations: 36.88 kB / 493.5 MB, free: 54.46 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.001824/0.4343, allocations: 0.9958 MB / 494.5 MB, free: 54.07 MB / 410.7 MB Notification: Performance of sort global known variables: time 2.7e-07/0.4343, allocations: 1.438 kB / 494.5 MB, free: 54.07 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.004105/0.4384, allocations: 1.018 MB / 495.5 MB, free: 53.73 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.0004793/0.4388, allocations: 141.9 kB / 495.6 MB, free: 53.61 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.004472/0.4433, allocations: 1.874 MB / 497.5 MB, free: 53 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.183e-05/0.4433, allocations: 1.375 kB / 497.5 MB, free: 53 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005544/0.4439, allocations: 294.9 kB / 497.8 MB, free: 52.92 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001242/0.4451, allocations: 184 kB / 498 MB, free: 52.82 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01136/0.4565, allocations: 6.141 MB / 0.4923 GB, free: 49.7 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0012/0.4577, allocations: 1.054 MB / 0.4933 GB, free: 49.34 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.00193/0.4596, allocations: 1.251 MB / 0.4946 GB, free: 49.23 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003628/0.46, allocations: 146.8 kB / 0.4947 GB, free: 49.21 MB / 410.7 MB Notification: Performance of SimCode: time 2.615e-06/0.46, allocations: 0 / 0.4947 GB, free: 49.21 MB / 410.7 MB Notification: Performance of Templates: time 0.02924/0.4892, allocations: 11.88 MB / 0.5063 GB, free: 44.47 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: 4.794883536174893]