Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_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.00116/0.00116, allocations: 87.62 kB / 21.43 MB, free: 3.133 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.007905/0.007905, allocations: 158.5 kB / 24.69 MB, free: 9.41 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.8928/0.8928, allocations: 177.1 MB / 205 MB, free: 5.738 MB / 186.7 MB " [Timeout remaining time 179] 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(Modelica.Mechanics.MultiBody.Examples.Elementary.Pendulum,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|rev.phi|rev.w",fileNamePrefix="Modelica_4.1.0_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_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.Pendulum") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.753e-06/1.753e-06, allocations: 0 / 325.8 MB, free: 15.44 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.808e-05/2.984e-05, allocations: 6.281 kB / 325.8 MB, free: 15.43 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.Pendulum): time 0.005139/0.005169, allocations: 6.343 MB / 332.2 MB, free: 9.062 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.003937/0.009106, allocations: 3.01 MB / 335.2 MB, free: 6.043 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004352/0.009541, allocations: 39.81 kB / 335.2 MB, free: 6.004 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001059/0.0106, allocations: 0.8053 MB / 336 MB, free: 5.195 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001699/0.0123, allocations: 1.365 MB / 337.4 MB, free: 3.824 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006632/0.01296, allocations: 0.5299 MB / 337.9 MB, free: 3.293 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.00207/0.01503, allocations: 2.904 MB / 340.8 MB, free: 388 kB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001245/0.01628, allocations: 1.328 MB / 342.2 MB, free: 15.04 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001065/0.01734, allocations: 1.192 MB / 343.4 MB, free: 13.84 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001084/0.01842, allocations: 1.294 MB / 344.6 MB, free: 12.54 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001704/0.0186, allocations: 136 kB / 344.8 MB, free: 12.41 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008713/0.01947, allocations: 0.8149 MB / 345.6 MB, free: 11.59 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0005431/0.02001, allocations: 1.052 MB / 346.6 MB, free: 10.54 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004465/0.02046, allocations: 0.6266 MB / 347.3 MB, free: 9.91 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002539/0.023, allocations: 3.936 MB / 351.2 MB, free: 5.961 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.336e-06/0.023, allocations: 0 / 351.2 MB, free: 5.961 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.483e-06/0.023, allocations: 0 / 351.2 MB, free: 5.961 MB / 314.7 MB Notification: Performance of Transformations before backend: time 3.015e-05/0.02303, allocations: 0 / 351.2 MB, free: 5.961 MB / 314.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.003107/0.02614, allocations: 2.904 MB / 354.1 MB, free: 3.012 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.72e-05/0.02617, allocations: 12.03 kB / 354.1 MB, free: 3 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003009/0.02918, allocations: 1.676 MB / 355.8 MB, free: 1.32 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001371/0.03055, allocations: 1.239 MB / 357 MB, free: 52 kB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.526e-05/0.03063, allocations: 115.3 kB / 357.2 MB, free: 15.93 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002083/0.03084, allocations: 167.8 kB / 357.3 MB, free: 15.77 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00502/0.03586, allocations: 6.363 MB / 363.7 MB, free: 8.887 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.542e-05/0.0359, allocations: 27.75 kB / 363.7 MB, free: 8.859 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001587/0.03606, allocations: 79.89 kB / 363.8 MB, free: 8.781 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001266/0.03733, allocations: 1.433 MB / 365.2 MB, free: 7.344 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005931/0.04326, allocations: 5.665 MB / 370.9 MB, free: 1.668 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01735/0.06061, allocations: 24.85 MB / 395.7 MB, free: 7.992 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002775/0.06339, allocations: 1.792 MB / 397.5 MB, free: 6.164 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008131/0.0642, allocations: 0.9365 MB / 398.5 MB, free: 5.215 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.91e-05/0.06424, allocations: 11.94 kB / 398.5 MB, free: 5.203 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.978e-05/0.06427, allocations: 50.5 kB / 398.5 MB, free: 5.145 MB / 362.7 MB Notification: Performance of pre-optimization done (n=98): time 4.438e-06/0.06427, allocations: 4 kB / 398.5 MB, free: 5.141 MB / 362.7 MB Notification: Performance of matching and sorting (n=106): time 0.01244/0.07671, allocations: 8.757 MB / 407.3 MB, free: 12.31 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.547e-05/0.07676, allocations: 136.5 kB / 407.4 MB, free: 12.15 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00236/0.07912, allocations: 2.716 MB / 410.1 MB, free: 9.398 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 5.324e-05/0.07918, allocations: 41.7 kB / 410.2 MB, free: 9.352 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001207/0.08038, allocations: 2.151 MB / 412.3 MB, free: 7.176 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002949/0.08068, allocations: 456.6 kB / 412.8 MB, free: 6.727 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007147/0.08139, allocations: 0.8777 MB / 413.7 MB, free: 5.836 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001062/0.0815, allocations: 345.9 kB / 414 MB, free: 5.492 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00137/0.08287, allocations: 1.422 MB / 415.4 MB, free: 4.062 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00265/0.08552, allocations: 4.238 MB / 419.6 MB, free: 14.39 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004364/0.08988, allocations: 6.133 MB / 425.8 MB, free: 6.852 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.199e-05/0.08993, allocations: 36 kB / 425.8 MB, free: 6.816 MB / 394.7 MB Notification: Performance of matching and sorting (n=573) (initialization): time 0.006222/0.09615, allocations: 6.085 MB / 431.9 MB, free: 0.7227 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.921e-05/0.09619, allocations: 48 kB / 431.9 MB, free: 0.6758 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.023e-05/0.09625, allocations: 100 kB / 432 MB, free: 0.5781 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001173/0.09742, allocations: 0.797 MB / 432.8 MB, free: 15.78 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00151/0.09893, allocations: 0.9902 MB / 433.8 MB, free: 14.79 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003763/0.1027, allocations: 4.334 MB / 438.2 MB, free: 10.36 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001584/0.1043, allocations: 287.6 kB / 438.4 MB, free: 10.07 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002294/0.1045, allocations: 276 kB / 438.7 MB, free: 9.805 MB / 410.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.001403/0.1059, allocations: 1.364 MB / 440.1 MB, free: 8.426 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002408/0.1062, allocations: 214.5 kB / 440.3 MB, free: 8.215 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002059/0.1082, allocations: 1.817 MB / 442.1 MB, free: 6.387 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.432e-05/0.1082, allocations: 12 kB / 442.1 MB, free: 6.375 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.093e-06/0.1082, allocations: 8 kB / 442.1 MB, free: 6.367 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.564e-06/0.1082, allocations: 3.984 kB / 442.1 MB, free: 6.363 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004889/0.1131, allocations: 4.196 MB / 446.3 MB, free: 2.105 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.022e-06/0.1131, allocations: 3.984 kB / 446.3 MB, free: 2.102 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003049/0.1134, allocations: 139.9 kB / 446.5 MB, free: 1.965 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001017/0.1145, allocations: 0.6405 MB / 447.1 MB, free: 1.32 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.136e-05/0.1145, allocations: 16 kB / 447.1 MB, free: 1.305 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.1511/0.2656, allocations: 3.822 MB / 450.9 MB, free: 111.3 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.086e-06/0.2656, allocations: 5.781 kB / 451 MB, free: 111.3 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0033/0.2689, allocations: 3.667 MB / 454.6 MB, free: 110.1 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00032/0.2692, allocations: 211.9 kB / 454.8 MB, free: 110.1 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001162/0.2693, allocations: 11.91 kB / 454.8 MB, free: 110.1 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004953/0.2698, allocations: 97.12 kB / 454.9 MB, free: 110 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.647e-05/0.2699, allocations: 56.42 kB / 455 MB, free: 110 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.153e-05/0.2699, allocations: 30.58 kB / 455 MB, free: 110 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.001244/0.2712, allocations: 1.561 MB / 456.6 MB, free: 109.5 MB / 410.7 MB Notification: Performance of sort global known variables: time 3e-08/0.2712, allocations: 3.969 kB / 456.6 MB, free: 109.5 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.001921/0.2731, allocations: 0.713 MB / 457.3 MB, free: 109.4 MB / 410.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.0002779/0.2734, allocations: 156.1 kB / 457.4 MB, free: 109.3 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.002622/0.276, allocations: 3.293 MB / 460.7 MB, free: 108.2 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.605e-06/0.276, allocations: 2 kB / 460.7 MB, free: 108.2 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005874/0.2766, allocations: 0.8721 MB / 461.6 MB, free: 107.8 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007782/0.2774, allocations: 231 kB / 461.8 MB, free: 107.6 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00453/0.2819, allocations: 5.728 MB / 467.6 MB, free: 102.5 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001008/0.2829, allocations: 1.619 MB / 469.2 MB, free: 101.3 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002667/0.2832, allocations: 185.6 kB / 469.4 MB, free: 101.1 MB / 410.7 MB Notification: Performance of SimCode: time 9.82e-07/0.2832, allocations: 0 / 469.4 MB, free: 101.1 MB / 410.7 MB Notification: Performance of Templates: time 0.02548/0.3087, allocations: 47.82 MB / 0.5051 GB, free: 53.44 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.Pendulum.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.Pendulum.pipe ; mkfifo Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.Pendulum.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.Pendulum.pipe >> ../files/Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.Pendulum.sim & ./Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.Pendulum -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.Pendulum.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_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_4.1.0_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: 6.229999233037233]