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: 115.6 kB / 20.43 MB, free: 1.449 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.002341/0.002341, allocations: 213.4 kB / 23.74 MB, free: 4.656 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.534/1.534, allocations: 230.6 MB / 257.5 MB, free: 8.031 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.2523/0.2523, allocations: 46.93 MB / 360.8 MB, free: 4.273 MB / 286.1 MB " [Timeout remaining time 179] 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.003597/0.003597, allocations: 67.91 kB / 0.4966 GB, free: 7.422 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3316/0.3352, allocations: 66.03 MB / 0.5611 GB, free: 4.426 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Visualizers.Torus): time 0.01391/0.3491, allocations: 11.31 MB / 0.5722 GB, free: 9.055 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.006845/0.3559, allocations: 2.841 MB / 0.5749 GB, free: 6.207 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001591/0.3575, allocations: 63.81 kB / 0.575 GB, free: 6.145 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003056/0.3606, allocations: 1.358 MB / 0.5763 GB, free: 4.781 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002878/0.3635, allocations: 1.253 MB / 0.5775 GB, free: 3.523 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003249/0.3638, allocations: 83.83 kB / 0.5776 GB, free: 3.441 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.003533/0.3673, allocations: 2.718 MB / 0.5803 GB, free: 0.7188 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002125/0.3694, allocations: 1.675 MB / 0.5819 GB, free: 15.01 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001466/0.3709, allocations: 1.059 MB / 0.583 GB, free: 13.95 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002211/0.3731, allocations: 1.604 MB / 0.5845 GB, free: 12.34 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004123/0.3735, allocations: 208 kB / 0.5847 GB, free: 12.13 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009891/0.3745, allocations: 0.5071 MB / 0.5852 GB, free: 11.62 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001306/0.3758, allocations: 1.437 MB / 0.5866 GB, free: 10.18 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00165/0.3775, allocations: 1.688 MB / 0.5883 GB, free: 8.484 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006258/0.3837, allocations: 5.464 MB / 0.5936 GB, free: 3 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.58e-06/0.3837, allocations: 3.938 kB / 0.5936 GB, free: 2.996 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.224e-06/0.3837, allocations: 0 / 0.5936 GB, free: 2.996 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0001548/0.3839, allocations: 4 kB / 0.5936 GB, free: 2.992 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.006488/0.3904, allocations: 3.595 MB / 0.5971 GB, free: 15.34 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.47e-05/0.3904, allocations: 11.97 kB / 0.5971 GB, free: 15.33 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009606/0.4, allocations: 2.966 MB / 0.6 GB, free: 12.36 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003805/0.4038, allocations: 1.476 MB / 0.6015 GB, free: 10.86 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001573/0.404, allocations: 172.6 kB / 0.6016 GB, free: 10.69 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004991/0.4045, allocations: 224 kB / 0.6018 GB, free: 10.47 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01855/0.423, allocations: 9.472 MB / 0.6111 GB, free: 0.6133 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001118/0.4232, allocations: 19.81 kB / 0.6111 GB, free: 0.5938 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008774/0.424, allocations: 107.8 kB / 0.6112 GB, free: 500 kB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.006238/0.4303, allocations: 2.373 MB / 0.6135 GB, free: 14.11 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02445/0.4547, allocations: 8.668 MB / 0.622 GB, free: 5.426 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0633/0.518, allocations: 29.07 MB / 0.6504 GB, free: 7.543 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005247/0.5233, allocations: 2.028 MB / 0.6524 GB, free: 5.512 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001529/0.5248, allocations: 0.9014 MB / 0.6532 GB, free: 4.609 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01044/0.5352, allocations: 3.954 MB / 0.6571 GB, free: 0.625 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.54e-05/0.5353, allocations: 43.22 kB / 0.6571 GB, free: 0.5703 MB / 494.1 MB Notification: Performance of pre-optimization done (n=126): time 4.278e-06/0.5353, allocations: 0 / 0.6571 GB, free: 0.5703 MB / 494.1 MB Notification: Performance of matching and sorting (n=126): time 0.00654/0.5418, allocations: 2.749 MB / 0.6598 GB, free: 13.82 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.352e-05/0.5419, allocations: 60.06 kB / 0.6599 GB, free: 13.75 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004676/0.5466, allocations: 2.566 MB / 0.6624 GB, free: 11.15 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 0.0001624/0.5467, allocations: 45.64 kB / 0.6624 GB, free: 11.1 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.003541/0.5503, allocations: 2.759 MB / 0.6651 GB, free: 8.316 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.001012/0.5513, allocations: 0.5117 MB / 0.6656 GB, free: 7.801 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002303/0.5536, allocations: 0.9052 MB / 0.6665 GB, free: 6.883 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0002947/0.5539, allocations: 361.9 kB / 0.6669 GB, free: 6.523 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003675/0.5575, allocations: 1.355 MB / 0.6682 GB, free: 5.16 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007066/0.5646, allocations: 4.114 MB / 0.6722 GB, free: 15.66 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01194/0.5766, allocations: 5.964 MB / 0.678 GB, free: 8.32 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001075/0.5767, allocations: 28 kB / 0.6781 GB, free: 8.293 MB / 0.5137 GB Notification: Performance of matching and sorting (n=588) (initialization): time 0.01485/0.5915, allocations: 5.296 MB / 0.6832 GB, free: 2.992 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001179/0.5916, allocations: 48.22 kB / 0.6833 GB, free: 2.945 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001864/0.5918, allocations: 104 kB / 0.6834 GB, free: 2.844 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002272/0.592, allocations: 128 kB / 0.6835 GB, free: 2.719 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004946/0.597, allocations: 0.9747 MB / 0.6844 GB, free: 1.742 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002855/0.5973, allocations: 191.2 kB / 0.6846 GB, free: 1.555 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00414/0.6014, allocations: 0.6166 MB / 0.6852 GB, free: 0.9336 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000585/0.602, allocations: 279.9 kB / 0.6855 GB, free: 0.6602 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.003873/0.6059, allocations: 1.899 MB / 0.6873 GB, free: 14.75 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004193/0.6063, allocations: 222.5 kB / 0.6876 GB, free: 14.53 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006256/0.6069, allocations: 267.3 kB / 0.6878 GB, free: 14.26 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.882e-05/0.607, allocations: 16 kB / 0.6878 GB, free: 14.25 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.102e-05/0.607, allocations: 0 / 0.6878 GB, free: 14.25 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.229e-05/0.607, allocations: 3.984 kB / 0.6878 GB, free: 14.24 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01129/0.6183, allocations: 5.594 MB / 0.6933 GB, free: 8.531 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.034e-05/0.6183, allocations: 7.938 kB / 0.6933 GB, free: 8.523 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005811/0.6189, allocations: 135.8 kB / 0.6934 GB, free: 8.391 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.249e-05/0.6189, allocations: 8 kB / 0.6934 GB, free: 8.383 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.658e-05/0.619, allocations: 23.98 kB / 0.6935 GB, free: 8.359 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.368e-05/0.619, allocations: 11.94 kB / 0.6935 GB, free: 8.348 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.14e-06/0.619, allocations: 4 kB / 0.6935 GB, free: 8.344 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00236/0.6213, allocations: 1.802 MB / 0.6952 GB, free: 6.465 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000475/0.6218, allocations: 218.2 kB / 0.6954 GB, free: 6.25 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002769/0.6221, allocations: 27.97 kB / 0.6955 GB, free: 6.223 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006028/0.6227, allocations: 31.97 kB / 0.6955 GB, free: 6.191 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001382/0.6228, allocations: 68.28 kB / 0.6956 GB, free: 6.125 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.428e-05/0.6229, allocations: 43.98 kB / 0.6956 GB, free: 6.082 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.002385/0.6253, allocations: 1.552 MB / 0.6971 GB, free: 4.516 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.11e-07/0.6253, allocations: 0 / 0.6971 GB, free: 4.516 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.003482/0.6288, allocations: 1.008 MB / 0.6981 GB, free: 3.504 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.0003271/0.6291, allocations: 143 kB / 0.6982 GB, free: 3.355 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.004912/0.634, allocations: 3.022 MB / 0.7012 GB, free: 368 kB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 1.037e-05/0.634, allocations: 4 kB / 0.7012 GB, free: 364 kB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.001015/0.635, allocations: 0.6801 MB / 0.7019 GB, free: 15.68 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001274/0.6363, allocations: 263.1 kB / 0.7021 GB, free: 15.42 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01415/0.6505, allocations: 7.27 MB / 0.7092 GB, free: 8.059 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005438/0.6559, allocations: 2.958 MB / 0.7121 GB, free: 5.066 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.003923/0.6598, allocations: 1.492 MB / 0.7136 GB, free: 3.566 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006099/0.6604, allocations: 155.4 kB / 0.7137 GB, free: 3.414 MB / 0.545 GB Notification: Performance of SimCode: time 2.014e-06/0.6604, allocations: 0 / 0.7137 GB, free: 3.414 MB / 0.545 GB Notification: Performance of Templates: time 0.3472/1.008, allocations: 19.71 MB / 0.733 GB, free: 155.4 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.967004006030038]