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.001268/0.001267, allocations: 109.8 kB / 18.3 MB, free: 4.84 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001338/0.001338, allocations: 207.9 kB / 19.25 MB, free: 3.898 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.449/1.449, allocations: 227.4 MB / 247.5 MB, free: 10.57 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2342/0.2342, allocations: 46.13 MB / 344.8 MB, free: 11.53 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002633/0.002633, allocations: 86.41 kB / 418.3 MB, free: 19.68 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1291/0.1318, allocations: 62.45 MB / 480.8 MB, free: 5.215 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.PadeDelay2): time 0.003547/0.1354, allocations: 1.849 MB / 482.6 MB, free: 3.355 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002528/0.1379, allocations: 1.403 MB / 484 MB, free: 1.945 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000151/0.1381, allocations: 3.938 kB / 484 MB, free: 1.941 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001724/0.1383, allocations: 31.72 kB / 484.1 MB, free: 1.91 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001127/0.1384, allocations: 27.72 kB / 484.1 MB, free: 1.883 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001784/0.1402, allocations: 0.5689 MB / 484.6 MB, free: 1.312 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003669/0.1406, allocations: 279.3 kB / 484.9 MB, free: 1.039 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001523/0.1407, allocations: 48.28 kB / 485 MB, free: 0.9922 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00028/0.141, allocations: 119.6 kB / 485.1 MB, free: 0.875 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002674/0.1413, allocations: 171.4 kB / 485.3 MB, free: 0.707 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 7.013e-05/0.1414, allocations: 27.98 kB / 485.3 MB, free: 0.6797 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001261/0.1427, allocations: 0.7565 MB / 486 MB, free: 15.92 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001714/0.1428, allocations: 123.6 kB / 486.2 MB, free: 15.8 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001889/0.143, allocations: 143.2 kB / 486.3 MB, free: 15.66 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001534/0.1446, allocations: 1.072 MB / 487.4 MB, free: 14.59 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.439e-06/0.1446, allocations: 0 / 487.4 MB, free: 14.59 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.162e-06/0.1446, allocations: 0 / 487.4 MB, free: 14.59 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.157e-05/0.1446, allocations: 0 / 487.4 MB, free: 14.59 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.001525/0.1462, allocations: 0.7322 MB / 488.1 MB, free: 13.8 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.196e-05/0.1462, allocations: 12.03 kB / 488.1 MB, free: 13.79 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001981/0.1464, allocations: 36.55 kB / 488.1 MB, free: 13.76 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003843/0.1468, allocations: 288 kB / 488.4 MB, free: 13.44 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.769e-05/0.1468, allocations: 12 kB / 488.4 MB, free: 13.43 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.014e-05/0.1469, allocations: 27.84 kB / 488.5 MB, free: 13.4 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004971/0.1474, allocations: 275.1 kB / 488.7 MB, free: 13.12 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.321e-05/0.1474, allocations: 4 kB / 488.7 MB, free: 13.11 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.83e-05/0.1475, allocations: 8 kB / 488.7 MB, free: 13.11 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.56e-06/0.1475, allocations: 0 / 488.7 MB, free: 13.11 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004215/0.1479, allocations: 223.8 kB / 489 MB, free: 12.89 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001285/0.1492, allocations: 0.7538 MB / 489.7 MB, free: 12.08 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004944/0.1497, allocations: 296.8 kB / 490 MB, free: 11.77 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003046/0.15, allocations: 189.6 kB / 490.2 MB, free: 11.58 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.59e-05/0.1501, allocations: 4 kB / 490.2 MB, free: 11.57 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.8e-05/0.1501, allocations: 42.5 kB / 490.2 MB, free: 11.52 MB / 366.1 MB Notification: Performance of pre-optimization done (n=24): time 1.293e-06/0.1501, allocations: 0 / 490.2 MB, free: 11.52 MB / 366.1 MB Notification: Performance of matching and sorting (n=24): time 0.001023/0.1511, allocations: 0.5325 MB / 490.8 MB, free: 10.98 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.839e-05/0.1512, allocations: 85.11 kB / 490.9 MB, free: 10.88 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003678/0.1516, allocations: 356.4 kB / 491.2 MB, free: 10.53 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 3.932e-05/0.1516, allocations: 33.7 kB / 491.2 MB, free: 10.49 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000101/0.1517, allocations: 136.8 kB / 491.4 MB, free: 10.35 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.699e-05/0.1519, allocations: 102.5 kB / 491.5 MB, free: 10.25 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001602/0.152, allocations: 121.7 kB / 491.6 MB, free: 10.12 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001712/0.1522, allocations: 346.8 kB / 491.9 MB, free: 9.777 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004266/0.1526, allocations: 284.9 kB / 492.2 MB, free: 9.5 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004719/0.1531, allocations: 343.5 kB / 492.5 MB, free: 9.156 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003616/0.1567, allocations: 1.769 MB / 494.3 MB, free: 7.379 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.256e-06/0.1568, allocations: 0 / 494.3 MB, free: 7.379 MB / 366.1 MB Notification: Performance of matching and sorting (n=92) (initialization): time 0.001155/0.1579, allocations: 0.7658 MB / 495.1 MB, free: 6.605 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.794e-05/0.1579, allocations: 6.5 kB / 495.1 MB, free: 6.602 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.906e-05/0.158, allocations: 11.98 kB / 495.1 MB, free: 6.59 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.723e-05/0.158, allocations: 4 kB / 495.1 MB, free: 6.586 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004851/0.1585, allocations: 99.86 kB / 495.2 MB, free: 6.488 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.969e-06/0.1585, allocations: 4 kB / 495.2 MB, free: 6.484 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002023/0.1587, allocations: 67.12 kB / 495.3 MB, free: 6.418 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.266e-05/0.1588, allocations: 11.98 kB / 495.3 MB, free: 6.406 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.0002644/0.159, allocations: 180.3 kB / 495.5 MB, free: 6.219 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.686e-05/0.1591, allocations: 27.56 kB / 495.5 MB, free: 6.191 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001013/0.1592, allocations: 42.7 kB / 495.5 MB, free: 6.148 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.36e-06/0.1592, allocations: 4 kB / 495.5 MB, free: 6.145 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.852e-06/0.1592, allocations: 0 / 495.5 MB, free: 6.145 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.568e-06/0.1592, allocations: 0 / 495.5 MB, free: 6.145 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004454/0.1597, allocations: 337.3 kB / 495.9 MB, free: 5.766 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.649e-06/0.1597, allocations: 0 / 495.9 MB, free: 5.766 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000358/0.1601, allocations: 63.78 kB / 495.9 MB, free: 5.703 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.955e-06/0.1601, allocations: 0 / 495.9 MB, free: 5.703 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.769e-05/0.1601, allocations: 15.98 kB / 495.9 MB, free: 5.688 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.693e-06/0.1601, allocations: 0 / 495.9 MB, free: 5.688 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.457e-06/0.1601, allocations: 4 kB / 495.9 MB, free: 5.684 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00106/0.1612, allocations: 0.7552 MB / 496.7 MB, free: 4.914 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.472e-05/0.1613, allocations: 108.8 kB / 496.8 MB, free: 4.789 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.602e-05/0.1614, allocations: 11.98 kB / 496.8 MB, free: 4.777 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002393/0.1616, allocations: 15.98 kB / 496.8 MB, free: 4.762 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.297e-05/0.1617, allocations: 7.984 kB / 496.8 MB, free: 4.754 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.221e-05/0.1617, allocations: 12 kB / 496.8 MB, free: 4.742 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002178/0.1619, allocations: 223 kB / 497.1 MB, free: 4.527 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.162, allocations: 0 / 497.1 MB, free: 4.527 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0008364/0.1628, allocations: 251.9 kB / 497.3 MB, free: 4.281 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.0005164/0.1633, allocations: 255.9 kB / 497.6 MB, free: 4.023 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001127/0.1645, allocations: 0.76 MB / 498.3 MB, free: 3.238 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.755e-06/0.1645, allocations: 0 / 498.3 MB, free: 3.238 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003152/0.1648, allocations: 183.8 kB / 498.5 MB, free: 3.059 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004881/0.1653, allocations: 52.98 kB / 498.6 MB, free: 3.004 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001439/0.1667, allocations: 0.9732 MB / 499.5 MB, free: 1.996 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004529/0.1672, allocations: 0.8067 MB / 0.4886 GB, free: 1.16 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001114/0.1673, allocations: 27.44 kB / 0.4886 GB, free: 1.133 MB / 366.1 MB Notification: Performance of SimCode: time 2.21e-07/0.1673, allocations: 0 / 0.4886 GB, free: 1.133 MB / 366.1 MB Notification: Performance of Templates: time 0.01016/0.1775, allocations: 6.449 MB / 0.4949 GB, free: 10.75 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 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Blocks.PadeDelay2.pipe 2>&1)