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.001554/0.001554, allocations: 107 kB / 21.18 MB, free: 0.6484 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.001907/0.001907, allocations: 211.4 kB / 24.48 MB, free: 3.941 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.473/1.473, allocations: 230.6 MB / 258.2 MB, free: 7.789 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.233/0.233, allocations: 46.96 MB / 361.6 MB, free: 4.148 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.002002/0.002002, allocations: 71.88 kB / 0.4973 GB, free: 7.262 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2924/0.2944, allocations: 66.03 MB / 0.5618 GB, free: 4.219 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Visualizers.Torus): time 0.01221/0.3066, allocations: 9.811 MB / 0.5714 GB, free: 10.35 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.005312/0.3119, allocations: 2.694 MB / 0.574 GB, free: 7.652 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007262/0.3127, allocations: 63.81 kB / 0.5741 GB, free: 7.59 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002567/0.3152, allocations: 1.308 MB / 0.5754 GB, free: 6.277 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00236/0.3176, allocations: 1.253 MB / 0.5766 GB, free: 5.02 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002731/0.3179, allocations: 83.84 kB / 0.5767 GB, free: 4.938 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.002936/0.3208, allocations: 2.717 MB / 0.5793 GB, free: 2.219 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00199/0.3228, allocations: 1.679 MB / 0.5809 GB, free: 0.5039 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001249/0.324, allocations: 1.059 MB / 0.582 GB, free: 15.44 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00194/0.326, allocations: 1.604 MB / 0.5835 GB, free: 13.83 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003756/0.3263, allocations: 208 kB / 0.5837 GB, free: 13.62 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008401/0.3272, allocations: 419.3 kB / 0.5841 GB, free: 13.22 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001281/0.3285, allocations: 1.437 MB / 0.5855 GB, free: 11.78 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001205/0.3297, allocations: 1.187 MB / 0.5867 GB, free: 10.58 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005671/0.3353, allocations: 5.483 MB / 0.5921 GB, free: 5.078 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.258e-06/0.3354, allocations: 0 / 0.5921 GB, free: 5.078 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.974e-06/0.3354, allocations: 0 / 0.5921 GB, free: 5.078 MB / 430.1 MB Notification: Performance of Transformations before backend: time 7.265e-05/0.3354, allocations: 0 / 0.5921 GB, free: 5.078 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.005251/0.3407, allocations: 3.604 MB / 0.5956 GB, free: 1.422 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.846e-05/0.3407, allocations: 8.031 kB / 0.5956 GB, free: 1.414 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009878/0.3506, allocations: 2.962 MB / 0.5985 GB, free: 14.45 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003611/0.3542, allocations: 1.492 MB / 0.5999 GB, free: 12.93 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001478/0.3544, allocations: 176.6 kB / 0.6001 GB, free: 12.75 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005104/0.3549, allocations: 228 kB / 0.6003 GB, free: 12.53 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0135/0.3684, allocations: 9.472 MB / 0.6096 GB, free: 2.672 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.08e-05/0.3684, allocations: 19.81 kB / 0.6096 GB, free: 2.652 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003307/0.3688, allocations: 107.8 kB / 0.6097 GB, free: 2.547 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003723/0.3725, allocations: 2.369 MB / 0.612 GB, free: 180 kB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01526/0.3877, allocations: 8.656 MB / 0.6205 GB, free: 7.5 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03893/0.4267, allocations: 26.42 MB / 0.6463 GB, free: 12.28 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004541/0.4312, allocations: 2.033 MB / 0.6483 GB, free: 10.25 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001305/0.4325, allocations: 0.8984 MB / 0.6491 GB, free: 9.344 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.008861/0.4414, allocations: 3.77 MB / 0.6528 GB, free: 5.539 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.63e-05/0.4414, allocations: 43.22 kB / 0.6529 GB, free: 5.488 MB / 494.1 MB Notification: Performance of pre-optimization done (n=126): time 3.407e-06/0.4414, allocations: 4 kB / 0.6529 GB, free: 5.484 MB / 494.1 MB Notification: Performance of matching and sorting (n=126): time 0.006199/0.4476, allocations: 2.733 MB / 0.6555 GB, free: 2.746 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.508e-05/0.4477, allocations: 60.06 kB / 0.6556 GB, free: 2.676 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003362/0.451, allocations: 2.608 MB / 0.6581 GB, free: 32 kB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 8.139e-05/0.4511, allocations: 41.7 kB / 0.6582 GB, free: 15.98 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.001984/0.4531, allocations: 2.767 MB / 0.6609 GB, free: 13.19 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.000466/0.4535, allocations: 0.5079 MB / 0.6614 GB, free: 12.68 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001146/0.4547, allocations: 0.9052 MB / 0.6623 GB, free: 11.76 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.000171/0.4549, allocations: 353.9 kB / 0.6626 GB, free: 11.41 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001999/0.4569, allocations: 1.352 MB / 0.6639 GB, free: 10.05 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004309/0.4612, allocations: 4.126 MB / 0.6679 GB, free: 4.531 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006845/0.468, allocations: 5.956 MB / 0.6738 GB, free: 13.2 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.654e-05/0.4681, allocations: 28 kB / 0.6738 GB, free: 13.18 MB / 0.5137 GB Notification: Performance of matching and sorting (n=588) (initialization): time 0.008189/0.4763, allocations: 5.288 MB / 0.6789 GB, free: 7.879 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 7.202e-05/0.4763, allocations: 48 kB / 0.679 GB, free: 7.832 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.569e-05/0.4764, allocations: 96 kB / 0.6791 GB, free: 7.738 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001291/0.4766, allocations: 128 kB / 0.6792 GB, free: 7.613 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002807/0.4794, allocations: 0.9825 MB / 0.6802 GB, free: 6.629 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000164/0.4795, allocations: 191.3 kB / 0.6803 GB, free: 6.441 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002533/0.4821, allocations: 0.6015 MB / 0.6809 GB, free: 5.836 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000364/0.4824, allocations: 280 kB / 0.6812 GB, free: 5.562 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.002824/0.4852, allocations: 1.891 MB / 0.683 GB, free: 3.656 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003023/0.4855, allocations: 214.5 kB / 0.6833 GB, free: 3.445 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004797/0.486, allocations: 270.3 kB / 0.6835 GB, free: 3.18 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.965e-05/0.4861, allocations: 15.98 kB / 0.6835 GB, free: 3.164 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.114e-05/0.4861, allocations: 4 kB / 0.6835 GB, free: 3.16 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.937e-06/0.4861, allocations: 3.984 kB / 0.6835 GB, free: 3.156 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0079/0.494, allocations: 4.269 MB / 0.6877 GB, free: 14.79 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.085e-06/0.494, allocations: 7.938 kB / 0.6877 GB, free: 14.78 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005897/0.4946, allocations: 139.8 kB / 0.6878 GB, free: 14.64 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.131e-05/0.4946, allocations: 8.562 kB / 0.6879 GB, free: 14.63 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.544e-05/0.4946, allocations: 24 kB / 0.6879 GB, free: 14.61 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.262e-05/0.4947, allocations: 7.938 kB / 0.6879 GB, free: 14.6 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.823e-06/0.4947, allocations: 8 kB / 0.6879 GB, free: 14.59 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002254/0.4969, allocations: 1.793 MB / 0.6896 GB, free: 12.73 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000416/0.4973, allocations: 210.2 kB / 0.6898 GB, free: 12.52 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002103/0.4975, allocations: 19.98 kB / 0.6899 GB, free: 12.5 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005726/0.4981, allocations: 43.95 kB / 0.6899 GB, free: 12.46 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001309/0.4983, allocations: 60.28 kB / 0.69 GB, free: 12.4 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.67e-05/0.4983, allocations: 51.97 kB / 0.69 GB, free: 12.35 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.002029/0.5004, allocations: 1.471 MB / 0.6914 GB, free: 10.86 MB / 0.5294 GB Notification: Performance of sort global known variables: time 8e-08/0.5004, allocations: 0 / 0.6914 GB, free: 10.86 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.003297/0.5037, allocations: 1.008 MB / 0.6924 GB, free: 9.848 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.0002966/0.504, allocations: 139 kB / 0.6926 GB, free: 9.703 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.004353/0.5083, allocations: 3.023 MB / 0.6955 GB, free: 6.707 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 3.356e-06/0.5083, allocations: 0 / 0.6955 GB, free: 6.707 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0009082/0.5092, allocations: 0.6863 MB / 0.6962 GB, free: 6.023 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009115/0.5101, allocations: 183.5 kB / 0.6964 GB, free: 5.844 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01124/0.5214, allocations: 7.26 MB / 0.7035 GB, free: 14.48 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003456/0.5248, allocations: 2.414 MB / 0.7058 GB, free: 12.03 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.003188/0.528, allocations: 1.464 MB / 0.7072 GB, free: 10.56 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003752/0.5284, allocations: 147.4 kB / 0.7074 GB, free: 10.42 MB / 0.545 GB Notification: Performance of SimCode: time 1.263e-06/0.5284, allocations: 4 kB / 0.7074 GB, free: 10.41 MB / 0.545 GB Notification: Performance of Templates: time 0.03954/0.5679, allocations: 17.52 MB / 0.7245 GB, free: 9.16 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 -s gbode -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: 6.142931141002919]