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.0009101/0.0009101, allocations: 80.11 kB / 9.934 MB, free: 0.7539 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001419/0.002329, allocations: 449.7 kB / 10.37 MB, free: 324 kB / 10.45 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.001014/0.001014, allocations: 165.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001319/0.002332, allocations: 463.6 kB / 11.72 MB, free: 2.453 MB / 13.93 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.9312/0.9312, allocations: 177.4 MB / 189.9 MB, free: 4.852 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08069/1.012, allocations: 53.87 MB / 243.8 MB, free: 14.92 MB / 250.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 8.92e-07/8.92e-07, allocations: 0 / 245 MB, free: 13.66 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 7.344e-06/8.236e-06, allocations: 2.312 kB / 245 MB, free: 13.66 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.Pendulum): time 0.006347/0.006355, allocations: 6.868 MB / 251.9 MB, free: 6.758 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.004084/0.01044, allocations: 3.219 MB / 255.1 MB, free: 3.527 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003703/0.01081, allocations: 39.81 kB / 255.1 MB, free: 3.488 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0009702/0.01178, allocations: 0.817 MB / 256 MB, free: 2.668 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001529/0.01331, allocations: 1.346 MB / 257.3 MB, free: 1.316 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005381/0.01385, allocations: 0.491 MB / 257.8 MB, free: 0.8242 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.002046/0.01589, allocations: 2.84 MB / 260.6 MB, free: 13.98 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008589/0.01675, allocations: 1.175 MB / 261.8 MB, free: 12.78 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008939/0.01765, allocations: 1.258 MB / 263.1 MB, free: 11.52 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009503/0.0186, allocations: 1.212 MB / 264.3 MB, free: 10.31 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001479/0.01874, allocations: 136 kB / 264.4 MB, free: 10.18 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008142/0.01956, allocations: 0.8306 MB / 265.2 MB, free: 9.344 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0007752/0.02033, allocations: 0.9427 MB / 266.2 MB, free: 8.398 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000413/0.02075, allocations: 0.5177 MB / 266.7 MB, free: 7.879 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001862/0.02261, allocations: 2.533 MB / 269.2 MB, free: 5.336 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.44e-05/0.02262, allocations: 0 / 269.2 MB, free: 5.336 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.212e-06/0.02262, allocations: 0 / 269.2 MB, free: 5.336 MB / 266.7 MB Notification: Performance of Transformations before backend: time 3.926e-05/0.02266, allocations: 0 / 269.2 MB, free: 5.336 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.002812/0.02548, allocations: 3.184 MB / 272.4 MB, free: 2.094 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.879e-05/0.0255, allocations: 8.625 kB / 272.4 MB, free: 2.086 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002172/0.02768, allocations: 0.7811 MB / 273.2 MB, free: 1.305 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009451/0.02862, allocations: 0.9892 MB / 274.2 MB, free: 292 kB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.682e-05/0.02868, allocations: 115.2 kB / 274.3 MB, free: 176 kB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001795/0.02886, allocations: 159.8 kB / 274.5 MB, free: 16 kB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.1089/0.1377, allocations: 3.084 MB / 277.6 MB, free: 11.43 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.066e-05/0.1378, allocations: 35.16 kB / 277.6 MB, free: 11.43 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002087/0.138, allocations: 82.11 kB / 277.7 MB, free: 11.43 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00151/0.1395, allocations: 1.213 MB / 278.9 MB, free: 11.43 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003575/0.1431, allocations: 1.609 MB / 280.5 MB, free: 11.35 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01694/0.16, allocations: 21.08 MB / 301.6 MB, free: 11.58 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00174/0.1618, allocations: 0.7325 MB / 302.3 MB, free: 11.33 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002592/0.162, allocations: 169.7 kB / 302.5 MB, free: 11.29 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002786/0.1648, allocations: 1.76 MB / 304.2 MB, free: 10.26 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.181e-05/0.1648, allocations: 43.91 kB / 304.3 MB, free: 10.21 MB / 282.7 MB Notification: Performance of pre-optimization done (n=74): time 4.187e-06/0.1649, allocations: 3.984 kB / 304.3 MB, free: 10.21 MB / 282.7 MB Notification: Performance of matching and sorting (n=75): time 0.004399/0.1692, allocations: 1.678 MB / 306 MB, free: 9.648 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.976e-05/0.1693, allocations: 139.6 kB / 306.1 MB, free: 9.492 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002023/0.1713, allocations: 2.26 MB / 308.4 MB, free: 8.809 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 3.717e-05/0.1714, allocations: 33.61 kB / 308.4 MB, free: 8.773 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001188/0.1726, allocations: 2.143 MB / 310.5 MB, free: 7.18 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002074/0.1728, allocations: 345.2 kB / 310.9 MB, free: 6.957 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007341/0.1735, allocations: 0.8229 MB / 311.7 MB, free: 6.523 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001002/0.1736, allocations: 353.5 kB / 312 MB, free: 6.203 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008384/0.1744, allocations: 0.4982 MB / 312.5 MB, free: 5.848 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002307/0.1767, allocations: 3.311 MB / 315.8 MB, free: 1.223 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003427/0.1802, allocations: 4.224 MB / 320.1 MB, free: 11.93 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.404e-05/0.1802, allocations: 28 kB / 320.1 MB, free: 11.9 MB / 298.7 MB Notification: Performance of matching and sorting (n=562) (initialization): time 0.004089/0.1843, allocations: 2.974 MB / 323.1 MB, free: 8.914 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.495e-05/0.1844, allocations: 48 kB / 323.1 MB, free: 8.867 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.432e-05/0.1844, allocations: 104 kB / 323.2 MB, free: 8.766 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003027/0.1847, allocations: 183 kB / 323.4 MB, free: 8.586 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001802/0.1865, allocations: 1.073 MB / 324.5 MB, free: 7.512 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001064/0.1876, allocations: 1.454 MB / 325.9 MB, free: 5.973 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001518/0.1891, allocations: 199.7 kB / 326.1 MB, free: 5.777 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001969/0.1893, allocations: 245.7 kB / 326.4 MB, free: 5.539 MB / 298.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 479 * Number of states: 0 () * Number of discrete variables: 18 (world.gravitySphereColor[1],world.gravitySphereColor[2],world.gravitySphereColor[3],world.groundColor[1],world.groundColor[2],world.groundColor[3],world.axisColor_x[1],world.axisColor_x[2],world.axisColor_x[3],world.gravityArrowColor[1],world.gravityArrowColor[2],world.gravityArrowColor[3],rev.cylinderColor[1],rev.cylinderColor[2],rev.cylinderColor[3],body.sphereColor[1],body.sphereColor[2],body.sphereColor[3]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (536): * Single equations (assignments): 532 * 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,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0007171/0.19, allocations: 489.4 kB / 326.8 MB, free: 5.051 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000205/0.1902, allocations: 119.8 kB / 327 MB, free: 4.934 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000424/0.1907, allocations: 350.1 kB / 327.3 MB, free: 4.582 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.209e-05/0.1907, allocations: 8 kB / 327.3 MB, free: 4.574 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.789e-06/0.1907, allocations: 4 kB / 327.3 MB, free: 4.57 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.618e-06/0.1907, allocations: 3.984 kB / 327.3 MB, free: 4.566 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002351/0.1931, allocations: 1.911 MB / 329.2 MB, free: 2.922 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.348e-06/0.1931, allocations: 0 / 329.2 MB, free: 2.922 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002267/0.1933, allocations: 91.84 kB / 329.3 MB, free: 2.832 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002082/0.1935, allocations: 198.4 kB / 329.5 MB, free: 2.637 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001311/0.1936, allocations: 50.84 kB / 329.6 MB, free: 2.586 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.928e-05/0.1936, allocations: 11.94 kB / 329.6 MB, free: 2.574 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008712/0.1945, allocations: 1.38 MB / 330.9 MB, free: 1.102 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.084e-06/0.1945, allocations: 0 / 330.9 MB, free: 1.102 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007441/0.1953, allocations: 1.048 MB / 332 MB, free: 28 kB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001331/0.1954, allocations: 12 kB / 332 MB, free: 16 kB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003304/0.1957, allocations: 12 kB / 332 MB, free: 4 kB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.507e-05/0.1958, allocations: 43.86 kB / 332.1 MB, free: 15.96 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.907e-05/0.1958, allocations: 16 kB / 332.1 MB, free: 15.95 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0005884/0.1964, allocations: 0.7767 MB / 332.9 MB, free: 15.25 MB / 314.7 MB Notification: Performance of sort global known variables: time 5e-08/0.1964, allocations: 0 / 332.9 MB, free: 15.25 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.002081/0.1985, allocations: 0.6027 MB / 333.5 MB, free: 14.64 MB / 314.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * Number of states: 2 (rev.w,damper.phi_rel) * 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 (51): * Single equations (assignments): 47 * 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,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002708/0.1988, allocations: 144.3 kB / 333.6 MB, free: 14.5 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.001662/0.2004, allocations: 1.698 MB / 335.3 MB, free: 12.85 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 9.653e-05/0.2005, allocations: 65.58 kB / 335.4 MB, free: 12.78 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002557/0.2008, allocations: 281.8 kB / 335.6 MB, free: 12.5 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009577/0.2017, allocations: 491.1 kB / 336.1 MB, free: 12.02 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006207/0.2079, allocations: 4.246 MB / 340.4 MB, free: 7.715 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005419/0.2085, allocations: 0.7085 MB / 341.1 MB, free: 6.977 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0006804/0.2092, allocations: 329.8 kB / 341.4 MB, free: 6.652 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003586/0.2095, allocations: 337.3 kB / 341.7 MB, free: 6.324 MB / 314.7 MB Notification: Performance of SimCode: time 9.12e-07/0.2095, allocations: 0 / 341.7 MB, free: 6.324 MB / 314.7 MB Notification: Performance of Templates: time 0.02425/0.2338, allocations: 15.95 MB / 357.7 MB, free: 6.637 MB / 330.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 -ignoreHideResult -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.1464242236688733]