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.001511/0.001511, allocations: 79.69 kB / 21.7 MB, free: 2.848 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.001327/0.001327, allocations: 167.7 kB / 24.99 MB, free: 8.219 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.9518/0.9518, allocations: 177 MB / 205.2 MB, free: 5.543 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.674e-06/1.674e-06, allocations: 0 / 273 MB, free: 1.711 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.427e-05/2.594e-05, allocations: 2.312 kB / 273 MB, free: 1.707 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.Pendulum): time 0.009299/0.009325, allocations: 6.929 MB / 279.9 MB, free: 10.75 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.006099/0.01542, allocations: 3.103 MB / 283 MB, free: 7.633 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001173/0.0166, allocations: 39.81 kB / 283.1 MB, free: 7.594 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002028/0.01862, allocations: 0.8287 MB / 283.9 MB, free: 6.762 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003447/0.02207, allocations: 1.369 MB / 285.3 MB, free: 5.387 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009951/0.02307, allocations: 0.5377 MB / 285.8 MB, free: 4.848 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.002399/0.02547, allocations: 2.905 MB / 288.7 MB, free: 1.934 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001236/0.0267, allocations: 1.391 MB / 290.1 MB, free: 0.5234 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.1067/0.1334, allocations: 1.183 MB / 291.3 MB, free: 15.47 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002029/0.1355, allocations: 1.296 MB / 292.6 MB, free: 15.47 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0004768/0.1359, allocations: 138.6 kB / 292.7 MB, free: 15.47 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001377/0.1373, allocations: 0.8124 MB / 293.5 MB, free: 15.47 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000912/0.1382, allocations: 1.053 MB / 294.6 MB, free: 15.47 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001119/0.1393, allocations: 0.6342 MB / 295.2 MB, free: 15.46 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003407/0.1427, allocations: 2.737 MB / 298 MB, free: 15.05 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.901e-06/0.1427, allocations: 1.906 kB / 298 MB, free: 15.05 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.903e-06/0.1428, allocations: 2.766 kB / 298 MB, free: 15.05 MB / 266.7 MB Notification: Performance of Transformations before backend: time 0.0001213/0.1429, allocations: 0 / 298 MB, free: 15.05 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.005016/0.1479, allocations: 3.174 MB / 301.1 MB, free: 13.7 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.642e-05/0.1479, allocations: 13.58 kB / 301.2 MB, free: 13.69 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003736/0.1517, allocations: 1.992 MB / 303.1 MB, free: 13.5 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001373/0.153, allocations: 1.144 MB / 304.3 MB, free: 13.16 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.605e-05/0.1531, allocations: 116.5 kB / 304.4 MB, free: 13.16 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002082/0.1533, allocations: 158 kB / 304.6 MB, free: 13.16 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003549/0.1568, allocations: 3.898 MB / 308.5 MB, free: 10.95 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.381e-05/0.1569, allocations: 32.55 kB / 308.5 MB, free: 10.95 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001767/0.1571, allocations: 78.41 kB / 308.6 MB, free: 10.93 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0013/0.1584, allocations: 1.434 MB / 310 MB, free: 10.38 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003692/0.1621, allocations: 2.114 MB / 312.1 MB, free: 9.32 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.016/0.1781, allocations: 30.45 MB / 342.6 MB, free: 10.18 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00199/0.1801, allocations: 0.9044 MB / 343.5 MB, free: 9.234 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000437/0.1805, allocations: 330.6 kB / 343.8 MB, free: 8.895 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.053e-05/0.1805, allocations: 24.56 kB / 343.8 MB, free: 8.871 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.973e-05/0.1806, allocations: 48.02 kB / 343.9 MB, free: 8.816 MB / 298.7 MB Notification: Performance of pre-optimization done (n=98): time 3.927e-06/0.1806, allocations: 0 / 343.9 MB, free: 8.816 MB / 298.7 MB Notification: Performance of matching and sorting (n=106): time 0.01077/0.1913, allocations: 6.172 MB / 350 MB, free: 2.605 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.332e-05/0.1914, allocations: 140.5 kB / 350.2 MB, free: 2.438 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002356/0.1938, allocations: 2.504 MB / 352.7 MB, free: 15.89 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 5.717e-05/0.1938, allocations: 37.7 kB / 352.7 MB, free: 15.85 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001083/0.1949, allocations: 2.29 MB / 355 MB, free: 13.57 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003157/0.1952, allocations: 474.1 kB / 355.5 MB, free: 13.11 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000832/0.196, allocations: 0.9636 MB / 356.4 MB, free: 12.14 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001457/0.1962, allocations: 0.5315 MB / 357 MB, free: 11.6 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007304/0.1969, allocations: 456.5 kB / 357.4 MB, free: 11.14 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002578/0.1995, allocations: 4.647 MB / 362 MB, free: 4.574 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003857/0.2034, allocations: 5.646 MB / 367.7 MB, free: 13.02 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.131e-05/0.2034, allocations: 28 kB / 367.7 MB, free: 12.99 MB / 330.7 MB Notification: Performance of matching and sorting (n=573) (initialization): time 0.005363/0.2088, allocations: 4.223 MB / 371.9 MB, free: 8.75 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.578e-05/0.2088, allocations: 48.22 kB / 372 MB, free: 8.703 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.418e-05/0.2089, allocations: 104 kB / 372.1 MB, free: 8.602 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001204/0.2101, allocations: 0.5553 MB / 372.6 MB, free: 8.043 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002008/0.2121, allocations: 0.9981 MB / 373.6 MB, free: 7.043 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003428/0.2155, allocations: 2.983 MB / 376.6 MB, free: 3.949 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002454/0.218, allocations: 287.6 kB / 376.9 MB, free: 3.668 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003297/0.2183, allocations: 278 kB / 377.2 MB, free: 3.402 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.001025/0.2193, allocations: 0.5255 MB / 377.7 MB, free: 2.867 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003693/0.2197, allocations: 238.5 kB / 377.9 MB, free: 2.633 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002304/0.222, allocations: 1.082 MB / 379 MB, free: 1.539 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.082e-05/0.222, allocations: 12 kB / 379 MB, free: 1.527 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.364e-06/0.222, allocations: 4 kB / 379 MB, free: 1.523 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.017e-05/0.2221, allocations: 3.984 kB / 379 MB, free: 1.52 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006125/0.2282, allocations: 3.41 MB / 382.5 MB, free: 14.05 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.143e-06/0.2282, allocations: 4 kB / 382.5 MB, free: 14.05 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004658/0.2286, allocations: 131.8 kB / 382.6 MB, free: 13.92 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001348/0.23, allocations: 430.9 kB / 383 MB, free: 13.5 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.05e-05/0.2301, allocations: 15.98 kB / 383 MB, free: 13.48 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002731/0.2328, allocations: 2.46 MB / 385.5 MB, free: 10.9 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.144e-06/0.2328, allocations: 4 kB / 385.5 MB, free: 10.89 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003277/0.2361, allocations: 2.011 MB / 387.5 MB, free: 8.844 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003427/0.2364, allocations: 210.5 kB / 387.7 MB, free: 8.637 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001983/0.2366, allocations: 20.53 kB / 387.7 MB, free: 8.617 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000768/0.2374, allocations: 88.64 kB / 387.8 MB, free: 8.531 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001682/0.2376, allocations: 63.83 kB / 387.9 MB, free: 8.469 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.932e-05/0.2376, allocations: 32.69 kB / 387.9 MB, free: 8.438 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.001625/0.2392, allocations: 1.039 MB / 388.9 MB, free: 7.383 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.2392, allocations: 4.031 kB / 388.9 MB, free: 7.379 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.003173/0.2424, allocations: 0.7133 MB / 389.7 MB, free: 6.668 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.0003803/0.2428, allocations: 153.2 kB / 389.8 MB, free: 6.512 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.003484/0.2463, allocations: 2.199 MB / 392 MB, free: 4.309 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.805e-06/0.2463, allocations: 0 / 392 MB, free: 4.309 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006933/0.247, allocations: 0.5264 MB / 392.5 MB, free: 3.762 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001225/0.2482, allocations: 234.7 kB / 392.8 MB, free: 3.539 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006847/0.2551, allocations: 4.4 MB / 397.2 MB, free: 15.07 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008058/0.2559, allocations: 0.7333 MB / 397.9 MB, free: 14.31 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.002288/0.2581, allocations: 1.194 MB / 399.1 MB, free: 13.11 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003579/0.2585, allocations: 156.5 kB / 399.2 MB, free: 12.96 MB / 362.7 MB Notification: Performance of SimCode: time 1.142e-06/0.2585, allocations: 0 / 399.2 MB, free: 12.96 MB / 362.7 MB Notification: Performance of Templates: time 0.03528/0.2938, allocations: 19.66 MB / 418.9 MB, free: 9.648 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.596383361844346]