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.001866/0.001866, allocations: 111.1 kB / 20.44 MB, free: 1.176 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.002425/0.002425, allocations: 205 kB / 23.73 MB, free: 4.379 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.487/1.487, allocations: 230.6 MB / 257.5 MB, free: 7.801 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.2347/0.2347, allocations: 46.96 MB / 360.9 MB, free: 4.055 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.002176/0.002176, allocations: 68.14 kB / 0.4966 GB, free: 7.242 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3387/0.3409, allocations: 66.04 MB / 0.5611 GB, free: 4.191 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Visualizers.Torus): time 0.01394/0.3548, allocations: 9.8 MB / 0.5706 GB, free: 10.34 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.007169/0.362, allocations: 2.717 MB / 0.5733 GB, free: 7.613 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001517/0.3635, allocations: 59.81 kB / 0.5733 GB, free: 7.555 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003128/0.3666, allocations: 1.308 MB / 0.5746 GB, free: 6.242 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003045/0.3697, allocations: 1.253 MB / 0.5758 GB, free: 4.984 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004117/0.3701, allocations: 83.84 kB / 0.5759 GB, free: 4.902 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.00344/0.3735, allocations: 2.705 MB / 0.5786 GB, free: 2.191 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002493/0.376, allocations: 1.683 MB / 0.5802 GB, free: 484 kB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001684/0.3777, allocations: 1.055 MB / 0.5812 GB, free: 15.41 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002418/0.3801, allocations: 1.608 MB / 0.5828 GB, free: 13.8 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005735/0.3807, allocations: 211.9 kB / 0.583 GB, free: 13.59 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001122/0.3818, allocations: 411.3 kB / 0.5834 GB, free: 13.19 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001691/0.3835, allocations: 1.441 MB / 0.5848 GB, free: 11.75 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002105/0.3856, allocations: 1.187 MB / 0.586 GB, free: 10.55 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006446/0.392, allocations: 5.484 MB / 0.5913 GB, free: 5.047 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.608e-06/0.392, allocations: 0 / 0.5913 GB, free: 5.047 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.543e-06/0.392, allocations: 0 / 0.5913 GB, free: 5.047 MB / 430.1 MB Notification: Performance of Transformations before backend: time 8.956e-05/0.3921, allocations: 3.938 kB / 0.5913 GB, free: 5.043 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.005388/0.3975, allocations: 3.601 MB / 0.5948 GB, free: 1.391 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.629e-05/0.3976, allocations: 8.031 kB / 0.5949 GB, free: 1.383 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009859/0.4074, allocations: 2.958 MB / 0.5977 GB, free: 14.42 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003554/0.411, allocations: 1.496 MB / 0.5992 GB, free: 12.89 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001639/0.4111, allocations: 172.6 kB / 0.5994 GB, free: 12.72 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005394/0.4117, allocations: 224 kB / 0.5996 GB, free: 12.5 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01435/0.426, allocations: 9.472 MB / 0.6088 GB, free: 2.648 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.131e-05/0.4261, allocations: 19.81 kB / 0.6089 GB, free: 2.629 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003196/0.4264, allocations: 107.8 kB / 0.609 GB, free: 2.523 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003865/0.4303, allocations: 2.373 MB / 0.6113 GB, free: 152 kB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01583/0.4461, allocations: 8.652 MB / 0.6197 GB, free: 7.477 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04118/0.4873, allocations: 26.43 MB / 0.6455 GB, free: 12.25 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004469/0.4918, allocations: 2.021 MB / 0.6475 GB, free: 10.23 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001318/0.4931, allocations: 0.901 MB / 0.6484 GB, free: 9.324 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00869/0.5018, allocations: 3.77 MB / 0.6521 GB, free: 5.52 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.602e-05/0.5018, allocations: 43.22 kB / 0.6521 GB, free: 5.469 MB / 494.1 MB Notification: Performance of pre-optimization done (n=126): time 3.356e-06/0.5018, allocations: 0 / 0.6521 GB, free: 5.469 MB / 494.1 MB Notification: Performance of matching and sorting (n=126): time 0.00592/0.5077, allocations: 2.741 MB / 0.6548 GB, free: 2.723 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.908e-05/0.5078, allocations: 60.06 kB / 0.6548 GB, free: 2.652 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003396/0.5112, allocations: 2.612 MB / 0.6574 GB, free: 4 kB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 7.951e-05/0.5113, allocations: 37.7 kB / 0.6574 GB, free: 15.96 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.002021/0.5133, allocations: 2.767 MB / 0.6601 GB, free: 13.16 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004653/0.5137, allocations: 0.5079 MB / 0.6606 GB, free: 12.65 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00112/0.5149, allocations: 0.9052 MB / 0.6615 GB, free: 11.73 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001842/0.515, allocations: 353.9 kB / 0.6619 GB, free: 11.38 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001932/0.517, allocations: 1.355 MB / 0.6632 GB, free: 10.02 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004426/0.5214, allocations: 4.114 MB / 0.6672 GB, free: 4.516 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007397/0.5288, allocations: 5.964 MB / 0.673 GB, free: 13.18 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.117e-05/0.5289, allocations: 28 kB / 0.673 GB, free: 13.15 MB / 0.5137 GB Notification: Performance of matching and sorting (n=588) (initialization): time 0.009864/0.5387, allocations: 5.288 MB / 0.6782 GB, free: 7.855 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 7.237e-05/0.5388, allocations: 51.98 kB / 0.6783 GB, free: 7.805 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001067/0.5389, allocations: 99.98 kB / 0.6784 GB, free: 7.707 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001473/0.5391, allocations: 131.9 kB / 0.6785 GB, free: 7.578 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002914/0.542, allocations: 0.9786 MB / 0.6794 GB, free: 6.598 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001721/0.5421, allocations: 187.3 kB / 0.6796 GB, free: 6.414 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002676/0.5448, allocations: 0.6052 MB / 0.6802 GB, free: 5.805 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000367/0.5452, allocations: 280 kB / 0.6805 GB, free: 5.531 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.002911/0.5481, allocations: 1.895 MB / 0.6823 GB, free: 3.621 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003739/0.5485, allocations: 214.5 kB / 0.6825 GB, free: 3.41 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004218/0.5489, allocations: 266.3 kB / 0.6828 GB, free: 3.148 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.998e-05/0.5489, allocations: 15.98 kB / 0.6828 GB, free: 3.133 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.22e-05/0.5489, allocations: 3.984 kB / 0.6828 GB, free: 3.129 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.45e-05/0.549, allocations: 7.984 kB / 0.6828 GB, free: 3.121 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008078/0.557, allocations: 4.269 MB / 0.687 GB, free: 14.75 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.037e-06/0.557, allocations: 4 kB / 0.687 GB, free: 14.75 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005922/0.5576, allocations: 135.8 kB / 0.6871 GB, free: 14.61 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.071e-05/0.5576, allocations: 4.562 kB / 0.6871 GB, free: 14.61 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.888e-05/0.5577, allocations: 20 kB / 0.6871 GB, free: 14.59 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.681e-05/0.5577, allocations: 19.92 kB / 0.6872 GB, free: 14.57 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.753e-06/0.5577, allocations: 8 kB / 0.6872 GB, free: 14.56 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002299/0.56, allocations: 1.789 MB / 0.6889 GB, free: 12.7 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004061/0.5604, allocations: 210.2 kB / 0.6891 GB, free: 12.49 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002002/0.5606, allocations: 23.98 kB / 0.6891 GB, free: 12.47 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005546/0.5612, allocations: 35.95 kB / 0.6892 GB, free: 12.43 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001363/0.5613, allocations: 68.28 kB / 0.6892 GB, free: 12.37 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.11e-05/0.5614, allocations: 39.98 kB / 0.6893 GB, free: 12.33 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.002069/0.5635, allocations: 1.471 MB / 0.6907 GB, free: 10.84 MB / 0.5294 GB Notification: Performance of sort global known variables: time 8e-08/0.5635, allocations: 0 / 0.6907 GB, free: 10.84 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.003353/0.5668, allocations: 1.008 MB / 0.6917 GB, free: 9.828 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.0003229/0.5672, allocations: 143 kB / 0.6918 GB, free: 9.68 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.004542/0.5717, allocations: 3.019 MB / 0.6948 GB, free: 6.688 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 3.837e-06/0.5717, allocations: 4.062 kB / 0.6948 GB, free: 6.684 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0009147/0.5726, allocations: 0.6824 MB / 0.6954 GB, free: 6.004 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009183/0.5735, allocations: 184.5 kB / 0.6956 GB, free: 5.82 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01189/0.5854, allocations: 7.264 MB / 0.7027 GB, free: 14.46 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003257/0.5887, allocations: 2.414 MB / 0.7051 GB, free: 12 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.003031/0.5917, allocations: 1.464 MB / 0.7065 GB, free: 10.54 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003728/0.5921, allocations: 151.4 kB / 0.7066 GB, free: 10.39 MB / 0.545 GB Notification: Performance of SimCode: time 1.223e-06/0.5921, allocations: 4 kB / 0.7066 GB, free: 10.38 MB / 0.545 GB Notification: Performance of Templates: time 0.04173/0.6338, allocations: 17.52 MB / 0.7238 GB, free: 9.129 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/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_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: 6.475158383138478]