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.00109/0.00109, allocations: 80.11 kB / 9.934 MB, free: 0.7539 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001557/0.002648, allocations: 449.7 kB / 10.37 MB, free: 324 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.001105/0.001105, allocations: 165.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001798/0.002903, allocations: 463.6 kB / 11.72 MB, free: 2.453 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.004/1.004, allocations: 177.4 MB / 189.9 MB, free: 4.832 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1314/1.136, allocations: 53.87 MB / 243.8 MB, free: 14.9 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.29/0.29, allocations: 34.86 MB / 279.4 MB, free: 14.91 MB / 282.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02622/0.3162, allocations: 13.22 MB / 292.6 MB, free: 6.465 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 2.385e-06/2.385e-06, allocations: 0 / 293.9 MB, free: 5.18 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.839e-05/3.078e-05, allocations: 5.375 kB / 293.9 MB, free: 5.176 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.Cylindrical): time 0.01412/0.01415, allocations: 12.83 MB / 306.7 MB, free: 8.289 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0105/0.02465, allocations: 4.271 MB / 311 MB, free: 4.004 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003263/0.02791, allocations: 79.69 kB / 311.1 MB, free: 3.926 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.003771/0.03168, allocations: 1.888 MB / 312.9 MB, free: 2.031 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00453/0.03621, allocations: 1.898 MB / 314.8 MB, free: 124 kB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001089/0.0373, allocations: 0.5573 MB / 315.4 MB, free: 15.56 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.004352/0.04165, allocations: 4.209 MB / 319.6 MB, free: 11.35 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003511/0.04516, allocations: 2.365 MB / 322 MB, free: 8.918 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003421/0.04859, allocations: 2.225 MB / 324.2 MB, free: 6.688 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002745/0.05133, allocations: 1.987 MB / 326.2 MB, free: 4.695 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0006932/0.05202, allocations: 288 kB / 326.5 MB, free: 4.414 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001502/0.05352, allocations: 0.9712 MB / 327.4 MB, free: 3.441 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001137/0.05466, allocations: 1.66 MB / 329.1 MB, free: 1.777 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001206/0.05587, allocations: 0.9344 MB / 330 MB, free: 0.8398 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004511/0.06038, allocations: 4.136 MB / 334.2 MB, free: 12.69 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.022e-05/0.0604, allocations: 4 kB / 334.2 MB, free: 12.68 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.595e-06/0.0604, allocations: 0 / 334.2 MB, free: 12.68 MB / 330.7 MB Notification: Performance of Transformations before backend: time 0.0001157/0.06052, allocations: 0 / 334.2 MB, free: 12.68 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.005773/0.06629, allocations: 5.093 MB / 339.3 MB, free: 7.52 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.512e-05/0.06635, allocations: 14.55 kB / 339.3 MB, free: 7.508 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004544/0.07089, allocations: 1.44 MB / 340.7 MB, free: 6.066 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003174/0.07406, allocations: 1.565 MB / 342.3 MB, free: 4.469 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000167/0.07423, allocations: 217.8 kB / 342.5 MB, free: 4.254 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006491/0.07488, allocations: 296.1 kB / 342.8 MB, free: 3.965 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005169/0.08005, allocations: 4.775 MB / 347.6 MB, free: 14.73 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.225e-05/0.0801, allocations: 23.81 kB / 347.6 MB, free: 14.7 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002276/0.08033, allocations: 135.8 kB / 347.7 MB, free: 14.57 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001911/0.08224, allocations: 2.254 MB / 350 MB, free: 12.31 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003743/0.08598, allocations: 2.721 MB / 352.7 MB, free: 9.551 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02259/0.1086, allocations: 26.85 MB / 379.5 MB, free: 13.73 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00272/0.1113, allocations: 1.455 MB / 381 MB, free: 12.27 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004605/0.1118, allocations: 358.7 kB / 381.3 MB, free: 11.92 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006067/0.1178, allocations: 3.749 MB / 385.1 MB, free: 8.148 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.141e-05/0.1179, allocations: 51.8 kB / 385.1 MB, free: 8.086 MB / 378.7 MB Notification: Performance of pre-optimization done (n=180): time 4.207e-06/0.1179, allocations: 0 / 385.1 MB, free: 8.086 MB / 378.7 MB Notification: Performance of matching and sorting (n=187): time 0.00952/0.1274, allocations: 4.892 MB / 390 MB, free: 3.176 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.815e-05/0.1274, allocations: 72.66 kB / 390.1 MB, free: 3.094 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002185/0.1296, allocations: 2.467 MB / 392.6 MB, free: 0.6055 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 6.407e-05/0.1297, allocations: 45.7 kB / 392.6 MB, free: 0.5547 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001263/0.1309, allocations: 2.959 MB / 395.6 MB, free: 13.56 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003765/0.1313, allocations: 0.7246 MB / 396.3 MB, free: 12.83 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007843/0.1321, allocations: 0.9895 MB / 397.3 MB, free: 11.83 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 8.223e-05/0.1322, allocations: 309.1 kB / 397.6 MB, free: 11.53 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009061/0.1331, allocations: 0.6661 MB / 398.3 MB, free: 10.86 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002833/0.1359, allocations: 3.604 MB / 401.9 MB, free: 5.734 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003853/0.1398, allocations: 4.721 MB / 406.6 MB, free: 15.49 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.37e-05/0.1398, allocations: 32 kB / 406.6 MB, free: 15.46 MB / 410.7 MB Notification: Performance of matching and sorting (n=704) (initialization): time 0.003649/0.1435, allocations: 3.491 MB / 410.1 MB, free: 11.95 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.208e-05/0.1435, allocations: 52 kB / 410.2 MB, free: 11.9 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.243e-05/0.1436, allocations: 108 kB / 410.3 MB, free: 11.8 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002711/0.1438, allocations: 184.3 kB / 410.4 MB, free: 11.61 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002592/0.1464, allocations: 1.271 MB / 411.7 MB, free: 10.34 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009255/0.1474, allocations: 1.451 MB / 413.2 MB, free: 8.793 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001673/0.149, allocations: 200 kB / 413.4 MB, free: 8.598 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002395/0.1493, allocations: 276 kB / 413.6 MB, free: 8.328 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.001323/0.1506, allocations: 0.5449 MB / 414.2 MB, free: 7.773 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002241/0.1508, allocations: 175.8 kB / 414.3 MB, free: 7.602 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001054/0.1519, allocations: 0.9164 MB / 415.3 MB, free: 6.664 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.036e-05/0.1519, allocations: 27.94 kB / 415.3 MB, free: 6.637 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.749e-06/0.1519, allocations: 3.938 kB / 415.3 MB, free: 6.633 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.558e-06/0.1519, allocations: 7.969 kB / 415.3 MB, free: 6.625 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005081/0.157, allocations: 4.057 MB / 419.4 MB, free: 2.402 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.787e-06/0.157, allocations: 8 kB / 419.4 MB, free: 2.395 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005765/0.1576, allocations: 255.7 kB / 419.6 MB, free: 2.145 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002311/0.1578, allocations: 246.2 kB / 419.9 MB, free: 1.902 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001243/0.1579, allocations: 47.64 kB / 419.9 MB, free: 1.852 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.203e-05/0.158, allocations: 43.86 kB / 419.9 MB, free: 1.809 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007788/0.1588, allocations: 1.39 MB / 421.3 MB, free: 324 kB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.852e-06/0.1588, allocations: 11.94 kB / 421.3 MB, free: 312 kB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001354/0.1601, allocations: 1.475 MB / 422.8 MB, free: 14.69 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001749/0.1603, allocations: 36 kB / 422.9 MB, free: 14.66 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003927/0.1607, allocations: 32 kB / 422.9 MB, free: 14.62 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001235/0.1608, allocations: 112.6 kB / 423 MB, free: 14.52 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.133e-05/0.1609, allocations: 59.97 kB / 423.1 MB, free: 14.46 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0006673/0.1616, allocations: 0.8532 MB / 423.9 MB, free: 13.59 MB / 426.7 MB Notification: Performance of sort global known variables: time 7e-08/0.1616, allocations: 0 / 423.9 MB, free: 13.59 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.002271/0.1638, allocations: 0.914 MB / 424.8 MB, free: 12.68 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.000322/0.1642, allocations: 175.9 kB / 425 MB, free: 12.5 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.002591/0.1668, allocations: 2.188 MB / 427.2 MB, free: 10.32 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 0.0001245/0.1669, allocations: 74.56 kB / 427.3 MB, free: 10.24 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004846/0.1674, allocations: 0.541 MB / 427.8 MB, free: 9.68 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001434/0.1688, allocations: 0.7881 MB / 428.6 MB, free: 8.895 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01044/0.1792, allocations: 7.827 MB / 436.4 MB, free: 0.8867 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.1588/0.3381, allocations: 1.256 MB / 437.7 MB, free: 121.4 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.001719/0.3398, allocations: 422.7 kB / 438.1 MB, free: 121.4 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007943/0.3406, allocations: 468.1 kB / 438.5 MB, free: 121.3 MB / 426.7 MB Notification: Performance of SimCode: time 1.753e-06/0.3406, allocations: 0 / 438.5 MB, free: 121.3 MB / 426.7 MB Notification: Performance of Templates: time 0.03926/0.3799, allocations: 23.5 MB / 462 MB, free: 109.3 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,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.906558893620968]