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.001437/0.001437, allocations: 111.1 kB / 20.44 MB, free: 1.184 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.001665/0.001665, allocations: 209.7 kB / 23.73 MB, free: 4.387 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.547/1.547, allocations: 230.6 MB / 257.5 MB, free: 7.785 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.2516/0.2516, allocations: 46.96 MB / 360.9 MB, free: 4.051 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.002151/0.002151, allocations: 71.89 kB / 0.4966 GB, free: 7.234 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3634/0.3655, allocations: 66.03 MB / 0.5611 GB, free: 4.16 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Visualizers.Torus): time 0.01342/0.379, allocations: 9.804 MB / 0.5706 GB, free: 10.3 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.00753/0.3865, allocations: 2.714 MB / 0.5733 GB, free: 7.582 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001858/0.3883, allocations: 59.81 kB / 0.5733 GB, free: 7.523 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003438/0.3918, allocations: 1.296 MB / 0.5746 GB, free: 6.223 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003985/0.3958, allocations: 1.257 MB / 0.5758 GB, free: 4.961 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006445/0.3964, allocations: 83.84 kB / 0.5759 GB, free: 4.879 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.004748/0.4012, allocations: 2.713 MB / 0.5786 GB, free: 2.164 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003453/0.4046, allocations: 1.675 MB / 0.5802 GB, free: 464 kB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002219/0.4068, allocations: 1.059 MB / 0.5812 GB, free: 15.39 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002955/0.4098, allocations: 1.541 MB / 0.5827 GB, free: 13.84 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0008611/0.4107, allocations: 208 kB / 0.5829 GB, free: 13.64 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001489/0.4121, allocations: 415.4 kB / 0.5833 GB, free: 13.23 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001927/0.4141, allocations: 1.429 MB / 0.5847 GB, free: 11.8 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00228/0.4163, allocations: 1.191 MB / 0.5859 GB, free: 10.6 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007421/0.4238, allocations: 5.483 MB / 0.5913 GB, free: 5.098 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.959e-06/0.4238, allocations: 3.938 kB / 0.5913 GB, free: 5.094 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.623e-06/0.4238, allocations: 4 kB / 0.5913 GB, free: 5.09 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.000139/0.4239, allocations: 0 / 0.5913 GB, free: 5.09 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.006387/0.4303, allocations: 3.597 MB / 0.5948 GB, free: 1.441 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.794e-05/0.4303, allocations: 8.031 kB / 0.5948 GB, free: 1.434 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009804/0.4401, allocations: 2.97 MB / 0.5977 GB, free: 14.46 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003873/0.444, allocations: 1.488 MB / 0.5991 GB, free: 12.94 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001646/0.4442, allocations: 172.6 kB / 0.5993 GB, free: 12.77 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004931/0.4447, allocations: 224 kB / 0.5995 GB, free: 12.55 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01484/0.4595, allocations: 9.476 MB / 0.6088 GB, free: 2.691 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.007e-05/0.4596, allocations: 19.81 kB / 0.6088 GB, free: 2.672 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000318/0.4599, allocations: 103.8 kB / 0.6089 GB, free: 2.57 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003788/0.4637, allocations: 2.369 MB / 0.6112 GB, free: 204 kB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01805/0.4817, allocations: 8.648 MB / 0.6196 GB, free: 7.535 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03939/0.5211, allocations: 26.44 MB / 0.6455 GB, free: 12.3 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004458/0.5256, allocations: 2.029 MB / 0.6474 GB, free: 10.27 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001329/0.5269, allocations: 0.8984 MB / 0.6483 GB, free: 9.371 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0086/0.5355, allocations: 3.766 MB / 0.652 GB, free: 5.57 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.156e-05/0.5356, allocations: 43.22 kB / 0.652 GB, free: 5.52 MB / 494.1 MB Notification: Performance of pre-optimization done (n=126): time 3.116e-06/0.5356, allocations: 0 / 0.652 GB, free: 5.52 MB / 494.1 MB Notification: Performance of matching and sorting (n=126): time 0.006065/0.5416, allocations: 2.741 MB / 0.6547 GB, free: 2.77 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.108e-05/0.5417, allocations: 60.06 kB / 0.6548 GB, free: 2.699 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004441/0.5461, allocations: 2.612 MB / 0.6573 GB, free: 52 kB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001255/0.5462, allocations: 41.7 kB / 0.6574 GB, free: 4 kB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002614/0.5489, allocations: 2.77 MB / 0.6601 GB, free: 13.2 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006494/0.5495, allocations: 0.5079 MB / 0.6606 GB, free: 12.69 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001194/0.5507, allocations: 0.9052 MB / 0.6614 GB, free: 11.77 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0002225/0.5509, allocations: 349.9 kB / 0.6618 GB, free: 11.43 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002095/0.553, allocations: 1.355 MB / 0.6631 GB, free: 10.06 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004571/0.5576, allocations: 4.118 MB / 0.6671 GB, free: 4.555 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007504/0.5651, allocations: 5.96 MB / 0.6729 GB, free: 13.22 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.573e-05/0.5652, allocations: 28 kB / 0.673 GB, free: 13.2 MB / 0.5137 GB Notification: Performance of matching and sorting (n=588) (initialization): time 0.009387/0.5746, allocations: 5.284 MB / 0.6781 GB, free: 7.902 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 6.808e-05/0.5746, allocations: 48 kB / 0.6782 GB, free: 7.855 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001173/0.5748, allocations: 100.2 kB / 0.6783 GB, free: 7.758 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001333/0.5749, allocations: 128 kB / 0.6784 GB, free: 7.633 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002823/0.5777, allocations: 0.9786 MB / 0.6794 GB, free: 6.652 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001644/0.5779, allocations: 191.2 kB / 0.6795 GB, free: 6.465 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002866/0.5807, allocations: 0.6011 MB / 0.6801 GB, free: 5.859 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004194/0.5812, allocations: 276 kB / 0.6804 GB, free: 5.59 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.003041/0.5842, allocations: 1.895 MB / 0.6822 GB, free: 3.68 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003185/0.5845, allocations: 222.4 kB / 0.6824 GB, free: 3.461 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004666/0.585, allocations: 270.3 kB / 0.6827 GB, free: 3.195 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.713e-05/0.585, allocations: 12 kB / 0.6827 GB, free: 3.184 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.064e-05/0.585, allocations: 0 / 0.6827 GB, free: 3.184 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.125e-05/0.585, allocations: 7.984 kB / 0.6827 GB, free: 3.176 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008062/0.5931, allocations: 4.277 MB / 0.6869 GB, free: 14.8 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.328e-06/0.5931, allocations: 4 kB / 0.6869 GB, free: 14.79 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005718/0.5937, allocations: 135.8 kB / 0.687 GB, free: 14.66 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.658e-06/0.5937, allocations: 4 kB / 0.687 GB, free: 14.66 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.037e-05/0.5937, allocations: 23.98 kB / 0.6871 GB, free: 14.63 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.273e-05/0.5938, allocations: 11.94 kB / 0.6871 GB, free: 14.62 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.913e-06/0.5938, allocations: 8 kB / 0.6871 GB, free: 14.61 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002338/0.5961, allocations: 1.789 MB / 0.6888 GB, free: 12.75 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004562/0.5966, allocations: 210.2 kB / 0.689 GB, free: 12.54 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001997/0.5968, allocations: 19.98 kB / 0.689 GB, free: 12.52 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000561/0.5973, allocations: 39.95 kB / 0.6891 GB, free: 12.48 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001217/0.5974, allocations: 64.28 kB / 0.6891 GB, free: 12.42 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.134e-05/0.5975, allocations: 40 kB / 0.6892 GB, free: 12.38 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.002163/0.5997, allocations: 1.467 MB / 0.6906 GB, free: 10.9 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.3e-07/0.5997, allocations: 3.938 kB / 0.6906 GB, free: 10.89 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.003522/0.6032, allocations: 1.016 MB / 0.6916 GB, free: 9.875 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.000323/0.6035, allocations: 147 kB / 0.6918 GB, free: 9.723 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.004753/0.6083, allocations: 3.018 MB / 0.6947 GB, free: 6.73 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 7.424e-06/0.6083, allocations: 0 / 0.6947 GB, free: 6.73 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0009249/0.6092, allocations: 0.6876 MB / 0.6954 GB, free: 6.047 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001087/0.6103, allocations: 182.2 kB / 0.6955 GB, free: 5.867 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01333/0.6236, allocations: 7.26 MB / 0.7026 GB, free: 14.51 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003462/0.6271, allocations: 2.414 MB / 0.705 GB, free: 12.06 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.003326/0.6304, allocations: 1.456 MB / 0.7064 GB, free: 10.6 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003757/0.6308, allocations: 155.4 kB / 0.7066 GB, free: 10.45 MB / 0.545 GB Notification: Performance of SimCode: time 1.352e-06/0.6308, allocations: 0 / 0.7066 GB, free: 10.45 MB / 0.545 GB Notification: Performance of Templates: time 0.03972/0.6705, allocations: 15.45 MB / 0.7217 GB, free: 11.25 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.619206361472607]