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.002625/0.002625, allocations: 99.53 kB / 21.73 MB, free: 2.691 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.002959/0.002959, allocations: 163.9 kB / 25.03 MB, free: 8.41 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 1.354/1.354, allocations: 158.6 MB / 186.8 MB, free: 2.91 MB / 170.7 MB " [Timeout remaining time 178] 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.513e-06/1.513e-06, allocations: 0 / 250.4 MB, free: 7.836 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.537e-05/2.688e-05, allocations: 2.312 kB / 250.4 MB, free: 7.832 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.Pendulum): time 0.01028/0.0103, allocations: 6.948 MB / 257.3 MB, free: 0.8477 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.007167/0.01747, allocations: 3.077 MB / 260.4 MB, free: 13.76 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009202/0.01839, allocations: 39.81 kB / 260.4 MB, free: 13.72 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002/0.02039, allocations: 0.8365 MB / 261.3 MB, free: 12.88 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003462/0.02385, allocations: 1.396 MB / 262.7 MB, free: 11.48 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001286/0.02514, allocations: 0.5338 MB / 263.2 MB, free: 10.95 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.004934/0.03007, allocations: 2.885 MB / 266.1 MB, free: 8.059 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002298/0.03237, allocations: 1.387 MB / 267.5 MB, free: 6.648 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002249/0.03462, allocations: 1.208 MB / 268.7 MB, free: 5.438 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002305/0.03692, allocations: 1.305 MB / 270 MB, free: 4.129 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0003337/0.03726, allocations: 136 kB / 270.1 MB, free: 3.996 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001721/0.03898, allocations: 0.8266 MB / 270.9 MB, free: 3.168 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 0.00145/0.04043, allocations: 1.083 MB / 272 MB, free: 2.082 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0009757/0.0414, allocations: 0.6461 MB / 272.7 MB, free: 1.434 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.006071/0.04748, allocations: 3.982 MB / 276.7 MB, free: 13.44 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.514e-06/0.04748, allocations: 4 kB / 276.7 MB, free: 13.43 MB / 266.7 MB Notification: Performance of FrontEnd: time 4.158e-06/0.04749, allocations: 3.984 kB / 276.7 MB, free: 13.43 MB / 266.7 MB Notification: Performance of Transformations before backend: time 9.214e-05/0.04758, allocations: 0 / 276.7 MB, free: 13.43 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.007456/0.05503, allocations: 3.452 MB / 280.1 MB, free: 9.926 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.506e-05/0.05508, allocations: 11.98 kB / 280.1 MB, free: 9.914 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007096/0.06218, allocations: 1.988 MB / 282.1 MB, free: 7.922 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00329/0.06547, allocations: 1.179 MB / 283.3 MB, free: 6.711 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001255/0.06559, allocations: 119.2 kB / 283.4 MB, free: 6.594 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003717/0.06596, allocations: 163.8 kB / 283.6 MB, free: 6.434 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008205/0.07417, allocations: 4.133 MB / 287.7 MB, free: 1.594 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.483e-05/0.07424, allocations: 27.75 kB / 287.7 MB, free: 1.566 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002558/0.0745, allocations: 79.89 kB / 287.8 MB, free: 1.488 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002819/0.07732, allocations: 1.433 MB / 289.2 MB, free: 60 kB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007181/0.0845, allocations: 2.382 MB / 291.6 MB, free: 13.68 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04047/0.125, allocations: 32.42 MB / 324 MB, free: 12.22 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003525/0.1285, allocations: 0.9655 MB / 325 MB, free: 11.2 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007523/0.1293, allocations: 342.5 kB / 325.3 MB, free: 10.85 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.143e-05/0.1293, allocations: 16 kB / 325.4 MB, free: 10.84 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.303e-05/0.1294, allocations: 49.55 kB / 325.4 MB, free: 10.78 MB / 314.7 MB Notification: Performance of pre-optimization done (n=98): time 3.457e-06/0.1294, allocations: 3.938 kB / 325.4 MB, free: 10.77 MB / 314.7 MB Notification: Performance of matching and sorting (n=106): time 0.02043/0.1498, allocations: 6.293 MB / 331.7 MB, free: 4.398 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001112/0.1499, allocations: 136.5 kB / 331.8 MB, free: 4.234 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004768/0.1547, allocations: 3.094 MB / 334.9 MB, free: 1.102 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001621/0.1548, allocations: 41.7 kB / 335 MB, free: 1.055 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002394/0.1572, allocations: 2.419 MB / 337.4 MB, free: 14.61 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006863/0.1579, allocations: 0.4928 MB / 337.9 MB, free: 14.11 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00166/0.1596, allocations: 1.105 MB / 339 MB, free: 12.98 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.000348/0.1599, allocations: 0.5511 MB / 339.5 MB, free: 12.43 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001318/0.1612, allocations: 0.4926 MB / 340 MB, free: 11.93 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005655/0.1669, allocations: 4.838 MB / 344.9 MB, free: 5.133 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.1278/0.2947, allocations: 5.855 MB / 350.7 MB, free: 92.04 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001474/0.2948, allocations: 29 kB / 350.8 MB, free: 92.04 MB / 330.7 MB Notification: Performance of matching and sorting (n=573) (initialization): time 0.008507/0.3033, allocations: 4.341 MB / 355.1 MB, free: 91.28 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.776e-05/0.3034, allocations: 48.41 kB / 355.1 MB, free: 91.28 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.672e-05/0.3035, allocations: 101.2 kB / 355.2 MB, free: 91.28 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001973/0.3055, allocations: 0.5578 MB / 355.8 MB, free: 91.26 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002553/0.308, allocations: 0.9962 MB / 356.8 MB, free: 91.17 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003566/0.3116, allocations: 3.073 MB / 359.9 MB, free: 89.16 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003071/0.3146, allocations: 280.8 kB / 360.1 MB, free: 89.16 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004397/0.3151, allocations: 281.6 kB / 360.4 MB, free: 89.16 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.0009628/0.3161, allocations: 0.5834 MB / 361 MB, free: 88.9 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003723/0.3164, allocations: 247.8 kB / 361.2 MB, free: 88.9 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002932/0.3194, allocations: 1.112 MB / 362.4 MB, free: 88.79 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.255e-05/0.3194, allocations: 13.03 kB / 362.4 MB, free: 88.79 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.666e-06/0.3194, allocations: 2.656 kB / 362.4 MB, free: 88.79 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.076e-05/0.3194, allocations: 6.172 kB / 362.4 MB, free: 88.79 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007554/0.327, allocations: 3.933 MB / 366.3 MB, free: 86.67 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.618e-06/0.327, allocations: 7.938 kB / 366.3 MB, free: 86.66 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005603/0.3275, allocations: 131.8 kB / 366.4 MB, free: 86.54 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001692/0.3292, allocations: 426.9 kB / 366.9 MB, free: 86.11 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.474e-05/0.3293, allocations: 25.94 kB / 366.9 MB, free: 86.09 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002842/0.3321, allocations: 2.542 MB / 369.4 MB, free: 83.46 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.356e-06/0.3321, allocations: 3.938 kB / 369.4 MB, free: 83.46 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003647/0.3358, allocations: 2.096 MB / 371.5 MB, free: 81.46 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00101/0.3368, allocations: 340.7 kB / 371.9 MB, free: 81.14 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002466/0.337, allocations: 16 kB / 371.9 MB, free: 81.12 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009792/0.338, allocations: 95.84 kB / 372 MB, free: 81.03 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001545/0.3382, allocations: 59.83 kB / 372 MB, free: 80.97 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.856e-05/0.3382, allocations: 38.86 kB / 372.1 MB, free: 80.93 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.001626/0.3399, allocations: 1.25 MB / 373.3 MB, free: 79.67 MB / 330.7 MB Notification: Performance of sort global known variables: time 9e-08/0.3399, allocations: 0 / 373.3 MB, free: 79.67 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.003162/0.343, allocations: 0.7334 MB / 374.1 MB, free: 78.94 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.0003431/0.3434, allocations: 168.9 kB / 374.2 MB, free: 78.78 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.003557/0.3469, allocations: 2.391 MB / 376.6 MB, free: 76.38 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 3.246e-06/0.3469, allocations: 1.062 kB / 376.6 MB, free: 76.38 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006977/0.3476, allocations: 0.5724 MB / 377.2 MB, free: 75.79 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001371/0.349, allocations: 237.6 kB / 377.4 MB, free: 75.57 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005604/0.3546, allocations: 4.465 MB / 381.9 MB, free: 71.04 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001299/0.3559, allocations: 1.455 MB / 383.3 MB, free: 69.55 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.002138/0.358, allocations: 1.2 MB / 384.5 MB, free: 68.34 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000346/0.3584, allocations: 156.2 kB / 384.7 MB, free: 68.2 MB / 330.7 MB Notification: Performance of SimCode: time 1.543e-06/0.3584, allocations: 0 / 384.7 MB, free: 68.2 MB / 330.7 MB Notification: Performance of Templates: time 0.03278/0.3912, allocations: 19.96 MB / 404.6 MB, free: 48.29 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.Pendulum.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 5.8124954890226945]