Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Cylindrical.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.000844/0.000844, allocations: 76.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001097/0.001941, allocations: 457.8 kB / 10.45 MB, free: 244 kB / 10.45 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0007322/0.0007322, allocations: 162 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009505/0.001683, allocations: 475.6 kB / 11.82 MB, free: 2.348 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.051/1.051, allocations: 177.5 MB / 190 MB, free: 4.789 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0845/1.135, allocations: 53.87 MB / 243.9 MB, free: 14.85 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2471/0.2471, allocations: 34.88 MB / 279.6 MB, free: 14.9 MB / 282.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02721/0.2744, allocations: 13.24 MB / 292.8 MB, free: 6.391 MB / 282.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_ModelicaTest.MultiBody.Joints.Cylindrical") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.363e-06/1.363e-06, allocations: 0 / 294.1 MB, free: 5.07 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.326e-05/2.463e-05, allocations: 6.188 kB / 294.1 MB, free: 5.066 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.Cylindrical): time 0.02116/0.02118, allocations: 12.83 MB / 307 MB, free: 8.176 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.009452/0.03064, allocations: 4.267 MB / 311.2 MB, free: 3.895 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002476/0.03311, allocations: 83.69 kB / 311.3 MB, free: 3.812 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002478/0.03559, allocations: 1.872 MB / 313.2 MB, free: 1.934 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00373/0.03932, allocations: 1.921 MB / 315.1 MB, free: 0 / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001112/0.04043, allocations: 0.5418 MB / 315.6 MB, free: 15.46 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.004336/0.04477, allocations: 4.223 MB / 319.9 MB, free: 11.23 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003087/0.04786, allocations: 2.369 MB / 322.2 MB, free: 8.797 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003801/0.05166, allocations: 2.217 MB / 324.5 MB, free: 6.57 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003073/0.05473, allocations: 1.983 MB / 326.4 MB, free: 4.582 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0009863/0.05571, allocations: 288 kB / 326.7 MB, free: 4.301 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002321/0.05804, allocations: 0.9829 MB / 327.7 MB, free: 3.316 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001544/0.05958, allocations: 1.656 MB / 329.4 MB, free: 1.656 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001944/0.06152, allocations: 0.9305 MB / 330.3 MB, free: 0.7227 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.005617/0.06714, allocations: 4.128 MB / 334.4 MB, free: 12.58 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.701e-05/0.06716, allocations: 0 / 334.4 MB, free: 12.58 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.104e-06/0.06716, allocations: 0 / 334.4 MB, free: 12.58 MB / 330.7 MB Notification: Performance of Transformations before backend: time 0.0001503/0.06731, allocations: 0 / 334.4 MB, free: 12.58 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: 1641 * Number of variables: 1641 Notification: Performance of Generate backend data structure: time 0.006303/0.07361, allocations: 5.1 MB / 339.5 MB, free: 7.406 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.621e-05/0.07365, allocations: 8.031 kB / 339.5 MB, free: 7.398 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004/0.07765, allocations: 1.448 MB / 341 MB, free: 5.949 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002173/0.07982, allocations: 1.573 MB / 342.5 MB, free: 4.344 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001105/0.07993, allocations: 217.8 kB / 342.8 MB, free: 4.129 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004057/0.08034, allocations: 280.2 kB / 343 MB, free: 3.855 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006937/0.08727, allocations: 4.778 MB / 347.8 MB, free: 14.61 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.161e-05/0.08735, allocations: 23.81 kB / 347.8 MB, free: 14.59 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002725/0.08762, allocations: 135.8 kB / 348 MB, free: 14.46 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002004/0.08962, allocations: 2.121 MB / 350.1 MB, free: 12.33 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006242/0.09586, allocations: 2.707 MB / 352.8 MB, free: 9.59 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03079/0.1267, allocations: 26.86 MB / 379.6 MB, free: 13.76 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003162/0.1298, allocations: 1.447 MB / 381.1 MB, free: 12.31 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004971/0.1303, allocations: 362.7 kB / 381.4 MB, free: 11.95 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005852/0.1362, allocations: 3.756 MB / 385.2 MB, free: 8.176 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.95e-05/0.1362, allocations: 47.81 kB / 385.3 MB, free: 8.117 MB / 378.7 MB Notification: Performance of pre-optimization done (n=180): time 5.701e-06/0.1362, allocations: 3.984 kB / 385.3 MB, free: 8.113 MB / 378.7 MB Notification: Performance of matching and sorting (n=187): time 0.01213/0.1483, allocations: 5.333 MB / 390.6 MB, free: 2.762 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.055e-05/0.1484, allocations: 68.66 kB / 390.7 MB, free: 2.684 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002654/0.151, allocations: 2.471 MB / 393.1 MB, free: 196 kB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 8.234e-05/0.1511, allocations: 45.7 kB / 393.2 MB, free: 144 kB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001589/0.1527, allocations: 2.956 MB / 396.1 MB, free: 13.15 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005093/0.1532, allocations: 0.7246 MB / 396.9 MB, free: 12.42 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001036/0.1542, allocations: 0.9896 MB / 397.8 MB, free: 11.42 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 7.527e-05/0.1543, allocations: 301.1 kB / 398.1 MB, free: 11.12 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001256/0.1556, allocations: 0.67 MB / 398.8 MB, free: 10.45 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002736/0.1583, allocations: 3.616 MB / 402.4 MB, free: 5.316 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0047/0.163, allocations: 5.077 MB / 407.5 MB, free: 14.71 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.034e-05/0.1631, allocations: 32 kB / 407.5 MB, free: 14.68 MB / 410.7 MB Notification: Performance of matching and sorting (n=704) (initialization): time 0.005197/0.1683, allocations: 3.483 MB / 411 MB, free: 11.18 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.476e-05/0.1683, allocations: 52 kB / 411.1 MB, free: 11.13 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001346/0.1685, allocations: 124.8 kB / 411.2 MB, free: 11.01 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003487/0.1688, allocations: 187.6 kB / 411.4 MB, free: 10.82 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003015/0.1718, allocations: 1.271 MB / 412.6 MB, free: 9.551 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001204/0.173, allocations: 1.448 MB / 414.1 MB, free: 7.996 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002487/0.1755, allocations: 200 kB / 414.3 MB, free: 7.801 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003324/0.1759, allocations: 276 kB / 414.6 MB, free: 7.531 MB / 410.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.001299/0.1772, allocations: 0.5369 MB / 415.1 MB, free: 6.984 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003536/0.1775, allocations: 175.8 kB / 415.3 MB, free: 6.812 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001443/0.179, allocations: 0.9164 MB / 416.2 MB, free: 5.875 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.231e-05/0.179, allocations: 12 kB / 416.2 MB, free: 5.863 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.3e-06/0.179, allocations: 3.938 kB / 416.2 MB, free: 5.859 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.353e-05/0.179, allocations: 19.91 kB / 416.2 MB, free: 5.84 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006124/0.1851, allocations: 4.06 MB / 420.3 MB, free: 1.617 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.199e-05/0.1852, allocations: 23.98 kB / 420.3 MB, free: 1.594 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008439/0.186, allocations: 255.7 kB / 420.5 MB, free: 1.344 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004042/0.1864, allocations: 242.2 kB / 420.8 MB, free: 1.105 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001784/0.1866, allocations: 55.62 kB / 420.8 MB, free: 1.047 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.314e-05/0.1867, allocations: 40.23 kB / 420.9 MB, free: 1.008 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001043/0.1877, allocations: 1.384 MB / 422.3 MB, free: 15.53 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.257e-06/0.1877, allocations: 11.94 kB / 422.3 MB, free: 15.52 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001902/0.1896, allocations: 1.475 MB / 423.7 MB, free: 13.9 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002788/0.1899, allocations: 32 kB / 423.8 MB, free: 13.87 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006218/0.1905, allocations: 32 kB / 423.8 MB, free: 13.84 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001841/0.1907, allocations: 116.6 kB / 423.9 MB, free: 13.72 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.709e-05/0.1908, allocations: 51.98 kB / 424 MB, free: 13.67 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0009263/0.1917, allocations: 0.861 MB / 424.8 MB, free: 12.8 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.9e-07/0.1917, allocations: 0 / 424.8 MB, free: 12.8 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.003324/0.1951, allocations: 0.9217 MB / 425.8 MB, free: 11.88 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.00041/0.1955, allocations: 175.9 kB / 425.9 MB, free: 11.7 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.003182/0.1987, allocations: 2.291 MB / 428.2 MB, free: 9.426 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 0.0001652/0.1988, allocations: 74.56 kB / 428.3 MB, free: 9.348 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0009194/0.1997, allocations: 0.6434 MB / 428.9 MB, free: 8.699 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003114/0.2029, allocations: 2.121 MB / 431.1 MB, free: 6.332 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1494/0.3523, allocations: 7.809 MB / 438.9 MB, free: 108.2 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001085/0.3534, allocations: 1.253 MB / 440.1 MB, free: 108.1 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.001251/0.3546, allocations: 418.2 kB / 440.5 MB, free: 108 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005363/0.3551, allocations: 441.7 kB / 441 MB, free: 108 MB / 426.7 MB Notification: Performance of SimCode: time 1.522e-06/0.3551, allocations: 0 / 441 MB, free: 108 MB / 426.7 MB Notification: Performance of Templates: time 0.03476/0.3899, allocations: 21.96 MB / 462.9 MB, free: 99.54 MB / 426.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Cylindrical.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Cylindrical.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Cylindrical.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Cylindrical.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Cylindrical.sim & ./ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Cylindrical -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Cylindrical.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Cylindrical_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/MultiBody/Joints/Cylindrical/Cylindrical.csv","",relTol=0.003,relTolDiffMinMax=0.003,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.6138781905174255]