Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Blocks.PadeDelay2.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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) 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(ModelicaTest.Blocks.PadeDelay2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|padeDelay1a.y|padeDelay1b.y|padeDelay2a.y|padeDelay2b.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Blocks.PadeDelay2") translateModel(ModelicaTest.Blocks.PadeDelay2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|padeDelay1a.y|padeDelay1b.y|padeDelay2a.y|padeDelay2b.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Blocks.PadeDelay2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001327/0.001327, allocations: 200 kB / 18.1 MB, free: 3.715 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.511/1.511, allocations: 226.5 MB / 245.4 MB, free: 8.176 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008262/0.0008261, allocations: 92.23 kB / 297.5 MB, free: 6.922 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.4403/0.4403, allocations: 44.82 MB / 394.3 MB, free: 35.74 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002787/0.0002789, allocations: 8 kB / 467.9 MB, free: 12.09 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3558/0.356, allocations: 62.96 MB / 0.5184 GB, free: 37.34 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1512/0.5072, allocations: 88.77 MB / 0.6051 GB, free: 0.5664 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002909/0.5076, allocations: 67.95 kB / 0.6052 GB, free: 0.5039 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03949/0.5471, allocations: 9.657 MB / 0.6146 GB, free: 6.824 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.284e-06/0.5472, allocations: 0 / 0.6146 GB, free: 6.824 MB / 426.7 MB Notification: Performance of Transformations before backend: time 3.444e-05/0.5472, allocations: 8 kB / 0.6146 GB, free: 6.816 MB / 426.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 32 * Number of variables: 32 Notification: Performance of Generate backend data structure: time 0.001619/0.5488, allocations: 0.6892 MB / 0.6153 GB, free: 6.074 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.217e-05/0.5489, allocations: 12.02 kB / 0.6153 GB, free: 6.062 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002415/0.5491, allocations: 44.47 kB / 0.6153 GB, free: 6.02 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000554/0.5497, allocations: 296.7 kB / 0.6156 GB, free: 5.691 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.046e-05/0.5497, allocations: 12.38 kB / 0.6156 GB, free: 5.68 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.364e-05/0.5498, allocations: 28.36 kB / 0.6156 GB, free: 5.652 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005443/0.5504, allocations: 280.1 kB / 0.6159 GB, free: 5.367 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.479e-05/0.5504, allocations: 7.938 kB / 0.6159 GB, free: 5.359 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.896e-05/0.5505, allocations: 8 kB / 0.6159 GB, free: 5.352 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.504e-06/0.5505, allocations: 4 kB / 0.6159 GB, free: 5.348 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004653/0.5509, allocations: 234.4 kB / 0.6162 GB, free: 5.121 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001321/0.5523, allocations: 0.7694 MB / 0.6169 GB, free: 4.297 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000468/0.5528, allocations: 296.9 kB / 0.6172 GB, free: 3.988 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003033/0.5531, allocations: 193.6 kB / 0.6174 GB, free: 3.793 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.863e-05/0.5531, allocations: 4 kB / 0.6174 GB, free: 3.789 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.411e-05/0.5531, allocations: 38.55 kB / 0.6174 GB, free: 3.742 MB / 426.7 MB Notification: Performance of pre-optimization done (n=24): time 2.204e-06/0.5532, allocations: 0 / 0.6174 GB, free: 3.742 MB / 426.7 MB Notification: Performance of matching and sorting (n=24): time 0.001032/0.5542, allocations: 0.5481 MB / 0.618 GB, free: 3.188 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.985e-05/0.5543, allocations: 85.05 kB / 0.618 GB, free: 3.086 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003648/0.5546, allocations: 348.4 kB / 0.6184 GB, free: 2.734 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 4.044e-05/0.5547, allocations: 37.7 kB / 0.6184 GB, free: 2.691 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.939e-05/0.5548, allocations: 140.8 kB / 0.6185 GB, free: 2.547 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.457e-05/0.5549, allocations: 102.5 kB / 0.6186 GB, free: 2.445 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.253e-05/0.5549, allocations: 8 kB / 0.6186 GB, free: 2.438 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001502/0.5551, allocations: 346.8 kB / 0.619 GB, free: 2.09 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004348/0.5555, allocations: 284.9 kB / 0.6192 GB, free: 1.812 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004636/0.556, allocations: 343.5 kB / 0.6196 GB, free: 1.473 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003353/0.5593, allocations: 1.765 MB / 0.6213 GB, free: 15.7 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.967e-06/0.5594, allocations: 0 / 0.6213 GB, free: 15.7 MB / 442.7 MB Notification: Performance of matching and sorting (n=92) (initialization): time 0.001186/0.5606, allocations: 0.768 MB / 0.622 GB, free: 14.92 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.49e-05/0.5606, allocations: 10.97 kB / 0.6221 GB, free: 14.91 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.587e-05/0.5606, allocations: 4 kB / 0.6221 GB, free: 14.91 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.411e-05/0.5607, allocations: 0 / 0.6221 GB, free: 14.91 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004701/0.5611, allocations: 103.9 kB / 0.6222 GB, free: 14.81 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.185e-05/0.5612, allocations: 4 kB / 0.6222 GB, free: 14.8 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002208/0.5614, allocations: 75.05 kB / 0.6222 GB, free: 14.73 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.476e-05/0.5614, allocations: 12 kB / 0.6222 GB, free: 14.72 MB / 442.7 MB Warning: Assuming fixed start value for the following 6 variables: padeDelay2a.x[1]:VARIABLE(fixed = true final = true ) "State of transfer function from controller canonical form (balance=false), or balanced controller canonical form (balance=true)" type: Real [4] padeDelay2a.x[2]:VARIABLE(fixed = true final = true ) "State of transfer function from controller canonical form (balance=false), or balanced controller canonical form (balance=true)" type: Real [4] padeDelay2a.x[3]:VARIABLE(fixed = true final = true ) "State of transfer function from controller canonical form (balance=false), or balanced controller canonical form (balance=true)" type: Real [4] padeDelay1a.x[1]:VARIABLE(fixed = true final = true ) "State of transfer function from controller canonical form (balance=false), or balanced controller canonical form (balance=true)" type: Real [4] padeDelay1a.x[2]:VARIABLE(fixed = true final = true ) "State of transfer function from controller canonical form (balance=false), or balanced controller canonical form (balance=true)" type: Real [4] padeDelay1a.x[3]:VARIABLE(fixed = true final = true ) "State of transfer function from controller canonical form (balance=false), or balanced controller canonical form (balance=true)" type: Real [4] Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (44): * Single equations (assignments): 40 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002709/0.5617, allocations: 185.8 kB / 0.6224 GB, free: 14.53 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.114e-05/0.5618, allocations: 31.47 kB / 0.6225 GB, free: 14.5 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.869e-05/0.5619, allocations: 42.7 kB / 0.6225 GB, free: 14.46 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.111e-06/0.5619, allocations: 4 kB / 0.6225 GB, free: 14.46 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.412e-06/0.5619, allocations: 0 / 0.6225 GB, free: 14.46 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.514e-06/0.5619, allocations: 3.938 kB / 0.6225 GB, free: 14.45 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005021/0.5624, allocations: 345.2 kB / 0.6228 GB, free: 14.07 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.687e-06/0.5625, allocations: 0 / 0.6228 GB, free: 14.07 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003415/0.5628, allocations: 51.97 kB / 0.6229 GB, free: 14.02 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.502e-06/0.5628, allocations: 4 kB / 0.6229 GB, free: 14.01 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.666e-05/0.5629, allocations: 11.98 kB / 0.6229 GB, free: 14 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.31e-06/0.5629, allocations: 4 kB / 0.6229 GB, free: 14 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.613e-06/0.5629, allocations: 3.938 kB / 0.6229 GB, free: 13.99 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00107/0.564, allocations: 0.7524 MB / 0.6236 GB, free: 13.22 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.764e-05/0.5641, allocations: 108.8 kB / 0.6237 GB, free: 13.09 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.109e-05/0.5641, allocations: 15.98 kB / 0.6238 GB, free: 13.08 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001976/0.5643, allocations: 11.98 kB / 0.6238 GB, free: 13.07 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.052e-05/0.5644, allocations: 23.92 kB / 0.6238 GB, free: 13.04 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.615e-05/0.5644, allocations: 11.98 kB / 0.6238 GB, free: 13.03 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0002056/0.5646, allocations: 219 kB / 0.624 GB, free: 12.82 MB / 442.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.5646, allocations: 0 / 0.624 GB, free: 12.82 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0008565/0.5655, allocations: 275.7 kB / 0.6243 GB, free: 12.55 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 16 (padeDelay2a.x[1],padeDelay2a.x[2],padeDelay2a.x[3],padeDelay2a.x[4],padeDelay2b.x[1],padeDelay2b.x[2],padeDelay2b.x[3],padeDelay2b.x[4],padeDelay1b.x[1],padeDelay1b.x[2],padeDelay1b.x[3],padeDelay1b.x[4],padeDelay1a.x[1],padeDelay1a.x[2],padeDelay1a.x[3],padeDelay1a.x[4]) * 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 (24): * Single equations (assignments): 24 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004949/0.566, allocations: 279.7 kB / 0.6245 GB, free: 12.27 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.000994/0.567, allocations: 0.7491 MB / 0.6253 GB, free: 11.5 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 2.614e-06/0.567, allocations: 0 / 0.6253 GB, free: 11.5 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000307/0.5673, allocations: 195.8 kB / 0.6255 GB, free: 11.3 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004669/0.5678, allocations: 39.14 kB / 0.6255 GB, free: 11.27 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001266/0.5691, allocations: 1.036 MB / 0.6265 GB, free: 10.2 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004212/0.5695, allocations: 0.8031 MB / 0.6273 GB, free: 9.367 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.0001917/0.5697, allocations: 74.23 kB / 0.6274 GB, free: 9.297 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.757e-05/0.5698, allocations: 23.38 kB / 0.6274 GB, free: 9.273 MB / 442.7 MB Notification: Performance of SimCode: time 2.6e-07/0.5698, allocations: 0 / 0.6274 GB, free: 9.273 MB / 442.7 MB Notification: Performance of Templates: time 0.01045/0.5803, allocations: 6.079 MB / 0.6333 GB, free: 3.215 MB / 442.7 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Blocks.PadeDelay2.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Blocks.PadeDelay2.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Blocks.PadeDelay2.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Blocks.PadeDelay2.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Blocks.PadeDelay2.sim & ./ModelicaTest_trunk_ModelicaTest.Blocks.PadeDelay2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Blocks.PadeDelay2.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Blocks.PadeDelay2_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Blocks/PadeDelay2/PadeDelay2.csv","../files/ModelicaTest_trunk_ModelicaTest.Blocks.PadeDelay2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches