Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Cylindrical.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.001363/0.001363, allocations: 69.72 kB / 21.24 MB, free: 0.5547 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.001476/0.001476, allocations: 162.5 kB / 24.5 MB, free: 3.711 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.448/1.448, allocations: 177.2 MB / 204.9 MB, free: 9 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2107/0.2107, allocations: 32.81 MB / 294.1 MB, free: 12 kB / 270.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.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.Joints.Cylindrical,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|cylindrical.phi|cylindrical.s|cylindrical.v|cylindrical.w",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Cylindrical") translateModel(ModelicaTest.MultiBody.Joints.Cylindrical,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|cylindrical.phi|cylindrical.s|cylindrical.v|cylindrical.w",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Cylindrical") [Timeout 660] "Notification: ModelicaTest requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002203/0.002203, allocations: 63.91 kB / 440.6 MB, free: 9.418 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3008/0.303, allocations: 65.43 MB / 0.4942 GB, free: 31.37 MB / 446.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.Cylindrical): time 0.00974/0.3127, allocations: 11.8 MB / 0.5057 GB, free: 23.7 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.006499/0.3192, allocations: 3.987 MB / 0.5096 GB, free: 21.19 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001096/0.3203, allocations: 78.47 kB / 0.5096 GB, free: 21.17 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002637/0.323, allocations: 1.778 MB / 0.5114 GB, free: 20.44 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00291/0.3259, allocations: 1.872 MB / 0.5132 GB, free: 19.63 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009451/0.3268, allocations: 0.546 MB / 0.5137 GB, free: 19.41 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.004038/0.3309, allocations: 3.889 MB / 0.5175 GB, free: 17.93 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002441/0.3333, allocations: 2.273 MB / 0.5198 GB, free: 16.86 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00178/0.3351, allocations: 1.396 MB / 0.5211 GB, free: 16.29 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00274/0.3378, allocations: 2.029 MB / 0.5231 GB, free: 15.63 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0006154/0.3384, allocations: 294.3 kB / 0.5234 GB, free: 15.63 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001847/0.3403, allocations: 0.8962 MB / 0.5243 GB, free: 15.46 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001639/0.3419, allocations: 1.783 MB / 0.526 GB, free: 14.77 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001658/0.3436, allocations: 1.516 MB / 0.5275 GB, free: 13.82 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007665/0.3512, allocations: 6.942 MB / 0.5343 GB, free: 10.75 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.21e-06/0.3512, allocations: 0 / 0.5343 GB, free: 10.75 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.573e-06/0.3512, allocations: 0 / 0.5343 GB, free: 10.75 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0001927/0.3514, allocations: 0 / 0.5343 GB, free: 10.75 MB / 446.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1641 * Number of variables: 1641 Notification: Performance of Generate backend data structure: time 0.008559/0.36, allocations: 4.567 MB / 0.5387 GB, free: 7.52 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.514e-05/0.36, allocations: 10.03 kB / 0.5387 GB, free: 7.52 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01066/0.3707, allocations: 3.19 MB / 0.5418 GB, free: 5.875 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005664/0.3764, allocations: 2.084 MB / 0.5439 GB, free: 4.582 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001765/0.3765, allocations: 218 kB / 0.5441 GB, free: 4.477 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009995/0.3775, allocations: 297 kB / 0.5444 GB, free: 4.363 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01974/0.3973, allocations: 11.12 MB / 0.5552 GB, free: 9.781 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001116/0.3974, allocations: 31.77 kB / 0.5553 GB, free: 9.75 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004355/0.3978, allocations: 135.8 kB / 0.5554 GB, free: 9.617 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004811/0.4026, allocations: 2.616 MB / 0.5579 GB, free: 6.996 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02026/0.4229, allocations: 10.36 MB / 0.5681 GB, free: 12.61 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0576/0.4805, allocations: 33.7 MB / 0.601 GB, free: 10.02 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.009393/0.4899, allocations: 3.589 MB / 0.6045 GB, free: 6.434 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003464/0.4933, allocations: 2.216 MB / 0.6066 GB, free: 4.219 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008814/0.4942, allocations: 449.3 kB / 0.6071 GB, free: 3.781 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.442e-05/0.4943, allocations: 56.5 kB / 0.6071 GB, free: 3.715 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=242): time 5.1e-06/0.4943, allocations: 0 / 0.6071 GB, free: 3.715 MB / 0.4981 GB Notification: Performance of matching and sorting (n=254): time 0.04334/0.5376, allocations: 17.88 MB / 0.6246 GB, free: 1.828 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.207e-05/0.5377, allocations: 73.41 kB / 0.6247 GB, free: 1.746 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005622/0.5433, allocations: 2.683 MB / 0.6273 GB, free: 15.04 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.0005473/0.5439, allocations: 57.64 kB / 0.6273 GB, free: 14.97 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.002733/0.5466, allocations: 2.909 MB / 0.6302 GB, free: 12.04 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.001609/0.5482, allocations: 0.9688 MB / 0.6311 GB, free: 11.06 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002447/0.5507, allocations: 1.073 MB / 0.6322 GB, free: 9.977 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001431/0.5508, allocations: 301.1 kB / 0.6325 GB, free: 9.68 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003707/0.5545, allocations: 2.318 MB / 0.6347 GB, free: 7.355 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005974/0.5605, allocations: 5.222 MB / 0.6398 GB, free: 0.7148 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01054/0.571, allocations: 8.273 MB / 0.6479 GB, free: 7.02 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.02e-05/0.5711, allocations: 32 kB / 0.6479 GB, free: 6.988 MB / 0.545 GB Notification: Performance of matching and sorting (n=718) (initialization): time 0.01508/0.5862, allocations: 8.283 MB / 0.656 GB, free: 14.7 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 7.488e-05/0.5862, allocations: 51.98 kB / 0.6561 GB, free: 14.64 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001135/0.5864, allocations: 100 kB / 0.6562 GB, free: 14.55 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002992/0.5893, allocations: 0.9415 MB / 0.6571 GB, free: 13.61 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004169/0.5935, allocations: 1.22 MB / 0.6583 GB, free: 12.38 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007494/0.601, allocations: 4.982 MB / 0.6631 GB, free: 7.297 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004045/0.6051, allocations: 295.8 kB / 0.6634 GB, free: 7.008 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009964/0.6061, allocations: 304 kB / 0.6637 GB, free: 6.711 MB / 0.5606 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 459 * Number of states: 0 () * Number of discrete variables: 35 (axis.arrowLine.twoHeadedArrow,axis.headAtOrigin,frame_a1.color_x[3],frame_a1.color_x[2],frame_a1.color_x[1],frame_a.color_x[3],frame_a.color_x[2],frame_a.color_x[1],body.sphereColor[3],body.sphereColor[2],body.sphereColor[1],cylindrical.cylinderColor[3],cylindrical.cylinderColor[2],cylindrical.cylinderColor[1],cylindrical.revolute.cylinderColor[3],cylindrical.revolute.cylinderColor[2],cylindrical.revolute.cylinderColor[1],cylindrical.prismatic.boxColor[3],cylindrical.prismatic.boxColor[2],cylindrical.prismatic.boxColor[1],axis.color[3],axis.color[2],axis.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 (657): * Single equations (assignments): 650 * Array equations: 6 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(4,10,75.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.00493/0.611, allocations: 2.149 MB / 0.6658 GB, free: 4.551 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006468/0.6116, allocations: 278.2 kB / 0.6661 GB, free: 4.277 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01001/0.6216, allocations: 5.118 MB / 0.6711 GB, free: 15.13 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.036e-05/0.6217, allocations: 44 kB / 0.6711 GB, free: 15.09 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.06e-05/0.6217, allocations: 4 kB / 0.6711 GB, free: 15.08 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.524e-05/0.6218, allocations: 11.95 kB / 0.6711 GB, free: 15.07 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02019/0.642, allocations: 10.42 MB / 0.6813 GB, free: 4.477 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.026e-05/0.642, allocations: 12 kB / 0.6813 GB, free: 4.465 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001762/0.6437, allocations: 399.3 kB / 0.6817 GB, free: 4.074 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002555/0.6463, allocations: 0.7774 MB / 0.6825 GB, free: 3.293 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001734/0.6465, allocations: 48 kB / 0.6825 GB, free: 3.246 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006158/0.6526, allocations: 4.221 MB / 0.6866 GB, free: 14.92 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.57e-05/0.6527, allocations: 15.94 kB / 0.6866 GB, free: 14.9 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01244/0.6651, allocations: 7.609 MB / 0.6941 GB, free: 7.129 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008491/0.6659, allocations: 242.2 kB / 0.6943 GB, free: 6.891 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004374/0.6664, allocations: 51.94 kB / 0.6944 GB, free: 6.84 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001319/0.6677, allocations: 151.8 kB / 0.6945 GB, free: 6.691 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003651/0.6681, allocations: 156.8 kB / 0.6946 GB, free: 6.535 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001918/0.6683, allocations: 75.98 kB / 0.6947 GB, free: 6.461 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.002492/0.6707, allocations: 1.515 MB / 0.6962 GB, free: 4.934 MB / 0.5919 GB Notification: Performance of sort global known variables: time 9.1e-08/0.6707, allocations: 0 / 0.6962 GB, free: 4.934 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.005092/0.6758, allocations: 0.9609 MB / 0.6971 GB, free: 3.973 MB / 0.5919 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 43 * Number of states: 4 (cylindrical.s,cylindrical.phi,cylindrical.v,cylindrical.w) * 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 (196): * Single equations (assignments): 189 * Array equations: 6 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(2,9,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0006928/0.6765, allocations: 194.7 kB / 0.6973 GB, free: 3.773 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.2503/0.9268, allocations: 5.422 MB / 0.7026 GB, free: 172.3 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 1.447e-05/0.9268, allocations: 1.875 kB / 0.7026 GB, free: 172.3 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.003264/0.9301, allocations: 1.999 MB / 0.7046 GB, free: 172.1 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002061/0.9321, allocations: 309.7 kB / 0.7049 GB, free: 172 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01849/0.9506, allocations: 10.36 MB / 0.715 GB, free: 167.6 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003892/0.9545, allocations: 2.827 MB / 0.7177 GB, free: 166.8 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.004061/0.9586, allocations: 1.962 MB / 0.7197 GB, free: 166.7 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007134/0.9593, allocations: 207.2 kB / 0.7199 GB, free: 166.7 MB / 0.5919 GB Notification: Performance of SimCode: time 1.583e-06/0.9593, allocations: 0 / 0.7199 GB, free: 166.7 MB / 0.5919 GB Notification: Performance of Templates: time 0.05197/1.011, allocations: 26.42 MB / 0.7457 GB, free: 159.4 MB / 0.5919 GB " [Timeout remaining time 659] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Cylindrical.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Cylindrical.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Cylindrical.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Cylindrical.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Cylindrical.sim & ./ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Cylindrical -abortSlowSimulation -alarm=480 -s ida -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Cylindrical.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Cylindrical_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Joints/Cylindrical/Cylindrical.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Cylindrical.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.76550918596331]