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.0009748/0.0009748, allocations: 80.8 kB / 21.49 MB, free: 2.988 MB / 18.57 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.001108/0.001108, allocations: 168.3 kB / 24.91 MB, free: 8.762 MB / 18.57 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 0.9155/0.9155, allocations: 177.1 MB / 205.3 MB, free: 5.465 MB / 186.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.275/0.275, allocations: 32.81 MB / 294.6 MB, free: 1.254 MB / 266.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 1.383e-06/1.383e-06, allocations: 0 / 323.2 MB, free: 9.711 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.349e-05/1.487e-05, allocations: 2.969 kB / 323.2 MB, free: 9.707 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.Cylindrical): time 0.008775/0.00879, allocations: 12.69 MB / 335.9 MB, free: 12.96 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.006153/0.01494, allocations: 4.239 MB / 340.2 MB, free: 8.703 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001068/0.01601, allocations: 79.69 kB / 340.2 MB, free: 8.625 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001995/0.01801, allocations: 1.934 MB / 342.2 MB, free: 6.684 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002331/0.02034, allocations: 1.941 MB / 344.1 MB, free: 4.734 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007453/0.02108, allocations: 0.5963 MB / 344.7 MB, free: 4.137 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.003054/0.02414, allocations: 4.267 MB / 349 MB, free: 15.86 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001951/0.02609, allocations: 2.692 MB / 351.7 MB, free: 13.1 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001929/0.02802, allocations: 2.171 MB / 353.8 MB, free: 10.93 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00178/0.0298, allocations: 1.999 MB / 355.8 MB, free: 8.922 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0003866/0.03018, allocations: 292 kB / 356.1 MB, free: 8.637 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001142/0.03133, allocations: 0.9438 MB / 357.1 MB, free: 7.691 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001039/0.03237, allocations: 1.858 MB / 358.9 MB, free: 5.828 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0009678/0.03333, allocations: 1.133 MB / 360 MB, free: 4.691 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0035/0.03683, allocations: 4.413 MB / 364.5 MB, free: 268 kB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.449e-06/0.03684, allocations: 0 / 364.5 MB, free: 268 kB / 330.7 MB Notification: Performance of FrontEnd: time 1.493e-06/0.03684, allocations: 0 / 364.5 MB, free: 268 kB / 330.7 MB Notification: Performance of Transformations before backend: time 6.181e-05/0.0369, allocations: 0 / 364.5 MB, free: 268 kB / 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.00387/0.04077, allocations: 4.221 MB / 368.7 MB, free: 11.98 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.274e-05/0.0408, allocations: 12.03 kB / 368.7 MB, free: 11.97 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003329/0.04413, allocations: 1.444 MB / 370.1 MB, free: 10.53 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001622/0.04576, allocations: 1.569 MB / 371.7 MB, free: 8.922 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001011/0.04586, allocations: 221.8 kB / 371.9 MB, free: 8.703 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003384/0.04619, allocations: 280.2 kB / 372.2 MB, free: 8.43 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004322/0.05052, allocations: 4.786 MB / 377 MB, free: 3.18 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.619e-05/0.05057, allocations: 27.81 kB / 377 MB, free: 3.152 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002417/0.05081, allocations: 131.8 kB / 377.1 MB, free: 3.023 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001825/0.05264, allocations: 2.234 MB / 379.4 MB, free: 0.7852 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003925/0.05657, allocations: 2.714 MB / 382.1 MB, free: 14.03 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0213/0.07787, allocations: 26.85 MB / 408.9 MB, free: 2.215 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002774/0.08064, allocations: 1.474 MB / 410.4 MB, free: 0.7344 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004519/0.08109, allocations: 363.4 kB / 410.8 MB, free: 388 kB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005073/0.08617, allocations: 3.811 MB / 414.6 MB, free: 12.55 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.798e-05/0.0862, allocations: 51.81 kB / 414.6 MB, free: 12.48 MB / 394.7 MB Notification: Performance of pre-optimization done (n=180): time 3.476e-06/0.08621, allocations: 0 / 414.6 MB, free: 12.48 MB / 394.7 MB Notification: Performance of matching and sorting (n=187): time 0.008677/0.09488, allocations: 4.969 MB / 419.6 MB, free: 7.492 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.609e-05/0.09492, allocations: 72.66 kB / 419.7 MB, free: 7.41 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001691/0.09661, allocations: 2.459 MB / 422.1 MB, free: 4.93 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 6.984e-05/0.09668, allocations: 57.69 kB / 422.2 MB, free: 4.867 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001143/0.09782, allocations: 2.959 MB / 425.1 MB, free: 1.879 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003704/0.09819, allocations: 0.7207 MB / 425.9 MB, free: 1.152 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007856/0.09898, allocations: 0.9896 MB / 426.9 MB, free: 156 kB / 394.7 MB Notification: Performance of setup shared object (initialization): time 9.061e-05/0.09907, allocations: 301.1 kB / 427.2 MB, free: 15.86 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009649/0.1, allocations: 0.67 MB / 427.8 MB, free: 15.18 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002302/0.1023, allocations: 3.608 MB / 431.4 MB, free: 10.05 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003335/0.1057, allocations: 4.721 MB / 436.2 MB, free: 3.809 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.912e-05/0.1057, allocations: 32 kB / 436.2 MB, free: 3.777 MB / 410.7 MB Notification: Performance of matching and sorting (n=704) (initialization): time 0.004197/0.1099, allocations: 3.491 MB / 439.7 MB, free: 280 kB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.763e-05/0.1099, allocations: 55.98 kB / 439.7 MB, free: 224 kB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.29e-05/0.11, allocations: 108 kB / 439.8 MB, free: 116 kB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002752/0.1103, allocations: 179.7 kB / 440 MB, free: 15.93 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001787/0.1121, allocations: 1.142 MB / 441.2 MB, free: 14.79 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009116/0.113, allocations: 1.456 MB / 442.6 MB, free: 13.23 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001425/0.1144, allocations: 200 kB / 442.8 MB, free: 13.04 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002303/0.1147, allocations: 280 kB / 443.1 MB, free: 12.77 MB / 426.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.001057/0.1157, allocations: 0.541 MB / 443.6 MB, free: 12.21 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002159/0.1159, allocations: 187.7 kB / 443.8 MB, free: 12.03 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00105/0.117, allocations: 0.9125 MB / 444.7 MB, free: 11.09 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.92e-05/0.117, allocations: 20 kB / 444.7 MB, free: 11.07 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.098e-06/0.117, allocations: 3.984 kB / 444.7 MB, free: 11.07 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.217e-06/0.117, allocations: 7.922 kB / 444.7 MB, free: 11.06 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004437/0.1215, allocations: 4.06 MB / 448.8 MB, free: 6.84 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.482e-06/0.1215, allocations: 8 kB / 448.8 MB, free: 6.832 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004925/0.122, allocations: 231.8 kB / 449 MB, free: 6.605 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001186/0.1221, allocations: 55.62 kB / 449.1 MB, free: 6.547 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.851e-05/0.1221, allocations: 32 kB / 449.1 MB, free: 6.516 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007623/0.1229, allocations: 1.397 MB / 450.5 MB, free: 5.02 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.362e-06/0.1229, allocations: 11.94 kB / 450.5 MB, free: 5.008 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001334/0.1242, allocations: 1.467 MB / 452 MB, free: 3.395 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002035/0.1244, allocations: 242.2 kB / 452.2 MB, free: 3.156 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000171/0.1246, allocations: 39.98 kB / 452.3 MB, free: 3.117 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003842/0.125, allocations: 32 kB / 452.3 MB, free: 3.086 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001204/0.1251, allocations: 112.6 kB / 452.4 MB, free: 2.973 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.662e-05/0.1252, allocations: 55.98 kB / 452.5 MB, free: 2.918 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0006408/0.1258, allocations: 0.8649 MB / 453.3 MB, free: 2.043 MB / 426.7 MB Notification: Performance of sort global known variables: time 6e-08/0.1258, allocations: 0 / 453.3 MB, free: 2.043 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.001936/0.1278, allocations: 0.9062 MB / 454.2 MB, free: 1.137 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.0002733/0.128, allocations: 171.9 kB / 454.4 MB, free: 0.9609 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.14/0.268, allocations: 2.183 MB / 456.6 MB, free: 128.6 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 0.0002631/0.2683, allocations: 61.97 kB / 456.7 MB, free: 128.5 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000685/0.269, allocations: 0.5487 MB / 457.2 MB, free: 128.4 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002116/0.2711, allocations: 0.5918 MB / 457.8 MB, free: 128.4 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007157/0.2783, allocations: 7.536 MB / 465.3 MB, free: 125.2 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008279/0.2791, allocations: 1.253 MB / 466.6 MB, free: 125.1 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0009098/0.28, allocations: 426 kB / 467 MB, free: 125 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006153/0.2806, allocations: 465.1 kB / 467.5 MB, free: 125 MB / 426.7 MB Notification: Performance of SimCode: time 3.447e-06/0.2806, allocations: 0 / 467.5 MB, free: 125 MB / 426.7 MB Notification: Performance of Templates: time 0.03558/0.3162, allocations: 23.09 MB / 490.5 MB, free: 104.9 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 -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: 3.8100440721027553]