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.001377/0.001377, allocations: 79.73 kB / 21.97 MB, free: 2.594 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.001469/0.001469, allocations: 169.1 kB / 25.33 MB, free: 7.711 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.8911/0.8911, allocations: 158.6 MB / 187.2 MB, free: 2.941 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 2.645e-06/2.645e-06, allocations: 0 / 251 MB, free: 7.5 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.646e-05/3.91e-05, allocations: 6.25 kB / 251.1 MB, free: 7.492 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.Pendulum): time 0.008516/0.008555, allocations: 7.007 MB / 258.1 MB, free: 460 kB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.003874/0.01243, allocations: 3.092 MB / 261.2 MB, free: 13.35 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003125/0.01274, allocations: 35.81 kB / 261.2 MB, free: 13.31 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0016/0.01434, allocations: 0.8365 MB / 262 MB, free: 12.47 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001524/0.01586, allocations: 1.4 MB / 263.4 MB, free: 11.07 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005435/0.01641, allocations: 0.5455 MB / 264 MB, free: 10.52 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.001719/0.01813, allocations: 2.865 MB / 266.8 MB, free: 7.652 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009248/0.01905, allocations: 1.391 MB / 268.2 MB, free: 6.238 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00111/0.02016, allocations: 1.239 MB / 269.5 MB, free: 4.996 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000968/0.02113, allocations: 1.29 MB / 270.8 MB, free: 3.703 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001513/0.02128, allocations: 140 kB / 270.9 MB, free: 3.566 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007904/0.02207, allocations: 0.8111 MB / 271.7 MB, free: 2.754 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0005918/0.02266, allocations: 1.075 MB / 272.8 MB, free: 1.676 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000444/0.02311, allocations: 0.6423 MB / 273.4 MB, free: 1.031 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002171/0.02528, allocations: 2.778 MB / 276.2 MB, free: 14.24 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.637e-06/0.02528, allocations: 4 kB / 276.2 MB, free: 14.24 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.232e-06/0.02528, allocations: 0 / 276.2 MB, free: 14.24 MB / 266.7 MB Notification: Performance of Transformations before backend: time 2.065e-05/0.0253, allocations: 0 / 276.2 MB, free: 14.24 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.003088/0.02839, allocations: 3.21 MB / 279.4 MB, free: 10.98 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.92e-05/0.02843, allocations: 11.98 kB / 279.4 MB, free: 10.96 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003336/0.03177, allocations: 1.98 MB / 281.4 MB, free: 8.98 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00116/0.03293, allocations: 1.21 MB / 282.6 MB, free: 7.738 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.501e-05/0.03299, allocations: 119.2 kB / 282.7 MB, free: 7.621 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001886/0.03318, allocations: 159.7 kB / 282.9 MB, free: 7.465 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003732/0.03691, allocations: 3.884 MB / 286.8 MB, free: 2.871 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.322e-05/0.03696, allocations: 31.75 kB / 286.8 MB, free: 2.84 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001427/0.0371, allocations: 83.89 kB / 286.9 MB, free: 2.758 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001233/0.03833, allocations: 1.37 MB / 288.3 MB, free: 1.391 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003361/0.04169, allocations: 2.005 MB / 290.3 MB, free: 15.38 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01744/0.05913, allocations: 30.62 MB / 320.9 MB, free: 15.68 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001629/0.06076, allocations: 0.8049 MB / 321.7 MB, free: 14.82 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003131/0.06108, allocations: 250.7 kB / 321.9 MB, free: 14.56 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00221/0.06329, allocations: 2.161 MB / 324.1 MB, free: 12.37 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.073e-05/0.06332, allocations: 45.38 kB / 324.1 MB, free: 12.32 MB / 314.7 MB Notification: Performance of pre-optimization done (n=74): time 1.944e-06/0.06332, allocations: 0 / 324.1 MB, free: 12.32 MB / 314.7 MB Notification: Performance of matching and sorting (n=75): time 0.005431/0.06875, allocations: 3.679 MB / 327.8 MB, free: 8.578 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.851e-05/0.06881, allocations: 144.5 kB / 327.9 MB, free: 8.406 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002099/0.07091, allocations: 2.591 MB / 330.5 MB, free: 5.781 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 3.526e-05/0.07094, allocations: 41.69 kB / 330.6 MB, free: 5.734 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001138/0.07208, allocations: 2.363 MB / 332.9 MB, free: 3.348 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001971/0.07228, allocations: 361.6 kB / 333.3 MB, free: 2.992 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009886/0.07327, allocations: 0.9486 MB / 334.2 MB, free: 2.027 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001643/0.07343, allocations: 0.5316 MB / 334.8 MB, free: 1.488 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005646/0.074, allocations: 396.3 kB / 335.2 MB, free: 1.094 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002831/0.07683, allocations: 4.745 MB / 339.9 MB, free: 10.3 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00419/0.08102, allocations: 5.659 MB / 345.6 MB, free: 2.625 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.211e-05/0.08105, allocations: 32 kB / 345.6 MB, free: 2.594 MB / 330.7 MB Notification: Performance of matching and sorting (n=562) (initialization): time 0.1349/0.2159, allocations: 3.707 MB / 349.3 MB, free: 88.82 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.151e-05/0.216, allocations: 50.58 kB / 349.4 MB, free: 88.82 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001312/0.2161, allocations: 106 kB / 349.5 MB, free: 88.82 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004781/0.2166, allocations: 182 kB / 349.6 MB, free: 88.8 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001877/0.2185, allocations: 0.99 MB / 350.6 MB, free: 88.8 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001028/0.2195, allocations: 2.012 MB / 352.6 MB, free: 87.09 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001896/0.2214, allocations: 283.4 kB / 352.9 MB, free: 87.09 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002612/0.2217, allocations: 278.6 kB / 353.2 MB, free: 87.09 MB / 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 (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 (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.0007243/0.2224, allocations: 0.5199 MB / 353.7 MB, free: 86.93 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000287/0.2227, allocations: 229.6 kB / 353.9 MB, free: 86.93 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004722/0.2232, allocations: 391.3 kB / 354.3 MB, free: 86.85 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.344e-05/0.2232, allocations: 11.91 kB / 354.3 MB, free: 86.85 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.58e-06/0.2232, allocations: 3.938 kB / 354.3 MB, free: 86.85 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.702e-06/0.2232, allocations: 7.016 kB / 354.3 MB, free: 86.85 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002917/0.2261, allocations: 2.288 MB / 356.6 MB, free: 86.45 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.709e-06/0.2261, allocations: 3.5 kB / 356.6 MB, free: 86.45 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002339/0.2263, allocations: 94.7 kB / 356.7 MB, free: 86.45 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001485/0.2265, allocations: 50.22 kB / 356.8 MB, free: 86.43 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.152e-05/0.2265, allocations: 14.25 kB / 356.8 MB, free: 86.43 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007358/0.2273, allocations: 1.817 MB / 358.6 MB, free: 84.71 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.745e-06/0.2273, allocations: 3.375 kB / 358.6 MB, free: 84.71 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009924/0.2283, allocations: 1.296 MB / 359.9 MB, free: 84.07 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003884/0.2286, allocations: 279 kB / 360.2 MB, free: 84.07 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001493/0.2288, allocations: 13.28 kB / 360.2 MB, free: 84.07 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004399/0.2292, allocations: 65.02 kB / 360.2 MB, free: 84.07 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.3e-05/0.2293, allocations: 46.28 kB / 360.3 MB, free: 84.07 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.181e-05/0.2293, allocations: 22.88 kB / 360.3 MB, free: 84.07 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.001079/0.2304, allocations: 1.085 MB / 361.4 MB, free: 83.88 MB / 330.7 MB Notification: Performance of sort global known variables: time 7.1e-08/0.2304, allocations: 0 / 361.4 MB, free: 83.88 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.00206/0.2325, allocations: 0.6269 MB / 362 MB, free: 83.88 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.0003003/0.2328, allocations: 162 kB / 362.2 MB, free: 83.79 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.002353/0.2351, allocations: 1.97 MB / 364.2 MB, free: 83.48 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 3.707e-06/0.2351, allocations: 0 / 364.2 MB, free: 83.48 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003092/0.2354, allocations: 390.6 kB / 364.5 MB, free: 83.15 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008661/0.2363, allocations: 222.1 kB / 364.8 MB, free: 83.05 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005168/0.2415, allocations: 4.242 MB / 369 MB, free: 79.41 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004891/0.242, allocations: 0.7149 MB / 369.7 MB, free: 79.01 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.001558/0.2435, allocations: 1.172 MB / 370.9 MB, free: 78.35 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002702/0.2438, allocations: 147.7 kB / 371 MB, free: 78.22 MB / 330.7 MB Notification: Performance of SimCode: time 4.098e-06/0.2438, allocations: 1.203 kB / 371 MB, free: 78.22 MB / 330.7 MB Notification: Performance of Templates: time 0.02504/0.2688, allocations: 14.81 MB / 385.8 MB, free: 64.04 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.590776809025556]