Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Blocks.PadeDelay2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/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_4.0.0_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_4.0.0_ModelicaTest.Blocks.PadeDelay2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008655/0.0008656, allocations: 179.2 kB / 18.09 MB, free: 3.75 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.174/1.174, allocations: 223.3 MB / 242.1 MB, free: 11.62 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007918/0.0007917, allocations: 101.9 kB / 293.3 MB, free: 10.79 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2776/0.2776, allocations: 44.15 MB / 388.5 MB, free: 38.68 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003472/0.0003473, allocations: 12 kB / 461.1 MB, free: 1.352 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2581/0.2584, allocations: 61.88 MB / 0.5107 GB, free: 38.04 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.09163/0.3501, allocations: 87.85 MB / 0.5965 GB, free: 7.254 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001975/0.3504, allocations: 67.95 kB / 0.5966 GB, free: 7.191 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02897/0.3793, allocations: 9.559 MB / 0.6059 GB, free: 13.62 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.673e-06/0.3794, allocations: 4 kB / 0.6059 GB, free: 13.61 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.918e-05/0.3794, allocations: 8 kB / 0.6059 GB, free: 13.61 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.001055/0.3805, allocations: 0.6776 MB / 0.6066 GB, free: 12.88 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.232e-05/0.3805, allocations: 11.97 kB / 0.6066 GB, free: 12.86 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.837e-05/0.3806, allocations: 32.47 kB / 0.6066 GB, free: 12.83 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003427/0.3809, allocations: 300.6 kB / 0.6069 GB, free: 12.5 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.694e-05/0.381, allocations: 16.36 kB / 0.6069 GB, free: 12.49 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.646e-05/0.381, allocations: 28.36 kB / 0.607 GB, free: 12.46 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004246/0.3815, allocations: 282.6 kB / 0.6072 GB, free: 12.18 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.578e-06/0.3815, allocations: 3.938 kB / 0.6072 GB, free: 12.17 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.235e-05/0.3815, allocations: 4 kB / 0.6072 GB, free: 12.17 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.232e-06/0.3815, allocations: 4 kB / 0.6072 GB, free: 12.16 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003815/0.3819, allocations: 236.4 kB / 0.6075 GB, free: 11.93 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001102/0.383, allocations: 0.7655 MB / 0.6082 GB, free: 11.11 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004075/0.3834, allocations: 296.9 kB / 0.6085 GB, free: 10.8 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002735/0.3837, allocations: 193.6 kB / 0.6087 GB, free: 10.61 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.972e-05/0.3837, allocations: 0 / 0.6087 GB, free: 10.61 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.676e-05/0.3838, allocations: 46.55 kB / 0.6087 GB, free: 10.55 MB / 426.7 MB Notification: Performance of pre-optimization done (n=24): time 1.222e-06/0.3838, allocations: 0 / 0.6087 GB, free: 10.55 MB / 426.7 MB Notification: Performance of matching and sorting (n=24): time 0.0009052/0.3847, allocations: 0.5403 MB / 0.6092 GB, free: 10.01 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.657e-05/0.3847, allocations: 81.05 kB / 0.6093 GB, free: 9.91 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003067/0.3851, allocations: 356.5 kB / 0.6097 GB, free: 9.547 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 3.074e-05/0.3851, allocations: 29.7 kB / 0.6097 GB, free: 9.512 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.622e-05/0.3852, allocations: 140.8 kB / 0.6098 GB, free: 9.367 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.881e-05/0.3853, allocations: 110.4 kB / 0.6099 GB, free: 9.258 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.011e-05/0.3853, allocations: 4 kB / 0.6099 GB, free: 9.254 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001166/0.3854, allocations: 354.7 kB / 0.6103 GB, free: 8.898 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003845/0.3858, allocations: 284.9 kB / 0.6105 GB, free: 8.621 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003944/0.3862, allocations: 339.5 kB / 0.6109 GB, free: 8.285 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00309/0.3893, allocations: 1.767 MB / 0.6126 GB, free: 6.508 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.254e-06/0.3893, allocations: 4 kB / 0.6126 GB, free: 6.504 MB / 426.7 MB Notification: Performance of matching and sorting (n=92) (initialization): time 0.0009912/0.3903, allocations: 0.7711 MB / 0.6134 GB, free: 5.727 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.274e-05/0.3903, allocations: 4 kB / 0.6134 GB, free: 5.723 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.929e-05/0.3904, allocations: 4 kB / 0.6134 GB, free: 5.719 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.286e-05/0.3904, allocations: 4 kB / 0.6134 GB, free: 5.715 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004317/0.3908, allocations: 99.86 kB / 0.6135 GB, free: 5.617 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.398e-06/0.3908, allocations: 7.984 kB / 0.6135 GB, free: 5.609 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001706/0.391, allocations: 71.05 kB / 0.6135 GB, free: 5.539 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.872e-05/0.391, allocations: 12 kB / 0.6135 GB, free: 5.527 MB / 426.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.0002093/0.3913, allocations: 182.4 kB / 0.6137 GB, free: 5.348 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.849e-05/0.3913, allocations: 35.52 kB / 0.6138 GB, free: 5.312 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.623e-05/0.3914, allocations: 42.7 kB / 0.6138 GB, free: 5.27 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.139e-06/0.3914, allocations: 0 / 0.6138 GB, free: 5.27 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.452e-06/0.3915, allocations: 7.938 kB / 0.6138 GB, free: 5.262 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.939e-06/0.3915, allocations: 7.938 kB / 0.6138 GB, free: 5.254 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003758/0.3919, allocations: 337.2 kB / 0.6141 GB, free: 4.875 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.054e-06/0.3919, allocations: 0 / 0.6141 GB, free: 4.875 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003244/0.3922, allocations: 47.97 kB / 0.6142 GB, free: 4.828 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.645e-06/0.3922, allocations: 0 / 0.6142 GB, free: 4.828 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.65e-05/0.3922, allocations: 19.98 kB / 0.6142 GB, free: 4.809 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.054e-06/0.3923, allocations: 0 / 0.6142 GB, free: 4.809 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.213e-06/0.3923, allocations: 0 / 0.6142 GB, free: 4.809 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009177/0.3932, allocations: 0.7571 MB / 0.6149 GB, free: 4.031 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.336e-05/0.3932, allocations: 108.8 kB / 0.615 GB, free: 3.906 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.767e-05/0.3933, allocations: 15.98 kB / 0.6151 GB, free: 3.891 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001925/0.3935, allocations: 15.98 kB / 0.6151 GB, free: 3.875 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.834e-05/0.3936, allocations: 19.92 kB / 0.6151 GB, free: 3.855 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.012e-05/0.3936, allocations: 7.984 kB / 0.6151 GB, free: 3.848 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0001899/0.3938, allocations: 219 kB / 0.6153 GB, free: 3.637 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.6e-07/0.3938, allocations: 0 / 0.6153 GB, free: 3.637 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0007784/0.3946, allocations: 271.8 kB / 0.6156 GB, free: 3.371 MB / 426.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.000701/0.3953, allocations: 290.8 kB / 0.6158 GB, free: 3.078 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0009658/0.3963, allocations: 0.7404 MB / 0.6166 GB, free: 2.312 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.835e-06/0.3963, allocations: 0 / 0.6166 GB, free: 2.312 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002984/0.3966, allocations: 207.7 kB / 0.6168 GB, free: 2.109 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004511/0.397, allocations: 41.06 kB / 0.6168 GB, free: 2.066 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001204/0.3983, allocations: 1.031 MB / 0.6178 GB, free: 1.004 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003417/0.3986, allocations: 0.807 MB / 0.6186 GB, free: 176 kB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.000182/0.3988, allocations: 74.22 kB / 0.6187 GB, free: 104 kB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.651e-05/0.3989, allocations: 19.44 kB / 0.6187 GB, free: 84 kB / 426.7 MB Notification: Performance of SimCode: time 3.11e-07/0.3989, allocations: 0 / 0.6187 GB, free: 84 kB / 426.7 MB Notification: Performance of Templates: time 0.01011/0.409, allocations: 6.067 MB / 0.6246 GB, free: 10.04 MB / 442.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Blocks.PadeDelay2.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Blocks.PadeDelay2.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Blocks.PadeDelay2.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Blocks.PadeDelay2.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Blocks.PadeDelay2.sim & ./ModelicaTest_4.0.0_ModelicaTest.Blocks.PadeDelay2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Blocks.PadeDelay2.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_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_4.0.0_ModelicaTest.Blocks.PadeDelay2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches