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.001121/0.001121, allocations: 111.2 kB / 17.04 MB, free: 6.07 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.001026/0.001026, allocations: 196 kB / 17.97 MB, free: 5.156 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.618/1.618, allocations: 205.1 MB / 223.8 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.2349/0.2349, allocations: 43.52 MB / 314.7 MB, free: 484 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.001464/0.001464, allocations: 67.14 kB / 384.2 MB, free: 56.47 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1267/0.1282, allocations: 57.79 MB / 442 MB, free: 6.156 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.PadeDelay2): time 0.002973/0.1312, allocations: 1.832 MB / 443.8 MB, free: 4.309 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002266/0.1335, allocations: 1.377 MB / 445.2 MB, free: 2.922 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001635/0.1337, allocations: 4 kB / 445.2 MB, free: 2.918 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002067/0.134, allocations: 27.72 kB / 445.2 MB, free: 2.891 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 8.881e-05/0.1341, allocations: 35.66 kB / 445.2 MB, free: 2.855 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002051/0.1361, allocations: 0.5611 MB / 445.8 MB, free: 2.293 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003683/0.1365, allocations: 279.3 kB / 446.1 MB, free: 2.02 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001949/0.1367, allocations: 44.3 kB / 446.1 MB, free: 1.973 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002029/0.1369, allocations: 115.6 kB / 446.2 MB, free: 1.859 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002709/0.1372, allocations: 167.5 kB / 446.4 MB, free: 1.695 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 5.262e-05/0.1373, allocations: 24 kB / 446.4 MB, free: 1.672 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001219/0.1385, allocations: 0.8071 MB / 447.2 MB, free: 0.8633 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001375/0.1387, allocations: 111.7 kB / 447.3 MB, free: 0.7539 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001309/0.1388, allocations: 151.1 kB / 447.5 MB, free: 0.6055 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001186/0.14, allocations: 1.068 MB / 448.5 MB, free: 15.54 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.2e-06/0.14, allocations: 0 / 448.5 MB, free: 15.54 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.294e-06/0.14, allocations: 0 / 448.5 MB, free: 15.54 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.217e-05/0.14, allocations: 4 kB / 448.6 MB, free: 15.53 MB / 334.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.00133/0.1414, allocations: 0.7166 MB / 449.3 MB, free: 14.77 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.796e-05/0.1414, allocations: 11.89 kB / 449.3 MB, free: 14.75 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.966e-05/0.1415, allocations: 32.56 kB / 449.3 MB, free: 14.72 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004297/0.142, allocations: 291.9 kB / 449.6 MB, free: 14.4 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.606e-05/0.142, allocations: 12 kB / 449.6 MB, free: 14.39 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.691e-05/0.1421, allocations: 20 kB / 449.6 MB, free: 14.37 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005256/0.1426, allocations: 275.1 kB / 449.9 MB, free: 14.09 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.401e-05/0.1426, allocations: 3.938 kB / 449.9 MB, free: 14.08 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.787e-05/0.1427, allocations: 8 kB / 449.9 MB, free: 14.07 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.248e-05/0.1427, allocations: 4 kB / 449.9 MB, free: 14.07 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004424/0.1431, allocations: 227.8 kB / 450.1 MB, free: 13.85 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001463/0.1446, allocations: 0.7538 MB / 450.9 MB, free: 13.04 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004331/0.145, allocations: 288.9 kB / 451.2 MB, free: 12.74 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002967/0.1453, allocations: 189.6 kB / 451.4 MB, free: 12.55 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.602e-05/0.1454, allocations: 7.984 kB / 451.4 MB, free: 12.54 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.292e-05/0.1454, allocations: 38.5 kB / 451.4 MB, free: 12.49 MB / 334.1 MB Notification: Performance of pre-optimization done (n=24): time 1.423e-06/0.1454, allocations: 0 / 451.4 MB, free: 12.49 MB / 334.1 MB Notification: Performance of matching and sorting (n=24): time 0.001005/0.1465, allocations: 0.5409 MB / 451.9 MB, free: 11.95 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.232e-05/0.1465, allocations: 85.05 kB / 452 MB, free: 11.84 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003453/0.1469, allocations: 348.5 kB / 452.4 MB, free: 11.5 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.598e-05/0.1469, allocations: 33.7 kB / 452.4 MB, free: 11.46 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001156/0.147, allocations: 136.8 kB / 452.5 MB, free: 11.32 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.967e-05/0.1471, allocations: 110.4 kB / 452.6 MB, free: 11.21 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001697/0.1473, allocations: 117.7 kB / 452.8 MB, free: 11.09 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001804/0.1475, allocations: 354.7 kB / 453.1 MB, free: 10.73 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004213/0.1479, allocations: 288.6 kB / 453.4 MB, free: 10.45 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004562/0.1484, allocations: 343.5 kB / 453.7 MB, free: 10.11 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003508/0.1519, allocations: 1.756 MB / 455.5 MB, free: 8.344 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.406e-06/0.1519, allocations: 4 kB / 455.5 MB, free: 8.34 MB / 334.1 MB Notification: Performance of matching and sorting (n=92) (initialization): time 0.001135/0.1531, allocations: 0.758 MB / 456.2 MB, free: 7.574 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.993e-05/0.1531, allocations: 8 kB / 456.2 MB, free: 7.566 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.791e-05/0.1532, allocations: 4 kB / 456.2 MB, free: 7.562 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.91e-05/0.1532, allocations: 7.938 kB / 456.3 MB, free: 7.555 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004902/0.1537, allocations: 99.86 kB / 456.4 MB, free: 7.457 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.785e-06/0.1537, allocations: 0 / 456.4 MB, free: 7.457 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002032/0.1539, allocations: 67.12 kB / 456.4 MB, free: 7.391 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.593e-05/0.154, allocations: 15.98 kB / 456.4 MB, free: 7.375 MB / 334.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.0002771/0.1543, allocations: 187.3 kB / 456.6 MB, free: 7.184 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.255e-05/0.1543, allocations: 31.53 kB / 456.6 MB, free: 7.152 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.61e-05/0.1544, allocations: 42.64 kB / 456.7 MB, free: 7.109 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.537e-06/0.1544, allocations: 8 kB / 456.7 MB, free: 7.102 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.49e-06/0.1544, allocations: 0 / 456.7 MB, free: 7.102 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.821e-06/0.1545, allocations: 4 kB / 456.7 MB, free: 7.098 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000434/0.1549, allocations: 329.3 kB / 457 MB, free: 6.727 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.694e-06/0.1549, allocations: 0 / 457 MB, free: 6.727 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003368/0.1552, allocations: 51.91 kB / 457.1 MB, free: 6.676 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.284e-06/0.1553, allocations: 3.938 kB / 457.1 MB, free: 6.672 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.843e-05/0.1553, allocations: 23.92 kB / 457.1 MB, free: 6.648 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.814e-06/0.1553, allocations: 0 / 457.1 MB, free: 6.648 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.969e-06/0.1553, allocations: 4 kB / 457.1 MB, free: 6.645 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009859/0.1563, allocations: 0.7444 MB / 457.8 MB, free: 5.879 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.301e-05/0.1564, allocations: 100.7 kB / 457.9 MB, free: 5.762 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.54e-05/0.1564, allocations: 19.92 kB / 458 MB, free: 5.742 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002057/0.1567, allocations: 11.98 kB / 458 MB, free: 5.73 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.799e-05/0.1567, allocations: 19.98 kB / 458 MB, free: 5.711 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.218e-05/0.1568, allocations: 4 kB / 458 MB, free: 5.707 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0002068/0.157, allocations: 227 kB / 458.2 MB, free: 5.488 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.51e-07/0.157, allocations: 0 / 458.2 MB, free: 5.488 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0009645/0.1579, allocations: 252.1 kB / 458.5 MB, free: 5.242 MB / 334.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.0005154/0.1585, allocations: 255.1 kB / 458.7 MB, free: 4.98 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.001031/0.1595, allocations: 0.7326 MB / 459.5 MB, free: 4.223 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.705e-06/0.1595, allocations: 0 / 459.5 MB, free: 4.223 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003045/0.1598, allocations: 195.8 kB / 459.6 MB, free: 4.031 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004735/0.1603, allocations: 41.73 kB / 459.7 MB, free: 3.992 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001418/0.1618, allocations: 0.9283 MB / 460.6 MB, free: 3.039 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004739/0.1622, allocations: 0.8028 MB / 461.4 MB, free: 2.211 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0001825/0.1624, allocations: 70.25 kB / 461.5 MB, free: 2.141 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.271e-05/0.1625, allocations: 23.44 kB / 461.5 MB, free: 2.117 MB / 334.1 MB Notification: Performance of SimCode: time 4.21e-07/0.1625, allocations: 0 / 461.5 MB, free: 2.117 MB / 334.1 MB Notification: Performance of Templates: time 0.01204/0.1746, allocations: 6.501 MB / 468 MB, free: 11.63 MB / 350.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 -s cvode -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Blocks.PadeDelay2.pipe 2>&1)