Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.Pendulum.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.001315/0.001315, allocations: 86.48 kB / 20.68 MB, free: 1.035 MB / 14.72 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.001404/0.001404, allocations: 158.9 kB / 23.95 MB, free: 4.168 MB / 14.72 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 1.517/1.517, allocations: 177 MB / 204.1 MB, free: 9.176 MB / 190.1 MB " [Timeout remaining time 178] 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(Modelica.Mechanics.MultiBody.Examples.Elementary.Pendulum,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|rev.phi|rev.w",fileNamePrefix="Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.Pendulum") translateModel(Modelica.Mechanics.MultiBody.Examples.Elementary.Pendulum,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|rev.phi|rev.w",fileNamePrefix="Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.Pendulum") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.024e-06/2.024e-06, allocations: 1.594 kB / 325 MB, free: 0.4922 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.152e-05/2.354e-05, allocations: 2.281 kB / 325 MB, free: 500 kB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.Pendulum): time 0.008525/0.008548, allocations: 6.323 MB / 331.3 MB, free: 12.36 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.006567/0.01511, allocations: 3.014 MB / 334.4 MB, free: 10.21 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009049/0.01602, allocations: 39.72 kB / 334.4 MB, free: 10.2 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001845/0.01786, allocations: 0.8065 MB / 335.2 MB, free: 9.648 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003202/0.02107, allocations: 1.366 MB / 336.6 MB, free: 8.723 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001179/0.02225, allocations: 0.5263 MB / 337.1 MB, free: 8.379 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.003764/0.02601, allocations: 2.917 MB / 340 MB, free: 6.055 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001799/0.02781, allocations: 1.328 MB / 341.3 MB, free: 4.711 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001775/0.02958, allocations: 1.185 MB / 342.5 MB, free: 3.523 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001898/0.03148, allocations: 1.294 MB / 343.8 MB, free: 2.227 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002787/0.03176, allocations: 144 kB / 344 MB, free: 2.086 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001646/0.0334, allocations: 0.8071 MB / 344.8 MB, free: 1.277 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001079/0.03448, allocations: 1.055 MB / 345.8 MB, free: 224 kB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0009047/0.03539, allocations: 0.6305 MB / 346.5 MB, free: 15.59 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004717/0.0401, allocations: 3.932 MB / 350.4 MB, free: 11.64 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.188e-06/0.04011, allocations: 0 / 350.4 MB, free: 11.64 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.373e-06/0.04011, allocations: 0 / 350.4 MB, free: 11.64 MB / 318.1 MB Notification: Performance of Transformations before backend: time 3.898e-05/0.04015, allocations: 0 / 350.4 MB, free: 11.64 MB / 318.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 934 * Number of variables: 934 Notification: Performance of Generate backend data structure: time 0.005586/0.04574, allocations: 2.903 MB / 353.3 MB, free: 8.695 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.207e-05/0.04578, allocations: 11.98 kB / 353.3 MB, free: 8.684 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006672/0.05245, allocations: 1.723 MB / 355 MB, free: 6.957 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002462/0.05491, allocations: 1.247 MB / 356.3 MB, free: 5.684 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001112/0.05502, allocations: 119.2 kB / 356.4 MB, free: 5.566 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000341/0.05536, allocations: 159.8 kB / 356.5 MB, free: 5.41 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01043/0.06579, allocations: 6.371 MB / 362.9 MB, free: 14.52 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.97e-05/0.06586, allocations: 27.75 kB / 362.9 MB, free: 14.49 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002545/0.06612, allocations: 83.89 kB / 363 MB, free: 14.41 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002804/0.06892, allocations: 1.433 MB / 364.5 MB, free: 12.97 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01108/0.08, allocations: 5.677 MB / 370.1 MB, free: 7.281 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03262/0.1126, allocations: 24.86 MB / 395 MB, free: 13.6 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004601/0.1172, allocations: 1.783 MB / 396.8 MB, free: 11.78 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001472/0.1187, allocations: 0.9442 MB / 397.7 MB, free: 10.82 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.536e-05/0.1188, allocations: 15.94 kB / 397.7 MB, free: 10.81 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.163e-05/0.1188, allocations: 46.48 kB / 397.8 MB, free: 10.75 MB / 366.1 MB Notification: Performance of pre-optimization done (n=98): time 3.697e-06/0.1188, allocations: 0 / 397.8 MB, free: 10.75 MB / 366.1 MB Notification: Performance of matching and sorting (n=106): time 0.02367/0.1425, allocations: 8.763 MB / 406.5 MB, free: 1.918 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.568e-05/0.1426, allocations: 140.5 kB / 406.7 MB, free: 1.75 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004074/0.1466, allocations: 2.716 MB / 409.4 MB, free: 15 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001144/0.1468, allocations: 37.7 kB / 409.4 MB, free: 14.96 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001604/0.1484, allocations: 2.158 MB / 411.6 MB, free: 12.77 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004713/0.1488, allocations: 452.6 kB / 412 MB, free: 12.33 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001151/0.15, allocations: 0.8816 MB / 412.9 MB, free: 11.43 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001679/0.1502, allocations: 345.9 kB / 413.3 MB, free: 11.09 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002317/0.1525, allocations: 1.426 MB / 414.7 MB, free: 9.656 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004591/0.1571, allocations: 4.25 MB / 418.9 MB, free: 3.977 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007428/0.1645, allocations: 6.145 MB / 425.1 MB, free: 12.42 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.981e-05/0.1645, allocations: 28 kB / 425.1 MB, free: 12.39 MB / 398.1 MB Notification: Performance of matching and sorting (n=573) (initialization): time 0.01111/0.1756, allocations: 6.102 MB / 431.2 MB, free: 6.281 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.759e-05/0.1757, allocations: 48 kB / 431.3 MB, free: 6.234 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001059/0.1758, allocations: 104.9 kB / 431.4 MB, free: 6.133 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002425/0.1782, allocations: 0.7889 MB / 432.1 MB, free: 5.34 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002932/0.1812, allocations: 0.9981 MB / 433.1 MB, free: 4.34 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006195/0.1874, allocations: 4.327 MB / 437.5 MB, free: 15.91 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003011/0.1904, allocations: 303.5 kB / 437.8 MB, free: 15.62 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003816/0.1908, allocations: 276 kB / 438 MB, free: 15.35 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 459 * Number of states: 0 () * Number of discrete variables: 18 (body.sphereColor[3],body.sphereColor[2],body.sphereColor[1],rev.cylinderColor[3],rev.cylinderColor[2],rev.cylinderColor[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1],world.groundColor[3],world.groundColor[2],world.groundColor[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (537): * Single equations (assignments): 533 * Array equations: 3 * 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 {(2,11,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001978/0.1927, allocations: 1.372 MB / 439.4 MB, free: 13.97 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003906/0.1931, allocations: 214.5 kB / 439.6 MB, free: 13.76 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004013/0.1971, allocations: 1.825 MB / 441.4 MB, free: 11.92 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.052e-05/0.1972, allocations: 12 kB / 441.4 MB, free: 11.91 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.306e-06/0.1972, allocations: 7.938 kB / 441.5 MB, free: 11.9 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.055e-05/0.1972, allocations: 3.984 kB / 441.5 MB, free: 11.89 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008262/0.2054, allocations: 4.201 MB / 445.7 MB, free: 7.629 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.711e-06/0.2055, allocations: 0 / 445.7 MB, free: 7.629 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006442/0.2061, allocations: 139.8 kB / 445.8 MB, free: 7.492 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002236/0.2083, allocations: 0.6444 MB / 446.4 MB, free: 6.844 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.05e-05/0.2084, allocations: 16 kB / 446.5 MB, free: 6.828 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005523/0.2139, allocations: 3.819 MB / 450.3 MB, free: 2.902 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.811e-06/0.2139, allocations: 7.969 kB / 450.3 MB, free: 2.895 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006547/0.2205, allocations: 3.658 MB / 453.9 MB, free: 15.2 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005383/0.221, allocations: 226.5 kB / 454.2 MB, free: 14.98 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000228/0.2212, allocations: 19.98 kB / 454.2 MB, free: 14.96 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001073/0.2223, allocations: 95.84 kB / 454.3 MB, free: 14.87 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002067/0.2225, allocations: 63.83 kB / 454.3 MB, free: 14.8 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.307e-05/0.2226, allocations: 28.28 kB / 454.4 MB, free: 14.78 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.002661/0.2253, allocations: 1.566 MB / 455.9 MB, free: 13.2 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.2253, allocations: 0 / 455.9 MB, free: 13.2 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.003291/0.2286, allocations: 0.7185 MB / 456.7 MB, free: 12.48 MB / 430.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 2 (rev.phi,rev.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 (75): * Single equations (assignments): 71 * Array equations: 3 * 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,9,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0004047/0.229, allocations: 155 kB / 456.8 MB, free: 12.32 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.005719/0.2347, allocations: 3.304 MB / 460.1 MB, free: 9.023 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 3.457e-06/0.2347, allocations: 0 / 460.1 MB, free: 9.023 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001335/0.236, allocations: 0.8639 MB / 461 MB, free: 8.148 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001423/0.2374, allocations: 232.2 kB / 461.2 MB, free: 7.918 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008913/0.2464, allocations: 5.453 MB / 466.6 MB, free: 2.414 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002242/0.2486, allocations: 1.616 MB / 468.3 MB, free: 0.7656 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.1509/0.3995, allocations: 1.361 MB / 469.6 MB, free: 125.2 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005977/0.4001, allocations: 154.3 kB / 469.8 MB, free: 125.2 MB / 430.1 MB Notification: Performance of SimCode: time 8.82e-07/0.4001, allocations: 1.156 kB / 469.8 MB, free: 125.2 MB / 430.1 MB Notification: Performance of Templates: time 0.03831/0.4384, allocations: 19.45 MB / 489.2 MB, free: 119.4 MB / 430.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.Pendulum.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.Pendulum.pipe ; mkfifo Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.Pendulum.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.Pendulum.pipe >> ../files/Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.Pendulum.sim & ./Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.Pendulum -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.Pendulum.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.Pendulum_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Mechanics/MultiBody/Examples/Elementary/Pendulum/Pendulum.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.Pendulum.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 5.794724497944117]