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.00135/0.00135, allocations: 113.4 kB / 17.99 MB, free: 5.383 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001344/0.001344, allocations: 209.8 kB / 18.92 MB, free: 4.453 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.44/1.44, allocations: 227.4 MB / 247.1 MB, free: 10.68 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2272/0.2272, allocations: 46.13 MB / 344.5 MB, free: 11.72 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002142/0.002142, allocations: 77.66 kB / 417.8 MB, free: 20.07 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1264/0.1285, allocations: 62.45 MB / 480.2 MB, free: 5.598 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.PadeDelay2): time 0.003385/0.132, allocations: 1.912 MB / 482.1 MB, free: 3.672 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002286/0.1343, allocations: 1.411 MB / 483.5 MB, free: 2.254 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.281e-05/0.1344, allocations: 3.938 kB / 483.5 MB, free: 2.25 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001352/0.1345, allocations: 19.86 kB / 483.6 MB, free: 2.23 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 7.216e-05/0.1346, allocations: 23.78 kB / 483.6 MB, free: 2.207 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001427/0.136, allocations: 0.5298 MB / 484.1 MB, free: 1.68 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003281/0.1364, allocations: 283.3 kB / 484.4 MB, free: 1.402 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001252/0.1365, allocations: 40.3 kB / 484.4 MB, free: 1.363 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002184/0.1367, allocations: 123.5 kB / 484.5 MB, free: 1.242 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002375/0.137, allocations: 175.4 kB / 484.7 MB, free: 1.07 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 4.204e-05/0.137, allocations: 24 kB / 484.7 MB, free: 1.047 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001054/0.1381, allocations: 0.7565 MB / 485.5 MB, free: 296 kB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001354/0.1382, allocations: 123.7 kB / 485.6 MB, free: 172 kB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001456/0.1384, allocations: 135.2 kB / 485.7 MB, free: 36 kB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000954/0.1394, allocations: 0.8579 MB / 486.6 MB, free: 15.18 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.138e-06/0.1394, allocations: 0 / 486.6 MB, free: 15.18 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.834e-06/0.1394, allocations: 0 / 486.6 MB, free: 15.18 MB / 366.1 MB Notification: Performance of Transformations before backend: time 5.971e-06/0.1394, allocations: 0 / 486.6 MB, free: 15.18 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.001378/0.1408, allocations: 0.7244 MB / 487.3 MB, free: 14.4 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.684e-05/0.1408, allocations: 8.031 kB / 487.3 MB, free: 14.39 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001886/0.141, allocations: 44.55 kB / 487.4 MB, free: 14.35 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003658/0.1414, allocations: 280 kB / 487.7 MB, free: 14.04 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.577e-05/0.1414, allocations: 16 kB / 487.7 MB, free: 14.03 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.711e-05/0.1415, allocations: 27.91 kB / 487.7 MB, free: 14 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00051/0.142, allocations: 275.6 kB / 488 MB, free: 13.72 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.889e-06/0.142, allocations: 4 kB / 488 MB, free: 13.71 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.529e-05/0.1421, allocations: 7.938 kB / 488 MB, free: 13.71 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.576e-06/0.1421, allocations: 4 kB / 488 MB, free: 13.7 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004313/0.1425, allocations: 219.8 kB / 488.2 MB, free: 13.49 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001279/0.1438, allocations: 0.7576 MB / 489 MB, free: 12.68 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004918/0.1443, allocations: 288.9 kB / 489.2 MB, free: 12.38 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003146/0.1446, allocations: 189.6 kB / 489.4 MB, free: 12.18 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.165e-05/0.1447, allocations: 8 kB / 489.4 MB, free: 12.18 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.671e-05/0.1447, allocations: 38.5 kB / 489.5 MB, free: 12.13 MB / 366.1 MB Notification: Performance of pre-optimization done (n=24): time 1.273e-06/0.1447, allocations: 0 / 489.5 MB, free: 12.13 MB / 366.1 MB Notification: Performance of matching and sorting (n=24): time 0.001057/0.1458, allocations: 0.5325 MB / 490 MB, free: 11.59 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.783e-05/0.1459, allocations: 85.09 kB / 490.1 MB, free: 11.49 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003761/0.1462, allocations: 352.5 kB / 490.4 MB, free: 11.13 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 4.41e-05/0.1463, allocations: 33.7 kB / 490.5 MB, free: 11.09 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001641/0.1465, allocations: 144.7 kB / 490.6 MB, free: 10.95 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.165e-05/0.1466, allocations: 102.5 kB / 490.7 MB, free: 10.85 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001774/0.1467, allocations: 121.6 kB / 490.8 MB, free: 10.72 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001807/0.1469, allocations: 346.8 kB / 491.2 MB, free: 10.38 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004511/0.1474, allocations: 284.8 kB / 491.4 MB, free: 10.1 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000489/0.1479, allocations: 343.5 kB / 491.8 MB, free: 9.754 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00374/0.1516, allocations: 1.769 MB / 493.5 MB, free: 7.977 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.315e-06/0.1517, allocations: 0 / 493.5 MB, free: 7.977 MB / 366.1 MB Notification: Performance of matching and sorting (n=92) (initialization): time 0.001241/0.1529, allocations: 0.7687 MB / 494.3 MB, free: 7.203 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.462e-05/0.1529, allocations: 4 kB / 494.3 MB, free: 7.199 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.483e-05/0.153, allocations: 4 kB / 494.3 MB, free: 7.195 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.547e-05/0.153, allocations: 4 kB / 494.3 MB, free: 7.191 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005139/0.1535, allocations: 103.9 kB / 494.4 MB, free: 7.09 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.049e-05/0.1535, allocations: 4 kB / 494.4 MB, free: 7.086 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001982/0.1537, allocations: 59.12 kB / 494.5 MB, free: 7.027 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.337e-05/0.1538, allocations: 15.98 kB / 494.5 MB, free: 7.012 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.0002801/0.1541, allocations: 187 kB / 494.7 MB, free: 6.828 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.183e-05/0.1542, allocations: 39.5 kB / 494.7 MB, free: 6.789 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000105/0.1543, allocations: 42.7 kB / 494.8 MB, free: 6.746 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.526e-06/0.1543, allocations: 0 / 494.8 MB, free: 6.746 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.52e-06/0.1543, allocations: 4 kB / 494.8 MB, free: 6.742 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.709e-06/0.1543, allocations: 0 / 494.8 MB, free: 6.742 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004686/0.1548, allocations: 333.3 kB / 495.1 MB, free: 6.367 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.804e-06/0.1548, allocations: 0 / 495.1 MB, free: 6.367 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003586/0.1551, allocations: 51.91 kB / 495.1 MB, free: 6.316 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.779e-06/0.1552, allocations: 8 kB / 495.1 MB, free: 6.309 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.537e-05/0.1552, allocations: 11.98 kB / 495.2 MB, free: 6.297 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.837e-06/0.1552, allocations: 4 kB / 495.2 MB, free: 6.293 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.376e-06/0.1552, allocations: 0 / 495.2 MB, free: 6.293 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001122/0.1563, allocations: 0.7513 MB / 495.9 MB, free: 5.527 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.952e-05/0.1564, allocations: 112.8 kB / 496 MB, free: 5.398 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.538e-05/0.1565, allocations: 19.98 kB / 496 MB, free: 5.379 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002126/0.1567, allocations: 7.984 kB / 496.1 MB, free: 5.371 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.058e-05/0.1568, allocations: 15.98 kB / 496.1 MB, free: 5.355 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.186e-05/0.1568, allocations: 8 kB / 496.1 MB, free: 5.348 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.000242/0.1571, allocations: 223 kB / 496.3 MB, free: 5.133 MB / 366.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1571, allocations: 0 / 496.3 MB, free: 5.133 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.000922/0.158, allocations: 251.9 kB / 496.5 MB, free: 4.887 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.0005472/0.1586, allocations: 259.9 kB / 496.8 MB, free: 4.625 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001142/0.1597, allocations: 0.7445 MB / 497.5 MB, free: 3.855 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 4.057e-06/0.1597, allocations: 7.938 kB / 497.5 MB, free: 3.848 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003373/0.1601, allocations: 188.9 kB / 497.7 MB, free: 3.664 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004805/0.1606, allocations: 41 kB / 497.8 MB, free: 3.621 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001527/0.1621, allocations: 1.069 MB / 498.8 MB, free: 2.516 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004941/0.1626, allocations: 0.8067 MB / 499.6 MB, free: 1.68 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000116/0.1627, allocations: 19.44 kB / 499.7 MB, free: 1.66 MB / 366.1 MB Notification: Performance of SimCode: time 2.4e-07/0.1627, allocations: 4 kB / 499.7 MB, free: 1.656 MB / 366.1 MB Notification: Performance of Templates: time 0.01083/0.1736, allocations: 6.453 MB / 0.4943 GB, free: 11.27 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)