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.001009/0.001009, allocations: 88.86 kB / 21.5 MB, free: 2.988 MB / 18.57 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.001167/0.001167, allocations: 160.9 kB / 24.91 MB, free: 8.719 MB / 18.57 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 0.9831/0.9831, allocations: 177 MB / 205.2 MB, free: 5.062 MB / 186.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.2711/0.2711, allocations: 34.86 MB / 296.6 MB, free: 492 kB / 266.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 1.282e-06/1.282e-06, allocations: 0 / 325.9 MB, free: 7.184 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.182e-05/2.31e-05, allocations: 5.125 kB / 325.9 MB, free: 7.18 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.Cylindrical): time 0.01015/0.01017, allocations: 12.7 MB / 338.6 MB, free: 10.42 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.00792/0.01809, allocations: 4.221 MB / 342.8 MB, free: 6.184 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001898/0.01999, allocations: 79.69 kB / 342.9 MB, free: 6.105 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002503/0.0225, allocations: 1.942 MB / 344.9 MB, free: 4.156 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003516/0.02601, allocations: 1.937 MB / 346.8 MB, free: 2.211 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009996/0.02701, allocations: 0.608 MB / 347.4 MB, free: 1.602 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.00427/0.03128, allocations: 4.27 MB / 351.7 MB, free: 13.33 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00304/0.03432, allocations: 2.688 MB / 354.4 MB, free: 10.58 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003775/0.0381, allocations: 2.163 MB / 356.5 MB, free: 8.41 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002763/0.04086, allocations: 2.003 MB / 358.5 MB, free: 6.402 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0005074/0.04137, allocations: 291.9 kB / 358.8 MB, free: 6.117 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001517/0.04288, allocations: 0.9438 MB / 359.8 MB, free: 5.172 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001319/0.0442, allocations: 1.858 MB / 361.6 MB, free: 3.309 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001464/0.04567, allocations: 1.141 MB / 362.8 MB, free: 2.164 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.005104/0.05077, allocations: 4.405 MB / 367.2 MB, free: 13.74 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.581e-06/0.05078, allocations: 4 kB / 367.2 MB, free: 13.74 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.352e-06/0.05078, allocations: 0 / 367.2 MB, free: 13.74 MB / 346.7 MB Notification: Performance of Transformations before backend: time 0.0001827/0.05096, allocations: 0 / 367.2 MB, free: 13.74 MB / 346.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.005783/0.05674, allocations: 4.221 MB / 371.4 MB, free: 9.465 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.692e-05/0.05678, allocations: 12.03 kB / 371.4 MB, free: 9.453 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003704/0.06048, allocations: 1.444 MB / 372.8 MB, free: 8.008 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002231/0.06272, allocations: 1.577 MB / 374.4 MB, free: 6.395 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001099/0.06283, allocations: 217.8 kB / 374.6 MB, free: 6.18 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004274/0.06325, allocations: 280.2 kB / 374.9 MB, free: 5.906 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007092/0.07034, allocations: 4.778 MB / 379.7 MB, free: 0.6602 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.154e-05/0.07043, allocations: 31.73 kB / 379.7 MB, free: 0.6289 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003053/0.07073, allocations: 135.8 kB / 379.8 MB, free: 0.4961 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002014/0.07274, allocations: 2.234 MB / 382.1 MB, free: 14.26 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006901/0.07965, allocations: 2.711 MB / 384.8 MB, free: 11.51 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03225/0.1119, allocations: 26.84 MB / 411.6 MB, free: 15.7 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004781/0.1167, allocations: 1.486 MB / 413.1 MB, free: 14.2 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001033/0.1177, allocations: 362.7 kB / 413.5 MB, free: 13.85 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.008836/0.1265, allocations: 3.796 MB / 417.3 MB, free: 10.04 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.062e-05/0.1266, allocations: 63.69 kB / 417.3 MB, free: 9.961 MB / 394.7 MB Notification: Performance of pre-optimization done (n=180): time 5.581e-06/0.1266, allocations: 0 / 417.3 MB, free: 9.961 MB / 394.7 MB Notification: Performance of matching and sorting (n=187): time 0.01123/0.1378, allocations: 4.974 MB / 422.3 MB, free: 4.965 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.613e-05/0.1379, allocations: 68.66 kB / 422.4 MB, free: 4.887 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001993/0.1399, allocations: 2.467 MB / 424.8 MB, free: 2.398 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 6.709e-05/0.1399, allocations: 45.7 kB / 424.9 MB, free: 2.348 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001421/0.1413, allocations: 2.959 MB / 427.8 MB, free: 15.36 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003851/0.1417, allocations: 0.7246 MB / 428.6 MB, free: 14.62 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000787/0.1425, allocations: 0.9896 MB / 429.6 MB, free: 13.62 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 7.617e-05/0.1426, allocations: 301.1 kB / 429.9 MB, free: 13.33 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009526/0.1435, allocations: 0.674 MB / 430.5 MB, free: 12.65 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002386/0.1459, allocations: 3.612 MB / 434.1 MB, free: 7.516 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003153/0.1491, allocations: 4.714 MB / 438.9 MB, free: 1.281 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.918e-05/0.1491, allocations: 32 kB / 438.9 MB, free: 1.25 MB / 410.7 MB Notification: Performance of matching and sorting (n=704) (initialization): time 0.003995/0.1531, allocations: 3.478 MB / 442.4 MB, free: 13.75 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.016e-05/0.1532, allocations: 54.56 kB / 442.4 MB, free: 13.7 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.682e-05/0.1532, allocations: 108 kB / 442.5 MB, free: 13.6 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002619/0.1535, allocations: 183.6 kB / 442.7 MB, free: 13.41 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001807/0.1553, allocations: 1.146 MB / 443.8 MB, free: 12.27 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009341/0.1562, allocations: 1.451 MB / 445.3 MB, free: 10.71 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001742/0.158, allocations: 212 kB / 445.5 MB, free: 10.51 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002371/0.1582, allocations: 272 kB / 445.8 MB, free: 10.24 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.001176/0.1594, allocations: 0.5448 MB / 446.3 MB, free: 9.684 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004852/0.1599, allocations: 175.8 kB / 446.5 MB, free: 9.512 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001039/0.1609, allocations: 0.9086 MB / 447.4 MB, free: 8.586 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.271e-05/0.1609, allocations: 28 kB / 447.4 MB, free: 8.559 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.719e-06/0.1609, allocations: 3.938 kB / 447.4 MB, free: 8.555 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.317e-06/0.161, allocations: 7.969 kB / 447.4 MB, free: 8.547 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004689/0.1656, allocations: 4.064 MB / 451.5 MB, free: 4.32 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.887e-06/0.1657, allocations: 11.83 kB / 451.5 MB, free: 4.312 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005045/0.1662, allocations: 223.7 kB / 451.7 MB, free: 4.094 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001278/0.1663, allocations: 55.64 kB / 451.8 MB, free: 4.035 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.815e-05/0.1663, allocations: 36.47 kB / 451.8 MB, free: 4 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007596/0.1671, allocations: 1.389 MB / 453.2 MB, free: 2.512 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.354e-06/0.1671, allocations: 19.92 kB / 453.2 MB, free: 2.492 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001644/0.1688, allocations: 1.463 MB / 454.7 MB, free: 0.8828 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002698/0.169, allocations: 234.2 kB / 454.9 MB, free: 0.6523 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001692/0.1692, allocations: 43.97 kB / 455 MB, free: 0.6094 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003949/0.1696, allocations: 28 kB / 455 MB, free: 0.582 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001197/0.1697, allocations: 120.6 kB / 455.1 MB, free: 472 kB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.756e-05/0.1698, allocations: 47.98 kB / 455.2 MB, free: 424 kB / 426.7 MB Notification: Performance of sorting global known variables: time 0.1895/0.3593, allocations: 0.8599 MB / 456 MB, free: 120.6 MB / 426.7 MB Notification: Performance of sort global known variables: time 4.91e-07/0.3593, allocations: 0.625 kB / 456 MB, free: 120.6 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.005393/0.3647, allocations: 0.915 MB / 456.9 MB, free: 120.6 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.0005009/0.3652, allocations: 169.3 kB / 457.1 MB, free: 120.5 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.003339/0.3685, allocations: 2.186 MB / 459.3 MB, free: 120.3 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 0.0001557/0.3687, allocations: 62.31 kB / 459.3 MB, free: 120.3 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005872/0.3693, allocations: 0.5439 MB / 459.9 MB, free: 120.2 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002245/0.3715, allocations: 0.5994 MB / 460.5 MB, free: 120.2 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00979/0.3813, allocations: 7.541 MB / 468 MB, free: 117 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001141/0.3825, allocations: 1.249 MB / 469.3 MB, free: 116.8 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.001216/0.3837, allocations: 423.1 kB / 469.7 MB, free: 116.7 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006766/0.3843, allocations: 467.3 kB / 470.1 MB, free: 116.7 MB / 426.7 MB Notification: Performance of SimCode: time 2.625e-06/0.3843, allocations: 0 / 470.1 MB, free: 116.7 MB / 426.7 MB Notification: Performance of Templates: time 0.03952/0.4239, allocations: 23.1 MB / 493.2 MB, free: 97.2 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 -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.981080180965364]