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.001169/0.001169, allocations: 76.17 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001491/0.00266, 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.0007225/0.0007225, allocations: 169.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009151/0.001638, 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.034/1.034, allocations: 177.2 MB / 189.6 MB, free: 5.297 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08876/1.123, 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.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.2709/0.2709, allocations: 34.24 MB / 278.2 MB, free: 15.29 MB / 282.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02402/0.2949, allocations: 13.1 MB / 291.3 MB, free: 7.371 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 1.142e-06/1.142e-06, allocations: 0 / 292.6 MB, free: 6.293 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.06e-05/1.174e-05, allocations: 4.484 kB / 292.6 MB, free: 6.289 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.Cylindrical): time 0.009023/0.009034, allocations: 12.82 MB / 305.5 MB, free: 9.406 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.005273/0.01431, allocations: 4.278 MB / 309.7 MB, free: 5.113 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000703/0.01501, allocations: 79.69 kB / 309.8 MB, free: 5.035 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002273/0.01728, allocations: 1.884 MB / 311.7 MB, free: 3.145 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002647/0.01993, allocations: 1.906 MB / 313.6 MB, free: 1.23 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008663/0.0208, allocations: 0.5534 MB / 314.2 MB, free: 0.6719 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.003398/0.0242, allocations: 4.218 MB / 318.4 MB, free: 12.45 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001993/0.02619, allocations: 2.365 MB / 320.7 MB, free: 10.02 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001971/0.02816, allocations: 2.225 MB / 323 MB, free: 7.789 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001896/0.03006, allocations: 1.991 MB / 325 MB, free: 5.793 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.000324/0.03038, allocations: 288 kB / 325.2 MB, free: 5.512 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001271/0.03165, allocations: 0.9713 MB / 326.2 MB, free: 4.539 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001169/0.03282, allocations: 1.66 MB / 327.9 MB, free: 2.875 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0009569/0.03378, allocations: 0.9266 MB / 328.8 MB, free: 1.945 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003784/0.03756, allocations: 4.136 MB / 332.9 MB, free: 13.79 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.785e-05/0.03758, allocations: 0 / 332.9 MB, free: 13.79 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.563e-06/0.03758, allocations: 0 / 332.9 MB, free: 13.79 MB / 330.7 MB Notification: Performance of Transformations before backend: time 4.485e-05/0.03762, allocations: 4 kB / 332.9 MB, free: 13.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.005555/0.04318, allocations: 5.093 MB / 338 MB, free: 8.621 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.35e-05/0.04321, allocations: 8.625 kB / 338 MB, free: 8.613 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004542/0.04775, allocations: 1.44 MB / 339.5 MB, free: 7.172 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001966/0.04972, allocations: 1.573 MB / 341 MB, free: 5.566 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001355/0.04986, allocations: 221.8 kB / 341.3 MB, free: 5.348 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004292/0.05029, allocations: 284.2 kB / 341.5 MB, free: 5.07 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005832/0.05612, allocations: 4.775 MB / 346.3 MB, free: 15.83 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.747e-05/0.05619, allocations: 31.78 kB / 346.3 MB, free: 15.8 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003034/0.05649, allocations: 127.8 kB / 346.5 MB, free: 15.67 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002546/0.05903, allocations: 2.262 MB / 348.7 MB, free: 13.41 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004852/0.06389, allocations: 2.718 MB / 351.5 MB, free: 10.64 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.026/0.08988, allocations: 26.84 MB / 378.3 MB, free: 14.84 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004258/0.09414, allocations: 1.458 MB / 379.8 MB, free: 13.37 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007152/0.09486, allocations: 359.4 kB / 380.1 MB, free: 13.02 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.008101/0.103, allocations: 3.749 MB / 383.9 MB, free: 9.25 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.52e-05/0.103, allocations: 51.81 kB / 383.9 MB, free: 9.188 MB / 378.7 MB Notification: Performance of pre-optimization done (n=180): time 4.329e-06/0.103, allocations: 0 / 383.9 MB, free: 9.188 MB / 378.7 MB Notification: Performance of matching and sorting (n=187): time 0.0115/0.1145, allocations: 4.88 MB / 388.8 MB, free: 4.285 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.362e-05/0.1145, allocations: 76.59 kB / 388.9 MB, free: 4.199 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001806/0.1163, allocations: 2.467 MB / 391.3 MB, free: 1.711 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 6.878e-05/0.1164, allocations: 45.7 kB / 391.4 MB, free: 1.66 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00123/0.1176, allocations: 2.963 MB / 394.3 MB, free: 14.66 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003691/0.118, allocations: 0.7168 MB / 395 MB, free: 13.94 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007517/0.1188, allocations: 0.9974 MB / 396 MB, free: 12.93 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 7.016e-05/0.1188, allocations: 305.1 kB / 396.3 MB, free: 12.63 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009616/0.1198, allocations: 0.6661 MB / 397 MB, free: 11.96 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002221/0.122, allocations: 3.608 MB / 400.6 MB, free: 6.832 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003441/0.1255, allocations: 4.725 MB / 405.3 MB, free: 0.5898 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.888e-05/0.1255, allocations: 36 kB / 405.4 MB, free: 0.5547 MB / 394.7 MB Notification: Performance of matching and sorting (n=704) (initialization): time 0.003609/0.1291, allocations: 3.479 MB / 408.9 MB, free: 13.06 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.807e-05/0.1292, allocations: 52 kB / 408.9 MB, free: 13.01 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.189e-05/0.1292, allocations: 108 kB / 409 MB, free: 12.91 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002656/0.1295, allocations: 180.1 kB / 409.2 MB, free: 12.73 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002125/0.1316, allocations: 1.279 MB / 410.5 MB, free: 11.45 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009507/0.1326, allocations: 1.448 MB / 411.9 MB, free: 9.902 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001459/0.134, allocations: 200 kB / 412.1 MB, free: 9.707 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002532/0.1343, allocations: 283.9 kB / 412.4 MB, free: 9.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.001101/0.1354, allocations: 0.5371 MB / 412.9 MB, free: 8.879 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002272/0.1356, allocations: 179.8 kB / 413.1 MB, free: 8.703 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001083/0.1367, allocations: 0.9202 MB / 414 MB, free: 7.766 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.879e-05/0.1367, allocations: 23.98 kB / 414 MB, free: 7.742 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.609e-06/0.1367, allocations: 3.938 kB / 414 MB, free: 7.738 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.887e-06/0.1367, allocations: 3.984 kB / 414.1 MB, free: 7.734 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00454/0.1413, allocations: 4.057 MB / 418.1 MB, free: 3.52 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.234e-06/0.1413, allocations: 8 kB / 418.1 MB, free: 3.512 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005786/0.1419, allocations: 259.6 kB / 418.4 MB, free: 3.258 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002109/0.1421, allocations: 242.2 kB / 418.6 MB, free: 3.02 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000136/0.1422, allocations: 59.52 kB / 418.7 MB, free: 2.957 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.001e-05/0.1423, allocations: 36 kB / 418.7 MB, free: 2.922 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007639/0.143, allocations: 1.381 MB / 420.1 MB, free: 1.438 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.275e-06/0.1431, allocations: 11.94 kB / 420.1 MB, free: 1.426 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001433/0.1445, allocations: 1.475 MB / 421.6 MB, free: 15.81 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001709/0.1447, allocations: 43.98 kB / 421.6 MB, free: 15.77 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003898/0.1451, allocations: 31.98 kB / 421.6 MB, free: 15.73 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000126/0.1452, allocations: 112.6 kB / 421.8 MB, free: 15.62 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.721e-05/0.1452, allocations: 52 kB / 421.8 MB, free: 15.57 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0006905/0.1459, allocations: 0.8649 MB / 422.7 MB, free: 14.7 MB / 426.7 MB Notification: Performance of sort global known variables: time 4e-08/0.1459, allocations: 0 / 422.7 MB, free: 14.7 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.00206/0.148, allocations: 0.9101 MB / 423.6 MB, free: 13.79 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.0003121/0.1483, allocations: 179.9 kB / 423.8 MB, free: 13.61 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.002045/0.1504, allocations: 2.193 MB / 425.9 MB, free: 11.42 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 0.0001172/0.1505, allocations: 74.56 kB / 426 MB, free: 11.34 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004672/0.1509, allocations: 0.5371 MB / 426.6 MB, free: 10.79 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001214/0.1522, allocations: 0.7845 MB / 427.3 MB, free: 10.01 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009164/0.1613, allocations: 7.825 MB / 435.2 MB, free: 1.992 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001098/0.1624, allocations: 1.264 MB / 436.4 MB, free: 0.6992 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0009282/0.1633, allocations: 433.7 kB / 436.9 MB, free: 276 kB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.1327/0.2961, allocations: 457.6 kB / 437.3 MB, free: 122.5 MB / 426.7 MB Notification: Performance of SimCode: time 1.724e-06/0.2961, allocations: 0.625 kB / 437.3 MB, free: 122.5 MB / 426.7 MB Notification: Performance of Templates: time 0.0417/0.3378, allocations: 23.51 MB / 460.8 MB, free: 111.1 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,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.8505689343437552]