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.001256/0.001256, allocations: 76.17 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001422/0.002678, allocations: 449.7 kB / 10.37 MB, free: 328 kB / 10.45 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.001831/0.001831, allocations: 169.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.002171/0.004002, allocations: 455.6 kB / 11.71 MB, free: 2.461 MB / 13.93 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 1.142/1.142, allocations: 177.2 MB / 189.6 MB, free: 5.312 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1306/1.273, allocations: 53.65 MB / 243.3 MB, free: 15.58 MB / 250.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.3443/0.3443, allocations: 32.8 MB / 276.8 MB, free: 15.87 MB / 282.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.03445/0.3788, allocations: 12.53 MB / 289.3 MB, free: 8.672 MB / 282.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 2.706e-06/2.706e-06, allocations: 0 / 290.6 MB, free: 7.645 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.093e-05/3.363e-05, allocations: 4.203 kB / 290.6 MB, free: 7.641 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.Cylindrical): time 0.01633/0.01637, allocations: 12.83 MB / 303.4 MB, free: 11.41 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.01155/0.02792, allocations: 4.278 MB / 307.7 MB, free: 7.113 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002716/0.03063, allocations: 75.75 kB / 307.8 MB, free: 7.039 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002561/0.03319, allocations: 1.884 MB / 309.7 MB, free: 5.148 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.005151/0.03834, allocations: 1.902 MB / 311.6 MB, free: 3.238 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001267/0.03961, allocations: 0.5612 MB / 312.1 MB, free: 2.676 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.004239/0.04385, allocations: 4.215 MB / 316.4 MB, free: 14.45 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002403/0.04625, allocations: 2.369 MB / 318.7 MB, free: 12.02 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002513/0.04876, allocations: 2.225 MB / 321 MB, free: 9.789 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00231/0.05107, allocations: 1.987 MB / 322.9 MB, free: 7.797 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0005468/0.05162, allocations: 292 kB / 323.2 MB, free: 7.512 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00158/0.0532, allocations: 0.975 MB / 324.2 MB, free: 6.535 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001213/0.05442, allocations: 1.656 MB / 325.9 MB, free: 4.875 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001149/0.05556, allocations: 0.9383 MB / 326.8 MB, free: 3.934 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004062/0.05963, allocations: 4.128 MB / 330.9 MB, free: 15.79 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.093e-05/0.05965, allocations: 3.938 kB / 330.9 MB, free: 15.79 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.014e-06/0.05965, allocations: 0 / 330.9 MB, free: 15.79 MB / 330.7 MB Notification: Performance of Transformations before backend: time 7.304e-05/0.05972, allocations: 0 / 330.9 MB, free: 15.79 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.005169/0.06489, allocations: 5.088 MB / 336 MB, free: 10.62 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.531e-05/0.06494, allocations: 8.625 kB / 336 MB, free: 10.62 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003585/0.06852, allocations: 1.448 MB / 337.5 MB, free: 9.168 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001904/0.07043, allocations: 1.569 MB / 339 MB, free: 7.566 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001081/0.07053, allocations: 217.8 kB / 339.3 MB, free: 7.352 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003458/0.07088, allocations: 280.2 kB / 339.5 MB, free: 7.078 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004919/0.0758, allocations: 4.778 MB / 344.3 MB, free: 1.832 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.795e-05/0.07586, allocations: 27.75 kB / 344.3 MB, free: 1.805 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002343/0.07609, allocations: 131.8 kB / 344.5 MB, free: 1.676 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001879/0.07797, allocations: 2.258 MB / 346.7 MB, free: 15.41 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004137/0.08211, allocations: 2.714 MB / 349.4 MB, free: 12.66 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02896/0.1111, allocations: 26.84 MB / 376.3 MB, free: 0.8438 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004325/0.1154, allocations: 1.462 MB / 377.7 MB, free: 15.37 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001025/0.1164, allocations: 363.4 kB / 378.1 MB, free: 15.02 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007258/0.1237, allocations: 3.745 MB / 381.8 MB, free: 11.25 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.653e-05/0.1237, allocations: 47.81 kB / 381.9 MB, free: 11.19 MB / 378.7 MB Notification: Performance of pre-optimization done (n=180): time 5.42e-06/0.1237, allocations: 0 / 381.9 MB, free: 11.19 MB / 378.7 MB Notification: Performance of matching and sorting (n=187): time 0.01092/0.1346, allocations: 4.895 MB / 386.8 MB, free: 6.273 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.663e-05/0.1347, allocations: 72.66 kB / 386.9 MB, free: 6.191 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002517/0.1372, allocations: 2.463 MB / 389.3 MB, free: 3.707 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 7.682e-05/0.1373, allocations: 49.7 kB / 389.4 MB, free: 3.652 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001559/0.1388, allocations: 2.955 MB / 392.3 MB, free: 0.6641 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000452/0.1393, allocations: 0.7285 MB / 393 MB, free: 15.93 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001099/0.1404, allocations: 0.9896 MB / 394 MB, free: 14.93 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 7.95e-05/0.1405, allocations: 305.1 kB / 394.3 MB, free: 14.63 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009862/0.1415, allocations: 0.6817 MB / 395 MB, free: 13.94 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00273/0.1442, allocations: 3.604 MB / 398.6 MB, free: 8.82 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004985/0.1492, allocations: 4.717 MB / 403.3 MB, free: 2.586 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.813e-05/0.1493, allocations: 32 kB / 403.4 MB, free: 2.555 MB / 394.7 MB Notification: Performance of matching and sorting (n=704) (initialization): time 0.005874/0.1551, allocations: 3.483 MB / 406.9 MB, free: 15.05 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.493e-05/0.1552, allocations: 49.72 kB / 406.9 MB, free: 15.01 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001104/0.1553, allocations: 108 kB / 407 MB, free: 14.9 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004105/0.1557, allocations: 187.7 kB / 407.2 MB, free: 14.71 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0025/0.1582, allocations: 1.275 MB / 408.5 MB, free: 13.44 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00158/0.1598, allocations: 1.448 MB / 409.9 MB, free: 11.89 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002546/0.1623, allocations: 212 kB / 410.1 MB, free: 11.69 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000321/0.1627, allocations: 268 kB / 410.4 MB, free: 11.43 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.001897/0.1646, allocations: 0.5369 MB / 410.9 MB, free: 10.88 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004438/0.165, allocations: 179.8 kB / 411.1 MB, free: 10.7 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001318/0.1663, allocations: 0.9164 MB / 412 MB, free: 9.766 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.444e-05/0.1664, allocations: 24 kB / 412 MB, free: 9.742 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.212e-06/0.1664, allocations: 3.938 kB / 412 MB, free: 9.738 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.098e-05/0.1664, allocations: 11.97 kB / 412 MB, free: 9.727 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006497/0.1729, allocations: 4.052 MB / 416.1 MB, free: 5.516 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.361e-05/0.1729, allocations: 11.98 kB / 416.1 MB, free: 5.504 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009146/0.1738, allocations: 259.6 kB / 416.4 MB, free: 5.25 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006401/0.1744, allocations: 242.2 kB / 416.6 MB, free: 5.012 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001887/0.1746, allocations: 56.16 kB / 416.7 MB, free: 4.953 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.417e-05/0.1747, allocations: 43.92 kB / 416.7 MB, free: 4.91 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009991/0.1757, allocations: 1.377 MB / 418.1 MB, free: 3.43 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.498e-06/0.1757, allocations: 15.94 kB / 418.1 MB, free: 3.414 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001773/0.1775, allocations: 1.471 MB / 419.6 MB, free: 1.801 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004042/0.1779, allocations: 36 kB / 419.6 MB, free: 1.766 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005201/0.1784, allocations: 28 kB / 419.6 MB, free: 1.738 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001541/0.1786, allocations: 120.6 kB / 419.7 MB, free: 1.621 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.825e-05/0.1787, allocations: 51.92 kB / 419.8 MB, free: 1.57 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.001012/0.1797, allocations: 0.8649 MB / 420.7 MB, free: 0.6953 MB / 410.7 MB Notification: Performance of sort global known variables: time 3.81e-07/0.1797, allocations: 4 kB / 420.7 MB, free: 0.6914 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.003469/0.1831, allocations: 0.9101 MB / 421.6 MB, free: 15.78 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.0004846/0.1836, allocations: 168.1 kB / 421.7 MB, free: 15.61 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.00385/0.1875, allocations: 2.193 MB / 423.9 MB, free: 13.43 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 0.0002024/0.1877, allocations: 78.62 kB / 424 MB, free: 13.34 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000684/0.1884, allocations: 0.5375 MB / 424.5 MB, free: 12.79 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002792/0.1912, allocations: 0.7886 MB / 425.3 MB, free: 12 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01539/0.2065, allocations: 7.835 MB / 433.2 MB, free: 3.984 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001427/0.208, allocations: 1.253 MB / 434.4 MB, free: 2.703 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.001416/0.2094, allocations: 425.7 kB / 434.8 MB, free: 2.281 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006989/0.2101, allocations: 465.2 kB / 435.3 MB, free: 1.824 MB / 426.7 MB Notification: Performance of SimCode: time 2.434e-06/0.2101, allocations: 0 / 435.3 MB, free: 1.824 MB / 426.7 MB Notification: Performance of Templates: time 0.2383/0.4483, allocations: 23.5 MB / 458.8 MB, free: 104.6 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 -emit_protected -ignoreHideResult -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.251356648281217]