Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Blocks.PadeDelay2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_ModelicaTest.Blocks.PadeDelay2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001261/0.001261, allocations: 114.8 kB / 18.4 MB, free: 4.621 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001385/0.001385, allocations: 200.6 kB / 19.34 MB, free: 3.68 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.321/1.321, allocations: 227.4 MB / 247.5 MB, free: 10.43 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2058/0.2058, allocations: 46.1 MB / 344.9 MB, free: 11.5 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001503/0.001503, allocations: 67.89 kB / 419 MB, free: 19.02 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1121/0.1136, allocations: 62.46 MB / 481.4 MB, free: 4.531 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.PadeDelay2): time 0.003276/0.1169, allocations: 1.854 MB / 483.3 MB, free: 2.668 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002289/0.1192, allocations: 1.399 MB / 484.7 MB, free: 1.262 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001552/0.1194, allocations: 0 / 484.7 MB, free: 1.262 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001575/0.1196, allocations: 27.73 kB / 484.7 MB, free: 1.234 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001152/0.1197, allocations: 39.66 kB / 484.8 MB, free: 1.195 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001594/0.1213, allocations: 0.565 MB / 485.3 MB, free: 0.6289 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003644/0.1217, allocations: 291.2 kB / 485.6 MB, free: 352 kB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001398/0.1219, allocations: 40.3 kB / 485.7 MB, free: 312 kB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002724/0.1222, allocations: 115.6 kB / 485.8 MB, free: 196 kB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002542/0.1224, allocations: 179.4 kB / 485.9 MB, free: 16 kB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 8.01e-05/0.1225, allocations: 24.05 kB / 486 MB, free: 15.99 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001131/0.1236, allocations: 0.8071 MB / 486.8 MB, free: 15.18 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001479/0.1238, allocations: 115.7 kB / 486.9 MB, free: 15.07 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001537/0.124, allocations: 143.2 kB / 487 MB, free: 14.93 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001214/0.1252, allocations: 1.079 MB / 488.1 MB, free: 13.85 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.228e-06/0.1252, allocations: 0 / 488.1 MB, free: 13.85 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.603e-06/0.1252, allocations: 0 / 488.1 MB, free: 13.85 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.071e-05/0.1252, allocations: 4 kB / 488.1 MB, free: 13.84 MB / 366.1 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.001242/0.1265, allocations: 0.7244 MB / 488.8 MB, free: 13.07 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.726e-05/0.1265, allocations: 8.031 kB / 488.8 MB, free: 13.06 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001773/0.1267, allocations: 44.55 kB / 488.9 MB, free: 13.02 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003583/0.1271, allocations: 288 kB / 489.2 MB, free: 12.7 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.712e-05/0.1271, allocations: 19.94 kB / 489.2 MB, free: 12.68 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.846e-05/0.1272, allocations: 27.91 kB / 489.2 MB, free: 12.65 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004442/0.1276, allocations: 263.2 kB / 489.5 MB, free: 12.38 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.023e-05/0.1276, allocations: 0 / 489.5 MB, free: 12.38 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.284e-05/0.1277, allocations: 7.938 kB / 489.5 MB, free: 12.38 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.642e-06/0.1277, allocations: 4 kB / 489.5 MB, free: 12.37 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004123/0.1281, allocations: 234.2 kB / 489.7 MB, free: 12.14 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0012/0.1293, allocations: 0.7499 MB / 490.5 MB, free: 11.34 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004264/0.1298, allocations: 292.9 kB / 490.7 MB, free: 11.04 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002809/0.13, allocations: 189.6 kB / 490.9 MB, free: 10.84 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.103e-05/0.1301, allocations: 0 / 490.9 MB, free: 10.84 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.819e-05/0.1301, allocations: 50.42 kB / 491 MB, free: 10.79 MB / 366.1 MB Notification: Performance of pre-optimization done (n=24): time 1.392e-06/0.1301, allocations: 0 / 491 MB, free: 10.79 MB / 366.1 MB Notification: Performance of matching and sorting (n=24): time 0.0009778/0.1311, allocations: 0.5371 MB / 491.5 MB, free: 10.24 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.312e-05/0.1312, allocations: 85.05 kB / 491.6 MB, free: 10.14 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003426/0.1315, allocations: 352.5 kB / 491.9 MB, free: 9.789 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 3.519e-05/0.1316, allocations: 29.7 kB / 492 MB, free: 9.754 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001044/0.1317, allocations: 144.8 kB / 492.1 MB, free: 9.609 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.07e-05/0.1318, allocations: 98.55 kB / 492.2 MB, free: 9.512 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001651/0.1319, allocations: 121.7 kB / 492.3 MB, free: 9.387 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.000149/0.1321, allocations: 350.8 kB / 492.7 MB, free: 9.035 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004096/0.1325, allocations: 284.9 kB / 493 MB, free: 8.758 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000427/0.1329, allocations: 339.5 kB / 493.3 MB, free: 8.418 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003221/0.1362, allocations: 1.765 MB / 495 MB, free: 6.645 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.906e-06/0.1362, allocations: 0 / 495 MB, free: 6.645 MB / 366.1 MB Notification: Performance of matching and sorting (n=92) (initialization): time 0.001069/0.1373, allocations: 0.7615 MB / 495.8 MB, free: 5.879 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.089e-05/0.1373, allocations: 8 kB / 495.8 MB, free: 5.871 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.737e-05/0.1373, allocations: 7.984 kB / 495.8 MB, free: 5.863 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.764e-05/0.1374, allocations: 7.938 kB / 495.8 MB, free: 5.855 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004617/0.1378, allocations: 95.88 kB / 495.9 MB, free: 5.762 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.077e-05/0.1379, allocations: 3.984 kB / 495.9 MB, free: 5.758 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001851/0.1381, allocations: 71.11 kB / 496 MB, free: 5.688 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.172e-05/0.1381, allocations: 12 kB / 496 MB, free: 5.676 MB / 366.1 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002593/0.1384, allocations: 176.3 kB / 496.2 MB, free: 5.492 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.27e-05/0.1384, allocations: 27.62 kB / 496.2 MB, free: 5.465 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.609e-05/0.1385, allocations: 46.64 kB / 496.3 MB, free: 5.418 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.657e-06/0.1385, allocations: 4 kB / 496.3 MB, free: 5.414 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.542e-06/0.1386, allocations: 0 / 496.3 MB, free: 5.414 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.963e-06/0.1386, allocations: 4 kB / 496.3 MB, free: 5.41 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004106/0.139, allocations: 337.3 kB / 496.6 MB, free: 5.031 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.593e-06/0.139, allocations: 0 / 496.6 MB, free: 5.031 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003268/0.1393, allocations: 43.92 kB / 496.6 MB, free: 4.988 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.677e-06/0.1393, allocations: 7.938 kB / 496.6 MB, free: 4.98 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.891e-05/0.1394, allocations: 19.92 kB / 496.7 MB, free: 4.961 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.917e-06/0.1394, allocations: 7.938 kB / 496.7 MB, free: 4.953 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.323e-06/0.1394, allocations: 4 kB / 496.7 MB, free: 4.949 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009314/0.1403, allocations: 0.7396 MB / 497.4 MB, free: 4.191 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.403e-05/0.1404, allocations: 108.8 kB / 497.5 MB, free: 4.066 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.19e-05/0.1405, allocations: 15.94 kB / 497.5 MB, free: 4.051 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001998/0.1407, allocations: 11.98 kB / 497.5 MB, free: 4.039 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.091e-05/0.1408, allocations: 27.92 kB / 497.6 MB, free: 4.012 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.115e-05/0.1408, allocations: 7.984 kB / 497.6 MB, free: 4.004 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001951/0.141, allocations: 223 kB / 497.8 MB, free: 3.789 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.141, allocations: 0 / 497.8 MB, free: 3.789 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0008554/0.1419, allocations: 251.9 kB / 498 MB, free: 3.543 MB / 366.1 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004845/0.1423, allocations: 248.9 kB / 498.3 MB, free: 3.293 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0009225/0.1433, allocations: 0.7366 MB / 499 MB, free: 2.531 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.435e-06/0.1433, allocations: 0 / 499 MB, free: 2.531 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000287/0.1436, allocations: 187.8 kB / 499.2 MB, free: 2.348 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004566/0.144, allocations: 47.34 kB / 499.3 MB, free: 2.301 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001197/0.1453, allocations: 0.935 MB / 0.4885 GB, free: 1.336 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003522/0.1456, allocations: 0.8028 MB / 0.4893 GB, free: 0.5039 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001558/0.1458, allocations: 78.22 kB / 0.4893 GB, free: 436 kB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.596e-05/0.1459, allocations: 27.44 kB / 0.4894 GB, free: 408 kB / 366.1 MB Notification: Performance of SimCode: time 2.4e-07/0.1459, allocations: 0 / 0.4894 GB, free: 408 kB / 366.1 MB Notification: Performance of Templates: time 0.01082/0.1567, allocations: 6.487 MB / 0.4957 GB, free: 9.926 MB / 382.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Blocks.PadeDelay2.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Blocks.PadeDelay2.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Blocks.PadeDelay2.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Blocks.PadeDelay2.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Blocks.PadeDelay2.sim & ./ModelicaTest_trunk_ModelicaTest.Blocks.PadeDelay2 -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Blocks.PadeDelay2.pipe 2>&1)