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.00102/0.00102, allocations: 180.5 kB / 14.15 MB, free: 1.176 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.381/1.381, allocations: 221.3 MB / 236 MB, free: 2.98 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000812/0.0008121, allocations: 95.17 kB / 287 MB, free: 252 kB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2106/0.2106, allocations: 44.15 MB / 382 MB, free: 14.68 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 3.443e-05/3.454e-05, allocations: 4.219 kB / 451.8 MB, free: 9.445 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1173/0.1173, allocations: 61.91 MB / 0.5017 GB, free: 11.48 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.432/0.5494, allocations: 87.77 MB / 0.5874 GB, free: 1.566 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001747/0.5496, allocations: 63.97 kB / 0.5875 GB, free: 1.504 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03088/0.5805, allocations: 9.517 MB / 0.5968 GB, free: 7.98 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.383e-06/0.5805, allocations: 0 / 0.5968 GB, free: 7.98 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.833e-05/0.5806, allocations: 8 kB / 0.5968 GB, free: 7.973 MB / 410.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.001166/0.5817, allocations: 0.6458 MB / 0.5974 GB, free: 7.281 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.421e-05/0.5818, allocations: 8.031 kB / 0.5974 GB, free: 7.273 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.658e-05/0.5819, allocations: 31.53 kB / 0.5974 GB, free: 7.242 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004122/0.5823, allocations: 299.9 kB / 0.5977 GB, free: 6.906 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.975e-05/0.5823, allocations: 15.95 kB / 0.5977 GB, free: 6.891 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.328e-05/0.5824, allocations: 24 kB / 0.5978 GB, free: 6.867 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004346/0.5828, allocations: 259.2 kB / 0.598 GB, free: 6.602 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.027e-05/0.5829, allocations: 0 / 0.598 GB, free: 6.602 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.541e-05/0.5829, allocations: 8 kB / 0.598 GB, free: 6.594 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.358e-05/0.5829, allocations: 7.984 kB / 0.598 GB, free: 6.586 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003189/0.5832, allocations: 203.8 kB / 0.5982 GB, free: 6.387 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001203/0.5844, allocations: 0.7655 MB / 0.599 GB, free: 5.566 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003707/0.5848, allocations: 273 kB / 0.5992 GB, free: 5.281 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002362/0.5851, allocations: 185.6 kB / 0.5994 GB, free: 5.094 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.929e-05/0.5851, allocations: 8 kB / 0.5994 GB, free: 5.086 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.495e-05/0.5851, allocations: 34.56 kB / 0.5994 GB, free: 5.043 MB / 410.7 MB Notification: Performance of pre-optimization done (n=24): time 1.533e-06/0.5852, allocations: 0 / 0.5994 GB, free: 5.043 MB / 410.7 MB Notification: Performance of matching and sorting (n=24): time 0.0006448/0.5858, allocations: 377.2 kB / 0.5998 GB, free: 4.668 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.508e-05/0.5859, allocations: 85.05 kB / 0.5999 GB, free: 4.566 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002823/0.5861, allocations: 318.6 kB / 0.6002 GB, free: 4.254 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 3.463e-05/0.5862, allocations: 29.7 kB / 0.6002 GB, free: 4.219 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.89e-05/0.5863, allocations: 140.8 kB / 0.6003 GB, free: 4.074 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.602e-05/0.5864, allocations: 102.5 kB / 0.6004 GB, free: 3.973 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.803e-05/0.5864, allocations: 4 kB / 0.6005 GB, free: 3.969 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001222/0.5865, allocations: 350.8 kB / 0.6008 GB, free: 3.617 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003434/0.5869, allocations: 268.7 kB / 0.601 GB, free: 3.352 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003544/0.5872, allocations: 322.3 kB / 0.6013 GB, free: 3.035 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004017/0.5876, allocations: 309.9 kB / 0.6016 GB, free: 2.73 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.114e-06/0.5876, allocations: 4 kB / 0.6016 GB, free: 2.727 MB / 410.7 MB Notification: Performance of matching and sorting (n=92) (initialization): time 0.0009174/0.5886, allocations: 0.7307 MB / 0.6024 GB, free: 1.992 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.788e-05/0.5886, allocations: 5.562 kB / 0.6024 GB, free: 1.988 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.234e-05/0.5886, allocations: 7.938 kB / 0.6024 GB, free: 1.98 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.561e-05/0.5886, allocations: 7.953 kB / 0.6024 GB, free: 1.973 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004796/0.5891, allocations: 99.86 kB / 0.6025 GB, free: 1.875 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.716e-06/0.5891, allocations: 0 / 0.6025 GB, free: 1.875 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000206/0.5894, allocations: 71.12 kB / 0.6025 GB, free: 1.805 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.297e-05/0.5894, allocations: 15.98 kB / 0.6026 GB, free: 1.789 MB / 410.7 MB Warning: Assuming fixed start value for the following 6 variables: padeDelay2a.x[3]:VARIABLE(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(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(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(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(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(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 () * 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.000165/0.5896, allocations: 130.8 kB / 0.6027 GB, free: 1.656 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.724e-05/0.5897, allocations: 27.62 kB / 0.6027 GB, free: 1.629 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001148/0.5898, allocations: 34.84 kB / 0.6027 GB, free: 1.586 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.549e-06/0.5898, allocations: 4 kB / 0.6027 GB, free: 1.582 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.835e-06/0.5898, allocations: 3.953 kB / 0.6028 GB, free: 1.578 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.404e-06/0.5898, allocations: 7.984 kB / 0.6028 GB, free: 1.57 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003907/0.5902, allocations: 337.3 kB / 0.6031 GB, free: 1.191 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.747e-06/0.5902, allocations: 0 / 0.6031 GB, free: 1.191 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003476/0.5906, allocations: 47.91 kB / 0.6031 GB, free: 1.145 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.65e-06/0.5906, allocations: 4 kB / 0.6031 GB, free: 1.141 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.63e-05/0.5907, allocations: 15.98 kB / 0.6031 GB, free: 1.125 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.054e-06/0.5907, allocations: 4 kB / 0.6032 GB, free: 1.121 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.143e-06/0.5907, allocations: 0 / 0.6032 GB, free: 1.121 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008202/0.5915, allocations: 0.7382 MB / 0.6039 GB, free: 368 kB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.032e-05/0.5916, allocations: 104.8 kB / 0.604 GB, free: 244 kB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.108e-05/0.5916, allocations: 19.98 kB / 0.604 GB, free: 224 kB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002096/0.5918, allocations: 4 kB / 0.604 GB, free: 220 kB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.545e-05/0.5919, allocations: 23.92 kB / 0.604 GB, free: 196 kB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.042e-05/0.5919, allocations: 4 kB / 0.604 GB, free: 192 kB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0002058/0.5922, allocations: 226.1 kB / 0.6042 GB, free: 15.96 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.81e-07/0.5922, allocations: 0 / 0.6042 GB, free: 15.96 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0008719/0.593, allocations: 275.7 kB / 0.6045 GB, free: 15.7 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 () * 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.0005109/0.5936, allocations: 290.7 kB / 0.6048 GB, free: 15.4 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0008351/0.5944, allocations: 0.7095 MB / 0.6055 GB, free: 14.67 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.475e-06/0.5944, allocations: 0 / 0.6055 GB, free: 14.67 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002343/0.5947, allocations: 183.8 kB / 0.6056 GB, free: 14.49 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003227/0.595, allocations: 37.19 kB / 0.6057 GB, free: 14.45 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001031/0.596, allocations: 0.8076 MB / 0.6065 GB, free: 13.62 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003469/0.5964, allocations: 0.8185 MB / 0.6073 GB, free: 12.78 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0001671/0.5966, allocations: 62.03 kB / 0.6073 GB, free: 12.72 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.567e-05/0.5967, allocations: 27.42 kB / 0.6074 GB, free: 12.69 MB / 426.7 MB Notification: Performance of SimCode: time 3.8e-07/0.5967, allocations: 3.938 kB / 0.6074 GB, free: 12.69 MB / 426.7 MB Notification: Performance of Templates: time 0.01044/0.6071, allocations: 6.004 MB / 0.6132 GB, free: 6.711 MB / 426.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/jenkins/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