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.0008466/0.0008466, allocations: 88.28 kB / 21.44 MB, free: 3.129 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.003815/0.003815, allocations: 160.6 kB / 24.7 MB, free: 9.441 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.889/0.889, allocations: 177 MB / 204.9 MB, free: 5.715 MB / 186.7 MB " [Timeout remaining time 179] 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.114e-06/2.114e-06, allocations: 0 / 325.8 MB, free: 15.35 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.317e-05/3.529e-05, allocations: 2.281 kB / 325.8 MB, free: 15.34 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.Pendulum): time 0.008455/0.00849, allocations: 6.322 MB / 332.1 MB, free: 8.988 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.005319/0.01381, allocations: 3.01 MB / 335.1 MB, free: 5.969 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004961/0.01431, allocations: 39.81 kB / 335.2 MB, free: 5.93 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001139/0.01544, allocations: 0.8014 MB / 336 MB, free: 5.125 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001841/0.01729, allocations: 1.376 MB / 337.3 MB, free: 3.746 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006649/0.01795, allocations: 0.5222 MB / 337.9 MB, free: 3.223 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.002099/0.02005, allocations: 2.92 MB / 340.8 MB, free: 300 kB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001325/0.02137, allocations: 1.332 MB / 342.1 MB, free: 14.95 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001132/0.02251, allocations: 1.177 MB / 343.3 MB, free: 13.77 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001213/0.02372, allocations: 1.298 MB / 344.6 MB, free: 12.46 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002257/0.02395, allocations: 140 kB / 344.7 MB, free: 12.33 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009021/0.02485, allocations: 0.8071 MB / 345.5 MB, free: 11.52 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0005714/0.02542, allocations: 1.055 MB / 346.6 MB, free: 10.46 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004671/0.02589, allocations: 0.6305 MB / 347.2 MB, free: 9.828 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002926/0.02881, allocations: 3.932 MB / 351.1 MB, free: 5.883 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.597e-06/0.02882, allocations: 4 kB / 351.1 MB, free: 5.879 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.574e-06/0.02882, allocations: 0 / 351.1 MB, free: 5.879 MB / 314.7 MB Notification: Performance of Transformations before backend: time 8.794e-05/0.02891, allocations: 0 / 351.1 MB, free: 5.879 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.003571/0.03248, allocations: 2.896 MB / 354 MB, free: 2.938 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.189e-05/0.03252, allocations: 11.98 kB / 354.1 MB, free: 2.926 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003033/0.03555, allocations: 1.68 MB / 355.7 MB, free: 1.242 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001373/0.03692, allocations: 1.247 MB / 357 MB, free: 15.97 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.586e-05/0.03699, allocations: 115.2 kB / 357.1 MB, free: 15.86 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002096/0.0372, allocations: 159.8 kB / 357.3 MB, free: 15.7 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00509/0.04229, allocations: 6.363 MB / 363.6 MB, free: 8.812 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.23e-05/0.04233, allocations: 31.75 kB / 363.6 MB, free: 8.781 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001495/0.04248, allocations: 75.89 kB / 363.7 MB, free: 8.707 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001299/0.04378, allocations: 1.441 MB / 365.2 MB, free: 7.262 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005512/0.04929, allocations: 5.654 MB / 370.8 MB, free: 1.598 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01564/0.06493, allocations: 24.86 MB / 395.7 MB, free: 7.918 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002291/0.06722, allocations: 1.796 MB / 397.5 MB, free: 6.086 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007791/0.068, allocations: 0.9362 MB / 398.4 MB, free: 5.137 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.807e-05/0.06804, allocations: 15.94 kB / 398.4 MB, free: 5.121 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.411e-05/0.06806, allocations: 46.44 kB / 398.5 MB, free: 5.066 MB / 362.7 MB Notification: Performance of pre-optimization done (n=98): time 3.076e-06/0.06806, allocations: 0 / 398.5 MB, free: 5.066 MB / 362.7 MB Notification: Performance of matching and sorting (n=106): time 0.0118/0.07987, allocations: 8.764 MB / 407.2 MB, free: 12.23 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.005e-05/0.07994, allocations: 144.5 kB / 407.4 MB, free: 12.05 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002247/0.08219, allocations: 2.716 MB / 410.1 MB, free: 9.305 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 5.261e-05/0.08224, allocations: 45.7 kB / 410.1 MB, free: 9.254 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008597/0.0831, allocations: 2.151 MB / 412.3 MB, free: 7.082 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002425/0.08334, allocations: 460.6 kB / 412.7 MB, free: 6.629 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006602/0.084, allocations: 0.8738 MB / 413.6 MB, free: 5.742 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 9.676e-05/0.0841, allocations: 349.9 kB / 413.9 MB, free: 5.395 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00129/0.08539, allocations: 1.418 MB / 415.4 MB, free: 3.969 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002437/0.08782, allocations: 4.238 MB / 419.6 MB, free: 14.3 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004049/0.09187, allocations: 6.134 MB / 425.7 MB, free: 6.754 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.914e-05/0.0919, allocations: 28 kB / 425.8 MB, free: 6.727 MB / 394.7 MB Notification: Performance of matching and sorting (n=573) (initialization): time 0.006221/0.09812, allocations: 6.08 MB / 431.8 MB, free: 0.6367 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.963e-05/0.09817, allocations: 52 kB / 431.9 MB, free: 0.5859 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.144e-05/0.09824, allocations: 100.1 kB / 432 MB, free: 500 kB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001229/0.09947, allocations: 0.7927 MB / 432.8 MB, free: 15.69 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001445/0.1009, allocations: 0.9942 MB / 433.8 MB, free: 14.7 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003627/0.1045, allocations: 4.326 MB / 438.1 MB, free: 10.27 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001575/0.1061, allocations: 283.5 kB / 438.4 MB, free: 9.996 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002311/0.1064, allocations: 280 kB / 438.7 MB, free: 9.723 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.001432/0.1078, allocations: 1.364 MB / 440 MB, free: 8.348 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002307/0.108, allocations: 218.5 kB / 440.2 MB, free: 8.133 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002087/0.1101, allocations: 1.813 MB / 442 MB, free: 6.305 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.514e-05/0.1101, allocations: 19.98 kB / 442.1 MB, free: 6.285 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.336e-06/0.1101, allocations: 3.984 kB / 442.1 MB, free: 6.281 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.456e-06/0.1101, allocations: 7.984 kB / 442.1 MB, free: 6.273 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0047/0.1148, allocations: 4.193 MB / 446.3 MB, free: 2.016 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.771e-06/0.1148, allocations: 4 kB / 446.3 MB, free: 2.012 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003013/0.1151, allocations: 131.8 kB / 446.4 MB, free: 1.883 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001045/0.1162, allocations: 0.6487 MB / 447.1 MB, free: 1.23 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.575e-05/0.1162, allocations: 16 kB / 447.1 MB, free: 1.215 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.1561/0.2723, allocations: 3.816 MB / 450.9 MB, free: 111.2 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.297e-06/0.2723, allocations: 2.797 kB / 450.9 MB, free: 111.2 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003322/0.2757, allocations: 3.661 MB / 454.5 MB, free: 110 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002658/0.2759, allocations: 220.6 kB / 454.8 MB, free: 110 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001119/0.276, allocations: 15.72 kB / 454.8 MB, free: 110 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004898/0.2765, allocations: 93.36 kB / 454.9 MB, free: 109.9 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.577e-05/0.2766, allocations: 57.88 kB / 454.9 MB, free: 109.9 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.207e-05/0.2767, allocations: 34.84 kB / 455 MB, free: 109.9 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.001307/0.278, allocations: 1.556 MB / 456.5 MB, free: 109.4 MB / 410.7 MB Notification: Performance of sort global known variables: time 9e-08/0.278, allocations: 0 / 456.5 MB, free: 109.4 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.002094/0.2801, allocations: 0.7123 MB / 457.2 MB, free: 109.3 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.0002797/0.2803, allocations: 156.2 kB / 457.4 MB, free: 109.2 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.002612/0.283, allocations: 3.3 MB / 460.7 MB, free: 108.1 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.893e-06/0.283, allocations: 7.875 kB / 460.7 MB, free: 108.1 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006163/0.2836, allocations: 0.8634 MB / 461.6 MB, free: 107.7 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007873/0.2844, allocations: 229.7 kB / 461.8 MB, free: 107.5 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004692/0.2891, allocations: 5.737 MB / 467.5 MB, free: 102.3 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001106/0.2902, allocations: 1.611 MB / 469.1 MB, free: 101.1 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003182/0.2905, allocations: 197.6 kB / 469.3 MB, free: 100.9 MB / 410.7 MB Notification: Performance of SimCode: time 1.844e-06/0.2905, allocations: 0 / 469.3 MB, free: 100.9 MB / 410.7 MB Notification: Performance of Templates: time 0.02929/0.3198, allocations: 47.81 MB / 0.505 GB, free: 53.27 MB / 410.7 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: 6.572031186893582]