Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Blocks.PadeDelay1.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.PadeDelay1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|padeDelay1.y|padeDelayOld1.y|padeDelay2.y|padeDelayOld2.y",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Blocks.PadeDelay1") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.00385/0.003855, allocations: 371.3 kB / 15.97 MB, free: 6.195 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.39/4.39, allocations: 388.9 MB / 405.6 MB, free: 9.66 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.005299/0.005299, allocations: 230.6 kB / 451 MB, free: 145 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.5424/0.5424, allocations: 80.02 MB / 0.5627 GB, free: 19.78 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004417/0.000442, allocations: 12 kB / 0.6265 GB, free: 96.54 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09314/0.0936, allocations: 54.88 MB / 0.6801 GB, free: 41.67 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.PadeDelay1): time 0.001933/0.0956, allocations: 1.468 MB / 0.6815 GB, free: 40.18 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001943/0.09756, allocations: 1.097 MB / 0.6826 GB, free: 39.08 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.009e-05/0.09765, allocations: 7.938 kB / 0.6826 GB, free: 39.07 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001412/0.09781, allocations: 23.78 kB / 0.6826 GB, free: 39.05 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 7.64e-05/0.0979, allocations: 19.84 kB / 0.6827 GB, free: 39.03 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001314/0.09922, allocations: 451.1 kB / 0.6831 GB, free: 38.59 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003426/0.09958, allocations: 335.3 kB / 0.6834 GB, free: 38.26 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001188/0.09971, allocations: 33.67 kB / 0.6834 GB, free: 38.23 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000205/0.09993, allocations: 167.5 kB / 0.6836 GB, free: 38.06 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003873/0.1003, allocations: 303.4 kB / 0.6839 GB, free: 37.77 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 8.833e-05/0.1004, allocations: 20 kB / 0.6839 GB, free: 37.75 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009529/0.1014, allocations: 0.4913 MB / 0.6844 GB, free: 37.25 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001964/0.1016, allocations: 179.5 kB / 0.6846 GB, free: 37.08 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 8.096e-05/0.1017, allocations: 93.39 kB / 0.6846 GB, free: 36.98 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0008891/0.1026, allocations: 0.8655 MB / 0.6855 GB, free: 36.11 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.098e-06/0.1026, allocations: 0 / 0.6855 GB, free: 36.11 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.804e-06/0.1026, allocations: 4 kB / 0.6855 GB, free: 36.11 MB / 346.7 MB Notification: Performance of Transformations before backend: time 6.202e-06/0.1027, allocations: 0 / 0.6855 GB, free: 36.11 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: 104 * Number of variables: 104 Notification: Performance of Generate backend data structure: time 0.002373/0.105, allocations: 0.9935 MB / 0.6865 GB, free: 35.07 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.612e-05/0.1051, allocations: 8.828 kB / 0.6865 GB, free: 35.06 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001379/0.1052, allocations: 43.34 kB / 0.6865 GB, free: 35.02 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004932/0.1057, allocations: 341.2 kB / 0.6868 GB, free: 34.65 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.532e-05/0.1058, allocations: 24.56 kB / 0.6869 GB, free: 34.62 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001302/0.1059, allocations: 43.81 kB / 0.6869 GB, free: 34.58 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00131/0.1072, allocations: 0.6575 MB / 0.6875 GB, free: 33.91 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.685e-05/0.1073, allocations: 11.91 kB / 0.6876 GB, free: 33.9 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.153e-05/0.1074, allocations: 15.95 kB / 0.6876 GB, free: 33.88 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.075e-05/0.1074, allocations: 4 kB / 0.6876 GB, free: 33.88 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00166/0.1091, allocations: 0.7347 MB / 0.6883 GB, free: 33.14 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00273/0.1118, allocations: 1.493 MB / 0.6897 GB, free: 31.59 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001424/0.1132, allocations: 0.7943 MB / 0.6905 GB, free: 30.79 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001036/0.1143, allocations: 0.5895 MB / 0.6911 GB, free: 30.19 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005967/0.1149, allocations: 306.5 kB / 0.6914 GB, free: 29.86 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.018e-05/0.115, allocations: 47.02 kB / 0.6914 GB, free: 29.8 MB / 346.7 MB Notification: Performance of pre-optimization done (n=96): time 4.128e-06/0.115, allocations: 3.938 kB / 0.6914 GB, free: 29.8 MB / 346.7 MB Notification: Performance of matching and sorting (n=96): time 0.003242/0.1182, allocations: 1.639 MB / 0.693 GB, free: 28.15 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.702e-05/0.1183, allocations: 89.05 kB / 0.6931 GB, free: 28.05 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004486/0.1187, allocations: 397.2 kB / 0.6935 GB, free: 27.65 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 6.28e-05/0.1188, allocations: 37.7 kB / 0.6935 GB, free: 27.61 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.704e-05/0.1189, allocations: 141.9 kB / 0.6937 GB, free: 27.46 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002685/0.1192, allocations: 362.6 kB / 0.694 GB, free: 27.1 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.316e-05/0.1192, allocations: 8 kB / 0.694 GB, free: 27.09 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001194/0.1194, allocations: 378.8 kB / 0.6944 GB, free: 26.71 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001164/0.1205, allocations: 0.6038 MB / 0.695 GB, free: 26.11 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001243/0.1218, allocations: 0.7027 MB / 0.6957 GB, free: 25.41 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001543/0.1234, allocations: 0.7495 MB / 0.6964 GB, free: 24.66 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.979e-06/0.1234, allocations: 4 kB / 0.6964 GB, free: 24.65 MB / 346.7 MB Notification: Performance of matching and sorting (n=198) (initialization): time 0.003121/0.1265, allocations: 1.716 MB / 0.6981 GB, free: 22.93 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.027e-05/0.1266, allocations: 7.953 kB / 0.6981 GB, free: 22.92 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.908e-05/0.1266, allocations: 7.984 kB / 0.6981 GB, free: 22.91 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.201e-05/0.1266, allocations: 4 kB / 0.6981 GB, free: 22.91 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0015/0.1281, allocations: 171.8 kB / 0.6983 GB, free: 22.74 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.509e-05/0.1282, allocations: 8 kB / 0.6983 GB, free: 22.73 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005253/0.1287, allocations: 118.4 kB / 0.6984 GB, free: 22.62 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.565e-05/0.1288, allocations: 24 kB / 0.6984 GB, free: 22.59 MB / 346.7 MB Warning: Assuming fixed start value for the following 36 variables: padeDelay1.x[9]:VARIABLE(fixed = true final = true ) "State of transfer function from controller canonical form (balance=false), or balanced controller canonical form (balance=true)" type: Real [10] padeDelay1.x[8]:VARIABLE(fixed = true final = true ) "State of transfer function from controller canonical form (balance=false), or balanced controller canonical form (balance=true)" type: Real [10] padeDelay1.x[7]:VARIABLE(fixed = true final = true ) "State of transfer function from controller canonical form (balance=false), or balanced controller canonical form (balance=true)" type: Real [10] padeDelay1.x[6]:VARIABLE(fixed = true final = true ) "State of transfer function from controller canonical form (balance=false), or balanced controller canonical form (balance=true)" type: Real [10] padeDelay1.x[5]:VARIABLE(fixed = true final = true ) "State of transfer function from controller canonical form (balance=false), or balanced controller canonical form (balance=true)" type: Real [10] padeDelay1.x[4]:VARIABLE(fixed = true final = true ) "State of transfer function from controller canonical form (balance=false), or balanced controller canonical form (balance=true)" type: Real [10] padeDelay1.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 [10] padeDelay1.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 [10] padeDelay1.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 [10] padeDelayOld1.x[9]:VARIABLE(fixed = true final = true ) "State of transfer function from controller canonical form" type: Real [10] padeDelayOld1.x[8]:VARIABLE(fixed = true final = true ) "State of transfer function from controller canonical form" type: Real [10] padeDelayOld1.x[7]:VARIABLE(fixed = true final = true ) "State of transfer function from controller canonical form" type: Real [10] padeDelayOld1.x[6]:VARIABLE(fixed = true final = true ) "State of transfer function from controller canonical form" type: Real [10] padeDelayOld1.x[5]:VARIABLE(fixed = true final = true ) "State of transfer function from controller canonical form" type: Real [10] padeDelayOld1.x[4]:VARIABLE(fixed = true final = true ) "State of transfer function from controller canonical form" type: Real [10] padeDelayOld1.x[3]:VARIABLE(fixed = true final = true ) "State of transfer function from controller canonical form" type: Real [10] padeDelayOld1.x[2]:VARIABLE(fixed = true final = true ) "State of transfer function from controller canonical form" type: Real [10] padeDelayOld1.x[1]:VARIABLE(fixed = true final = true ) "State of transfer function from controller canonical form" type: Real [10] padeDelay2.x[9]:VARIABLE(fixed = true final = true ) "State of transfer function from controller canonical form (balance=false), or balanced controller canonical form (balance=true)" type: Real [10] padeDelay2.x[8]:VARIABLE(fixed = true final = true ) "State of transfer function from controller canonical form (balance=false), or balanced controller canonical form (balance=true)" type: Real [10] padeDelay2.x[7]:VARIABLE(fixed = true final = true ) "State of transfer function from controller canonical form (balance=false), or balanced controller canonical form (balance=true)" type: Real [10] padeDelay2.x[6]:VARIABLE(fixed = true final = true ) "State of transfer function from controller canonical form (balance=false), or balanced controller canonical form (balance=true)" type: Real [10] padeDelay2.x[5]:VARIABLE(fixed = true final = true ) "State of transfer function from controller canonical form (balance=false), or balanced controller canonical form (balance=true)" type: Real [10] padeDelay2.x[4]:VARIABLE(fixed = true final = true ) "State of transfer function from controller canonical form (balance=false), or balanced controller canonical form (balance=true)" type: Real [10] padeDelay2.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 [10] padeDelay2.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 [10] padeDelay2.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 [10] padeDelayOld2.x[9]:VARIABLE(fixed = true final = true ) "State of transfer function from controller canonical form" type: Real [10] padeDelayOld2.x[8]:VARIABLE(fixed = true final = true ) "State of transfer function from controller canonical form" type: Real [10] padeDelayOld2.x[7]:VARIABLE(fixed = true final = true ) "State of transfer function from controller canonical form" type: Real [10] padeDelayOld2.x[6]:VARIABLE(fixed = true final = true ) "State of transfer function from controller canonical form" type: Real [10] padeDelayOld2.x[5]:VARIABLE(fixed = true final = true ) "State of transfer function from controller canonical form" type: Real [10] padeDelayOld2.x[4]:VARIABLE(fixed = true final = true ) "State of transfer function from controller canonical form" type: Real [10] padeDelayOld2.x[3]:VARIABLE(fixed = true final = true ) "State of transfer function from controller canonical form" type: Real [10] padeDelayOld2.x[2]:VARIABLE(fixed = true final = true ) "State of transfer function from controller canonical form" type: Real [10] padeDelayOld2.x[1]:VARIABLE(fixed = true final = true ) "State of transfer function from controller canonical form" type: Real [10] 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 (96): * Single equations (assignments): 92 * 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.0006399/0.1294, allocations: 335.8 kB / 0.6987 GB, free: 22.27 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001249/0.1296, allocations: 43.34 kB / 0.6988 GB, free: 22.23 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003103/0.1327, allocations: 2.093 MB / 0.7008 GB, free: 19.99 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.018e-05/0.1327, allocations: 11.92 kB / 0.7008 GB, free: 19.98 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.066e-06/0.1327, allocations: 0 / 0.7008 GB, free: 19.98 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001345/0.1329, allocations: 168.2 kB / 0.701 GB, free: 19.8 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001892/0.1331, allocations: 35.97 kB / 0.701 GB, free: 19.76 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005433/0.1336, allocations: 19.98 kB / 0.701 GB, free: 19.74 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001267/0.1338, allocations: 31.95 kB / 0.7011 GB, free: 19.71 MB / 346.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.005122/0.1389, allocations: 1.378 MB / 0.7024 GB, free: 18.32 MB / 346.7 MB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.003296/0.1422, allocations: 1.721 MB / 0.7041 GB, free: 16.59 MB / 346.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0009474/0.1432, allocations: 459.5 kB / 0.7045 GB, free: 16.14 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0005667/0.1438, allocations: 366.8 kB / 0.7049 GB, free: 15.79 MB / 346.7 MB Notification: Performance of Backend: time 9.82e-07/0.1438, allocations: 0 / 0.7049 GB, free: 15.79 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.003185/0.147, allocations: 1.416 MB / 0.7063 GB, free: 14.33 MB / 346.7 MB Notification: Performance of SimCode: time 0.002629/0.1497, allocations: 2.222 MB / 0.7084 GB, free: 12.07 MB / 346.7 MB Notification: Performance of Templates: time 0.02333/0.173, allocations: 10.09 MB / 0.7183 GB, free: 1.984 MB / 346.7 MB