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.001102/0.001102, allocations: 95.5 kB / 21.2 MB, free: 3.371 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.001103/0.001103, allocations: 160.5 kB / 24.55 MB, free: 12 kB / 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 1.015/1.015, allocations: 177 MB / 204.8 MB, free: 5.578 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 1.994e-06/1.994e-06, allocations: 0 / 272.9 MB, free: 1.445 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.948e-05/3.147e-05, allocations: 2.312 kB / 272.9 MB, free: 1.441 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.Pendulum): time 0.009321/0.009353, allocations: 6.968 MB / 279.9 MB, free: 10.44 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.005297/0.01465, allocations: 3.107 MB / 283 MB, free: 7.324 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009984/0.01565, allocations: 39.81 kB / 283 MB, free: 7.285 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001785/0.01743, allocations: 0.8326 MB / 283.9 MB, free: 6.449 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00252/0.01995, allocations: 1.369 MB / 285.2 MB, free: 5.074 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008636/0.02082, allocations: 0.5338 MB / 285.8 MB, free: 4.539 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.002815/0.02363, allocations: 2.913 MB / 288.7 MB, free: 1.621 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001807/0.02544, allocations: 1.391 MB / 290.1 MB, free: 216 kB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.142/0.1674, allocations: 1.183 MB / 291.3 MB, free: 15.88 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002235/0.1697, allocations: 1.295 MB / 292.6 MB, free: 15.88 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0005564/0.1702, allocations: 138.7 kB / 292.7 MB, free: 15.88 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001568/0.1718, allocations: 0.809 MB / 293.5 MB, free: 15.88 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001018/0.1728, allocations: 1.055 MB / 294.5 MB, free: 15.87 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001112/0.1739, allocations: 0.6342 MB / 295.2 MB, free: 15.74 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003642/0.1776, allocations: 2.74 MB / 297.9 MB, free: 15.33 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.43e-06/0.1776, allocations: 0 / 297.9 MB, free: 15.33 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.773e-06/0.1776, allocations: 1.156 kB / 297.9 MB, free: 15.33 MB / 266.7 MB Notification: Performance of Transformations before backend: time 0.0001379/0.1777, allocations: 0 / 297.9 MB, free: 15.33 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.005981/0.1837, allocations: 3.178 MB / 301.1 MB, free: 13.97 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.974e-05/0.1837, allocations: 13.58 kB / 301.1 MB, free: 13.97 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003908/0.1876, allocations: 1.987 MB / 303.1 MB, free: 13.78 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001727/0.1894, allocations: 1.149 MB / 304.3 MB, free: 13.45 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.108e-05/0.1894, allocations: 117.5 kB / 304.4 MB, free: 13.44 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002244/0.1897, allocations: 153 kB / 304.5 MB, free: 13.44 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004139/0.1938, allocations: 3.895 MB / 308.4 MB, free: 10.71 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.593e-05/0.1939, allocations: 29.31 kB / 308.4 MB, free: 10.71 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001711/0.194, allocations: 79.08 kB / 308.5 MB, free: 10.69 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001375/0.1954, allocations: 1.433 MB / 310 MB, free: 10.14 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003831/0.1992, allocations: 2.115 MB / 312.1 MB, free: 8.941 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02071/0.22, allocations: 30.44 MB / 342.5 MB, free: 9.801 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002126/0.2221, allocations: 0.9154 MB / 343.4 MB, free: 8.852 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007123/0.2228, allocations: 334.5 kB / 343.7 MB, free: 8.508 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.032e-05/0.2228, allocations: 16.56 kB / 343.8 MB, free: 8.492 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.439e-05/0.2229, allocations: 44.77 kB / 343.8 MB, free: 8.441 MB / 298.7 MB Notification: Performance of pre-optimization done (n=98): time 5.199e-06/0.2229, allocations: 0 / 343.8 MB, free: 8.441 MB / 298.7 MB Notification: Performance of matching and sorting (n=106): time 0.0113/0.2342, allocations: 6.169 MB / 350 MB, free: 2.227 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.499e-05/0.2342, allocations: 147.8 kB / 350.1 MB, free: 2.055 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002962/0.2372, allocations: 2.508 MB / 352.6 MB, free: 15.51 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 5.567e-05/0.2373, allocations: 37.7 kB / 352.7 MB, free: 15.46 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001113/0.2384, allocations: 2.291 MB / 355 MB, free: 13.18 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003617/0.2387, allocations: 473.6 kB / 355.4 MB, free: 12.73 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000834/0.2396, allocations: 0.9559 MB / 356.4 MB, free: 11.76 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001668/0.2397, allocations: 0.5316 MB / 356.9 MB, free: 11.22 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008078/0.2405, allocations: 456.4 kB / 357.4 MB, free: 10.77 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003152/0.2437, allocations: 4.646 MB / 362 MB, free: 4.188 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004666/0.2484, allocations: 5.643 MB / 367.6 MB, free: 12.63 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.601e-05/0.2484, allocations: 28 kB / 367.7 MB, free: 12.6 MB / 330.7 MB Notification: Performance of matching and sorting (n=573) (initialization): time 0.006551/0.255, allocations: 4.232 MB / 371.9 MB, free: 8.355 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.555e-05/0.255, allocations: 48 kB / 371.9 MB, free: 8.309 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.394e-05/0.2551, allocations: 104.9 kB / 372.1 MB, free: 8.207 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001249/0.2564, allocations: 0.5575 MB / 372.6 MB, free: 7.645 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001877/0.2582, allocations: 0.9942 MB / 373.6 MB, free: 6.648 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003232/0.2615, allocations: 2.982 MB / 376.6 MB, free: 3.555 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002044/0.2635, allocations: 287.2 kB / 376.9 MB, free: 3.277 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002773/0.2638, allocations: 276 kB / 377.1 MB, free: 3.008 MB / 330.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.001035/0.2648, allocations: 0.5303 MB / 377.7 MB, free: 2.469 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003267/0.2652, allocations: 238.5 kB / 377.9 MB, free: 2.234 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001858/0.267, allocations: 1.082 MB / 379 MB, free: 1.141 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.977e-05/0.267, allocations: 12 kB / 379 MB, free: 1.129 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.748e-06/0.2671, allocations: 4 kB / 379 MB, free: 1.125 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.926e-06/0.2671, allocations: 7.984 kB / 379 MB, free: 1.117 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005535/0.2726, allocations: 3.407 MB / 382.4 MB, free: 13.66 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.28e-06/0.2726, allocations: 0 / 382.4 MB, free: 13.66 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003552/0.273, allocations: 131.8 kB / 382.5 MB, free: 13.53 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001055/0.274, allocations: 439.4 kB / 383 MB, free: 13.09 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.125e-05/0.2741, allocations: 16 kB / 383 MB, free: 13.08 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002646/0.2767, allocations: 2.462 MB / 385.4 MB, free: 10.5 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.764e-06/0.2767, allocations: 0 / 385.4 MB, free: 10.5 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002803/0.2795, allocations: 2.014 MB / 387.5 MB, free: 8.445 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004084/0.2799, allocations: 214.4 kB / 387.7 MB, free: 8.234 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001364/0.2801, allocations: 12 kB / 387.7 MB, free: 8.223 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005466/0.2806, allocations: 99.16 kB / 387.8 MB, free: 8.129 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001284/0.2807, allocations: 57.69 kB / 387.8 MB, free: 8.074 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.225e-05/0.2808, allocations: 28 kB / 387.9 MB, free: 8.047 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.001438/0.2822, allocations: 1.042 MB / 388.9 MB, free: 6.988 MB / 346.7 MB Notification: Performance of sort global known variables: time 2.31e-07/0.2822, allocations: 0 / 388.9 MB, free: 6.988 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.002883/0.2851, allocations: 0.7031 MB / 389.6 MB, free: 6.285 MB / 346.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.0003807/0.2855, allocations: 171.5 kB / 389.8 MB, free: 6.113 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.003549/0.289, allocations: 2.193 MB / 392 MB, free: 3.918 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 3.637e-06/0.289, allocations: 0 / 392 MB, free: 3.918 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006026/0.2897, allocations: 0.5289 MB / 392.5 MB, free: 3.367 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009848/0.2906, allocations: 226.9 kB / 392.7 MB, free: 3.148 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006509/0.2971, allocations: 4.395 MB / 397.1 MB, free: 14.68 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009565/0.2981, allocations: 0.7333 MB / 397.8 MB, free: 13.92 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.001739/0.2998, allocations: 1.198 MB / 399 MB, free: 12.71 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000342/0.3002, allocations: 152.5 kB / 399.2 MB, free: 12.57 MB / 362.7 MB Notification: Performance of SimCode: time 3.877e-06/0.3002, allocations: 0 / 399.2 MB, free: 12.57 MB / 362.7 MB Notification: Performance of Templates: time 0.03082/0.331, allocations: 19.67 MB / 418.9 MB, free: 9.254 MB / 378.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=240 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.Pendulum.pipe 2>&1) [Timeout 240] 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","",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.885838532820344]