Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.MultiBody.Visualizers.Torus.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001477/0.001477, allocations: 100.6 kB / 21.22 MB, free: 0.6562 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002105/0.002105, allocations: 185.2 kB / 24.51 MB, free: 4.012 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.536/1.536, allocations: 225.6 MB / 253.3 MB, free: 13.05 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2422/0.2422, allocations: 44.9 MB / 353.5 MB, free: 11.86 MB / 286.1 MB " [Timeout remaining time 179] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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_4.0.0_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_4.0.0_ModelicaTest.MultiBody.Visualizers.Torus") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.003361/0.003361, allocations: 67.88 kB / 497.7 MB, free: 1.047 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4116/0.4149, allocations: 64.29 MB / 0.5488 GB, free: 13.18 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Visualizers.Torus): time 0.01481/0.4298, allocations: 11.37 MB / 0.5599 GB, free: 4.074 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.008062/0.4378, allocations: 2.814 MB / 0.5627 GB, free: 1.254 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001871/0.4397, allocations: 63.81 kB / 0.5627 GB, free: 1.191 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002849/0.4425, allocations: 1.339 MB / 0.564 GB, free: 15.84 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002985/0.4455, allocations: 1.276 MB / 0.5653 GB, free: 14.56 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003242/0.4458, allocations: 79.86 kB / 0.5653 GB, free: 14.48 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.003559/0.4494, allocations: 2.752 MB / 0.568 GB, free: 11.73 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002108/0.4515, allocations: 1.454 MB / 0.5695 GB, free: 10.24 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002124/0.4536, allocations: 1.066 MB / 0.5705 GB, free: 9.172 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002596/0.4562, allocations: 1.612 MB / 0.5721 GB, free: 7.555 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0007938/0.457, allocations: 208 kB / 0.5723 GB, free: 7.352 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001521/0.4585, allocations: 0.511 MB / 0.5728 GB, free: 6.84 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001754/0.4603, allocations: 1.452 MB / 0.5742 GB, free: 5.383 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002241/0.4625, allocations: 1.715 MB / 0.5759 GB, free: 3.656 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008034/0.4706, allocations: 5.514 MB / 0.5812 GB, free: 14.12 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.735e-06/0.4706, allocations: 0 / 0.5812 GB, free: 14.12 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.934e-06/0.4706, allocations: 0 / 0.5812 GB, free: 14.12 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.000206/0.4708, allocations: 0 / 0.5812 GB, free: 14.12 MB / 430.1 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.007751/0.4785, allocations: 3.639 MB / 0.5848 GB, free: 10.43 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.658e-05/0.4786, allocations: 12.03 kB / 0.5848 GB, free: 10.41 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01086/0.4895, allocations: 2.966 MB / 0.5877 GB, free: 7.441 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00403/0.4935, allocations: 1.48 MB / 0.5892 GB, free: 5.93 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001921/0.4937, allocations: 172.6 kB / 0.5893 GB, free: 5.758 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007457/0.4944, allocations: 224 kB / 0.5895 GB, free: 5.539 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01718/0.5116, allocations: 9.464 MB / 0.5988 GB, free: 11.69 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.602e-05/0.5117, allocations: 19.81 kB / 0.5988 GB, free: 11.67 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003734/0.512, allocations: 111.8 kB / 0.5989 GB, free: 11.56 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004221/0.5162, allocations: 2.373 MB / 0.6012 GB, free: 9.184 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01768/0.5339, allocations: 8.672 MB / 0.6097 GB, free: 0.5039 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04897/0.5829, allocations: 29.07 MB / 0.6381 GB, free: 2.621 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004994/0.5879, allocations: 2.04 MB / 0.6401 GB, free: 0.5742 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00142/0.5893, allocations: 0.8984 MB / 0.6409 GB, free: 15.68 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.009255/0.5986, allocations: 3.938 MB / 0.6448 GB, free: 11.71 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.322e-05/0.5986, allocations: 43.22 kB / 0.6448 GB, free: 11.65 MB / 494.1 MB Notification: Performance of pre-optimization done (n=126): time 3.727e-06/0.5986, allocations: 0 / 0.6448 GB, free: 11.65 MB / 494.1 MB Notification: Performance of matching and sorting (n=126): time 0.006533/0.6052, allocations: 2.749 MB / 0.6475 GB, free: 8.895 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.574e-05/0.6052, allocations: 60.06 kB / 0.6476 GB, free: 8.824 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004021/0.6092, allocations: 2.582 MB / 0.6501 GB, free: 6.215 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 9.363e-05/0.6093, allocations: 37.7 kB / 0.6501 GB, free: 6.172 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002166/0.6115, allocations: 2.763 MB / 0.6528 GB, free: 3.383 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005478/0.6121, allocations: 0.504 MB / 0.6533 GB, free: 2.875 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001281/0.6133, allocations: 0.913 MB / 0.6542 GB, free: 1.949 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0002033/0.6135, allocations: 365.8 kB / 0.6546 GB, free: 1.586 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002126/0.6157, allocations: 1.355 MB / 0.6559 GB, free: 228 kB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00519/0.6209, allocations: 4.118 MB / 0.6599 GB, free: 10.71 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007589/0.6284, allocations: 5.96 MB / 0.6657 GB, free: 3.379 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.363e-05/0.6285, allocations: 28 kB / 0.6657 GB, free: 3.352 MB / 0.4981 GB Notification: Performance of matching and sorting (n=588) (initialization): time 0.009053/0.6376, allocations: 5.296 MB / 0.6709 GB, free: 14.05 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 6.491e-05/0.6376, allocations: 44 kB / 0.671 GB, free: 14.01 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001023/0.6377, allocations: 104.1 kB / 0.6711 GB, free: 13.91 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001306/0.6379, allocations: 128 kB / 0.6712 GB, free: 13.79 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00278/0.6406, allocations: 0.9708 MB / 0.6721 GB, free: 12.81 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002757/0.6409, allocations: 195.2 kB / 0.6723 GB, free: 12.62 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003192/0.6441, allocations: 0.6243 MB / 0.6729 GB, free: 11.99 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004596/0.6446, allocations: 272 kB / 0.6732 GB, free: 11.73 MB / 0.5137 GB 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.003424/0.648, allocations: 1.903 MB / 0.675 GB, free: 9.809 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000479/0.6485, allocations: 226.5 kB / 0.6753 GB, free: 9.586 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005786/0.649, allocations: 267.4 kB / 0.6755 GB, free: 9.32 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.147e-05/0.6491, allocations: 19.98 kB / 0.6755 GB, free: 9.301 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.518e-06/0.6491, allocations: 0 / 0.6755 GB, free: 9.301 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.666e-06/0.6491, allocations: 3.984 kB / 0.6755 GB, free: 9.297 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01123/0.6603, allocations: 5.586 MB / 0.681 GB, free: 3.594 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.997e-06/0.6603, allocations: 8 kB / 0.681 GB, free: 3.586 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005849/0.6609, allocations: 135.8 kB / 0.6811 GB, free: 3.453 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.241e-05/0.6609, allocations: 8 kB / 0.6811 GB, free: 3.445 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.192e-05/0.661, allocations: 24 kB / 0.6812 GB, free: 3.422 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.052e-05/0.661, allocations: 15.94 kB / 0.6812 GB, free: 3.406 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.979e-06/0.661, allocations: 4 kB / 0.6812 GB, free: 3.402 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002642/0.6637, allocations: 1.813 MB / 0.6829 GB, free: 1.516 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005987/0.6643, allocations: 218.2 kB / 0.6832 GB, free: 1.301 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002206/0.6645, allocations: 19.98 kB / 0.6832 GB, free: 1.281 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005993/0.6651, allocations: 35.97 kB / 0.6832 GB, free: 1.246 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001275/0.6652, allocations: 68.27 kB / 0.6833 GB, free: 1.18 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001421/0.6653, allocations: 43.98 kB / 0.6833 GB, free: 1.137 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.002376/0.6677, allocations: 1.56 MB / 0.6848 GB, free: 15.56 MB / 0.5294 GB Notification: Performance of sort global known variables: time 8e-08/0.6677, allocations: 0 / 0.6848 GB, free: 15.56 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.004069/0.6718, allocations: 1.016 MB / 0.6858 GB, free: 14.54 MB / 0.5294 GB 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.0003833/0.6722, allocations: 142.9 kB / 0.686 GB, free: 14.39 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.005295/0.6775, allocations: 3.018 MB / 0.6889 GB, free: 11.4 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 5.73e-06/0.6775, allocations: 0 / 0.6889 GB, free: 11.4 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.001059/0.6785, allocations: 0.6879 MB / 0.6896 GB, free: 10.71 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001519/0.6801, allocations: 263.7 kB / 0.6898 GB, free: 10.46 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01389/0.6939, allocations: 7.282 MB / 0.697 GB, free: 3.086 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003662/0.6976, allocations: 2.962 MB / 0.6998 GB, free: 92 kB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.003292/0.7009, allocations: 1.488 MB / 0.7013 GB, free: 14.59 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004044/0.7013, allocations: 155.4 kB / 0.7014 GB, free: 14.44 MB / 0.545 GB Notification: Performance of SimCode: time 1.593e-06/0.7013, allocations: 0 / 0.7014 GB, free: 14.44 MB / 0.545 GB Notification: Performance of Templates: time 0.046/0.7473, allocations: 19.84 MB / 0.7208 GB, free: 10.66 MB / 0.5606 GB " [Timeout remaining time 659] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Visualizers.Torus.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Visualizers.Torus.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.MultiBody.Visualizers.Torus.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.MultiBody.Visualizers.Torus.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Visualizers.Torus.sim & ./ModelicaTest_4.0.0_ModelicaTest.MultiBody.Visualizers.Torus -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.MultiBody.Visualizers.Torus.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.MultiBody.Visualizers.Torus_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Visualizers/Torus/Torus.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_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: 6.902428509667516]