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.001118/0.001118, allocations: 84.25 kB / 22.21 MB, free: 2.285 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.00112/0.00112, allocations: 168.7 kB / 25.61 MB, free: 8.602 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.116/1.116, allocations: 177 MB / 205.9 MB, free: 4.461 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.1399/0.1399, allocations: 34.88 MB / 297.4 MB, free: 13.34 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.202e-06/1.202e-06, allocations: 0 / 380 MB, free: 22.78 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.09e-05/1.21e-05, allocations: 2.312 kB / 380 MB, free: 22.77 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Visualizers.Torus): time 0.01655/0.01656, allocations: 10.54 MB / 390.5 MB, free: 12.19 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.006339/0.0229, allocations: 2.747 MB / 393.3 MB, free: 9.438 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005643/0.02346, allocations: 59.81 kB / 393.3 MB, free: 9.379 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00145/0.02491, allocations: 1.393 MB / 394.7 MB, free: 7.98 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00107/0.02598, allocations: 1.295 MB / 396 MB, free: 6.68 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001554/0.02614, allocations: 83.72 kB / 396.1 MB, free: 6.598 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.001325/0.02747, allocations: 2.784 MB / 398.9 MB, free: 3.809 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001096/0.02856, allocations: 1.73 MB / 400.6 MB, free: 2.039 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009988/0.02956, allocations: 1.555 MB / 402.2 MB, free: 492 kB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001078/0.03064, allocations: 1.508 MB / 403.7 MB, free: 14.97 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.000184/0.03082, allocations: 208 kB / 403.9 MB, free: 14.77 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005001/0.03132, allocations: 483.3 kB / 404.3 MB, free: 14.29 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0008093/0.03213, allocations: 1.476 MB / 405.8 MB, free: 12.81 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0005962/0.03273, allocations: 0.8639 MB / 406.7 MB, free: 11.95 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002258/0.03499, allocations: 3.353 MB / 410 MB, free: 8.574 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.564e-06/0.03499, allocations: 0 / 410 MB, free: 8.574 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.052e-06/0.03499, allocations: 0 / 410 MB, free: 8.574 MB / 330.7 MB Notification: Performance of Transformations before backend: time 2.287e-05/0.03501, allocations: 0 / 410 MB, free: 8.574 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.00326/0.03827, allocations: 3.986 MB / 414 MB, free: 4.531 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.426e-05/0.03831, allocations: 8.031 kB / 414 MB, free: 4.523 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003962/0.04227, allocations: 1.664 MB / 415.7 MB, free: 2.855 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001653/0.04392, allocations: 1.292 MB / 417 MB, free: 1.527 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.385e-05/0.04402, allocations: 172.6 kB / 417.2 MB, free: 1.355 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003023/0.04432, allocations: 224.2 kB / 417.4 MB, free: 1.137 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004057/0.04837, allocations: 4.274 MB / 421.7 MB, free: 12.35 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.425e-05/0.04842, allocations: 23.75 kB / 421.7 MB, free: 12.33 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002118/0.04863, allocations: 111.8 kB / 421.8 MB, free: 12.22 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00216/0.05079, allocations: 2.077 MB / 423.9 MB, free: 10.14 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003167/0.05396, allocations: 2.231 MB / 426.1 MB, free: 7.895 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01977/0.07372, allocations: 28.75 MB / 454.8 MB, free: 10.21 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001742/0.07547, allocations: 0.9764 MB / 455.8 MB, free: 9.227 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002917/0.07576, allocations: 264.8 kB / 456.1 MB, free: 8.965 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003647/0.0794, allocations: 2.828 MB / 458.9 MB, free: 6.109 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.706e-05/0.07943, allocations: 53.97 kB / 459 MB, free: 6.047 MB / 378.7 MB Notification: Performance of pre-optimization done (n=126): time 2.725e-06/0.07943, allocations: 0 / 459 MB, free: 6.047 MB / 378.7 MB Notification: Performance of matching and sorting (n=126): time 0.002499/0.08193, allocations: 1.426 MB / 460.4 MB, free: 4.617 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.32e-05/0.08197, allocations: 60.06 kB / 460.4 MB, free: 4.547 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001636/0.0836, allocations: 2.383 MB / 462.8 MB, free: 2.121 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 3.469e-05/0.08364, allocations: 33.7 kB / 462.9 MB, free: 2.082 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001183/0.08482, allocations: 2.89 MB / 465.7 MB, free: 15.16 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000574/0.08539, allocations: 0.5313 MB / 466.3 MB, free: 14.62 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007376/0.08613, allocations: 0.992 MB / 467.3 MB, free: 13.61 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001343/0.08627, allocations: 0.5198 MB / 467.8 MB, free: 13.09 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003759/0.08664, allocations: 344.5 kB / 468.1 MB, free: 12.74 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00242/0.08906, allocations: 4.471 MB / 472.6 MB, free: 6.375 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00345/0.09251, allocations: 5.376 MB / 478 MB, free: 15.11 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.186e-05/0.09254, allocations: 28 kB / 478 MB, free: 15.08 MB / 410.7 MB Notification: Performance of matching and sorting (n=588) (initialization): time 0.003262/0.09581, allocations: 3.453 MB / 481.5 MB, free: 11.62 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.032e-05/0.09586, allocations: 48 kB / 481.5 MB, free: 11.57 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.146e-05/0.09592, allocations: 96 kB / 481.6 MB, free: 11.48 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.979e-05/0.096, allocations: 132 kB / 481.7 MB, free: 11.35 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001452/0.09745, allocations: 0.9591 MB / 482.7 MB, free: 10.39 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.744e-05/0.09755, allocations: 191.2 kB / 482.9 MB, free: 10.2 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001425/0.09897, allocations: 0.5858 MB / 483.5 MB, free: 9.617 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001994/0.09917, allocations: 244 kB / 483.7 MB, free: 9.379 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.00127/0.1004, allocations: 0.5124 MB / 484.2 MB, free: 8.852 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001739/0.1006, allocations: 242.5 kB / 484.4 MB, free: 8.613 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002069/0.1008, allocations: 218.3 kB / 484.7 MB, free: 8.398 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.709e-05/0.1008, allocations: 16 kB / 484.7 MB, free: 8.383 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.732e-06/0.1008, allocations: 0 / 484.7 MB, free: 8.383 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.522e-06/0.1009, allocations: 3.984 kB / 484.7 MB, free: 8.379 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002976/0.1038, allocations: 2.8 MB / 487.5 MB, free: 5.461 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.962e-06/0.1038, allocations: 8 kB / 487.5 MB, free: 5.453 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002605/0.1041, allocations: 116.4 kB / 487.6 MB, free: 5.34 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.123e-06/0.1041, allocations: 11.94 kB / 487.6 MB, free: 5.328 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.867e-05/0.1041, allocations: 20 kB / 487.6 MB, free: 5.309 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.406e-06/0.1041, allocations: 15.92 kB / 487.6 MB, free: 5.293 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.947e-06/0.1041, allocations: 8 kB / 487.7 MB, free: 5.285 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007391/0.1049, allocations: 1.011 MB / 488.7 MB, free: 4.18 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001586/0.105, allocations: 214.1 kB / 488.9 MB, free: 3.969 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001113/0.1052, allocations: 23.98 kB / 488.9 MB, free: 3.945 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002453/0.1054, allocations: 16 kB / 488.9 MB, free: 3.93 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.087e-05/0.1055, allocations: 68.28 kB / 489 MB, free: 3.863 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.628e-05/0.1055, allocations: 39.98 kB / 489 MB, free: 3.824 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0006607/0.1062, allocations: 0.9279 MB / 489.9 MB, free: 2.879 MB / 410.7 MB Notification: Performance of sort global known variables: time 2.11e-07/0.1062, allocations: 0 / 489.9 MB, free: 2.879 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.002674/0.1089, allocations: 1.008 MB / 491 MB, free: 1.867 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.0005495/0.1094, allocations: 147 kB / 491.1 MB, free: 1.715 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.001654/0.1111, allocations: 1.768 MB / 492.9 MB, free: 15.96 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.495e-06/0.1111, allocations: 0 / 492.9 MB, free: 15.96 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002588/0.1113, allocations: 270.3 kB / 493.1 MB, free: 15.69 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006035/0.1119, allocations: 201.9 kB / 493.3 MB, free: 15.5 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006431/0.1184, allocations: 6.134 MB / 499.5 MB, free: 9.223 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007849/0.1191, allocations: 1.055 MB / 0.4888 GB, free: 8.145 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.000682/0.1198, allocations: 332.8 kB / 0.4891 GB, free: 7.816 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003566/0.1202, allocations: 358.2 kB / 0.4894 GB, free: 7.465 MB / 426.7 MB Notification: Performance of SimCode: time 1.112e-06/0.1202, allocations: 0 / 0.4894 GB, free: 7.465 MB / 426.7 MB Notification: Performance of Templates: time 0.1775/0.2977, allocations: 13.97 MB / 0.5031 GB, free: 126.8 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: 4.160299697890878]