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.001438/0.001438, allocations: 119.3 kB / 17.09 MB, free: 5.938 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.001063/0.001063, allocations: 197.2 kB / 18.01 MB, free: 5.027 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.398/1.398, allocations: 205.1 MB / 223.9 MB, free: 12.21 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.2006/0.2006, allocations: 43.52 MB / 314.8 MB, free: 452 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.001665/0.001665, allocations: 69.45 kB / 442.5 MB, free: 5.652 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1288/0.1304, allocations: 57.78 MB / 0.4885 GB, free: 11.8 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.PadeDelay2): time 0.003609/0.1341, allocations: 1.837 MB / 0.4903 GB, free: 9.953 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.002378/0.1365, allocations: 1.385 MB / 0.4917 GB, free: 8.559 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001861/0.1367, allocations: 0 / 0.4917 GB, free: 8.559 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002001/0.137, allocations: 27.73 kB / 0.4917 GB, free: 8.531 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001271/0.1371, allocations: 31.72 kB / 0.4917 GB, free: 8.5 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001806/0.1389, allocations: 0.565 MB / 0.4923 GB, free: 7.934 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003855/0.1393, allocations: 283.3 kB / 0.4926 GB, free: 7.656 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001527/0.1395, allocations: 52.2 kB / 0.4926 GB, free: 7.602 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002315/0.1397, allocations: 119.6 kB / 0.4927 GB, free: 7.484 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002526/0.14, allocations: 167.5 kB / 0.4929 GB, free: 7.32 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 6.578e-05/0.1401, allocations: 24 kB / 0.4929 GB, free: 7.297 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001114/0.1412, allocations: 0.8072 MB / 0.4937 GB, free: 6.488 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001494/0.1414, allocations: 115.7 kB / 0.4938 GB, free: 6.375 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001595/0.1415, allocations: 151.1 kB / 0.4939 GB, free: 6.227 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001367/0.1429, allocations: 1.064 MB / 0.495 GB, free: 5.16 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.188e-06/0.1429, allocations: 0 / 0.495 GB, free: 5.16 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.663e-06/0.1429, allocations: 0 / 0.495 GB, free: 5.16 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.426e-05/0.1429, allocations: 0 / 0.495 GB, free: 5.16 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.001476/0.1444, allocations: 0.7244 MB / 0.4957 GB, free: 4.387 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.075e-05/0.1445, allocations: 15.89 kB / 0.4957 GB, free: 4.371 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.729e-05/0.1446, allocations: 28.56 kB / 0.4957 GB, free: 4.344 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003578/0.1449, allocations: 287.9 kB / 0.496 GB, free: 4.023 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.984e-05/0.145, allocations: 12 kB / 0.496 GB, free: 4.012 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.452e-05/0.145, allocations: 24 kB / 0.496 GB, free: 3.988 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004976/0.1456, allocations: 263.2 kB / 0.4963 GB, free: 3.719 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.081e-05/0.1456, allocations: 11.88 kB / 0.4963 GB, free: 3.707 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.722e-05/0.1456, allocations: 8 kB / 0.4963 GB, free: 3.699 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.943e-06/0.1456, allocations: 4 kB / 0.4963 GB, free: 3.695 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004129/0.146, allocations: 235.3 kB / 0.4965 GB, free: 3.469 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001267/0.1473, allocations: 0.7421 MB / 0.4973 GB, free: 2.672 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004502/0.1478, allocations: 293 kB / 0.4975 GB, free: 2.367 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002885/0.1481, allocations: 185.6 kB / 0.4977 GB, free: 2.18 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.053e-05/0.1481, allocations: 7.938 kB / 0.4977 GB, free: 2.172 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.459e-05/0.1482, allocations: 42.5 kB / 0.4978 GB, free: 2.121 MB / 382.1 MB Notification: Performance of pre-optimization done (n=24): time 1.482e-06/0.1482, allocations: 4 kB / 0.4978 GB, free: 2.117 MB / 382.1 MB Notification: Performance of matching and sorting (n=24): time 0.001015/0.1492, allocations: 0.5364 MB / 0.4983 GB, free: 1.574 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.219e-05/0.1493, allocations: 85.05 kB / 0.4984 GB, free: 1.473 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003391/0.1496, allocations: 348.5 kB / 0.4987 GB, free: 1.125 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 3.726e-05/0.1496, allocations: 29.7 kB / 0.4987 GB, free: 1.09 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001006/0.1497, allocations: 140.8 kB / 0.4989 GB, free: 0.9453 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.832e-05/0.1498, allocations: 114.5 kB / 0.499 GB, free: 0.832 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001648/0.15, allocations: 121.4 kB / 0.4991 GB, free: 0.707 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001285/0.1502, allocations: 346.8 kB / 0.4994 GB, free: 368 kB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004071/0.1506, allocations: 284.8 kB / 0.4997 GB, free: 84 kB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004545/0.151, allocations: 339.5 kB / 0.5 GB, free: 15.75 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003431/0.1545, allocations: 1.764 MB / 0.5017 GB, free: 13.97 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.569e-06/0.1545, allocations: 0 / 0.5017 GB, free: 13.97 MB / 398.1 MB Notification: Performance of matching and sorting (n=92) (initialization): time 0.001077/0.1556, allocations: 0.7619 MB / 0.5025 GB, free: 13.2 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.974e-05/0.1556, allocations: 4 kB / 0.5025 GB, free: 13.2 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.446e-05/0.1556, allocations: 4 kB / 0.5025 GB, free: 13.19 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.116e-05/0.1557, allocations: 7.938 kB / 0.5025 GB, free: 13.18 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004875/0.1562, allocations: 103.9 kB / 0.5026 GB, free: 13.08 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.236e-05/0.1562, allocations: 4 kB / 0.5026 GB, free: 13.08 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002088/0.1564, allocations: 59.12 kB / 0.5027 GB, free: 13.02 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.287e-05/0.1564, allocations: 15.98 kB / 0.5027 GB, free: 13 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.0002735/0.1567, allocations: 186.8 kB / 0.5029 GB, free: 12.81 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.516e-05/0.1568, allocations: 31.53 kB / 0.5029 GB, free: 12.78 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001231/0.1569, allocations: 46.64 kB / 0.5029 GB, free: 12.73 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.637e-06/0.1569, allocations: 0 / 0.5029 GB, free: 12.73 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.378e-06/0.157, allocations: 4 kB / 0.5029 GB, free: 12.72 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.937e-06/0.157, allocations: 0 / 0.5029 GB, free: 12.72 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004582/0.1574, allocations: 325.4 kB / 0.5032 GB, free: 12.36 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.43e-06/0.1574, allocations: 4 kB / 0.5032 GB, free: 12.35 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003623/0.1578, allocations: 47.91 kB / 0.5033 GB, free: 12.3 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.077e-05/0.1578, allocations: 11.98 kB / 0.5033 GB, free: 12.29 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.529e-05/0.1579, allocations: 19.86 kB / 0.5033 GB, free: 12.27 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.18e-06/0.1579, allocations: 4 kB / 0.5033 GB, free: 12.27 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.984e-06/0.1579, allocations: 3.938 kB / 0.5033 GB, free: 12.27 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00105/0.159, allocations: 0.7406 MB / 0.5041 GB, free: 11.5 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.221e-05/0.1591, allocations: 108.8 kB / 0.5042 GB, free: 11.38 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.751e-05/0.1591, allocations: 19.92 kB / 0.5042 GB, free: 11.36 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00023/0.1594, allocations: 11.98 kB / 0.5042 GB, free: 11.35 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.139e-05/0.1594, allocations: 19.92 kB / 0.5042 GB, free: 11.33 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.974e-05/0.1595, allocations: 4 kB / 0.5042 GB, free: 11.32 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.000212/0.1597, allocations: 223 kB / 0.5044 GB, free: 11.11 MB / 398.1 MB Notification: Performance of sort global known variables: time 2.1e-07/0.1597, allocations: 0 / 0.5044 GB, free: 11.11 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0008501/0.1605, allocations: 248 kB / 0.5047 GB, free: 10.87 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.0006899/0.1612, allocations: 251.1 kB / 0.5049 GB, free: 10.61 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.001055/0.1623, allocations: 0.7329 MB / 0.5056 GB, free: 9.855 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.737e-06/0.1623, allocations: 0 / 0.5056 GB, free: 9.855 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003801/0.1627, allocations: 191.8 kB / 0.5058 GB, free: 9.668 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004971/0.1632, allocations: 41.02 kB / 0.5058 GB, free: 9.629 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001437/0.1647, allocations: 0.9782 MB / 0.5068 GB, free: 8.621 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004437/0.1651, allocations: 0.8067 MB / 0.5076 GB, free: 7.789 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001274/0.1652, allocations: 23.44 kB / 0.5076 GB, free: 7.766 MB / 398.1 MB Notification: Performance of SimCode: time 4.81e-07/0.1653, allocations: 0 / 0.5076 GB, free: 7.766 MB / 398.1 MB Notification: Performance of Templates: time 0.01071/0.176, allocations: 6.439 MB / 0.5139 GB, free: 1.352 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)