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.001475/0.001475, allocations: 92.2 kB / 20.21 MB, free: 4.199 MB / 18.57 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.001587/0.001587, allocations: 157.7 kB / 23.52 MB, free: 0.8945 MB / 18.57 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.466/1.466, allocations: 158.6 MB / 185.3 MB, free: 2.879 MB / 170.7 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.2195/0.2195, allocations: 32.37 MB / 270 MB, free: 14.78 MB / 266.7 MB " [Timeout remaining time 180] 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: Performance of FrontEnd - loaded program: time 1.743e-06/1.743e-06, allocations: 0 / 346.9 MB, free: 9.805 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.921e-05/3.095e-05, allocations: 2.312 kB / 346.9 MB, free: 9.801 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.Cylindrical): time 0.01173/0.01176, allocations: 12.17 MB / 359.1 MB, free: 13.58 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.01073/0.02249, allocations: 4.011 MB / 363.1 MB, free: 9.555 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002492/0.02498, allocations: 83.69 kB / 363.2 MB, free: 9.473 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.004714/0.0297, allocations: 1.915 MB / 365.1 MB, free: 7.551 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.006136/0.03583, allocations: 1.991 MB / 367.1 MB, free: 5.547 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001894/0.03773, allocations: 0.6119 MB / 367.7 MB, free: 4.934 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.007702/0.04543, allocations: 4.305 MB / 372 MB, free: 0.6211 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.006113/0.05154, allocations: 2.669 MB / 374.7 MB, free: 13.91 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005947/0.05749, allocations: 2.179 MB / 376.9 MB, free: 11.72 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004676/0.06216, allocations: 2.17 MB / 379 MB, free: 9.547 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001547/0.06371, allocations: 300 kB / 379.3 MB, free: 9.254 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003614/0.06732, allocations: 0.9712 MB / 380.3 MB, free: 8.281 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.003632/0.07096, allocations: 1.928 MB / 382.2 MB, free: 6.348 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.003578/0.07453, allocations: 1.183 MB / 383.4 MB, free: 5.16 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01331/0.08784, allocations: 7.074 MB / 390.5 MB, free: 14.06 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.635e-06/0.08785, allocations: 0 / 390.5 MB, free: 14.06 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.573e-06/0.08785, allocations: 4 kB / 390.5 MB, free: 14.06 MB / 330.7 MB Notification: Performance of Transformations before backend: time 0.0003341/0.08819, allocations: 3.938 kB / 390.5 MB, free: 14.05 MB / 330.7 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.01391/0.1021, allocations: 4.687 MB / 395.2 MB, free: 9.309 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.28e-05/0.1021, allocations: 8.031 kB / 395.2 MB, free: 9.301 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01365/0.1158, allocations: 3.851 MB / 399 MB, free: 5.441 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005329/0.1211, allocations: 2.161 MB / 401.2 MB, free: 3.238 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002307/0.1214, allocations: 221.9 kB / 401.4 MB, free: 3.02 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009636/0.1223, allocations: 296.1 kB / 401.7 MB, free: 2.73 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02089/0.1432, allocations: 11.32 MB / 413 MB, free: 6.945 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001154/0.1433, allocations: 35.75 kB / 413.1 MB, free: 6.91 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005002/0.1438, allocations: 135.8 kB / 413.2 MB, free: 6.777 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00509/0.1489, allocations: 2.695 MB / 415.9 MB, free: 4.078 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02308/0.172, allocations: 10.45 MB / 426.3 MB, free: 9.609 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.244/0.416, allocations: 34.58 MB / 460.9 MB, free: 65.49 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00768/0.4237, allocations: 3.593 MB / 464.5 MB, free: 64.55 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002523/0.4262, allocations: 2.228 MB / 466.7 MB, free: 63.48 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006848/0.4269, allocations: 474.4 kB / 467.2 MB, free: 63.34 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.973e-05/0.4269, allocations: 51.53 kB / 467.3 MB, free: 63.29 MB / 362.7 MB Notification: Performance of pre-optimization done (n=242): time 5.04e-06/0.4269, allocations: 0 / 467.3 MB, free: 63.29 MB / 362.7 MB Notification: Performance of matching and sorting (n=254): time 0.04986/0.4768, allocations: 18.07 MB / 485.3 MB, free: 46.68 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.019e-05/0.4769, allocations: 73.41 kB / 485.4 MB, free: 46.59 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005825/0.4827, allocations: 2.863 MB / 488.3 MB, free: 43.83 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0005576/0.4832, allocations: 53.7 kB / 488.3 MB, free: 43.77 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001717/0.485, allocations: 2.975 MB / 491.3 MB, free: 41.03 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001085/0.486, allocations: 0.9464 MB / 492.2 MB, free: 40.09 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001788/0.4878, allocations: 1.073 MB / 493.3 MB, free: 39.01 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 4.957e-05/0.4879, allocations: 301.1 kB / 493.6 MB, free: 38.71 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003758/0.4916, allocations: 2.338 MB / 495.9 MB, free: 36.37 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005501/0.4971, allocations: 5.313 MB / 0.4895 GB, free: 29.61 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01044/0.5076, allocations: 8.384 MB / 0.4977 GB, free: 19.78 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.778e-05/0.5077, allocations: 28 kB / 0.4977 GB, free: 19.75 MB / 362.7 MB Notification: Performance of matching and sorting (n=730) (initialization): time 0.01278/0.5205, allocations: 8.664 MB / 0.5062 GB, free: 11.07 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.644e-05/0.5205, allocations: 48 kB / 0.5062 GB, free: 11.03 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001821/0.5207, allocations: 104 kB / 0.5063 GB, free: 10.93 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003126/0.5239, allocations: 0.9758 MB / 0.5073 GB, free: 9.949 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003817/0.5277, allocations: 1.248 MB / 0.5085 GB, free: 8.699 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005594/0.5333, allocations: 4.99 MB / 0.5134 GB, free: 3.605 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004179/0.5374, allocations: 331.7 kB / 0.5137 GB, free: 3.281 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008194/0.5383, allocations: 319.6 kB / 0.514 GB, free: 2.973 MB / 362.7 MB 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.003561/0.5418, allocations: 2.186 MB / 0.5161 GB, free: 0.7773 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009528/0.5428, allocations: 350.1 kB / 0.5165 GB, free: 444 kB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01036/0.5531, allocations: 5.118 MB / 0.5215 GB, free: 11.31 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.009e-05/0.5532, allocations: 39.98 kB / 0.5215 GB, free: 11.27 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.944e-05/0.5532, allocations: 4 kB / 0.5215 GB, free: 11.27 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.374e-05/0.5533, allocations: 7.969 kB / 0.5215 GB, free: 11.26 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02413/0.5774, allocations: 10.53 MB / 0.5318 GB, free: 0.6133 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.908e-05/0.5774, allocations: 12 kB / 0.5318 GB, free: 0.6016 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001771/0.5792, allocations: 399.3 kB / 0.5322 GB, free: 216 kB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002797/0.582, allocations: 0.8025 MB / 0.533 GB, free: 15.41 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002602/0.5823, allocations: 51.5 kB / 0.533 GB, free: 15.36 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006883/0.5891, allocations: 4.266 MB / 0.5372 GB, free: 11 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.719e-05/0.5892, allocations: 15.94 kB / 0.5372 GB, free: 10.98 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01372/0.6029, allocations: 7.664 MB / 0.5447 GB, free: 3.156 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001868/0.6047, allocations: 0.623 MB / 0.5453 GB, free: 2.531 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006148/0.6054, allocations: 47.98 kB / 0.5453 GB, free: 2.484 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001725/0.6071, allocations: 183.7 kB / 0.5455 GB, free: 2.305 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004402/0.6075, allocations: 160.6 kB / 0.5457 GB, free: 2.152 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001999/0.6077, allocations: 75.98 kB / 0.5457 GB, free: 2.078 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.003526/0.6112, allocations: 1.641 MB / 0.5473 GB, free: 436 kB / 394.7 MB Notification: Performance of sort global known variables: time 8e-08/0.6112, allocations: 0 / 0.5473 GB, free: 436 kB / 394.7 MB Notification: Performance of remove unused functions: time 0.005457/0.6167, allocations: 1.074 MB / 0.5484 GB, free: 15.35 MB / 410.7 MB 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.0007384/0.6174, allocations: 210.4 kB / 0.5486 GB, free: 15.14 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.01036/0.6278, allocations: 5.462 MB / 0.5539 GB, free: 9.695 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.598e-05/0.6278, allocations: 4 kB / 0.5539 GB, free: 9.691 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003559/0.6314, allocations: 2.004 MB / 0.5559 GB, free: 7.68 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003107/0.6345, allocations: 315.7 kB / 0.5562 GB, free: 7.379 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02291/0.6574, allocations: 10.61 MB / 0.5665 GB, free: 12.57 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00465/0.662, allocations: 2.894 MB / 0.5694 GB, free: 9.629 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.005031/0.6671, allocations: 1.984 MB / 0.5713 GB, free: 7.637 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008455/0.6679, allocations: 212.5 kB / 0.5715 GB, free: 7.426 MB / 426.7 MB Notification: Performance of SimCode: time 2.484e-06/0.6679, allocations: 0 / 0.5715 GB, free: 7.426 MB / 426.7 MB Notification: Performance of Templates: time 0.2248/0.8928, allocations: 28.08 MB / 0.5989 GB, free: 150.6 MB / 442.7 MB " [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 -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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/MultiBody/Joints/Cylindrical/Cylindrical.csv","/var/lib/jenkins/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: 6.945790766971186]