Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.MultiBody.Visualizers.Torus.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001617/0.001617, allocations: 103.6 kB / 21.18 MB, free: 0.6445 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002058/0.002058, allocations: 211.5 kB / 24.48 MB, free: 3.938 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.554/1.554, allocations: 230.6 MB / 258.2 MB, free: 7.746 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.243/0.243, allocations: 46.96 MB / 361.6 MB, free: 3.996 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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.1.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.1.0_ModelicaTest.MultiBody.Visualizers.Torus") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002288/0.002288, allocations: 67.91 kB / 0.4973 GB, free: 7.195 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3233/0.3256, allocations: 66.04 MB / 0.5618 GB, free: 4.141 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Visualizers.Torus): time 0.01272/0.3383, allocations: 9.804 MB / 0.5714 GB, free: 10.28 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.006367/0.3447, allocations: 2.701 MB / 0.574 GB, free: 7.574 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001647/0.3464, allocations: 59.81 kB / 0.5741 GB, free: 7.516 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003/0.3494, allocations: 1.312 MB / 0.5754 GB, free: 6.199 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003205/0.3526, allocations: 1.245 MB / 0.5766 GB, free: 4.949 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004329/0.353, allocations: 83.84 kB / 0.5767 GB, free: 4.867 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.003733/0.3567, allocations: 2.721 MB / 0.5793 GB, free: 2.145 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002524/0.3593, allocations: 1.671 MB / 0.5809 GB, free: 448 kB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002021/0.3613, allocations: 1.066 MB / 0.582 GB, free: 15.36 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00257/0.3638, allocations: 1.53 MB / 0.5835 GB, free: 13.83 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000614/0.3645, allocations: 212 kB / 0.5837 GB, free: 13.62 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001138/0.3656, allocations: 411.3 kB / 0.5841 GB, free: 13.22 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001531/0.3671, allocations: 1.433 MB / 0.5855 GB, free: 11.79 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001606/0.3687, allocations: 1.195 MB / 0.5866 GB, free: 10.58 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007159/0.3759, allocations: 5.476 MB / 0.592 GB, free: 5.086 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.2e-06/0.3759, allocations: 0 / 0.592 GB, free: 5.086 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.515e-06/0.3759, allocations: 0 / 0.592 GB, free: 5.086 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0002052/0.3761, allocations: 0 / 0.592 GB, free: 5.086 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.006939/0.383, allocations: 3.601 MB / 0.5955 GB, free: 1.434 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.784e-05/0.3831, allocations: 8.031 kB / 0.5955 GB, free: 1.426 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01016/0.3933, allocations: 2.966 MB / 0.5984 GB, free: 14.45 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004253/0.3975, allocations: 1.492 MB / 0.5999 GB, free: 12.93 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001956/0.3977, allocations: 172.6 kB / 0.6 GB, free: 12.76 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008112/0.3985, allocations: 224 kB / 0.6002 GB, free: 12.54 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01648/0.415, allocations: 9.472 MB / 0.6095 GB, free: 2.688 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.638e-05/0.4151, allocations: 19.81 kB / 0.6095 GB, free: 2.668 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000365/0.4154, allocations: 111.8 kB / 0.6096 GB, free: 2.559 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004052/0.4195, allocations: 2.369 MB / 0.6119 GB, free: 192 kB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01802/0.4375, allocations: 8.671 MB / 0.6204 GB, free: 7.5 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04316/0.4807, allocations: 26.42 MB / 0.6462 GB, free: 12.29 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004868/0.4855, allocations: 2.025 MB / 0.6482 GB, free: 10.26 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001433/0.487, allocations: 0.9023 MB / 0.6491 GB, free: 9.355 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.008437/0.4954, allocations: 3.765 MB / 0.6527 GB, free: 5.555 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.49e-05/0.4954, allocations: 43.22 kB / 0.6528 GB, free: 5.504 MB / 494.1 MB Notification: Performance of pre-optimization done (n=126): time 9.187e-06/0.4954, allocations: 7.984 kB / 0.6528 GB, free: 5.496 MB / 494.1 MB Notification: Performance of matching and sorting (n=126): time 0.006356/0.5018, allocations: 2.733 MB / 0.6554 GB, free: 2.754 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.081e-05/0.5019, allocations: 60.06 kB / 0.6555 GB, free: 2.684 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003938/0.5058, allocations: 2.612 MB / 0.6581 GB, free: 36 kB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001553/0.506, allocations: 41.78 kB / 0.6581 GB, free: 15.98 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.002291/0.5083, allocations: 2.77 MB / 0.6608 GB, free: 13.18 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006085/0.5089, allocations: 0.5001 MB / 0.6613 GB, free: 12.68 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001223/0.5101, allocations: 0.9091 MB / 0.6622 GB, free: 11.76 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0002221/0.5103, allocations: 353.9 kB / 0.6625 GB, free: 11.41 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002198/0.5125, allocations: 1.352 MB / 0.6638 GB, free: 10.05 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004529/0.5171, allocations: 4.118 MB / 0.6679 GB, free: 4.543 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007701/0.5248, allocations: 5.964 MB / 0.6737 GB, free: 13.21 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.24e-05/0.5249, allocations: 31.94 kB / 0.6737 GB, free: 13.18 MB / 0.5137 GB Notification: Performance of matching and sorting (n=588) (initialization): time 0.01003/0.5349, allocations: 5.288 MB / 0.6789 GB, free: 7.879 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 7.452e-05/0.535, allocations: 48 kB / 0.6789 GB, free: 7.832 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001262/0.5351, allocations: 100 kB / 0.679 GB, free: 7.734 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001517/0.5352, allocations: 128 kB / 0.6791 GB, free: 7.609 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002959/0.5382, allocations: 0.9708 MB / 0.6801 GB, free: 6.637 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001685/0.5384, allocations: 195.2 kB / 0.6803 GB, free: 6.445 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002817/0.5412, allocations: 0.6054 MB / 0.6809 GB, free: 5.836 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004375/0.5416, allocations: 276 kB / 0.6811 GB, free: 5.566 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.003414/0.545, allocations: 1.895 MB / 0.683 GB, free: 3.656 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003765/0.5454, allocations: 218.5 kB / 0.6832 GB, free: 3.441 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000507/0.5459, allocations: 262.3 kB / 0.6834 GB, free: 3.184 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.215e-05/0.546, allocations: 16 kB / 0.6835 GB, free: 3.168 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.548e-06/0.546, allocations: 0 / 0.6835 GB, free: 3.168 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.498e-06/0.546, allocations: 3.984 kB / 0.6835 GB, free: 3.164 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007728/0.5537, allocations: 4.27 MB / 0.6876 GB, free: 14.79 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.024e-05/0.5537, allocations: 8 kB / 0.6876 GB, free: 14.78 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005748/0.5543, allocations: 132.4 kB / 0.6878 GB, free: 14.65 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.566e-05/0.5543, allocations: 8 kB / 0.6878 GB, free: 14.64 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.212e-05/0.5544, allocations: 31.89 kB / 0.6878 GB, free: 14.62 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.306e-05/0.5544, allocations: 11.94 kB / 0.6878 GB, free: 14.61 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.903e-06/0.5544, allocations: 4 kB / 0.6878 GB, free: 14.6 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00239/0.5568, allocations: 1.785 MB / 0.6896 GB, free: 12.74 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000434/0.5572, allocations: 218.2 kB / 0.6898 GB, free: 12.53 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002054/0.5574, allocations: 16 kB / 0.6898 GB, free: 12.51 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005598/0.558, allocations: 43.94 kB / 0.6898 GB, free: 12.47 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001255/0.5581, allocations: 68.28 kB / 0.6899 GB, free: 12.4 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.83e-05/0.5582, allocations: 36 kB / 0.6899 GB, free: 12.37 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.002271/0.5604, allocations: 1.475 MB / 0.6914 GB, free: 10.88 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.2e-07/0.5604, allocations: 0 / 0.6914 GB, free: 10.88 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.003739/0.5642, allocations: 1.012 MB / 0.6923 GB, free: 9.859 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.000385/0.5646, allocations: 147 kB / 0.6925 GB, free: 9.707 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.004995/0.5696, allocations: 3.019 MB / 0.6954 GB, free: 6.715 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 7.154e-06/0.5696, allocations: 0 / 0.6954 GB, free: 6.715 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0009598/0.5705, allocations: 0.6863 MB / 0.6961 GB, free: 6.031 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001186/0.5717, allocations: 183.6 kB / 0.6963 GB, free: 5.852 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01483/0.5866, allocations: 7.683 MB / 0.7038 GB, free: 14.07 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003735/0.5903, allocations: 2.418 MB / 0.7061 GB, free: 11.61 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006225/0.5909, allocations: 191.4 kB / 0.7063 GB, free: 11.42 MB / 0.545 GB Notification: Performance of SimCode: time 1.744e-06/0.5909, allocations: 0 / 0.7063 GB, free: 11.42 MB / 0.545 GB Notification: Performance of Templates: time 0.3173/0.9082, allocations: 42.57 MB / 0.7479 GB, free: 146.6 MB / 0.5606 GB " [Timeout remaining time 659] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.MultiBody.Visualizers.Torus.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.MultiBody.Visualizers.Torus.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.MultiBody.Visualizers.Torus.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.MultiBody.Visualizers.Torus.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.MultiBody.Visualizers.Torus.sim & ./ModelicaTest_4.1.0_ModelicaTest.MultiBody.Visualizers.Torus -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.MultiBody.Visualizers.Torus.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.MultiBody.Visualizers.Torus_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/MultiBody/Visualizers/Torus/Torus.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.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: 11.099017104133964]