Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Blocks.PadeDelay2.conf.json Using package ModelicaTest with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo) Using package ModelicaServices with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo) Using package Complex with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+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_3.2.2_ModelicaTest.Blocks.PadeDelay2") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.00403/0.004037, allocations: 370 kB / 15.96 MB, free: 6.199 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 4.125/4.125, allocations: 388.9 MB / 405.6 MB, free: 10.32 MB / 346.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.003469/0.003469, allocations: 230 kB / 451 MB, free: 145.1 MB / 346.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo): time 0.5073/0.5073, allocations: 80.02 MB / 0.5627 GB, free: 19.86 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006694/0.0006699, allocations: 15.98 kB / 0.6265 GB, free: 96.55 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1294/0.1301, allocations: 54.86 MB / 0.6801 GB, free: 41.68 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.PadeDelay2): time 0.002756/0.1329, allocations: 1.491 MB / 0.6815 GB, free: 40.17 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.00313/0.1361, allocations: 1.289 MB / 0.6828 GB, free: 38.88 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001097/0.1362, allocations: 0 / 0.6828 GB, free: 38.88 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00017/0.1364, allocations: 23.8 kB / 0.6828 GB, free: 38.85 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001153/0.1365, allocations: 19.78 kB / 0.6828 GB, free: 38.83 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002161/0.1387, allocations: 475 kB / 0.6833 GB, free: 38.37 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003937/0.1391, allocations: 243.3 kB / 0.6835 GB, free: 38.13 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001586/0.1393, allocations: 32.28 kB / 0.6836 GB, free: 38.1 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002315/0.1395, allocations: 99.61 kB / 0.6836 GB, free: 38 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003317/0.1399, allocations: 159.5 kB / 0.6838 GB, free: 37.84 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001395/0.1401, allocations: 12 kB / 0.6838 GB, free: 37.83 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002086/0.1422, allocations: 0.694 MB / 0.6845 GB, free: 37.14 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002052/0.1424, allocations: 99.7 kB / 0.6846 GB, free: 37.04 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001529/0.1426, allocations: 61.58 kB / 0.6846 GB, free: 36.97 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001513/0.1441, allocations: 0.8344 MB / 0.6855 GB, free: 36.14 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.6e-06/0.1442, allocations: 0 / 0.6855 GB, free: 36.14 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.394e-06/0.1442, allocations: 0 / 0.6855 GB, free: 36.14 MB / 346.7 MB Notification: Performance of Transformations before backend: time 7.764e-06/0.1442, allocations: 0 / 0.6855 GB, free: 36.14 MB / 346.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.002255/0.1465, allocations: 0.6892 MB / 0.6861 GB, free: 35.4 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.2e-05/0.1466, allocations: 8.828 kB / 0.6861 GB, free: 35.39 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001368/0.1467, allocations: 43.5 kB / 0.6862 GB, free: 35.35 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005615/0.1473, allocations: 271.2 kB / 0.6864 GB, free: 35.04 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.882e-05/0.1473, allocations: 12 kB / 0.6865 GB, free: 35.03 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000133/0.1475, allocations: 20 kB / 0.6865 GB, free: 35.01 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001093/0.1486, allocations: 284.4 kB / 0.6867 GB, free: 34.72 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.921e-05/0.1486, allocations: 0 / 0.6867 GB, free: 34.72 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.673e-05/0.1487, allocations: 7.953 kB / 0.6868 GB, free: 34.71 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.788e-06/0.1487, allocations: 4 kB / 0.6868 GB, free: 34.71 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001099/0.1499, allocations: 227.8 kB / 0.687 GB, free: 34.49 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002598/0.1525, allocations: 0.7655 MB / 0.6877 GB, free: 33.67 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001093/0.1536, allocations: 300.9 kB / 0.688 GB, free: 33.36 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007766/0.1544, allocations: 197.6 kB / 0.6882 GB, free: 33.16 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.562e-05/0.1545, allocations: 4 kB / 0.6882 GB, free: 33.15 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.339e-05/0.1545, allocations: 34.56 kB / 0.6882 GB, free: 33.11 MB / 346.7 MB Notification: Performance of pre-optimization done (n=24): time 3.616e-06/0.1546, allocations: 0 / 0.6882 GB, free: 33.11 MB / 346.7 MB Notification: Performance of matching and sorting (n=24): time 0.002395/0.157, allocations: 0.5525 MB / 0.6888 GB, free: 32.55 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.749e-05/0.157, allocations: 85.11 kB / 0.6889 GB, free: 32.45 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003837/0.1574, allocations: 344.5 kB / 0.6892 GB, free: 32.11 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 3.927e-05/0.1574, allocations: 29.7 kB / 0.6892 GB, free: 32.08 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.232e-05/0.1576, allocations: 148.8 kB / 0.6894 GB, free: 31.93 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.822e-05/0.1577, allocations: 102.4 kB / 0.6894 GB, free: 31.83 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.145e-05/0.1577, allocations: 8 kB / 0.6895 GB, free: 31.82 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 8.993e-05/0.1578, allocations: 346.8 kB / 0.6898 GB, free: 31.47 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006117/0.1584, allocations: 284.9 kB / 0.6901 GB, free: 31.2 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006453/0.1591, allocations: 347.5 kB / 0.6904 GB, free: 30.85 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007051/0.1598, allocations: 330.6 kB / 0.6907 GB, free: 30.53 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.106e-06/0.1598, allocations: 0 / 0.6907 GB, free: 30.53 MB / 346.7 MB Notification: Performance of matching and sorting (n=92) (initialization): time 0.001576/0.1614, allocations: 0.7563 MB / 0.6914 GB, free: 29.77 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.705e-05/0.1614, allocations: 8 kB / 0.6915 GB, free: 29.76 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.861e-05/0.1615, allocations: 8 kB / 0.6915 GB, free: 29.75 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.644e-05/0.1615, allocations: 0 / 0.6915 GB, free: 29.75 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008456/0.1623, allocations: 103.9 kB / 0.6916 GB, free: 29.65 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.916e-06/0.1624, allocations: 0 / 0.6916 GB, free: 29.65 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003026/0.1627, allocations: 63.12 kB / 0.6916 GB, free: 29.59 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.216e-05/0.1627, allocations: 19.98 kB / 0.6916 GB, free: 29.57 MB / 346.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.000279/0.163, allocations: 186.8 kB / 0.6918 GB, free: 29.39 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.692e-05/0.1631, allocations: 27.53 kB / 0.6918 GB, free: 29.36 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001148/0.1632, allocations: 42.7 kB / 0.6919 GB, free: 29.31 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.19e-06/0.1633, allocations: 0 / 0.6919 GB, free: 29.31 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.234e-06/0.1633, allocations: 0 / 0.6919 GB, free: 29.31 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.138e-05/0.1633, allocations: 112.6 kB / 0.692 GB, free: 29.18 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.978e-05/0.1634, allocations: 15.98 kB / 0.692 GB, free: 29.17 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003637/0.1638, allocations: 15.95 kB / 0.692 GB, free: 29.15 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.761e-05/0.1639, allocations: 15.97 kB / 0.692 GB, free: 29.14 MB / 346.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.002505/0.1664, allocations: 0.726 MB / 0.6927 GB, free: 28.4 MB / 346.7 MB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.00166/0.1681, allocations: 0.9165 MB / 0.6936 GB, free: 27.46 MB / 346.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.000485/0.1686, allocations: 211.8 kB / 0.6938 GB, free: 27.26 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0002529/0.1689, allocations: 223 kB / 0.6941 GB, free: 27.05 MB / 346.7 MB Notification: Performance of Backend: time 6.92e-07/0.1689, allocations: 0 / 0.6941 GB, free: 27.05 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.002113/0.171, allocations: 0.7973 MB / 0.6948 GB, free: 26.21 MB / 346.7 MB Notification: Performance of SimCode: time 0.00147/0.1725, allocations: 1.341 MB / 0.6961 GB, free: 24.84 MB / 346.7 MB Notification: Performance of Templates: time 0.0201/0.1926, allocations: 7.038 MB / 0.703 GB, free: 17.8 MB / 346.7 MB "" Variables in the reference:time,padeDelay1a.y,padeDelay1b.y,padeDelay2a.y,padeDelay2b.y Variables in the result:Sine.amplitude,Sine.freqHz,Sine.offset,Sine.phase,Sine.startTime,compare1.u1,delayTime,n,padeDelay1a.a1[1],padeDelay1a.a1[2],padeDelay1a.a1[3],padeDelay1a.a1[4],padeDelay1a.b11,padeDelay1a.balance,padeDelay1a.c[1],padeDelay1a.c[2],padeDelay1a.c[3],padeDelay1a.c[4],padeDelay1a.d,padeDelay1a.delayTime,padeDelay1a.m,padeDelay1a.n,padeDelay1a.s[1],padeDelay1a.s[2],padeDelay1a.s[3],padeDelay1a.y,padeDelay1b.a1[1],padeDelay1b.a1[2],padeDelay1b.a1[3],padeDelay1b.a1[4],padeDelay1b.b11,padeDelay1b.balance,padeDelay1b.c[1],padeDelay1b.c[2],padeDelay1b.c[3],padeDelay1b.c[4],padeDelay1b.d,padeDelay1b.delayTime,padeDelay1b.m,padeDelay1b.n,padeDelay1b.s[1],padeDelay1b.s[2],padeDelay1b.s[3],padeDelay1b.y,padeDelay2a.a1[1],padeDelay2a.a1[2],padeDelay2a.a1[3],padeDelay2a.a1[4],padeDelay2a.b11,padeDelay2a.balance,padeDelay2a.c[1],padeDelay2a.c[2],padeDelay2a.c[3],padeDelay2a.c[4],padeDelay2a.d,padeDelay2a.delayTime,padeDelay2a.m,padeDelay2a.n,padeDelay2a.s[1],padeDelay2a.s[2],padeDelay2a.s[3],padeDelay2a.y,padeDelay2b.a1[1],padeDelay2b.a1[2],padeDelay2b.a1[3],padeDelay2b.a1[4],padeDelay2b.b11,padeDelay2b.balance,padeDelay2b.c[1],padeDelay2b.c[2],padeDelay2b.c[3],padeDelay2b.c[4],padeDelay2b.d,padeDelay2b.delayTime,padeDelay2b.m,padeDelay2b.n,padeDelay2b.s[1],padeDelay2b.s[2],padeDelay2b.s[3],padeDelay2b.y,step.height,step.offset,step.startTime,time