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/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) 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) Running command: translateModel(Modelica.Mechanics.MultiBody.Examples.Elementary.Pendulum,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,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=5000,variableFilter="time|rev.phi|rev.w",fileNamePrefix="Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.Pendulum") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001822/0.001822, allocations: 199 kB / 17.08 MB, free: 5.082 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.253/1.253, allocations: 227.2 MB / 245 MB, free: 7.59 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008382/0.0008379, allocations: 97.12 kB / 297.3 MB, free: 6.168 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002308/0.0002309, allocations: 8 kB / 357.9 MB, free: 9.523 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.202/0.2023, allocations: 51.48 MB / 409.4 MB, free: 26.72 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1002/0.3025, allocations: 92.48 MB / 0.4901 GB, free: 14.11 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002102/0.3028, allocations: 95.92 kB / 0.4902 GB, free: 14.01 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2916/0.5944, allocations: 59.13 MB / 0.548 GB, free: 62.83 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.813e-06/0.5944, allocations: 0 / 0.548 GB, free: 62.83 MB / 378.7 MB Notification: Performance of Transformations before backend: time 6.565e-05/0.5945, allocations: 44 kB / 0.548 GB, free: 62.79 MB / 378.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.004692/0.5992, allocations: 2.684 MB / 0.5506 GB, free: 60.04 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.983e-05/0.5993, allocations: 12.02 kB / 0.5506 GB, free: 60.03 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007058/0.6063, allocations: 1.97 MB / 0.5526 GB, free: 58.05 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006303/0.6127, allocations: 2.643 MB / 0.5552 GB, free: 55.36 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.496e-05/0.6128, allocations: 176.6 kB / 0.5553 GB, free: 55.18 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004057/0.6132, allocations: 239.8 kB / 0.5555 GB, free: 54.95 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007761/0.621, allocations: 6.818 MB / 0.5622 GB, free: 47.32 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.905e-05/0.6211, allocations: 43.62 kB / 0.5622 GB, free: 47.28 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002845/0.6213, allocations: 115.9 kB / 0.5624 GB, free: 47.17 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006986/0.622, allocations: 0.715 MB / 0.5631 GB, free: 46.45 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007642/0.6297, allocations: 5.84 MB / 0.5688 GB, free: 40.61 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02358/0.6533, allocations: 33.38 MB / 0.6014 GB, free: 6.059 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003497/0.6569, allocations: 2.299 MB / 0.6036 GB, free: 3.613 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.169e-05/0.6569, allocations: 11.98 kB / 0.6036 GB, free: 3.602 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.74e-05/0.6569, allocations: 46.5 kB / 0.6037 GB, free: 3.547 MB / 378.7 MB Notification: Performance of pre-optimization done (n=98): time 3.166e-06/0.6569, allocations: 0 / 0.6037 GB, free: 3.547 MB / 378.7 MB Notification: Performance of matching and sorting (n=106): time 0.01729/0.6742, allocations: 8.673 MB / 0.6121 GB, free: 10.67 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.187e-05/0.6743, allocations: 136.5 kB / 0.6123 GB, free: 10.51 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003544/0.6779, allocations: 2.553 MB / 0.6148 GB, free: 7.941 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001413/0.6781, allocations: 37.7 kB / 0.6148 GB, free: 7.898 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001317/0.6794, allocations: 2.071 MB / 0.6168 GB, free: 5.797 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000391/0.6798, allocations: 438.6 kB / 0.6172 GB, free: 5.363 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000163/0.6799, allocations: 84 kB / 0.6173 GB, free: 5.281 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0002718/0.6802, allocations: 0.4918 MB / 0.6178 GB, free: 4.781 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002084/0.6823, allocations: 1.418 MB / 0.6192 GB, free: 3.355 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004045/0.6864, allocations: 4.216 MB / 0.6233 GB, free: 13.71 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003139/0.6895, allocations: 2.389 MB / 0.6256 GB, free: 11.32 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.627e-05/0.6896, allocations: 32 kB / 0.6257 GB, free: 11.29 MB / 410.7 MB Notification: Performance of matching and sorting (n=567) (initialization): time 0.009828/0.6994, allocations: 6.083 MB / 0.6316 GB, free: 5.195 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.091e-05/0.6995, allocations: 54.3 kB / 0.6316 GB, free: 5.145 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.979e-05/0.6996, allocations: 100 kB / 0.6317 GB, free: 5.047 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002101/0.7017, allocations: 0.8053 MB / 0.6325 GB, free: 4.238 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002736/0.7045, allocations: 1.002 MB / 0.6335 GB, free: 3.234 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005243/0.7097, allocations: 4.196 MB / 0.6376 GB, free: 14.91 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003162/0.7129, allocations: 283.6 kB / 0.6379 GB, free: 14.63 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004905/0.7134, allocations: 276 kB / 0.6381 GB, free: 14.36 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 457 * 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 (531): * Single equations (assignments): 527 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(3,77.8%) 10} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.002054/0.7155, allocations: 1.368 MB / 0.6395 GB, free: 12.98 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004001/0.7159, allocations: 233 kB / 0.6397 GB, free: 12.75 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003714/0.7196, allocations: 1.853 MB / 0.6415 GB, free: 10.88 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.286e-05/0.7196, allocations: 16.08 kB / 0.6415 GB, free: 10.86 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.069e-05/0.7196, allocations: 8 kB / 0.6415 GB, free: 10.86 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.048e-05/0.7197, allocations: 7.984 kB / 0.6415 GB, free: 10.85 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009162/0.7288, allocations: 4.814 MB / 0.6462 GB, free: 5.953 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.977e-06/0.7289, allocations: 0 / 0.6462 GB, free: 5.953 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006192/0.7295, allocations: 135.8 kB / 0.6464 GB, free: 5.82 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001916/0.7314, allocations: 0.6482 MB / 0.647 GB, free: 5.168 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.976e-05/0.7316, allocations: 16 kB / 0.647 GB, free: 5.152 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004779/0.7363, allocations: 3.726 MB / 0.6507 GB, free: 1.293 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.974e-06/0.7364, allocations: 0 / 0.6507 GB, free: 1.293 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005844/0.7422, allocations: 3.776 MB / 0.6543 GB, free: 13.46 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007423/0.743, allocations: 305.8 kB / 0.6546 GB, free: 13.14 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004164/0.7434, allocations: 20 kB / 0.6547 GB, free: 13.12 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001081/0.7445, allocations: 71.89 kB / 0.6547 GB, free: 13.05 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000141/0.7447, allocations: 59.83 kB / 0.6548 GB, free: 12.99 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.969e-05/0.7447, allocations: 31.98 kB / 0.6548 GB, free: 12.96 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.003389/0.7481, allocations: 1.77 MB / 0.6565 GB, free: 11.18 MB / 442.7 MB Notification: Performance of sort global known variables: time 2e-07/0.7482, allocations: 3.938 kB / 0.6565 GB, free: 11.18 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.003572/0.7517, allocations: 0.6484 MB / 0.6572 GB, free: 10.53 MB / 442.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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 9} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003917/0.7521, allocations: 166.5 kB / 0.6573 GB, free: 10.36 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.005056/0.7572, allocations: 3.407 MB / 0.6607 GB, free: 6.957 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 3.707e-06/0.7572, allocations: 0 / 0.6607 GB, free: 6.957 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001149/0.7584, allocations: 0.928 MB / 0.6616 GB, free: 6.016 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001119/0.7595, allocations: 248.2 kB / 0.6618 GB, free: 5.773 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1739/0.9335, allocations: 6.368 MB / 0.668 GB, free: 122.2 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001966/0.9355, allocations: 2.246 MB / 0.6702 GB, free: 121.5 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.002966/0.9384, allocations: 1.401 MB / 0.6716 GB, free: 121.4 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003569/0.9388, allocations: 162.4 kB / 0.6717 GB, free: 121.4 MB / 442.7 MB Notification: Performance of SimCode: time 1.042e-06/0.9388, allocations: 0 / 0.6717 GB, free: 121.4 MB / 442.7 MB Notification: Performance of Templates: time 0.03262/0.9714, allocations: 21.67 MB / 0.6929 GB, free: 120.7 MB / 442.7 MB make -j1 -f Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.Pendulum.makefile (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=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.Pendulum.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.Pendulum_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Mechanics/MultiBody/Examples/Elementary/Pendulum/Pendulum.csv","../files/Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.Pendulum.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches