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.00149/0.001494, allocations: 172.2 kB / 8.739 MB, free: 348 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.521/1.521, allocations: 221.5 MB / 230.7 MB, free: 7.578 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.0008575/0.0008575, allocations: 102.3 kB / 281.6 MB, free: 5.328 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.1919/0.1919, allocations: 44.14 MB / 376.5 MB, free: 3.047 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 1.607e-05/1.611e-05, allocations: 4.219 kB / 444.6 MB, free: 15.24 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1285/0.1285, allocations: 61.91 MB / 0.4947 GB, free: 1.266 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4004/0.5289, allocations: 87.1 MB / 0.5797 GB, free: 9.398 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002399/0.5292, allocations: 63.97 kB / 0.5798 GB, free: 9.336 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03171/0.561, allocations: 9.477 MB / 0.589 GB, free: 15.85 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.843e-06/0.561, allocations: 0 / 0.589 GB, free: 15.85 MB / 410.7 MB Notification: Performance of Transformations before backend: time 2.164e-05/0.5611, allocations: 12 kB / 0.5891 GB, free: 15.84 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.001219/0.5623, allocations: 0.6482 MB / 0.5897 GB, free: 15.15 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.307e-05/0.5623, allocations: 15.98 kB / 0.5897 GB, free: 15.13 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.546e-05/0.5624, allocations: 31.53 kB / 0.5897 GB, free: 15.1 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003961/0.5628, allocations: 295.9 kB / 0.59 GB, free: 14.77 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.58e-05/0.5629, allocations: 7.953 kB / 0.59 GB, free: 14.77 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.851e-05/0.5629, allocations: 16 kB / 0.59 GB, free: 14.75 MB / 410.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003306/0.5633, allocations: 195.9 kB / 0.5902 GB, free: 14.56 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004003/0.5637, allocations: 243.2 kB / 0.5905 GB, free: 14.31 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.042e-05/0.5637, allocations: 0 / 0.5905 GB, free: 14.31 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.319e-05/0.5637, allocations: 0 / 0.5905 GB, free: 14.31 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.213e-06/0.5637, allocations: 4 kB / 0.5905 GB, free: 14.3 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001194/0.5649, allocations: 0.7192 MB / 0.5912 GB, free: 13.54 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003525/0.5653, allocations: 269 kB / 0.5914 GB, free: 13.26 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002371/0.5655, allocations: 177.6 kB / 0.5916 GB, free: 13.08 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.329e-05/0.5656, allocations: 4 kB / 0.5916 GB, free: 13.08 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.914e-05/0.5656, allocations: 30.56 kB / 0.5916 GB, free: 13.04 MB / 410.7 MB Notification: Performance of pre-optimization done (n=24): time 1.473e-06/0.5656, allocations: 0 / 0.5916 GB, free: 13.04 MB / 410.7 MB Notification: Performance of matching and sorting (n=24): time 0.0006268/0.5663, allocations: 367.4 kB / 0.592 GB, free: 12.67 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.002e-05/0.5663, allocations: 81.11 kB / 0.592 GB, free: 12.57 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003103/0.5666, allocations: 297.1 kB / 0.5923 GB, free: 12.28 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 3.604e-05/0.5667, allocations: 33.64 kB / 0.5924 GB, free: 12.24 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001002/0.5668, allocations: 133.1 kB / 0.5925 GB, free: 12.1 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.818e-05/0.5669, allocations: 98.56 kB / 0.5926 GB, free: 12 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.913e-05/0.5669, allocations: 0 / 0.5926 GB, free: 12 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001538/0.5671, allocations: 350.8 kB / 0.5929 GB, free: 11.65 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003418/0.5674, allocations: 268.7 kB / 0.5932 GB, free: 11.39 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004253/0.5678, allocations: 318.3 kB / 0.5935 GB, free: 11.07 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005012/0.5683, allocations: 301.8 kB / 0.5938 GB, free: 10.78 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.634e-06/0.5684, allocations: 0 / 0.5938 GB, free: 10.78 MB / 410.7 MB Notification: Performance of matching and sorting (n=92) (initialization): time 0.0009713/0.5693, allocations: 0.7034 MB / 0.5945 GB, free: 10.07 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.817e-05/0.5694, allocations: 5.25 kB / 0.5945 GB, free: 10.07 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.458e-05/0.5694, allocations: 12 kB / 0.5945 GB, free: 10.05 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.688e-05/0.5694, allocations: 0 / 0.5945 GB, free: 10.05 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005165/0.5699, allocations: 107.9 kB / 0.5946 GB, free: 9.949 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.546e-06/0.57, allocations: 3.953 kB / 0.5946 GB, free: 9.945 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000207/0.5702, allocations: 63.06 kB / 0.5946 GB, free: 9.883 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.476e-05/0.5702, allocations: 15.98 kB / 0.5947 GB, free: 9.867 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.0001825/0.5704, allocations: 122 kB / 0.5948 GB, free: 9.746 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.231e-05/0.5705, allocations: 31.62 kB / 0.5948 GB, free: 9.715 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001175/0.5706, allocations: 34.84 kB / 0.5948 GB, free: 9.68 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.889e-06/0.5706, allocations: 7.938 kB / 0.5948 GB, free: 9.672 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.295e-06/0.5706, allocations: 3.984 kB / 0.5948 GB, free: 9.668 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.782e-06/0.5707, allocations: 3.953 kB / 0.5948 GB, free: 9.664 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004023/0.5711, allocations: 297.9 kB / 0.5951 GB, free: 9.336 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.904e-06/0.5711, allocations: 0 / 0.5951 GB, free: 9.336 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003934/0.5715, allocations: 47.97 kB / 0.5952 GB, free: 9.289 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.948e-06/0.5715, allocations: 0 / 0.5952 GB, free: 9.289 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.771e-05/0.5715, allocations: 19.98 kB / 0.5952 GB, free: 9.27 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.933e-06/0.5715, allocations: 0 / 0.5952 GB, free: 9.27 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.429e-06/0.5716, allocations: 4 kB / 0.5952 GB, free: 9.266 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008422/0.5724, allocations: 0.7108 MB / 0.5959 GB, free: 8.527 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.04e-05/0.5725, allocations: 112.8 kB / 0.596 GB, free: 8.398 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.069e-05/0.5725, allocations: 7.984 kB / 0.596 GB, free: 8.391 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002158/0.5728, allocations: 11.98 kB / 0.596 GB, free: 8.379 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.121e-05/0.5728, allocations: 15.98 kB / 0.596 GB, free: 8.363 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.046e-05/0.5729, allocations: 8 kB / 0.596 GB, free: 8.355 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0002066/0.5731, allocations: 208.5 kB / 0.5962 GB, free: 8.148 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.31e-07/0.5731, allocations: 0 / 0.5962 GB, free: 8.148 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0009531/0.574, allocations: 267.7 kB / 0.5965 GB, free: 7.887 MB / 410.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.0005464/0.5746, allocations: 282.8 kB / 0.5968 GB, free: 7.602 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.000909/0.5755, allocations: 0.6899 MB / 0.5974 GB, free: 6.887 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.325e-06/0.5755, allocations: 0 / 0.5974 GB, free: 6.887 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002274/0.5758, allocations: 187.7 kB / 0.5976 GB, free: 6.703 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003677/0.5761, allocations: 30.45 kB / 0.5976 GB, free: 6.676 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001112/0.5773, allocations: 0.7939 MB / 0.5984 GB, free: 5.852 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004073/0.5777, allocations: 0.8065 MB / 0.5992 GB, free: 5.016 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0001719/0.5779, allocations: 77.94 kB / 0.5993 GB, free: 4.941 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.194e-05/0.578, allocations: 23.44 kB / 0.5993 GB, free: 4.918 MB / 410.7 MB Notification: Performance of SimCode: time 2.6e-07/0.578, allocations: 0 / 0.5993 GB, free: 4.918 MB / 410.7 MB Notification: Performance of Templates: time 0.01079/0.5888, allocations: 5.714 MB / 0.6049 GB, free: 15.22 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