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.0009898/0.0009899, allocations: 198.3 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.176/1.176, allocations: 227.2 MB / 245 MB, free: 7.609 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008318/0.0008319, allocations: 97 kB / 297.3 MB, free: 6.184 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2696/0.2696, allocations: 45.24 MB / 394.7 MB, free: 31.71 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002474/0.0002474, allocations: 12 kB / 468.4 MB, free: 7.75 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2587/0.259, allocations: 63.24 MB / 0.5192 GB, free: 43.57 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.092/0.351, allocations: 88.9 MB / 0.606 GB, free: 0.75 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001713/0.3512, allocations: 63.97 kB / 0.6061 GB, free: 0.6875 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03189/0.3831, allocations: 9.669 MB / 0.6155 GB, free: 7.035 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.293e-06/0.3831, allocations: 4 kB / 0.6155 GB, free: 7.031 MB / 426.7 MB Notification: Performance of Transformations before backend: time 2.202e-05/0.3832, allocations: 4 kB / 0.6155 GB, free: 7.027 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.001236/0.3844, allocations: 0.6968 MB / 0.6162 GB, free: 6.281 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.488e-05/0.3845, allocations: 8.031 kB / 0.6162 GB, free: 6.273 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001646/0.3846, allocations: 43.53 kB / 0.6162 GB, free: 6.23 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003828/0.385, allocations: 303 kB / 0.6165 GB, free: 5.895 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.509e-05/0.385, allocations: 13.86 kB / 0.6165 GB, free: 5.883 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.383e-05/0.3851, allocations: 20 kB / 0.6166 GB, free: 5.863 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004317/0.3855, allocations: 279.6 kB / 0.6168 GB, free: 5.578 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.805e-06/0.3856, allocations: 4 kB / 0.6168 GB, free: 5.574 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.552e-05/0.3856, allocations: 12 kB / 0.6168 GB, free: 5.562 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.561e-06/0.3856, allocations: 4 kB / 0.6168 GB, free: 5.559 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003882/0.386, allocations: 235.8 kB / 0.6171 GB, free: 5.328 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001169/0.3872, allocations: 0.7617 MB / 0.6178 GB, free: 4.512 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004258/0.3876, allocations: 288.9 kB / 0.6181 GB, free: 4.211 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.362e-05/0.3877, allocations: 4 kB / 0.6181 GB, free: 4.207 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.302e-05/0.3877, allocations: 42.45 kB / 0.6181 GB, free: 4.156 MB / 426.7 MB Notification: Performance of pre-optimization done (n=24): time 1.402e-06/0.3877, allocations: 0 / 0.6181 GB, free: 4.156 MB / 426.7 MB Notification: Performance of matching and sorting (n=24): time 0.0009013/0.3886, allocations: 0.547 MB / 0.6187 GB, free: 3.602 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.926e-05/0.3886, allocations: 88.98 kB / 0.6188 GB, free: 3.496 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002754/0.3889, allocations: 315.6 kB / 0.6191 GB, free: 3.18 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 3.177e-05/0.389, allocations: 29.7 kB / 0.6191 GB, free: 3.145 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.866e-05/0.3891, allocations: 148.7 kB / 0.6192 GB, free: 2.992 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.354e-05/0.3891, allocations: 94.53 kB / 0.6193 GB, free: 2.898 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.842e-05/0.3892, allocations: 4 kB / 0.6193 GB, free: 2.895 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.00011/0.3893, allocations: 350.8 kB / 0.6196 GB, free: 2.543 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003853/0.3897, allocations: 292.8 kB / 0.6199 GB, free: 2.258 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00041/0.3901, allocations: 335.5 kB / 0.6202 GB, free: 1.926 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004511/0.3905, allocations: 330.6 kB / 0.6206 GB, free: 1.602 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.285e-06/0.3906, allocations: 4 kB / 0.6206 GB, free: 1.598 MB / 426.7 MB Notification: Performance of matching and sorting (n=92) (initialization): time 0.001017/0.3916, allocations: 0.7665 MB / 0.6213 GB, free: 0.8281 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.411e-05/0.3916, allocations: 8 kB / 0.6213 GB, free: 0.8203 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.816e-05/0.3916, allocations: 4 kB / 0.6213 GB, free: 0.8164 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.141e-05/0.3916, allocations: 0 / 0.6213 GB, free: 0.8164 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004396/0.3921, allocations: 99.88 kB / 0.6214 GB, free: 0.7188 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.784e-06/0.3921, allocations: 4 kB / 0.6214 GB, free: 0.7148 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001885/0.3923, allocations: 67.2 kB / 0.6215 GB, free: 0.6484 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.473e-05/0.3923, allocations: 12 kB / 0.6215 GB, free: 0.6367 MB / 426.7 MB Warning: Assuming fixed start value for the following 6 variables: 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] 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[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[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[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[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] 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.0002426/0.3926, allocations: 195.8 kB / 0.6217 GB, free: 452 kB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.086e-05/0.3927, allocations: 27.58 kB / 0.6217 GB, free: 424 kB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001188/0.3928, allocations: 34.72 kB / 0.6217 GB, free: 388 kB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.017e-06/0.3928, allocations: 4 kB / 0.6218 GB, free: 384 kB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.25e-06/0.3928, allocations: 0 / 0.6218 GB, free: 384 kB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.13e-06/0.3928, allocations: 3.984 kB / 0.6218 GB, free: 380 kB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004505/0.3933, allocations: 345.3 kB / 0.6221 GB, free: 15.98 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.044e-06/0.3933, allocations: 0 / 0.6221 GB, free: 15.98 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004261/0.3937, allocations: 47.91 kB / 0.6221 GB, free: 15.94 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.107e-05/0.3938, allocations: 11.95 kB / 0.6221 GB, free: 15.93 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.004e-05/0.3938, allocations: 11.98 kB / 0.6222 GB, free: 15.91 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.869e-06/0.3938, allocations: 4 kB / 0.6222 GB, free: 15.91 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.172e-06/0.3938, allocations: 0 / 0.6222 GB, free: 15.91 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001108/0.3949, allocations: 0.7658 MB / 0.6229 GB, free: 15.12 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.818e-05/0.395, allocations: 108.8 kB / 0.623 GB, free: 14.99 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.135e-05/0.3951, allocations: 19.98 kB / 0.623 GB, free: 14.97 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002794/0.3954, allocations: 8 kB / 0.623 GB, free: 14.96 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.592e-05/0.3955, allocations: 15.97 kB / 0.6231 GB, free: 14.95 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.711e-05/0.3955, allocations: 16 kB / 0.6231 GB, free: 14.93 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.000221/0.3957, allocations: 219 kB / 0.6233 GB, free: 14.72 MB / 442.7 MB Notification: Performance of sort global known variables: time 2.7e-07/0.3957, allocations: 0 / 0.6233 GB, free: 14.72 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0007337/0.3965, allocations: 275.8 kB / 0.6235 GB, free: 14.45 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.0005512/0.397, allocations: 279.7 kB / 0.6238 GB, free: 14.17 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.0008918/0.3979, allocations: 0.7455 MB / 0.6245 GB, free: 13.4 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/0.3979, allocations: 0 / 0.6245 GB, free: 13.4 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002908/0.3982, allocations: 200.7 kB / 0.6247 GB, free: 13.2 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003084/0.3986, allocations: 34.22 kB / 0.6248 GB, free: 13.17 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001154/0.3997, allocations: 1.045 MB / 0.6258 GB, free: 12.1 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003579/0.4001, allocations: 0.8148 MB / 0.6266 GB, free: 11.26 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.0001702/0.4003, allocations: 70.25 kB / 0.6266 GB, free: 11.19 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.79e-05/0.4004, allocations: 19.44 kB / 0.6267 GB, free: 11.17 MB / 442.7 MB Notification: Performance of SimCode: time 2.9e-07/0.4004, allocations: 0 / 0.6267 GB, free: 11.17 MB / 442.7 MB Notification: Performance of Templates: time 0.009092/0.4095, allocations: 5.918 MB / 0.6324 GB, free: 5.27 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/jenkins/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