Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Blocks.PadeDelay2.conf.json 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/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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_3.2.3_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_3.2.3_ModelicaTest.Blocks.PadeDelay2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001258/0.001258, allocations: 115.9 kB / 17.08 MB, free: 5.832 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001301/0.001301, allocations: 194.4 kB / 18.01 MB, free: 4.965 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.219/1.219, allocations: 205.1 MB / 223.9 MB, free: 12.25 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.1943/0.1943, allocations: 43.52 MB / 314.8 MB, free: 476 kB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001591/0.001591, allocations: 71.89 kB / 442.5 MB, free: 5.684 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1156/0.1172, allocations: 57.78 MB / 0.4885 GB, free: 11.83 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.PadeDelay2): time 0.003508/0.1207, allocations: 1.841 MB / 0.4903 GB, free: 9.984 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.002676/0.1234, allocations: 1.377 MB / 0.4917 GB, free: 8.598 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001635/0.1236, allocations: 0 / 0.4917 GB, free: 8.598 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000199/0.1238, allocations: 31.72 kB / 0.4917 GB, free: 8.566 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001315/0.124, allocations: 31.66 kB / 0.4917 GB, free: 8.535 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001917/0.126, allocations: 0.565 MB / 0.4923 GB, free: 7.969 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004099/0.1264, allocations: 275.3 kB / 0.4925 GB, free: 7.699 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001568/0.1265, allocations: 52.22 kB / 0.4926 GB, free: 7.645 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002424/0.1268, allocations: 119.6 kB / 0.4927 GB, free: 7.527 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002886/0.1271, allocations: 167.5 kB / 0.4929 GB, free: 7.363 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 6.576e-05/0.1272, allocations: 20 kB / 0.4929 GB, free: 7.344 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001249/0.1284, allocations: 0.815 MB / 0.4937 GB, free: 6.527 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001414/0.1286, allocations: 115.6 kB / 0.4938 GB, free: 6.414 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001606/0.1287, allocations: 151.1 kB / 0.4939 GB, free: 6.266 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001375/0.1301, allocations: 1.064 MB / 0.495 GB, free: 5.199 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.609e-06/0.1301, allocations: 0 / 0.495 GB, free: 5.199 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.744e-06/0.1302, allocations: 0 / 0.495 GB, free: 5.199 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.119e-05/0.1302, allocations: 0 / 0.495 GB, free: 5.199 MB / 382.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.001625/0.1318, allocations: 0.7244 MB / 0.4957 GB, free: 4.426 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.982e-05/0.1318, allocations: 11.89 kB / 0.4957 GB, free: 4.414 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.416e-05/0.1319, allocations: 28.56 kB / 0.4957 GB, free: 4.387 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003555/0.1323, allocations: 287.9 kB / 0.496 GB, free: 4.066 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.983e-05/0.1323, allocations: 8 kB / 0.496 GB, free: 4.059 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001087/0.1325, allocations: 27.94 kB / 0.496 GB, free: 4.031 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005069/0.133, allocations: 267.2 kB / 0.4963 GB, free: 3.758 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.237e-05/0.133, allocations: 4 kB / 0.4963 GB, free: 3.754 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.34e-05/0.133, allocations: 11.94 kB / 0.4963 GB, free: 3.742 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.786e-06/0.1331, allocations: 3.984 kB / 0.4963 GB, free: 3.738 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004898/0.1335, allocations: 227.7 kB / 0.4965 GB, free: 3.516 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001249/0.1348, allocations: 0.7538 MB / 0.4973 GB, free: 2.707 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000478/0.1353, allocations: 296.9 kB / 0.4975 GB, free: 2.398 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003015/0.1356, allocations: 189.6 kB / 0.4977 GB, free: 2.207 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.123e-05/0.1356, allocations: 4 kB / 0.4977 GB, free: 2.203 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.107e-05/0.1357, allocations: 38.5 kB / 0.4978 GB, free: 2.156 MB / 382.1 MB Notification: Performance of pre-optimization done (n=24): time 1.703e-06/0.1357, allocations: 4 kB / 0.4978 GB, free: 2.152 MB / 382.1 MB Notification: Performance of matching and sorting (n=24): time 0.00102/0.1367, allocations: 0.5363 MB / 0.4983 GB, free: 1.609 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.331e-05/0.1368, allocations: 77.11 kB / 0.4984 GB, free: 1.516 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003563/0.1372, allocations: 352.5 kB / 0.4987 GB, free: 1.164 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 4.069e-05/0.1372, allocations: 33.7 kB / 0.4987 GB, free: 1.125 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001137/0.1373, allocations: 140.8 kB / 0.4989 GB, free: 0.9805 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.063e-05/0.1374, allocations: 106.5 kB / 0.499 GB, free: 0.875 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001746/0.1376, allocations: 125.4 kB / 0.4991 GB, free: 0.7461 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001459/0.1378, allocations: 346.8 kB / 0.4994 GB, free: 408 kB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004364/0.1382, allocations: 284.9 kB / 0.4997 GB, free: 124 kB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004593/0.1387, allocations: 339.6 kB / 0.5 GB, free: 15.78 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003529/0.1422, allocations: 1.764 MB / 0.5017 GB, free: 14 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.919e-06/0.1422, allocations: 0 / 0.5017 GB, free: 14 MB / 398.1 MB Notification: Performance of matching and sorting (n=92) (initialization): time 0.001136/0.1434, allocations: 0.758 MB / 0.5025 GB, free: 13.24 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.51e-05/0.1434, allocations: 8 kB / 0.5025 GB, free: 13.23 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.023e-05/0.1434, allocations: 7.984 kB / 0.5025 GB, free: 13.22 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.742e-05/0.1435, allocations: 3.938 kB / 0.5025 GB, free: 13.22 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000506/0.144, allocations: 107.9 kB / 0.5026 GB, free: 13.11 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.212e-05/0.144, allocations: 0 / 0.5026 GB, free: 13.11 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002401/0.1443, allocations: 67.11 kB / 0.5027 GB, free: 13.05 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.544e-05/0.1443, allocations: 12 kB / 0.5027 GB, free: 13.04 MB / 398.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.0002763/0.1446, allocations: 190.6 kB / 0.5028 GB, free: 12.84 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.88e-05/0.1447, allocations: 31.53 kB / 0.5029 GB, free: 12.81 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001195/0.1448, allocations: 42.64 kB / 0.5029 GB, free: 12.76 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.882e-06/0.1448, allocations: 4 kB / 0.5029 GB, free: 12.76 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.344e-06/0.1448, allocations: 0 / 0.5029 GB, free: 12.76 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.937e-06/0.1448, allocations: 0 / 0.5029 GB, free: 12.76 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004761/0.1453, allocations: 333.3 kB / 0.5032 GB, free: 12.39 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.038e-06/0.1453, allocations: 0 / 0.5032 GB, free: 12.39 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003646/0.1457, allocations: 51.86 kB / 0.5033 GB, free: 12.34 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.38e-06/0.1457, allocations: 0 / 0.5033 GB, free: 12.34 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.907e-05/0.1458, allocations: 23.92 kB / 0.5033 GB, free: 12.31 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.825e-06/0.1458, allocations: 0 / 0.5033 GB, free: 12.31 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.839e-06/0.1458, allocations: 3.984 kB / 0.5033 GB, free: 12.31 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001034/0.1468, allocations: 0.7483 MB / 0.504 GB, free: 11.54 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.922e-05/0.1469, allocations: 108.8 kB / 0.5042 GB, free: 11.41 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.587e-05/0.147, allocations: 19.94 kB / 0.5042 GB, free: 11.39 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002394/0.1472, allocations: 11.98 kB / 0.5042 GB, free: 11.38 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.418e-05/0.1473, allocations: 15.98 kB / 0.5042 GB, free: 11.37 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.047e-05/0.1473, allocations: 7.984 kB / 0.5042 GB, free: 11.36 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0002751/0.1476, allocations: 219 kB / 0.5044 GB, free: 11.15 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.1476, allocations: 0 / 0.5044 GB, free: 11.15 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0008363/0.1485, allocations: 248 kB / 0.5047 GB, free: 10.91 MB / 398.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.0007296/0.1492, allocations: 259.1 kB / 0.5049 GB, free: 10.64 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.001056/0.1503, allocations: 0.733 MB / 0.5056 GB, free: 9.887 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.787e-06/0.1503, allocations: 0 / 0.5056 GB, free: 9.887 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003225/0.1506, allocations: 187.8 kB / 0.5058 GB, free: 9.703 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005131/0.1511, allocations: 45 kB / 0.5058 GB, free: 9.66 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001392/0.1525, allocations: 0.9718 MB / 0.5068 GB, free: 8.66 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004236/0.153, allocations: 0.8028 MB / 0.5076 GB, free: 7.832 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001218/0.1531, allocations: 27.44 kB / 0.5076 GB, free: 7.805 MB / 398.1 MB Notification: Performance of SimCode: time 3.11e-07/0.1531, allocations: 0 / 0.5076 GB, free: 7.805 MB / 398.1 MB Notification: Performance of Templates: time 0.01134/0.1644, allocations: 6.44 MB / 0.5139 GB, free: 1.395 MB / 398.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Blocks.PadeDelay2.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Blocks.PadeDelay2.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Blocks.PadeDelay2.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Blocks.PadeDelay2.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Blocks.PadeDelay2.sim & ./ModelicaTest_3.2.3_ModelicaTest.Blocks.PadeDelay2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Blocks.PadeDelay2.pipe 2>&1)