Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_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.001781/0.001781, allocations: 79.75 kB / 20.51 MB, free: 1.121 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.002155/0.002155, allocations: 166 kB / 23.76 MB, free: 4.195 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.434/1.434, allocations: 158.6 MB / 185.5 MB, free: 6.227 MB / 174.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2154/0.2154, allocations: 32.38 MB / 270.1 MB, free: 2.707 MB / 254.1 MB " [Timeout remaining time 179] Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3.2.3_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_3.2.3_ModelicaTest.MultiBody.Joints.Cylindrical") [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 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.002355/0.002355, allocations: 68.47 kB / 407.8 MB, free: 5.531 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.148/0.1504, allocations: 61.04 MB / 468.8 MB, free: 8.301 MB / 446.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.Cylindrical): time 0.3064/0.4568, allocations: 12.13 MB / 480.9 MB, free: 43.93 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.007014/0.4638, allocations: 4.031 MB / 485 MB, free: 42.5 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001387/0.4652, allocations: 77.16 kB / 485 MB, free: 42.48 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002834/0.468, allocations: 1.804 MB / 486.8 MB, free: 41.82 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003607/0.4716, allocations: 1.932 MB / 488.8 MB, free: 40.98 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001117/0.4727, allocations: 0.5558 MB / 489.3 MB, free: 40.75 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.00343/0.4761, allocations: 3.948 MB / 493.3 MB, free: 39.23 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002014/0.4782, allocations: 2.331 MB / 495.6 MB, free: 38.14 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001525/0.4797, allocations: 1.441 MB / 497 MB, free: 37.55 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002305/0.482, allocations: 2.071 MB / 499.1 MB, free: 36.88 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005594/0.4826, allocations: 295.8 kB / 499.4 MB, free: 36.88 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001884/0.4844, allocations: 0.9008 MB / 0.4886 GB, free: 36.71 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001378/0.4858, allocations: 1.84 MB / 0.4904 GB, free: 36.01 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001484/0.4873, allocations: 1.575 MB / 0.4919 GB, free: 35.03 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009608/0.4969, allocations: 7.12 MB / 0.4989 GB, free: 32.35 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.306e-06/0.4969, allocations: 0 / 0.4989 GB, free: 32.35 MB / 446.1 MB Notification: Performance of FrontEnd: time 3.146e-06/0.4969, allocations: 0.7031 kB / 0.4989 GB, free: 32.35 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0003097/0.4972, allocations: 1.438 kB / 0.4989 GB, free: 32.35 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: 1684 * Number of variables: 1684 Notification: Performance of Generate backend data structure: time 0.01447/0.5117, allocations: 4.694 MB / 0.5035 GB, free: 29.62 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.122e-05/0.5118, allocations: 9.844 kB / 0.5035 GB, free: 29.62 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01324/0.525, allocations: 3.216 MB / 0.5066 GB, free: 29.19 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00736/0.5324, allocations: 2.189 MB / 0.5087 GB, free: 28.06 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002576/0.5326, allocations: 230.4 kB / 0.509 GB, free: 27.95 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001547/0.5342, allocations: 297.8 kB / 0.5092 GB, free: 27.84 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0219/0.5561, allocations: 11.32 MB / 0.5203 GB, free: 21.86 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001438/0.5562, allocations: 27.98 kB / 0.5203 GB, free: 21.84 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004575/0.5567, allocations: 143.9 kB / 0.5205 GB, free: 21.74 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004666/0.5613, allocations: 2.697 MB / 0.5231 GB, free: 20.67 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01845/0.5798, allocations: 10.44 MB / 0.5333 GB, free: 11.33 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05951/0.6393, allocations: 34.45 MB / 0.5669 GB, free: 7.988 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01003/0.6493, allocations: 3.582 MB / 0.5704 GB, free: 4.395 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003873/0.6532, allocations: 2.22 MB / 0.5726 GB, free: 2.176 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001005/0.6542, allocations: 445.2 kB / 0.573 GB, free: 1.742 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.4e-05/0.6543, allocations: 53.44 kB / 0.5731 GB, free: 1.68 MB / 478.1 MB Notification: Performance of pre-optimization done (n=242): time 6.131e-06/0.6543, allocations: 0 / 0.5731 GB, free: 1.68 MB / 478.1 MB Notification: Performance of matching and sorting (n=254): time 0.04853/0.7028, allocations: 17.92 MB / 0.5906 GB, free: 15.75 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.147e-05/0.7029, allocations: 77.39 kB / 0.5907 GB, free: 15.66 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006081/0.7089, allocations: 2.749 MB / 0.5933 GB, free: 12.89 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 0.0005572/0.7095, allocations: 61.69 kB / 0.5934 GB, free: 12.82 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.002822/0.7123, allocations: 2.995 MB / 0.5963 GB, free: 9.801 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.001865/0.7142, allocations: 0.961 MB / 0.5973 GB, free: 8.832 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003423/0.7176, allocations: 1.092 MB / 0.5983 GB, free: 7.73 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.000139/0.7178, allocations: 301.1 kB / 0.5986 GB, free: 7.434 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004264/0.722, allocations: 2.334 MB / 0.6009 GB, free: 5.094 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007075/0.7291, allocations: 5.307 MB / 0.6061 GB, free: 14.33 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01302/0.7421, allocations: 8.388 MB / 0.6143 GB, free: 4.492 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001894/0.7423, allocations: 28 kB / 0.6143 GB, free: 4.465 MB / 0.5137 GB Notification: Performance of matching and sorting (n=730) (initialization): time 0.01967/0.762, allocations: 8.378 MB / 0.6225 GB, free: 12.07 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002006/0.7622, allocations: 60.19 kB / 0.6225 GB, free: 12.02 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.00026/0.7624, allocations: 105.5 kB / 0.6226 GB, free: 11.91 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00308/0.7655, allocations: 0.9416 MB / 0.6236 GB, free: 10.97 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00508/0.7706, allocations: 1.248 MB / 0.6248 GB, free: 9.719 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007723/0.7783, allocations: 4.974 MB / 0.6296 GB, free: 4.645 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004902/0.7832, allocations: 303.8 kB / 0.6299 GB, free: 4.348 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001398/0.7846, allocations: 315.9 kB / 0.6302 GB, free: 4.043 MB / 0.5294 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 471 * Number of states: 0 () * Number of discrete variables: 33 (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 (669): * Single equations (assignments): 662 * 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.00636/0.791, allocations: 2.19 MB / 0.6324 GB, free: 1.84 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001156/0.7921, allocations: 282.1 kB / 0.6326 GB, free: 1.562 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01149/0.8036, allocations: 5.107 MB / 0.6376 GB, free: 12.43 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.521e-05/0.8037, allocations: 51.97 kB / 0.6377 GB, free: 12.38 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.975e-05/0.8037, allocations: 4 kB / 0.6377 GB, free: 12.37 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.012e-05/0.8037, allocations: 15.84 kB / 0.6377 GB, free: 12.36 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0253/0.8291, allocations: 10.49 MB / 0.6479 GB, free: 1.699 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.537e-05/0.8291, allocations: 12 kB / 0.6479 GB, free: 1.688 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002052/0.8311, allocations: 399.5 kB / 0.6483 GB, free: 1.297 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002619/0.8338, allocations: 0.7731 MB / 0.6491 GB, free: 0.5195 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004776/0.8342, allocations: 55.97 kB / 0.6491 GB, free: 476 kB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006792/0.841, allocations: 4.223 MB / 0.6532 GB, free: 12.14 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.565e-05/0.8411, allocations: 15.94 kB / 0.6533 GB, free: 12.12 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01442/0.8555, allocations: 7.614 MB / 0.6607 GB, free: 4.348 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002161/0.8576, allocations: 0.5918 MB / 0.6613 GB, free: 3.754 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008268/0.8585, allocations: 51.92 kB / 0.6613 GB, free: 3.703 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001904/0.8604, allocations: 143.8 kB / 0.6615 GB, free: 3.562 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004812/0.8608, allocations: 168.8 kB / 0.6616 GB, free: 3.395 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002431/0.8611, allocations: 71.94 kB / 0.6617 GB, free: 3.324 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.004004/0.8651, allocations: 1.559 MB / 0.6632 GB, free: 1.754 MB / 0.5606 GB Notification: Performance of sort global known variables: time 9e-08/0.8651, allocations: 0 / 0.6632 GB, free: 1.754 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.006379/0.8715, allocations: 1.004 MB / 0.6642 GB, free: 0.75 MB / 0.5606 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.0006998/0.8722, allocations: 178.8 kB / 0.6644 GB, free: 0.5664 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.01031/0.8825, allocations: 5.474 MB / 0.6697 GB, free: 11.1 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 1.402e-05/0.8825, allocations: 0 / 0.6697 GB, free: 11.1 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.003325/0.8858, allocations: 1.997 MB / 0.6717 GB, free: 9.098 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002749/0.8886, allocations: 313.5 kB / 0.672 GB, free: 8.797 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0219/0.9105, allocations: 10.54 MB / 0.6822 GB, free: 14.09 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004817/0.9153, allocations: 2.902 MB / 0.6851 GB, free: 11.14 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.004378/0.9197, allocations: 1.981 MB / 0.687 GB, free: 9.156 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000689/0.9204, allocations: 204.5 kB / 0.6872 GB, free: 8.957 MB / 0.5919 GB Notification: Performance of SimCode: time 1.162e-06/0.9204, allocations: 0 / 0.6872 GB, free: 8.957 MB / 0.5919 GB Notification: Performance of Templates: time 0.3272/1.248, allocations: 26.41 MB / 0.713 GB, free: 186.2 MB / 0.5919 GB " [Timeout remaining time 659] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Cylindrical.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Cylindrical.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Cylindrical.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Cylindrical.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Cylindrical.sim & ./ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Cylindrical -abortSlowSimulation -alarm=480 -s ida -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Cylindrical.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Cylindrical_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/MultiBody/Joints/Cylindrical/Cylindrical.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_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: 7.251074697938748]