Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_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.2+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+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="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Blocks.PadeDelay2") translateModel(ModelicaTest.Blocks.PadeDelay2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Blocks.PadeDelay2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001552/0.001552, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.002003/0.002003, allocations: 195.5 kB / 16.14 MB, free: 6.656 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.688/1.688, allocations: 205.1 MB / 222 MB, free: 4.746 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo): time 0.4672/0.4672, allocations: 39.93 MB / 309.3 MB, free: 9.629 MB / 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: ModelicaTest requested package Modelica of version 3.2.2. Modelica 3.2.3 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.00151/0.001511, allocations: 66.41 kB / 376.9 MB, free: 13.42 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.176/0.1775, allocations: 56.88 MB / 433.8 MB, free: 4.438 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.PadeDelay2): time 0.003762/0.1813, allocations: 1.876 MB / 435.7 MB, free: 2.539 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.002552/0.1839, allocations: 1.459 MB / 437.1 MB, free: 1.074 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.398e-05/0.184, allocations: 7.938 kB / 437.1 MB, free: 1.066 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002437/0.1843, allocations: 15.86 kB / 437.2 MB, free: 1.051 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 8.734e-05/0.1844, allocations: 23.78 kB / 437.2 MB, free: 1.027 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001716/0.1861, allocations: 487.1 kB / 437.7 MB, free: 0.5508 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003691/0.1865, allocations: 271.3 kB / 437.9 MB, free: 292 kB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001763/0.1867, allocations: 40.28 kB / 438 MB, free: 256 kB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001739/0.1868, allocations: 103.5 kB / 438.1 MB, free: 152 kB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002857/0.1871, allocations: 163.5 kB / 438.2 MB, free: 15.99 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 4.612e-05/0.1872, allocations: 16 kB / 438.2 MB, free: 15.97 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00106/0.1883, allocations: 0.7292 MB / 439 MB, free: 15.24 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001865/0.1885, allocations: 103.7 kB / 439.1 MB, free: 15.14 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001679/0.1886, allocations: 127.2 kB / 439.2 MB, free: 15.02 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001286/0.1899, allocations: 1.052 MB / 440.2 MB, free: 13.96 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.119e-06/0.1899, allocations: 0 / 440.2 MB, free: 13.96 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.012e-06/0.19, allocations: 0 / 440.2 MB, free: 13.96 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.612e-06/0.19, allocations: 4 kB / 440.2 MB, free: 13.96 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.001338/0.1913, allocations: 0.7284 MB / 441 MB, free: 13.18 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.544e-05/0.1914, allocations: 12.03 kB / 441 MB, free: 13.17 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.769e-05/0.1915, allocations: 28.56 kB / 441 MB, free: 13.14 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003489/0.1918, allocations: 279.4 kB / 441.3 MB, free: 12.83 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.037e-05/0.1918, allocations: 16 kB / 441.3 MB, free: 12.82 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.887e-05/0.1919, allocations: 27.91 kB / 441.3 MB, free: 12.79 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004861/0.1924, allocations: 271.2 kB / 441.6 MB, free: 12.51 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.169e-05/0.1924, allocations: 4 kB / 441.6 MB, free: 12.51 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.789e-05/0.1925, allocations: 4 kB / 441.6 MB, free: 12.5 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.404e-06/0.1925, allocations: 7.938 kB / 441.6 MB, free: 12.5 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004124/0.1929, allocations: 223.8 kB / 441.8 MB, free: 12.28 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001391/0.1943, allocations: 0.7577 MB / 442.6 MB, free: 11.46 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005322/0.1948, allocations: 288.9 kB / 442.9 MB, free: 11.16 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002833/0.1951, allocations: 205.5 kB / 443.1 MB, free: 10.96 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.073e-05/0.1952, allocations: 0 / 443.1 MB, free: 10.96 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.159e-05/0.1952, allocations: 38.56 kB / 443.1 MB, free: 10.91 MB / 382.1 MB Notification: Performance of pre-optimization done (n=24): time 1.172e-06/0.1952, allocations: 0 / 443.1 MB, free: 10.91 MB / 382.1 MB Notification: Performance of matching and sorting (n=24): time 0.001091/0.1963, allocations: 0.5247 MB / 443.6 MB, free: 10.38 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.579e-05/0.1964, allocations: 85.11 kB / 443.7 MB, free: 10.28 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003594/0.1968, allocations: 356.4 kB / 444.1 MB, free: 9.914 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 4.236e-05/0.1968, allocations: 33.7 kB / 444.1 MB, free: 9.875 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001152/0.1969, allocations: 140.8 kB / 444.2 MB, free: 9.73 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.59e-05/0.197, allocations: 98.55 kB / 444.3 MB, free: 9.633 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001821/0.1972, allocations: 121.7 kB / 444.4 MB, free: 9.508 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001882/0.1974, allocations: 350.7 kB / 444.8 MB, free: 9.156 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000409/0.1978, allocations: 292.8 kB / 445.1 MB, free: 8.871 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004398/0.1983, allocations: 335.5 kB / 445.4 MB, free: 8.539 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003544/0.2018, allocations: 1.76 MB / 447.2 MB, free: 6.766 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.246e-06/0.2019, allocations: 4 kB / 447.2 MB, free: 6.762 MB / 382.1 MB Notification: Performance of matching and sorting (n=92) (initialization): time 0.001119/0.203, allocations: 0.7696 MB / 447.9 MB, free: 5.984 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.953e-05/0.203, allocations: 4 kB / 447.9 MB, free: 5.98 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.136e-05/0.203, allocations: 11.98 kB / 447.9 MB, free: 5.969 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.953e-05/0.2031, allocations: 0 / 447.9 MB, free: 5.969 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005004/0.2036, allocations: 95.88 kB / 448 MB, free: 5.875 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.708e-06/0.2036, allocations: 4 kB / 448 MB, free: 5.871 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002004/0.2038, allocations: 67.11 kB / 448.1 MB, free: 5.805 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.863e-05/0.2038, allocations: 16 kB / 448.1 MB, free: 5.789 MB / 382.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.0002839/0.2041, allocations: 195.7 kB / 448.3 MB, free: 5.594 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.277e-05/0.2042, allocations: 23.62 kB / 448.3 MB, free: 5.57 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.859e-05/0.2043, allocations: 38.72 kB / 448.4 MB, free: 5.527 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.021e-06/0.2043, allocations: 8 kB / 448.4 MB, free: 5.52 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.897e-06/0.2044, allocations: 0 / 448.4 MB, free: 5.52 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.291e-06/0.2044, allocations: 3.984 kB / 448.4 MB, free: 5.516 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000431/0.2048, allocations: 337.2 kB / 448.7 MB, free: 5.137 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.647e-06/0.2048, allocations: 4 kB / 448.7 MB, free: 5.133 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003634/0.2052, allocations: 47.91 kB / 448.8 MB, free: 5.086 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.887e-06/0.2052, allocations: 4 kB / 448.8 MB, free: 5.082 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.851e-05/0.2052, allocations: 8 kB / 448.8 MB, free: 5.074 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.24e-06/0.2053, allocations: 7.984 kB / 448.8 MB, free: 5.066 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.332e-06/0.2053, allocations: 3.938 kB / 448.8 MB, free: 5.062 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001017/0.2063, allocations: 0.7522 MB / 449.5 MB, free: 4.293 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.611e-05/0.2064, allocations: 104.8 kB / 449.6 MB, free: 4.172 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.169e-05/0.2064, allocations: 12 kB / 449.7 MB, free: 4.16 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002147/0.2066, allocations: 11.98 kB / 449.7 MB, free: 4.148 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.019e-05/0.2067, allocations: 23.97 kB / 449.7 MB, free: 4.125 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.388e-05/0.2068, allocations: 15.94 kB / 449.7 MB, free: 4.109 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0002091/0.207, allocations: 219 kB / 449.9 MB, free: 3.895 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.207, allocations: 0 / 449.9 MB, free: 3.895 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0009004/0.2079, allocations: 247.9 kB / 450.2 MB, free: 3.652 MB / 382.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.0005302/0.2084, allocations: 254.9 kB / 450.4 MB, free: 3.395 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0009954/0.2094, allocations: 0.7407 MB / 451.2 MB, free: 2.629 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.066e-06/0.2095, allocations: 0 / 451.2 MB, free: 2.629 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003066/0.2098, allocations: 188.9 kB / 451.3 MB, free: 2.445 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005207/0.2103, allocations: 45.06 kB / 451.4 MB, free: 2.402 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001411/0.2117, allocations: 1.017 MB / 452.4 MB, free: 1.363 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004337/0.2122, allocations: 0.8109 MB / 453.2 MB, free: 0.5273 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0001722/0.2123, allocations: 66.23 kB / 453.3 MB, free: 472 kB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001011/0.2124, allocations: 23.44 kB / 453.3 MB, free: 448 kB / 382.1 MB Notification: Performance of SimCode: time 3.6e-07/0.2125, allocations: 0 / 453.3 MB, free: 448 kB / 382.1 MB Notification: Performance of Templates: time 0.2426/0.455, allocations: 6.343 MB / 459.6 MB, free: 50.76 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Blocks.PadeDelay2.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.Blocks.PadeDelay2.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.Blocks.PadeDelay2.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.Blocks.PadeDelay2.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.Blocks.PadeDelay2.sim & ./ModelicaTest_3.2.2_ModelicaTest.Blocks.PadeDelay2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.Blocks.PadeDelay2.pipe 2>&1)