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.001395/0.001395, allocations: 197.2 kB / 18.11 MB, free: 3.738 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.396/1.396, allocations: 226.5 MB / 245.4 MB, free: 6.492 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001/0.001, allocations: 90.36 kB / 297.5 MB, free: 6.684 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002564/0.0002565, allocations: 11.98 kB / 358.1 MB, free: 10.07 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2331/0.2334, allocations: 51.29 MB / 409.4 MB, free: 27.62 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1108/0.3442, allocations: 92.5 MB / 0.4901 GB, free: 14.99 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002342/0.3445, allocations: 91.94 kB / 0.4902 GB, free: 14.9 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.3192/0.6636, allocations: 57.81 MB / 0.5467 GB, free: 65.73 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.824e-06/0.6637, allocations: 4 kB / 0.5467 GB, free: 65.72 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0001094/0.6638, allocations: 48 kB / 0.5467 GB, free: 65.68 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.006693/0.6705, allocations: 2.591 MB / 0.5492 GB, free: 63.02 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.809e-05/0.6706, allocations: 11.97 kB / 0.5492 GB, free: 63.01 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007665/0.6782, allocations: 1.939 MB / 0.5511 GB, free: 61.06 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003963/0.6822, allocations: 1.977 MB / 0.5531 GB, free: 59.04 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001517/0.6824, allocations: 177 kB / 0.5532 GB, free: 58.86 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001062/0.6835, allocations: 232.3 kB / 0.5535 GB, free: 58.64 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01161/0.6951, allocations: 6.811 MB / 0.5601 GB, free: 51.02 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001328/0.6953, allocations: 43.78 kB / 0.5602 GB, free: 50.98 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008175/0.6961, allocations: 127.8 kB / 0.5603 GB, free: 50.85 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0009079/0.697, allocations: 0.715 MB / 0.561 GB, free: 50.14 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009681/0.7067, allocations: 5.805 MB / 0.5666 GB, free: 44.33 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02718/0.7339, allocations: 33.36 MB / 0.5992 GB, free: 9.809 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003687/0.7377, allocations: 2.289 MB / 0.6015 GB, free: 7.371 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001062/0.7388, allocations: 1.018 MB / 0.6025 GB, free: 6.34 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.693e-05/0.7388, allocations: 15.98 kB / 0.6025 GB, free: 6.324 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.943e-05/0.7388, allocations: 54.48 kB / 0.6025 GB, free: 6.262 MB / 378.7 MB Notification: Performance of pre-optimization done (n=98): time 3.016e-06/0.7389, allocations: 0 / 0.6025 GB, free: 6.262 MB / 378.7 MB Notification: Performance of matching and sorting (n=106): time 0.0175/0.7564, allocations: 8.411 MB / 0.6107 GB, free: 13.7 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.198e-05/0.7565, allocations: 152.4 kB / 0.6109 GB, free: 13.52 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005106/0.7616, allocations: 2.831 MB / 0.6136 GB, free: 10.67 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002179/0.7618, allocations: 37.7 kB / 0.6137 GB, free: 10.63 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001656/0.7635, allocations: 2.082 MB / 0.6157 GB, free: 8.516 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006223/0.7641, allocations: 434.7 kB / 0.6161 GB, free: 8.086 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003172/0.7645, allocations: 95.98 kB / 0.6162 GB, free: 7.992 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0003302/0.7648, allocations: 499.5 kB / 0.6167 GB, free: 7.496 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002476/0.7673, allocations: 1.41 MB / 0.6181 GB, free: 6.078 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004108/0.7714, allocations: 4.236 MB / 0.6222 GB, free: 428 kB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006557/0.778, allocations: 6.116 MB / 0.6282 GB, free: 8.895 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.154e-05/0.7781, allocations: 32 kB / 0.6282 GB, free: 8.863 MB / 410.7 MB Notification: Performance of matching and sorting (n=567) (initialization): time 0.01091/0.789, allocations: 6.08 MB / 0.6342 GB, free: 2.773 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.841e-05/0.7891, allocations: 51.98 kB / 0.6342 GB, free: 2.723 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001208/0.7892, allocations: 100 kB / 0.6343 GB, free: 2.625 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002167/0.7914, allocations: 0.7878 MB / 0.6351 GB, free: 1.836 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002901/0.7943, allocations: 0.9981 MB / 0.636 GB, free: 0.8359 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005343/0.7997, allocations: 4.117 MB / 0.6401 GB, free: 12.59 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003098/0.8028, allocations: 283.5 kB / 0.6403 GB, free: 12.31 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004923/0.8033, allocations: 280 kB / 0.6406 GB, free: 12.04 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.002267/0.8056, allocations: 1.356 MB / 0.6419 GB, free: 10.66 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004494/0.806, allocations: 240.8 kB / 0.6422 GB, free: 10.43 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003752/0.8098, allocations: 1.849 MB / 0.644 GB, free: 8.559 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.464e-05/0.8098, allocations: 16 kB / 0.644 GB, free: 8.543 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.123e-05/0.8098, allocations: 4 kB / 0.644 GB, free: 8.539 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.183e-05/0.8098, allocations: 8.359 kB / 0.644 GB, free: 8.531 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009662/0.8195, allocations: 4.817 MB / 0.6487 GB, free: 3.637 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.264e-05/0.8196, allocations: 4 kB / 0.6487 GB, free: 3.633 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006456/0.8202, allocations: 131.8 kB / 0.6488 GB, free: 3.504 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001923/0.8222, allocations: 0.6444 MB / 0.6494 GB, free: 2.855 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001023/0.8223, allocations: 23.94 kB / 0.6495 GB, free: 2.832 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004627/0.8269, allocations: 3.631 MB / 0.653 GB, free: 15.07 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.089e-06/0.8269, allocations: 4.031 kB / 0.653 GB, free: 15.07 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005686/0.8326, allocations: 3.68 MB / 0.6566 GB, free: 11.35 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006592/0.8333, allocations: 297.9 kB / 0.6569 GB, free: 11.04 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003953/0.8337, allocations: 19.94 kB / 0.6569 GB, free: 11.02 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001016/0.8347, allocations: 67.95 kB / 0.657 GB, free: 10.95 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001651/0.8349, allocations: 59.92 kB / 0.657 GB, free: 10.89 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.161e-05/0.835, allocations: 31.98 kB / 0.6571 GB, free: 10.86 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.003266/0.8383, allocations: 1.766 MB / 0.6588 GB, free: 9.09 MB / 442.7 MB Notification: Performance of sort global known variables: time 2.3e-07/0.8383, allocations: 0 / 0.6588 GB, free: 9.09 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.003233/0.8415, allocations: 0.664 MB / 0.6594 GB, free: 8.426 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.0003543/0.8419, allocations: 151 kB / 0.6596 GB, free: 8.27 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.005236/0.8472, allocations: 3.413 MB / 0.6629 GB, free: 4.867 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 3.898e-06/0.8472, allocations: 0 / 0.6629 GB, free: 4.867 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001186/0.8484, allocations: 0.9285 MB / 0.6638 GB, free: 3.926 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001927/0.8503, allocations: 246.8 kB / 0.6641 GB, free: 3.684 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1847/1.035, allocations: 6.42 MB / 0.6703 GB, free: 123.7 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002248/1.037, allocations: 2.188 MB / 0.6725 GB, free: 123 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.003558/1.041, allocations: 1.4 MB / 0.6738 GB, free: 122.9 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003989/1.041, allocations: 160.6 kB / 0.674 GB, free: 122.9 MB / 442.7 MB Notification: Performance of SimCode: time 8.52e-07/1.041, allocations: 0 / 0.674 GB, free: 122.9 MB / 442.7 MB Notification: Performance of Templates: time 0.03883/1.08, allocations: 21.68 MB / 0.6952 GB, free: 122.2 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/jenkins1/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