Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.Pendulum.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.001942/0.001942, allocations: 96.3 kB / 21.73 MB, free: 2.703 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.002267/0.002267, allocations: 165.7 kB / 25.02 MB, free: 8.422 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.427/1.427, allocations: 158.6 MB / 186.8 MB, free: 2.84 MB / 170.7 MB " [Timeout remaining time 178] Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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(Modelica.Mechanics.MultiBody.Examples.Elementary.Pendulum,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|rev.phi|rev.w",fileNamePrefix="Modelica_3.2.3_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_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.Pendulum") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.224e-06/2.224e-06, allocations: 0 / 250.4 MB, free: 3.938 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.901e-05/4.124e-05, allocations: 2.312 kB / 250.4 MB, free: 3.934 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.Pendulum): time 0.01092/0.01097, allocations: 6.374 MB / 256.7 MB, free: 13.53 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.007648/0.01861, allocations: 2.979 MB / 259.7 MB, free: 10.54 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001231/0.01985, allocations: 43.81 kB / 259.8 MB, free: 10.5 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002125/0.02197, allocations: 0.8092 MB / 260.6 MB, free: 9.684 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.004079/0.02605, allocations: 1.404 MB / 262 MB, free: 8.273 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001318/0.02737, allocations: 0.526 MB / 262.5 MB, free: 7.746 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.004316/0.03168, allocations: 2.869 MB / 265.4 MB, free: 4.871 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002624/0.03431, allocations: 1.395 MB / 266.8 MB, free: 3.453 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002157/0.03647, allocations: 1.196 MB / 268 MB, free: 2.254 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002384/0.03885, allocations: 1.298 MB / 269.3 MB, free: 0.9531 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0003434/0.03919, allocations: 136 kB / 269.4 MB, free: 0.8203 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001825/0.04102, allocations: 0.8344 MB / 270.2 MB, free: 15.98 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001252/0.04227, allocations: 1.075 MB / 271.3 MB, free: 14.91 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0009864/0.04326, allocations: 0.6423 MB / 271.9 MB, free: 14.26 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.006092/0.04935, allocations: 3.994 MB / 275.9 MB, free: 10.25 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.803e-06/0.04936, allocations: 0 / 275.9 MB, free: 10.25 MB / 266.7 MB Notification: Performance of FrontEnd: time 2.705e-06/0.04936, allocations: 0 / 275.9 MB, free: 10.25 MB / 266.7 MB Notification: Performance of Transformations before backend: time 0.0001387/0.0495, allocations: 0 / 275.9 MB, free: 10.25 MB / 266.7 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.00737/0.05687, allocations: 2.915 MB / 278.9 MB, free: 7.293 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.266e-05/0.05692, allocations: 11.98 kB / 278.9 MB, free: 7.281 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007446/0.06437, allocations: 2.059 MB / 280.9 MB, free: 5.219 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003255/0.06762, allocations: 1.317 MB / 282.2 MB, free: 3.871 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001417/0.06776, allocations: 119.2 kB / 282.4 MB, free: 3.754 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003818/0.06814, allocations: 159.8 kB / 282.5 MB, free: 3.598 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01164/0.07979, allocations: 6.37 MB / 288.9 MB, free: 12.71 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.288e-05/0.07986, allocations: 27.75 kB / 288.9 MB, free: 12.68 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002672/0.08013, allocations: 79.89 kB / 289 MB, free: 12.6 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00285/0.08298, allocations: 1.433 MB / 290.4 MB, free: 11.17 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01268/0.09566, allocations: 5.685 MB / 296.1 MB, free: 5.484 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1457/0.2413, allocations: 24.93 MB / 321 MB, free: 36.73 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003771/0.2451, allocations: 1.782 MB / 322.8 MB, free: 36.21 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001109/0.2462, allocations: 0.944 MB / 323.8 MB, free: 35.85 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.891e-05/0.2463, allocations: 15.89 kB / 323.8 MB, free: 35.85 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.646e-05/0.2463, allocations: 47.41 kB / 323.8 MB, free: 35.8 MB / 282.7 MB Notification: Performance of pre-optimization done (n=98): time 3.186e-06/0.2463, allocations: 0 / 323.8 MB, free: 35.8 MB / 282.7 MB Notification: Performance of matching and sorting (n=106): time 0.01847/0.2648, allocations: 8.829 MB / 332.7 MB, free: 32 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.854e-05/0.2648, allocations: 140.5 kB / 332.8 MB, free: 31.83 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002701/0.2675, allocations: 2.763 MB / 335.6 MB, free: 29.16 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001055/0.2676, allocations: 37.7 kB / 335.6 MB, free: 29.12 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007833/0.2684, allocations: 2.163 MB / 337.8 MB, free: 27.09 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002874/0.2687, allocations: 443.9 kB / 338.2 MB, free: 26.66 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008184/0.2695, allocations: 0.881 MB / 339.1 MB, free: 25.77 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 6.321e-05/0.2696, allocations: 349.9 kB / 339.4 MB, free: 25.42 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001662/0.2712, allocations: 1.426 MB / 340.8 MB, free: 23.99 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00248/0.2737, allocations: 4.255 MB / 345.1 MB, free: 18.3 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004821/0.2785, allocations: 6.162 MB / 351.3 MB, free: 10.75 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.278e-05/0.2786, allocations: 28 kB / 351.3 MB, free: 10.72 MB / 282.7 MB Notification: Performance of matching and sorting (n=573) (initialization): time 0.01013/0.2887, allocations: 6.342 MB / 357.6 MB, free: 4.371 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.878e-05/0.2888, allocations: 48 kB / 357.7 MB, free: 4.324 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.077e-05/0.2889, allocations: 100.8 kB / 357.8 MB, free: 4.227 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002096/0.291, allocations: 0.8092 MB / 358.6 MB, free: 3.414 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002699/0.2937, allocations: 0.998 MB / 359.6 MB, free: 2.414 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005768/0.2994, allocations: 4.328 MB / 363.9 MB, free: 14 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003701/0.3031, allocations: 315.5 kB / 364.2 MB, free: 13.69 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005657/0.3037, allocations: 277.2 kB / 364.5 MB, free: 13.42 MB / 298.7 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.002478/0.3062, allocations: 1.371 MB / 365.9 MB, free: 12.04 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006324/0.3068, allocations: 246.4 kB / 366.1 MB, free: 11.8 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004308/0.3111, allocations: 1.821 MB / 367.9 MB, free: 9.965 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.664e-05/0.3111, allocations: 12 kB / 367.9 MB, free: 9.953 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.14e-05/0.3112, allocations: 8 kB / 367.9 MB, free: 9.945 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.547e-05/0.3112, allocations: 7.922 kB / 367.9 MB, free: 9.938 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00991/0.3211, allocations: 4.182 MB / 372.1 MB, free: 5.719 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.615e-05/0.3211, allocations: 10.92 kB / 372.1 MB, free: 5.711 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006578/0.3218, allocations: 131.8 kB / 372.3 MB, free: 5.582 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002258/0.324, allocations: 0.6561 MB / 372.9 MB, free: 4.918 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.448e-05/0.3241, allocations: 19.94 kB / 372.9 MB, free: 4.898 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006201/0.3303, allocations: 3.837 MB / 376.8 MB, free: 0.9648 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.334e-06/0.3303, allocations: 4.031 kB / 376.8 MB, free: 0.9609 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00731/0.3376, allocations: 3.693 MB / 380.5 MB, free: 13.23 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001165/0.3388, allocations: 366.3 kB / 380.8 MB, free: 12.88 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000261/0.339, allocations: 16 kB / 380.8 MB, free: 12.86 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001067/0.3401, allocations: 99.83 kB / 380.9 MB, free: 12.76 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002009/0.3403, allocations: 67.77 kB / 381 MB, free: 12.7 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.934e-05/0.3404, allocations: 35.73 kB / 381 MB, free: 12.66 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.00298/0.3434, allocations: 1.593 MB / 382.6 MB, free: 11.05 MB / 314.7 MB Notification: Performance of sort global known variables: time 1e-07/0.3434, allocations: 0 / 382.6 MB, free: 11.05 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.003978/0.3474, allocations: 0.7303 MB / 383.4 MB, free: 10.32 MB / 314.7 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.000454/0.3478, allocations: 170.9 kB / 383.5 MB, free: 10.15 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.006709/0.3545, allocations: 3.306 MB / 386.8 MB, free: 6.852 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 4.759e-06/0.3545, allocations: 0 / 386.8 MB, free: 6.852 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001458/0.356, allocations: 0.865 MB / 387.7 MB, free: 5.973 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001798/0.3578, allocations: 243.5 kB / 387.9 MB, free: 5.738 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01066/0.3684, allocations: 5.577 MB / 393.5 MB, free: 104 kB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002459/0.3709, allocations: 1.628 MB / 395.2 MB, free: 14.43 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.003302/0.3742, allocations: 1.371 MB / 396.5 MB, free: 13.05 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004899/0.3747, allocations: 160.5 kB / 396.7 MB, free: 12.9 MB / 330.7 MB Notification: Performance of SimCode: time 1.903e-06/0.3747, allocations: 3.938 kB / 396.7 MB, free: 12.89 MB / 330.7 MB Notification: Performance of Templates: time 0.04762/0.4223, allocations: 19.91 MB / 416.6 MB, free: 9.02 MB / 346.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.Pendulum.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.Pendulum.pipe ; mkfifo Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.Pendulum.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.Pendulum.pipe >> ../files/Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.Pendulum.sim & ./Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.Pendulum -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.Pendulum.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.Pendulum_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Mechanics/MultiBody/Examples/Elementary/Pendulum/Pendulum.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_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.842058302019723]