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.001477/0.001477, allocations: 96.25 kB / 20.96 MB, free: 3.469 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.0016/0.0016, allocations: 156.9 kB / 24.27 MB, free: 172 kB / 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.487/1.487, allocations: 177 MB / 204.4 MB, free: 5.641 MB / 186.7 MB " [Timeout remaining time 178] 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.3554/0.3554, allocations: 34.25 MB / 295.2 MB, free: 0.6484 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.623e-06/1.623e-06, allocations: 0 / 377.2 MB, free: 2.953 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.738e-05/2.901e-05, allocations: 6.25 kB / 377.2 MB, free: 2.945 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Visualizers.Torus): time 0.01423/0.01426, allocations: 9.831 MB / 387 MB, free: 9.059 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.00648/0.02074, allocations: 2.714 MB / 389.7 MB, free: 6.336 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001222/0.02196, allocations: 59.81 kB / 389.8 MB, free: 6.277 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002978/0.02494, allocations: 1.366 MB / 391.2 MB, free: 4.906 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003112/0.02805, allocations: 1.295 MB / 392.5 MB, free: 3.605 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003883/0.02844, allocations: 95.69 kB / 392.5 MB, free: 3.512 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.00424/0.03268, allocations: 2.773 MB / 395.3 MB, free: 0.7344 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002764/0.03544, allocations: 1.734 MB / 397.1 MB, free: 14.96 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003257/0.0387, allocations: 1.547 MB / 398.6 MB, free: 13.41 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002638/0.04134, allocations: 1.5 MB / 400.1 MB, free: 11.91 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0005435/0.04188, allocations: 208 kB / 400.3 MB, free: 11.7 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001512/0.04339, allocations: 479.4 kB / 400.8 MB, free: 11.23 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001793/0.04518, allocations: 1.472 MB / 402.2 MB, free: 9.758 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001436/0.04662, allocations: 0.86 MB / 403.1 MB, free: 8.895 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00784/0.05446, allocations: 5.321 MB / 408.4 MB, free: 3.555 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.029e-06/0.05447, allocations: 0 / 408.4 MB, free: 3.555 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.432e-06/0.05447, allocations: 0 / 408.4 MB, free: 3.555 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0001726/0.05464, allocations: 0 / 408.4 MB, free: 3.555 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.006999/0.06164, allocations: 3.558 MB / 412 MB, free: 15.94 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.986e-05/0.06169, allocations: 11.97 kB / 412 MB, free: 15.93 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01147/0.07316, allocations: 3.548 MB / 415.5 MB, free: 12.38 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004226/0.07739, allocations: 1.503 MB / 417 MB, free: 10.84 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001936/0.07758, allocations: 172.6 kB / 417.2 MB, free: 10.67 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007008/0.07828, allocations: 224.2 kB / 417.4 MB, free: 10.45 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01809/0.09637, allocations: 9.477 MB / 426.9 MB, free: 0.5938 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.255e-05/0.09643, allocations: 19.75 kB / 426.9 MB, free: 0.5742 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003924/0.09682, allocations: 115.8 kB / 427 MB, free: 472 kB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004531/0.1014, allocations: 2.373 MB / 429.4 MB, free: 14.08 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01885/0.1202, allocations: 8.656 MB / 438.1 MB, free: 5.418 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1981/0.3183, allocations: 26.61 MB / 464.7 MB, free: 79.46 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004128/0.3224, allocations: 2.102 MB / 466.8 MB, free: 78.91 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001157/0.3236, allocations: 0.9073 MB / 467.7 MB, free: 78.64 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007622/0.3312, allocations: 3.915 MB / 471.6 MB, free: 77.46 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.168e-05/0.3312, allocations: 45.62 kB / 471.7 MB, free: 77.41 MB / 410.7 MB Notification: Performance of pre-optimization done (n=126): time 4.569e-06/0.3312, allocations: 0 / 471.7 MB, free: 77.41 MB / 410.7 MB Notification: Performance of matching and sorting (n=126): time 0.005597/0.3368, allocations: 2.891 MB / 474.5 MB, free: 76.69 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.108e-05/0.3369, allocations: 60.97 kB / 474.6 MB, free: 76.62 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003694/0.3406, allocations: 2.619 MB / 477.2 MB, free: 75.66 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001/0.3407, allocations: 36.77 kB / 477.3 MB, free: 75.62 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001149/0.3418, allocations: 2.75 MB / 480 MB, free: 73.77 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003229/0.3421, allocations: 0.4964 MB / 480.5 MB, free: 73.41 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000957/0.3431, allocations: 0.8867 MB / 481.4 MB, free: 72.96 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 8.114e-05/0.3432, allocations: 357.5 kB / 481.7 MB, free: 72.64 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001831/0.345, allocations: 1.353 MB / 483.1 MB, free: 72.24 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003065/0.3481, allocations: 4.118 MB / 487.2 MB, free: 68.09 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005345/0.3534, allocations: 5.959 MB / 493.2 MB, free: 63.01 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001145/0.3535, allocations: 27.94 kB / 493.2 MB, free: 63.01 MB / 410.7 MB Notification: Performance of matching and sorting (n=588) (initialization): time 0.008662/0.3622, allocations: 5.52 MB / 498.7 MB, free: 60.91 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.062e-05/0.3623, allocations: 47.06 kB / 498.8 MB, free: 60.91 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001053/0.3624, allocations: 98.56 kB / 498.9 MB, free: 60.91 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001082/0.3625, allocations: 126.3 kB / 499 MB, free: 60.91 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002622/0.3651, allocations: 0.9806 MB / 500 MB, free: 60.79 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001229/0.3652, allocations: 196.5 kB / 0.4884 GB, free: 60.75 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002755/0.368, allocations: 0.5974 MB / 0.489 GB, free: 60.36 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003542/0.3683, allocations: 284.3 kB / 0.4893 GB, free: 60.32 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.002418/0.3707, allocations: 1.897 MB / 0.4911 GB, free: 59.48 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003466/0.3711, allocations: 237.3 kB / 0.4914 GB, free: 59.35 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004307/0.3715, allocations: 269.1 kB / 0.4916 GB, free: 59.21 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.862e-05/0.3716, allocations: 13.84 kB / 0.4916 GB, free: 59.21 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.509e-05/0.3716, allocations: 0 / 0.4916 GB, free: 59.21 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.764e-06/0.3716, allocations: 3.328 kB / 0.4916 GB, free: 59.21 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006697/0.3783, allocations: 4.316 MB / 0.4959 GB, free: 57.61 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.997e-06/0.3783, allocations: 3.75 kB / 0.4959 GB, free: 57.61 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005987/0.3789, allocations: 135.8 kB / 0.496 GB, free: 57.6 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.359e-05/0.3789, allocations: 7.938 kB / 0.496 GB, free: 57.6 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.55e-05/0.379, allocations: 28.42 kB / 0.496 GB, free: 57.58 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.423e-05/0.379, allocations: 12.56 kB / 0.496 GB, free: 57.58 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.65e-06/0.379, allocations: 11.25 kB / 0.496 GB, free: 57.57 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002345/0.3813, allocations: 1.809 MB / 0.4978 GB, free: 56.2 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004727/0.3818, allocations: 202 kB / 0.498 GB, free: 56 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001948/0.382, allocations: 21.41 kB / 0.498 GB, free: 55.98 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005729/0.3826, allocations: 42.77 kB / 0.4981 GB, free: 55.96 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001315/0.3827, allocations: 60.61 kB / 0.4981 GB, free: 55.92 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.267e-05/0.3828, allocations: 54.11 kB / 0.4982 GB, free: 55.87 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.001918/0.3847, allocations: 1.463 MB / 0.4996 GB, free: 54.65 MB / 410.7 MB Notification: Performance of sort global known variables: time 9e-08/0.3847, allocations: 0 / 0.4996 GB, free: 54.65 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.003764/0.3885, allocations: 1.02 MB / 0.5006 GB, free: 53.63 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.0003956/0.3888, allocations: 139.6 kB / 0.5007 GB, free: 53.49 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.004704/0.3936, allocations: 3.023 MB / 0.5037 GB, free: 50.84 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 9.207e-06/0.3936, allocations: 0 / 0.5037 GB, free: 50.84 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008054/0.3944, allocations: 0.6841 MB / 0.5044 GB, free: 50.23 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001256/0.3956, allocations: 189.5 kB / 0.5045 GB, free: 50.06 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01023/0.4059, allocations: 7.345 MB / 0.5117 GB, free: 43.23 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002564/0.4084, allocations: 2.413 MB / 0.5141 GB, free: 41.4 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.002612/0.411, allocations: 1.468 MB / 0.5155 GB, free: 40.48 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003364/0.4114, allocations: 147.6 kB / 0.5156 GB, free: 40.34 MB / 410.7 MB Notification: Performance of SimCode: time 1.613e-06/0.4114, allocations: 4 kB / 0.5156 GB, free: 40.33 MB / 410.7 MB Notification: Performance of Templates: time 0.02835/0.4397, allocations: 12.01 MB / 0.5274 GB, free: 29.05 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=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.MultiBody.Visualizers.Torus.pipe 2>&1) [Timeout 480] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.MultiBody.Visualizers.Torus.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 5.97344095306471]