Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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_4.0.0_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_4.0.0_ModelicaTest.Blocks.PadeDelay2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001253/0.001252, allocations: 108.3 kB / 18.4 MB, free: 4.699 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.001538/0.001538, allocations: 187 kB / 19.34 MB, free: 3.77 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.357/1.357, allocations: 222.9 MB / 243 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2276/0.2276, allocations: 44.17 MB / 337.4 MB, free: 2.73 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001259/0.001259, allocations: 60.41 kB / 409.9 MB, free: 26.55 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.125/0.1263, allocations: 60.83 MB / 470.7 MB, free: 13.68 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.PadeDelay2): time 0.002956/0.1293, allocations: 1.83 MB / 472.5 MB, free: 11.83 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001924/0.1313, allocations: 1.337 MB / 473.9 MB, free: 10.48 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.593e-05/0.1314, allocations: 0 / 473.9 MB, free: 10.48 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001422/0.1315, allocations: 31.72 kB / 473.9 MB, free: 10.45 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 6.478e-05/0.1316, allocations: 31.67 kB / 473.9 MB, free: 10.42 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001388/0.133, allocations: 0.5533 MB / 474.5 MB, free: 9.867 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002841/0.1333, allocations: 283.3 kB / 474.8 MB, free: 9.59 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001229/0.1334, allocations: 36.3 kB / 474.8 MB, free: 9.555 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000165/0.1336, allocations: 119.6 kB / 474.9 MB, free: 9.438 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002033/0.1338, allocations: 175.4 kB / 475.1 MB, free: 9.266 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 4.66e-05/0.1339, allocations: 24 kB / 475.1 MB, free: 9.242 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009832/0.1348, allocations: 0.815 MB / 475.9 MB, free: 8.426 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000137/0.135, allocations: 111.7 kB / 476 MB, free: 8.316 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001315/0.1351, allocations: 139.2 kB / 476.2 MB, free: 8.18 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001098/0.1362, allocations: 1.075 MB / 477.3 MB, free: 7.102 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.707e-06/0.1363, allocations: 0 / 477.3 MB, free: 7.102 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.442e-06/0.1363, allocations: 0 / 477.3 MB, free: 7.102 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.041e-05/0.1363, allocations: 0 / 477.3 MB, free: 7.102 MB / 350.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.001165/0.1374, allocations: 0.7283 MB / 478 MB, free: 6.324 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.542e-05/0.1375, allocations: 8.031 kB / 478 MB, free: 6.316 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.303e-05/0.1376, allocations: 32.56 kB / 478 MB, free: 6.285 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003522/0.1379, allocations: 283.9 kB / 478.3 MB, free: 5.969 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.572e-05/0.138, allocations: 16 kB / 478.3 MB, free: 5.953 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.269e-05/0.138, allocations: 31.91 kB / 478.3 MB, free: 5.922 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004432/0.1385, allocations: 271.2 kB / 478.6 MB, free: 5.645 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.257e-06/0.1385, allocations: 0 / 478.6 MB, free: 5.645 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.39e-05/0.1385, allocations: 4 kB / 478.6 MB, free: 5.641 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.981e-06/0.1385, allocations: 7.938 kB / 478.6 MB, free: 5.633 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004565/0.139, allocations: 226.5 kB / 478.8 MB, free: 5.414 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001236/0.1402, allocations: 0.7616 MB / 479.6 MB, free: 4.598 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004126/0.1407, allocations: 284.9 kB / 479.9 MB, free: 4.301 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000276/0.1409, allocations: 198 kB / 480.1 MB, free: 4.102 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.879e-05/0.141, allocations: 7.938 kB / 480.1 MB, free: 4.094 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.798e-05/0.141, allocations: 38.5 kB / 480.1 MB, free: 4.047 MB / 350.1 MB Notification: Performance of pre-optimization done (n=24): time 1.563e-06/0.141, allocations: 0 / 480.1 MB, free: 4.047 MB / 350.1 MB Notification: Performance of matching and sorting (n=24): time 0.001076/0.1421, allocations: 0.5328 MB / 480.7 MB, free: 3.508 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.183e-05/0.1422, allocations: 77.11 kB / 480.7 MB, free: 3.414 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003237/0.1425, allocations: 352.5 kB / 481.1 MB, free: 3.062 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.048e-05/0.1425, allocations: 33.7 kB / 481.1 MB, free: 3.023 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.375e-05/0.1426, allocations: 140.8 kB / 481.2 MB, free: 2.883 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001323/0.1428, allocations: 98.55 kB / 481.3 MB, free: 2.785 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001477/0.1429, allocations: 125.7 kB / 481.5 MB, free: 2.656 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001612/0.1431, allocations: 342.8 kB / 481.8 MB, free: 2.312 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003995/0.1435, allocations: 284.9 kB / 482.1 MB, free: 2.035 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004325/0.1439, allocations: 343.5 kB / 482.4 MB, free: 1.691 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003389/0.1473, allocations: 1.752 MB / 484.2 MB, free: 15.93 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.71e-06/0.1474, allocations: 4 kB / 484.2 MB, free: 15.93 MB / 366.1 MB Notification: Performance of matching and sorting (n=92) (initialization): time 0.001115/0.1485, allocations: 0.7657 MB / 484.9 MB, free: 15.15 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.179e-05/0.1485, allocations: 7.938 kB / 484.9 MB, free: 15.14 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.591e-05/0.1485, allocations: 8 kB / 484.9 MB, free: 15.14 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.978e-05/0.1486, allocations: 3.938 kB / 485 MB, free: 15.13 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004933/0.1491, allocations: 99.86 kB / 485 MB, free: 15.04 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.141e-05/0.1491, allocations: 4 kB / 485.1 MB, free: 15.03 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002029/0.1493, allocations: 67.12 kB / 485.1 MB, free: 14.96 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.398e-05/0.1493, allocations: 11.98 kB / 485.1 MB, free: 14.95 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.0002895/0.1496, allocations: 180 kB / 485.3 MB, free: 14.77 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.648e-05/0.1497, allocations: 23.62 kB / 485.3 MB, free: 14.75 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001011/0.1498, allocations: 46.64 kB / 485.4 MB, free: 14.7 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.299e-05/0.1498, allocations: 4 kB / 485.4 MB, free: 14.7 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.281e-06/0.1499, allocations: 0 / 485.4 MB, free: 14.7 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.218e-06/0.1499, allocations: 4 kB / 485.4 MB, free: 14.7 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004133/0.1503, allocations: 341.3 kB / 485.7 MB, free: 14.31 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.553e-06/0.1503, allocations: 0 / 485.7 MB, free: 14.31 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003352/0.1506, allocations: 55.84 kB / 485.8 MB, free: 14.26 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.735e-06/0.1507, allocations: 0 / 485.8 MB, free: 14.26 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.683e-05/0.1507, allocations: 23.92 kB / 485.8 MB, free: 14.23 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.114e-06/0.1507, allocations: 0 / 485.8 MB, free: 14.23 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.1507, allocations: 0 / 485.8 MB, free: 14.23 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009214/0.1516, allocations: 0.7407 MB / 486.5 MB, free: 13.47 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.02e-05/0.1517, allocations: 108.8 kB / 486.6 MB, free: 13.35 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.206e-05/0.1518, allocations: 15.92 kB / 486.7 MB, free: 13.33 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002181/0.152, allocations: 11.98 kB / 486.7 MB, free: 13.32 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.665e-05/0.1521, allocations: 15.97 kB / 486.7 MB, free: 13.3 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.431e-05/0.1521, allocations: 12 kB / 486.7 MB, free: 13.29 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001932/0.1523, allocations: 227 kB / 486.9 MB, free: 13.07 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.1523, allocations: 3.938 kB / 486.9 MB, free: 13.07 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0008804/0.1532, allocations: 247.9 kB / 487.2 MB, free: 12.83 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.0005355/0.1537, allocations: 255 kB / 487.4 MB, free: 12.57 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001016/0.1548, allocations: 0.725 MB / 488.1 MB, free: 11.82 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.116e-06/0.1548, allocations: 4 kB / 488.1 MB, free: 11.81 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003662/0.1552, allocations: 199.7 kB / 488.3 MB, free: 11.62 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004579/0.1556, allocations: 43.52 kB / 488.4 MB, free: 11.57 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001317/0.157, allocations: 0.9305 MB / 489.3 MB, free: 10.61 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003654/0.1573, allocations: 0.8067 MB / 490.1 MB, free: 9.773 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001614/0.1575, allocations: 62.25 kB / 490.2 MB, free: 9.711 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.361e-05/0.1576, allocations: 23.44 kB / 490.2 MB, free: 9.691 MB / 366.1 MB Notification: Performance of SimCode: time 3.3e-07/0.1576, allocations: 4 kB / 490.2 MB, free: 9.688 MB / 366.1 MB Notification: Performance of Templates: time 0.012/0.1696, allocations: 6.497 MB / 496.7 MB, free: 3.219 MB / 366.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Blocks.PadeDelay2.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Blocks.PadeDelay2.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Blocks.PadeDelay2.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Blocks.PadeDelay2.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Blocks.PadeDelay2.sim & ./ModelicaTest_4.0.0_ModelicaTest.Blocks.PadeDelay2 -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Blocks.PadeDelay2.pipe 2>&1)