Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_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.001252/0.001252, allocations: 84.3 kB / 22.21 MB, free: 2.293 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.001053/0.001053, allocations: 166.4 kB / 25.6 MB, free: 8.109 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.8973/0.8973, allocations: 158.6 MB / 187.5 MB, free: 2.797 MB / 170.7 MB " [Timeout remaining time 179] Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3.2.3_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_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.Pendulum") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.293e-06/1.293e-06, allocations: 0 / 251.5 MB, free: 7.246 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.364e-05/2.494e-05, allocations: 2.312 kB / 251.5 MB, free: 7.242 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.Pendulum): time 0.006154/0.006179, allocations: 6.8 MB / 258.3 MB, free: 416 kB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.004332/0.01051, allocations: 3.061 MB / 261.3 MB, free: 13.34 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007628/0.01127, allocations: 35.88 kB / 261.4 MB, free: 13.3 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001284/0.01256, allocations: 0.8364 MB / 262.2 MB, free: 12.46 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002774/0.01533, allocations: 1.4 MB / 263.6 MB, free: 11.05 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008166/0.01615, allocations: 0.5377 MB / 264.1 MB, free: 10.52 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.002618/0.01877, allocations: 2.885 MB / 267 MB, free: 7.625 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001434/0.0202, allocations: 1.387 MB / 268.4 MB, free: 6.215 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001645/0.02185, allocations: 1.243 MB / 269.7 MB, free: 4.969 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001745/0.02359, allocations: 1.282 MB / 270.9 MB, free: 3.684 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002227/0.02381, allocations: 144 kB / 271.1 MB, free: 3.543 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001155/0.02497, allocations: 0.8111 MB / 271.9 MB, free: 2.73 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0006768/0.02564, allocations: 1.079 MB / 273 MB, free: 1.648 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0005576/0.0262, allocations: 0.6423 MB / 273.6 MB, free: 1.004 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002241/0.02844, allocations: 2.782 MB / 276.4 MB, free: 14.21 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.447e-06/0.02845, allocations: 0 / 276.4 MB, free: 14.21 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.312e-06/0.02845, allocations: 3.938 kB / 276.4 MB, free: 14.21 MB / 266.7 MB Notification: Performance of Transformations before backend: time 3.386e-05/0.02848, allocations: 0 / 276.4 MB, free: 14.21 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.003206/0.03169, allocations: 3.057 MB / 279.5 MB, free: 11.1 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.068e-05/0.03173, allocations: 11.98 kB / 279.5 MB, free: 11.09 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002575/0.0343, allocations: 1.072 MB / 280.5 MB, free: 10.01 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001436/0.03574, allocations: 1.093 MB / 281.6 MB, free: 8.887 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.282e-05/0.03581, allocations: 115.2 kB / 281.7 MB, free: 8.773 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002121/0.03602, allocations: 159.8 kB / 281.9 MB, free: 8.617 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003871/0.0399, allocations: 3.551 MB / 285.5 MB, free: 4.355 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.562e-05/0.03994, allocations: 27.75 kB / 285.5 MB, free: 4.328 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001396/0.04008, allocations: 83.89 kB / 285.6 MB, free: 4.246 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001015/0.0411, allocations: 1.203 MB / 286.8 MB, free: 3.047 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00269/0.04379, allocations: 1.594 MB / 288.4 MB, free: 1.445 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01961/0.0634, allocations: 29.66 MB / 318 MB, free: 2.711 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001471/0.06487, allocations: 0.7035 MB / 318.7 MB, free: 1.957 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002488/0.06512, allocations: 222.7 kB / 318.9 MB, free: 1.723 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002851/0.06797, allocations: 2.048 MB / 321 MB, free: 15.65 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.261e-05/0.068, allocations: 49.38 kB / 321 MB, free: 15.59 MB / 314.7 MB Notification: Performance of pre-optimization done (n=74): time 2.956e-06/0.06801, allocations: 0 / 321 MB, free: 15.59 MB / 314.7 MB Notification: Performance of matching and sorting (n=75): time 0.004246/0.07225, allocations: 1.908 MB / 322.9 MB, free: 13.64 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.08e-05/0.0723, allocations: 144.5 kB / 323.1 MB, free: 13.46 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002137/0.07444, allocations: 2.566 MB / 325.7 MB, free: 10.86 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 3.719e-05/0.07448, allocations: 33.7 kB / 325.7 MB, free: 10.82 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001372/0.07585, allocations: 2.394 MB / 328.1 MB, free: 8.406 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002775/0.07613, allocations: 361.6 kB / 328.4 MB, free: 8.051 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007541/0.07688, allocations: 0.9678 MB / 329.4 MB, free: 7.066 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001599/0.07704, allocations: 0.5315 MB / 329.9 MB, free: 6.527 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005292/0.07757, allocations: 352.3 kB / 330.3 MB, free: 6.176 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00277/0.08034, allocations: 4.725 MB / 335 MB, free: 15.41 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004703/0.08504, allocations: 5.6 MB / 340.6 MB, free: 7.785 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001616/0.0852, allocations: 32 kB / 340.6 MB, free: 7.754 MB / 330.7 MB Notification: Performance of matching and sorting (n=562) (initialization): time 0.005716/0.09092, allocations: 3.477 MB / 344.1 MB, free: 4.273 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.401e-05/0.09098, allocations: 55.94 kB / 344.2 MB, free: 4.219 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.424e-05/0.09107, allocations: 104 kB / 344.3 MB, free: 4.117 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002991/0.09137, allocations: 179.6 kB / 344.4 MB, free: 3.938 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001912/0.09328, allocations: 0.9669 MB / 345.4 MB, free: 2.969 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001093/0.09437, allocations: 1.978 MB / 347.4 MB, free: 0.875 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001714/0.09609, allocations: 195.8 kB / 347.6 MB, free: 0.6836 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002187/0.09631, allocations: 244 kB / 347.8 MB, free: 456 kB / 330.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.119/0.2153, allocations: 0.5138 MB / 348.3 MB, free: 90.65 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005914/0.2159, allocations: 227.7 kB / 348.6 MB, free: 90.65 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008971/0.2168, allocations: 376.4 kB / 348.9 MB, free: 90.58 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.738e-05/0.2168, allocations: 10.58 kB / 348.9 MB, free: 90.58 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.793e-06/0.2168, allocations: 3.906 kB / 348.9 MB, free: 90.58 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.376e-06/0.2169, allocations: 3.562 kB / 348.9 MB, free: 90.58 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003541/0.2204, allocations: 2.263 MB / 351.2 MB, free: 90.19 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.963e-06/0.2204, allocations: 3.312 kB / 351.2 MB, free: 90.19 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000253/0.2207, allocations: 81.62 kB / 351.3 MB, free: 90.19 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001843/0.2208, allocations: 42.28 kB / 351.3 MB, free: 90.18 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.361e-05/0.2209, allocations: 12.94 kB / 351.3 MB, free: 90.18 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008269/0.2217, allocations: 1.779 MB / 353.1 MB, free: 88.48 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.598e-06/0.2217, allocations: 6.672 kB / 353.1 MB, free: 88.48 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001201/0.2229, allocations: 1.219 MB / 354.3 MB, free: 87.84 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004098/0.2233, allocations: 257 kB / 354.6 MB, free: 87.75 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001298/0.2234, allocations: 16.03 kB / 354.6 MB, free: 87.75 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004094/0.2239, allocations: 13.47 kB / 354.6 MB, free: 87.75 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.357e-05/0.2239, allocations: 46.97 kB / 354.7 MB, free: 87.75 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.724e-05/0.224, allocations: 20.34 kB / 354.7 MB, free: 87.75 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0009875/0.2249, allocations: 1.016 MB / 355.7 MB, free: 87.56 MB / 330.7 MB Notification: Performance of sort global known variables: time 8e-08/0.2249, allocations: 0 / 355.7 MB, free: 87.56 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.003003/0.2279, allocations: 0.6277 MB / 356.3 MB, free: 87.56 MB / 330.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.0003634/0.2283, allocations: 162.3 kB / 356.5 MB, free: 87.47 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.002885/0.2312, allocations: 1.87 MB / 358.4 MB, free: 87.24 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 6.181e-06/0.2312, allocations: 0 / 358.4 MB, free: 87.24 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003332/0.2315, allocations: 373.8 kB / 358.7 MB, free: 87.04 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001046/0.2326, allocations: 231.9 kB / 358.9 MB, free: 87.02 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005334/0.2379, allocations: 4.235 MB / 363.2 MB, free: 85.19 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005215/0.2384, allocations: 0.7227 MB / 363.9 MB, free: 85 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0007697/0.2392, allocations: 326.1 kB / 364.2 MB, free: 84.77 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004216/0.2396, allocations: 375.8 kB / 364.6 MB, free: 84.43 MB / 330.7 MB Notification: Performance of SimCode: time 2.565e-06/0.2396, allocations: 0 / 364.6 MB, free: 84.43 MB / 330.7 MB Notification: Performance of Templates: time 0.02615/0.2658, allocations: 16.03 MB / 380.6 MB, free: 69.86 MB / 330.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.Pendulum.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.Pendulum.pipe ; mkfifo Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.Pendulum.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.Pendulum.pipe >> ../files/Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.Pendulum.sim & ./Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.Pendulum -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.Pendulum.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.Pendulum_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/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.482165008317679]