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.001088/0.001088, allocations: 80.8 kB / 21.5 MB, free: 2.996 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.001562/0.001562, allocations: 170.5 kB / 24.91 MB, free: 9.211 MB / 18.57 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 0.9706/0.9706, allocations: 177.1 MB / 205.3 MB, free: 5.473 MB / 186.7 MB " [Timeout remaining time 179] 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.2482/0.2482, allocations: 32.8 MB / 294.6 MB, free: 1.25 MB / 266.7 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: Performance of FrontEnd - loaded program: time 1.833e-06/1.833e-06, allocations: 0 / 323.3 MB, free: 9.648 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.385e-05/2.568e-05, allocations: 6.875 kB / 323.3 MB, free: 9.641 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.Cylindrical): time 0.01432/0.01434, allocations: 12.73 MB / 336 MB, free: 12.85 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.008969/0.02331, allocations: 4.245 MB / 340.2 MB, free: 8.59 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002074/0.02539, allocations: 79.69 kB / 340.3 MB, free: 8.512 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.003118/0.0285, allocations: 1.907 MB / 342.2 MB, free: 6.598 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003868/0.03237, allocations: 1.909 MB / 344.1 MB, free: 4.68 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001116/0.03349, allocations: 0.5924 MB / 344.7 MB, free: 4.086 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.004186/0.03767, allocations: 4.274 MB / 349 MB, free: 15.8 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002854/0.04053, allocations: 2.579 MB / 351.6 MB, free: 13.16 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003059/0.04359, allocations: 2.14 MB / 353.7 MB, free: 11.01 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002921/0.04651, allocations: 2.003 MB / 355.7 MB, free: 9.004 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0007308/0.04724, allocations: 288 kB / 356 MB, free: 8.723 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001995/0.04923, allocations: 0.9828 MB / 357 MB, free: 7.738 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001532/0.05077, allocations: 1.85 MB / 358.8 MB, free: 5.883 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001857/0.05262, allocations: 1.141 MB / 360 MB, free: 4.738 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.005541/0.05816, allocations: 4.409 MB / 364.4 MB, free: 320 kB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.003e-06/0.05817, allocations: 0 / 364.4 MB, free: 320 kB / 330.7 MB Notification: Performance of FrontEnd: time 1.343e-06/0.05817, allocations: 0 / 364.4 MB, free: 320 kB / 330.7 MB Notification: Performance of Transformations before backend: time 0.0002147/0.05839, allocations: 0 / 364.4 MB, free: 320 kB / 330.7 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.006213/0.0646, allocations: 4.221 MB / 368.6 MB, free: 12.04 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.854e-05/0.06464, allocations: 8.031 kB / 368.6 MB, free: 12.03 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004188/0.06883, allocations: 1.444 MB / 370.1 MB, free: 10.58 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002271/0.0711, allocations: 1.573 MB / 371.6 MB, free: 8.973 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000112/0.07121, allocations: 213.8 kB / 371.9 MB, free: 8.762 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000422/0.07163, allocations: 284.2 kB / 372.1 MB, free: 8.484 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006411/0.07804, allocations: 4.778 MB / 376.9 MB, free: 3.242 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.925e-05/0.07812, allocations: 27.8 kB / 376.9 MB, free: 3.215 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002553/0.07838, allocations: 135.8 kB / 377.1 MB, free: 3.082 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001986/0.08036, allocations: 2.242 MB / 379.3 MB, free: 0.8359 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006156/0.08652, allocations: 2.707 MB / 382 MB, free: 14.09 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0284/0.1149, allocations: 26.86 MB / 408.9 MB, free: 2.27 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00357/0.1185, allocations: 1.474 MB / 410.3 MB, free: 0.7891 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005717/0.1191, allocations: 366.7 kB / 410.7 MB, free: 440 kB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006175/0.1252, allocations: 3.807 MB / 414.5 MB, free: 12.6 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.948e-05/0.1253, allocations: 51.81 kB / 414.6 MB, free: 12.54 MB / 394.7 MB Notification: Performance of pre-optimization done (n=180): time 5.4e-06/0.1253, allocations: 0 / 414.6 MB, free: 12.54 MB / 394.7 MB Notification: Performance of matching and sorting (n=187): time 0.01095/0.1362, allocations: 4.977 MB / 419.5 MB, free: 7.539 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.584e-05/0.1363, allocations: 72.66 kB / 419.6 MB, free: 7.457 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002319/0.1386, allocations: 2.459 MB / 422.1 MB, free: 4.977 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 9.377e-05/0.1387, allocations: 53.7 kB / 422.1 MB, free: 4.918 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001424/0.1401, allocations: 2.963 MB / 425.1 MB, free: 1.926 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005278/0.1406, allocations: 0.7168 MB / 425.8 MB, free: 1.203 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008484/0.1415, allocations: 0.9896 MB / 426.8 MB, free: 208 kB / 394.7 MB Notification: Performance of setup shared object (initialization): time 8.512e-05/0.1416, allocations: 309.1 kB / 427.1 MB, free: 15.9 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001069/0.1427, allocations: 0.6661 MB / 427.8 MB, free: 15.23 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002385/0.145, allocations: 3.608 MB / 431.4 MB, free: 10.1 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00371/0.1487, allocations: 4.714 MB / 436.1 MB, free: 3.863 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.955e-05/0.1488, allocations: 32 kB / 436.1 MB, free: 3.832 MB / 410.7 MB Notification: Performance of matching and sorting (n=704) (initialization): time 0.004427/0.1532, allocations: 3.495 MB / 439.6 MB, free: 332 kB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.143e-05/0.1533, allocations: 48 kB / 439.7 MB, free: 284 kB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.835e-05/0.1534, allocations: 108 kB / 439.8 MB, free: 176 kB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003108/0.1537, allocations: 179.7 kB / 439.9 MB, free: 15.99 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002074/0.1558, allocations: 1.197 MB / 441.1 MB, free: 14.79 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009567/0.1567, allocations: 1.46 MB / 442.6 MB, free: 13.24 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001778/0.1585, allocations: 204 kB / 442.8 MB, free: 13.04 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00025/0.1587, allocations: 268 kB / 443.1 MB, free: 12.78 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 491 * 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 (654): * Single equations (assignments): 647 * 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 {(1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001225/0.16, allocations: 0.5447 MB / 443.6 MB, free: 12.22 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002722/0.1602, allocations: 179.8 kB / 443.8 MB, free: 12.04 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001104/0.1613, allocations: 0.9164 MB / 444.7 MB, free: 11.1 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.062e-05/0.1614, allocations: 23.98 kB / 444.7 MB, free: 11.08 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.63e-06/0.1614, allocations: 3.938 kB / 444.7 MB, free: 11.07 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.098e-05/0.1614, allocations: 7.969 kB / 444.7 MB, free: 11.07 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005185/0.1666, allocations: 4.057 MB / 448.8 MB, free: 6.852 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.728e-06/0.1666, allocations: 12 kB / 448.8 MB, free: 6.84 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006149/0.1672, allocations: 247.7 kB / 449 MB, free: 6.598 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001395/0.1673, allocations: 51.64 kB / 449.1 MB, free: 6.543 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.272e-05/0.1674, allocations: 32 kB / 449.1 MB, free: 6.512 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008491/0.1682, allocations: 1.389 MB / 450.5 MB, free: 5.023 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.672e-06/0.1682, allocations: 11.94 kB / 450.5 MB, free: 5.012 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001618/0.1699, allocations: 1.467 MB / 452 MB, free: 3.402 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003783/0.1702, allocations: 246.2 kB / 452.2 MB, free: 3.16 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001807/0.1704, allocations: 35.98 kB / 452.3 MB, free: 3.125 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004347/0.1709, allocations: 32 kB / 452.3 MB, free: 3.094 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001485/0.171, allocations: 116.6 kB / 452.4 MB, free: 2.977 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.182e-05/0.1711, allocations: 55.97 kB / 452.5 MB, free: 2.922 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0007271/0.1718, allocations: 0.861 MB / 453.3 MB, free: 2.051 MB / 426.7 MB Notification: Performance of sort global known variables: time 3.51e-07/0.1718, allocations: 0 / 453.3 MB, free: 2.051 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.002723/0.1745, allocations: 0.9101 MB / 454.2 MB, free: 1.141 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 37 * 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 (141): * Single equations (assignments): 134 * 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 {(1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0003267/0.1749, allocations: 171.9 kB / 454.4 MB, free: 0.9648 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.1298/0.3047, allocations: 2.187 MB / 456.6 MB, free: 128.5 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 0.0002141/0.3049, allocations: 65.22 kB / 456.6 MB, free: 128.5 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006865/0.3056, allocations: 0.5431 MB / 457.2 MB, free: 128.4 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001958/0.3076, allocations: 0.5934 MB / 457.8 MB, free: 128.4 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008826/0.3164, allocations: 7.543 MB / 465.3 MB, free: 125.2 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001018/0.3174, allocations: 1.245 MB / 466.6 MB, free: 125.1 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.001259/0.3187, allocations: 423.8 kB / 467 MB, free: 125 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000658/0.3193, allocations: 470.5 kB / 467.4 MB, free: 124.9 MB / 426.7 MB Notification: Performance of SimCode: time 2.294e-06/0.3193, allocations: 0 / 467.4 MB, free: 124.9 MB / 426.7 MB Notification: Performance of Templates: time 0.03693/0.3563, allocations: 23.12 MB / 490.6 MB, free: 104.9 MB / 426.7 MB " [Timeout remaining time 660] 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=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Cylindrical.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Cylindrical_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Joints/Cylindrical/Cylindrical.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.012672412209213]