Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.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.001096/0.001096, allocations: 77.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001586/0.002681, allocations: 449.8 kB / 10.44 MB, free: 252 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.001043/0.001043, allocations: 165.1 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001339/0.002382, allocations: 479.5 kB / 11.82 MB, free: 2.344 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.057/1.057, allocations: 177.2 MB / 189.8 MB, free: 5.238 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1129/1.17, allocations: 53.65 MB / 243.4 MB, free: 15.5 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.3094/0.3094, allocations: 34.26 MB / 278.4 MB, free: 15.29 MB / 282.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.03305/0.3425, allocations: 13.1 MB / 291.5 MB, free: 7.332 MB / 282.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.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.1.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.1.0_ModelicaTest.MultiBody.Joints.Cylindrical") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.034e-06/2.034e-06, allocations: 0 / 292.8 MB, free: 6.188 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.849e-05/3.053e-05, allocations: 3.156 kB / 292.8 MB, free: 6.184 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.Cylindrical): time 0.01521/0.01524, allocations: 12.83 MB / 305.7 MB, free: 9.293 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.01184/0.02707, allocations: 4.273 MB / 310 MB, free: 5.008 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.006106/0.03318, allocations: 79.69 kB / 310 MB, free: 4.93 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00282/0.036, allocations: 1.888 MB / 311.9 MB, free: 3.035 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003484/0.03948, allocations: 1.906 MB / 313.8 MB, free: 1.117 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001063/0.04055, allocations: 0.5495 MB / 314.4 MB, free: 0.5664 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.003758/0.0443, allocations: 4.219 MB / 318.6 MB, free: 12.34 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002446/0.04675, allocations: 2.365 MB / 321 MB, free: 9.91 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002264/0.04901, allocations: 2.229 MB / 323.2 MB, free: 7.672 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002247/0.05126, allocations: 1.983 MB / 325.2 MB, free: 5.684 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0005655/0.05183, allocations: 288 kB / 325.5 MB, free: 5.402 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001409/0.05324, allocations: 0.9751 MB / 326.4 MB, free: 4.426 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0009673/0.0542, allocations: 1.664 MB / 328.1 MB, free: 2.758 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0007869/0.05499, allocations: 0.9344 MB / 329 MB, free: 1.82 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003039/0.05803, allocations: 4.12 MB / 333.1 MB, free: 13.68 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.212e-05/0.05804, allocations: 4 kB / 333.1 MB, free: 13.68 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.004e-06/0.05804, allocations: 0 / 333.1 MB, free: 13.68 MB / 330.7 MB Notification: Performance of Transformations before backend: time 6.164e-05/0.05811, allocations: 0 / 333.1 MB, free: 13.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.004521/0.06263, allocations: 5.097 MB / 338.2 MB, free: 8.512 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.469e-05/0.06266, allocations: 8.625 kB / 338.3 MB, free: 8.504 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003363/0.06602, allocations: 1.44 MB / 339.7 MB, free: 7.062 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001613/0.06764, allocations: 1.573 MB / 341.3 MB, free: 5.457 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001057/0.06774, allocations: 221.8 kB / 341.5 MB, free: 5.238 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006719/0.06841, allocations: 284.2 kB / 341.8 MB, free: 4.961 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004754/0.07317, allocations: 4.771 MB / 346.5 MB, free: 15.72 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.933e-05/0.07323, allocations: 27.8 kB / 346.6 MB, free: 15.69 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002511/0.07348, allocations: 131.8 kB / 346.7 MB, free: 15.56 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002274/0.07575, allocations: 2.117 MB / 348.8 MB, free: 13.44 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003927/0.07968, allocations: 2.711 MB / 351.5 MB, free: 10.69 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02364/0.1033, allocations: 26.86 MB / 378.4 MB, free: 14.86 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0028/0.1061, allocations: 1.447 MB / 379.8 MB, free: 13.41 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004585/0.1066, allocations: 367.4 kB / 380.2 MB, free: 13.05 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0051/0.1117, allocations: 3.745 MB / 383.9 MB, free: 9.289 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.14e-05/0.1117, allocations: 55.81 kB / 384 MB, free: 9.223 MB / 378.7 MB Notification: Performance of pre-optimization done (n=180): time 4.909e-06/0.1117, allocations: 0 / 384 MB, free: 9.223 MB / 378.7 MB Notification: Performance of matching and sorting (n=187): time 0.0101/0.1218, allocations: 5.333 MB / 389.3 MB, free: 3.867 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.951e-05/0.1219, allocations: 68.66 kB / 389.4 MB, free: 3.789 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002067/0.1239, allocations: 2.471 MB / 391.9 MB, free: 1.297 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 6.971e-05/0.124, allocations: 49.7 kB / 391.9 MB, free: 1.242 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00118/0.1252, allocations: 2.956 MB / 394.9 MB, free: 14.25 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003811/0.1256, allocations: 0.7207 MB / 395.6 MB, free: 13.52 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007841/0.1264, allocations: 0.9974 MB / 396.6 MB, free: 12.52 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 7.329e-05/0.1264, allocations: 301.1 kB / 396.9 MB, free: 12.22 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009119/0.1273, allocations: 0.6661 MB / 397.5 MB, free: 11.55 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002636/0.13, allocations: 3.612 MB / 401.1 MB, free: 6.418 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003898/0.1339, allocations: 5.077 MB / 406.2 MB, free: 15.82 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.199e-05/0.1339, allocations: 32 kB / 406.3 MB, free: 15.79 MB / 410.7 MB Notification: Performance of matching and sorting (n=704) (initialization): time 0.003412/0.1373, allocations: 3.487 MB / 409.7 MB, free: 12.29 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.06e-05/0.1374, allocations: 52 kB / 409.8 MB, free: 12.24 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.517e-05/0.1375, allocations: 120 kB / 409.9 MB, free: 12.12 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002558/0.1377, allocations: 183.6 kB / 410.1 MB, free: 11.94 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002406/0.1401, allocations: 1.272 MB / 411.4 MB, free: 10.66 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009401/0.1411, allocations: 1.455 MB / 412.8 MB, free: 9.102 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001465/0.1425, allocations: 200 kB / 413 MB, free: 8.906 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002354/0.1428, allocations: 276 kB / 413.3 MB, free: 8.637 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.001063/0.1438, allocations: 0.5409 MB / 413.8 MB, free: 8.082 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002046/0.144, allocations: 175.8 kB / 414 MB, free: 7.91 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001053/0.1451, allocations: 0.9203 MB / 414.9 MB, free: 6.973 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.486e-05/0.1451, allocations: 12 kB / 414.9 MB, free: 6.961 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.218e-06/0.1451, allocations: 3.938 kB / 414.9 MB, free: 6.957 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.037e-06/0.1451, allocations: 7.969 kB / 414.9 MB, free: 6.949 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004587/0.1497, allocations: 4.056 MB / 419 MB, free: 2.738 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.124e-05/0.1497, allocations: 20 kB / 419 MB, free: 2.719 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005843/0.1503, allocations: 263.8 kB / 419.3 MB, free: 2.461 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002052/0.1505, allocations: 246.1 kB / 419.5 MB, free: 2.219 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001319/0.1506, allocations: 59.58 kB / 419.6 MB, free: 2.156 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.316e-05/0.1507, allocations: 32 kB / 419.6 MB, free: 2.125 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008637/0.1516, allocations: 1.381 MB / 421 MB, free: 0.6445 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.324e-06/0.1516, allocations: 11.94 kB / 421 MB, free: 0.6328 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00142/0.153, allocations: 1.475 MB / 422.5 MB, free: 15.01 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001596/0.1532, allocations: 36.03 kB / 422.5 MB, free: 14.98 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004039/0.1536, allocations: 39.92 kB / 422.5 MB, free: 14.94 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001448/0.1537, allocations: 116.6 kB / 422.7 MB, free: 14.82 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.742e-05/0.1538, allocations: 48 kB / 422.7 MB, free: 14.78 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0006671/0.1544, allocations: 0.8649 MB / 423.6 MB, free: 13.9 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.71e-07/0.1544, allocations: 0 / 423.6 MB, free: 13.9 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.002061/0.1565, allocations: 0.9178 MB / 424.5 MB, free: 12.98 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.0006409/0.1571, allocations: 175.9 kB / 424.7 MB, free: 12.8 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.002045/0.1592, allocations: 2.285 MB / 426.9 MB, free: 10.54 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 0.0001104/0.1593, allocations: 76.81 kB / 427 MB, free: 10.46 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006118/0.1599, allocations: 0.6413 MB / 427.7 MB, free: 9.809 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001752/0.1617, allocations: 2.131 MB / 429.8 MB, free: 7.438 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1793/0.341, allocations: 7.815 MB / 437.6 MB, free: 107.4 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002381/0.3434, allocations: 1.252 MB / 438.9 MB, free: 107.2 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.001442/0.3448, allocations: 415.7 kB / 439.3 MB, free: 107.2 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006657/0.3455, allocations: 437.3 kB / 439.7 MB, free: 107.1 MB / 426.7 MB Notification: Performance of SimCode: time 3.747e-06/0.3455, allocations: 0 / 439.7 MB, free: 107.1 MB / 426.7 MB Notification: Performance of Templates: time 0.04265/0.3881, allocations: 21.97 MB / 461.7 MB, free: 99.36 MB / 426.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.Cylindrical.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.Cylindrical.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.Cylindrical.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.Cylindrical.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.Cylindrical.sim & ./ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.Cylindrical -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.Cylindrical.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_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.813702655956149]