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.001001/0.001001, allocations: 75.77 kB / 22.45 MB, free: 2.094 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.0009886/0.0009886, allocations: 169.4 kB / 25.75 MB, free: 8.555 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.9844/0.9844, allocations: 158.6 MB / 187.5 MB, free: 2.93 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.473e-06/1.473e-06, allocations: 0 / 251.1 MB, free: 7.801 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.841e-05/2.989e-05, allocations: 6.312 kB / 251.1 MB, free: 7.793 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.Pendulum): time 0.006759/0.006789, allocations: 6.972 MB / 258.1 MB, free: 0.7852 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.004915/0.0117, allocations: 3.088 MB / 261.2 MB, free: 13.69 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008742/0.01258, allocations: 35.88 kB / 261.2 MB, free: 13.65 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0015/0.01408, allocations: 0.8403 MB / 262.1 MB, free: 12.81 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002373/0.01645, allocations: 1.4 MB / 263.5 MB, free: 11.4 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008639/0.01731, allocations: 0.5376 MB / 264 MB, free: 10.86 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.003607/0.02092, allocations: 2.858 MB / 266.8 MB, free: 8 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001587/0.02251, allocations: 1.399 MB / 268.2 MB, free: 6.578 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00154/0.02405, allocations: 1.204 MB / 269.5 MB, free: 5.371 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001651/0.0257, allocations: 1.305 MB / 270.8 MB, free: 4.062 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002571/0.02596, allocations: 140 kB / 270.9 MB, free: 3.926 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00136/0.02732, allocations: 0.8188 MB / 271.7 MB, free: 3.105 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001149/0.02847, allocations: 1.075 MB / 272.8 MB, free: 2.027 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0007524/0.02922, allocations: 0.65 MB / 273.4 MB, free: 1.375 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003533/0.03275, allocations: 2.786 MB / 276.2 MB, free: 14.58 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.767e-06/0.03275, allocations: 4 kB / 276.2 MB, free: 14.57 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.603e-06/0.03276, allocations: 0 / 276.2 MB, free: 14.57 MB / 266.7 MB Notification: Performance of Transformations before backend: time 5.452e-05/0.03281, allocations: 0 / 276.2 MB, free: 14.57 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.005113/0.03792, allocations: 3.202 MB / 279.4 MB, free: 11.32 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.586e-05/0.03797, allocations: 11.98 kB / 279.4 MB, free: 11.31 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005117/0.04309, allocations: 1.98 MB / 281.4 MB, free: 9.324 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001998/0.04508, allocations: 1.179 MB / 282.6 MB, free: 8.113 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.177e-05/0.04518, allocations: 119.2 kB / 282.7 MB, free: 7.996 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002741/0.04545, allocations: 159.8 kB / 282.9 MB, free: 7.84 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005868/0.05132, allocations: 3.9 MB / 286.8 MB, free: 3.23 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.378e-05/0.05138, allocations: 27.75 kB / 286.8 MB, free: 3.203 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002189/0.0516, allocations: 79.89 kB / 286.9 MB, free: 3.125 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002048/0.05365, allocations: 1.437 MB / 288.3 MB, free: 1.691 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005828/0.05948, allocations: 2.114 MB / 290.4 MB, free: 15.57 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02698/0.08645, allocations: 30.44 MB / 320.9 MB, free: 112 kB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002318/0.08877, allocations: 0.9108 MB / 321.8 MB, free: 15.15 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005262/0.0893, allocations: 334.5 kB / 322.1 MB, free: 14.8 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003773/0.08967, allocations: 16.62 kB / 322.1 MB, free: 14.79 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.147e-05/0.08971, allocations: 49.39 kB / 322.2 MB, free: 14.73 MB / 314.7 MB Notification: Performance of pre-optimization done (n=98): time 4.699e-06/0.08971, allocations: 3.938 kB / 322.2 MB, free: 14.73 MB / 314.7 MB Notification: Performance of matching and sorting (n=106): time 0.01244/0.1021, allocations: 6.208 MB / 328.4 MB, free: 8.43 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.768e-05/0.1022, allocations: 140.5 kB / 328.5 MB, free: 8.262 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003072/0.1053, allocations: 2.501 MB / 331 MB, free: 5.723 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002042/0.1055, allocations: 37.7 kB / 331.1 MB, free: 5.68 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001308/0.1068, allocations: 2.298 MB / 333.4 MB, free: 3.355 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005217/0.1073, allocations: 464.7 kB / 333.8 MB, free: 2.898 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000866/0.1082, allocations: 0.9647 MB / 334.8 MB, free: 1.918 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001783/0.1084, allocations: 0.5277 MB / 335.3 MB, free: 1.383 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007724/0.1091, allocations: 452.5 kB / 335.7 MB, free: 0.9336 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003316/0.1125, allocations: 4.651 MB / 340.4 MB, free: 10.32 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005071/0.1175, allocations: 5.635 MB / 346 MB, free: 2.75 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001046/0.1176, allocations: 28 kB / 346.1 MB, free: 2.723 MB / 330.7 MB Notification: Performance of matching and sorting (n=573) (initialization): time 0.1331/0.2507, allocations: 4.238 MB / 350.3 MB, free: 95.39 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.684e-05/0.2508, allocations: 50.22 kB / 350.3 MB, free: 95.39 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.889e-05/0.2509, allocations: 104.9 kB / 350.4 MB, free: 95.39 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001341/0.2523, allocations: 0.5628 MB / 351 MB, free: 95.38 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001791/0.254, allocations: 0.9904 MB / 352 MB, free: 95.28 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002318/0.2564, allocations: 2.977 MB / 355 MB, free: 93.28 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001748/0.2581, allocations: 291.2 kB / 355.3 MB, free: 93.28 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000247/0.2584, allocations: 277.9 kB / 355.5 MB, free: 93.28 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.0007112/0.2591, allocations: 0.5102 MB / 356 MB, free: 93.03 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002742/0.2593, allocations: 255.5 kB / 356.3 MB, free: 93.03 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001608/0.2609, allocations: 1.081 MB / 357.4 MB, free: 92.93 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.797e-05/0.261, allocations: 10.91 kB / 357.4 MB, free: 92.93 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.927e-06/0.261, allocations: 2.906 kB / 357.4 MB, free: 92.93 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.668e-06/0.261, allocations: 10.47 kB / 357.4 MB, free: 92.93 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004205/0.2652, allocations: 3.402 MB / 360.8 MB, free: 92.41 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.723e-06/0.2652, allocations: 1.906 kB / 360.8 MB, free: 92.41 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003403/0.2655, allocations: 138.3 kB / 360.9 MB, free: 92.3 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009278/0.2665, allocations: 424.7 kB / 361.4 MB, free: 92.11 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.238e-05/0.2665, allocations: 23 kB / 361.4 MB, free: 92.09 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001821/0.2683, allocations: 2.456 MB / 363.8 MB, free: 89.83 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.843e-06/0.2683, allocations: 0 / 363.8 MB, free: 89.83 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00224/0.2706, allocations: 2.012 MB / 365.8 MB, free: 88.08 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004837/0.2711, allocations: 349.7 kB / 366.2 MB, free: 87.92 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001608/0.2712, allocations: 17.75 kB / 366.2 MB, free: 87.91 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005343/0.2718, allocations: 94.09 kB / 366.3 MB, free: 87.83 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001203/0.2719, allocations: 61.36 kB / 366.4 MB, free: 87.78 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.616e-05/0.2719, allocations: 30.62 kB / 366.4 MB, free: 87.75 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.001051/0.273, allocations: 1.055 MB / 367.4 MB, free: 86.83 MB / 330.7 MB Notification: Performance of sort global known variables: time 1.91e-07/0.273, allocations: 0 / 367.4 MB, free: 86.83 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.002153/0.2751, allocations: 0.7326 MB / 368.2 MB, free: 86.1 MB / 330.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.0003154/0.2754, allocations: 168.7 kB / 368.3 MB, free: 85.94 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.002662/0.2781, allocations: 2.191 MB / 370.5 MB, free: 83.75 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 3.065e-06/0.2781, allocations: 0 / 370.5 MB, free: 83.75 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000468/0.2786, allocations: 0.5224 MB / 371 MB, free: 83.21 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00097/0.2795, allocations: 238.3 kB / 371.3 MB, free: 82.99 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00487/0.2844, allocations: 4.412 MB / 375.7 MB, free: 78.53 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004938/0.2849, allocations: 0.7376 MB / 376.4 MB, free: 77.76 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.001557/0.2865, allocations: 1.191 MB / 377.6 MB, free: 76.57 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002973/0.2868, allocations: 156.5 kB / 377.8 MB, free: 76.41 MB / 330.7 MB Notification: Performance of SimCode: time 1.914e-06/0.2868, allocations: 0 / 377.8 MB, free: 76.41 MB / 330.7 MB Notification: Performance of Templates: time 0.03117/0.3179, allocations: 19.98 MB / 397.8 MB, free: 56.52 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.670971210114658]