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.001487/0.001487, allocations: 110.1 kB / 17.86 MB, free: 5.504 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.00168/0.00168, allocations: 201.9 kB / 18.78 MB, free: 4.586 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.348/1.348, allocations: 222.9 MB / 242.5 MB, free: 13.63 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.2153/0.2153, allocations: 44.17 MB / 336.8 MB, free: 2.75 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001186/0.001187, allocations: 62 kB / 408.3 MB, free: 27.69 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1052/0.1064, allocations: 60.84 MB / 469.2 MB, free: 14.82 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.PadeDelay2): time 0.003227/0.1097, allocations: 1.881 MB / 471.1 MB, free: 12.92 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002142/0.1119, allocations: 1.408 MB / 472.5 MB, free: 11.51 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.732e-05/0.1119, allocations: 7.938 kB / 472.5 MB, free: 11.5 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000137/0.1121, allocations: 19.84 kB / 472.5 MB, free: 11.48 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 6.54e-05/0.1122, allocations: 27.78 kB / 472.5 MB, free: 11.45 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00116/0.1133, allocations: 483.1 kB / 473 MB, free: 10.98 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002964/0.1137, allocations: 263.3 kB / 473.2 MB, free: 10.72 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001199/0.1138, allocations: 48.22 kB / 473.3 MB, free: 10.68 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001501/0.1139, allocations: 99.61 kB / 473.4 MB, free: 10.58 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001956/0.1141, allocations: 163.4 kB / 473.6 MB, free: 10.42 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 4.066e-05/0.1142, allocations: 12 kB / 473.6 MB, free: 10.41 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009357/0.1151, allocations: 0.737 MB / 474.3 MB, free: 9.668 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001233/0.1153, allocations: 99.7 kB / 474.4 MB, free: 9.57 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001243/0.1154, allocations: 139.1 kB / 474.5 MB, free: 9.434 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007492/0.1162, allocations: 0.8345 MB / 475.4 MB, free: 8.598 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.256e-06/0.1162, allocations: 3.938 kB / 475.4 MB, free: 8.594 MB / 350.1 MB Notification: Performance of FrontEnd: time 9.31e-07/0.1162, allocations: 0 / 475.4 MB, free: 8.594 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.212e-06/0.1162, allocations: 4 kB / 475.4 MB, free: 8.59 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.001199/0.1174, allocations: 0.7167 MB / 476.1 MB, free: 7.824 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.178e-05/0.1175, allocations: 19.91 kB / 476.1 MB, free: 7.805 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.943e-05/0.1175, allocations: 28.56 kB / 476.1 MB, free: 7.777 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003368/0.1179, allocations: 280 kB / 476.4 MB, free: 7.469 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.965e-05/0.1179, allocations: 12 kB / 476.4 MB, free: 7.457 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.061e-05/0.118, allocations: 27.91 kB / 476.5 MB, free: 7.43 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004992/0.1185, allocations: 275.7 kB / 476.7 MB, free: 7.148 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.098e-05/0.1185, allocations: 0 / 476.7 MB, free: 7.148 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.53e-05/0.1185, allocations: 8 kB / 476.7 MB, free: 7.141 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.286e-06/0.1186, allocations: 4 kB / 476.7 MB, free: 7.137 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004427/0.119, allocations: 227.8 kB / 477 MB, free: 6.914 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001205/0.1202, allocations: 0.7577 MB / 477.7 MB, free: 6.102 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004405/0.1207, allocations: 289 kB / 478 MB, free: 5.801 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002925/0.121, allocations: 197.6 kB / 478.2 MB, free: 5.602 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.148e-05/0.121, allocations: 4.375 kB / 478.2 MB, free: 5.598 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.569e-05/0.1211, allocations: 42.5 kB / 478.2 MB, free: 5.547 MB / 350.1 MB Notification: Performance of pre-optimization done (n=24): time 1.362e-06/0.1211, allocations: 3.938 kB / 478.2 MB, free: 5.543 MB / 350.1 MB Notification: Performance of matching and sorting (n=24): time 0.001017/0.1221, allocations: 0.5289 MB / 478.8 MB, free: 5.008 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.436e-05/0.1221, allocations: 85.11 kB / 478.9 MB, free: 4.906 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003191/0.1225, allocations: 348.5 kB / 479.2 MB, free: 4.555 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.723e-05/0.1225, allocations: 33.7 kB / 479.2 MB, free: 4.516 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.519e-05/0.1226, allocations: 140.7 kB / 479.4 MB, free: 4.375 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.478e-05/0.1227, allocations: 102.5 kB / 479.5 MB, free: 4.273 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001427/0.1229, allocations: 117.7 kB / 479.6 MB, free: 4.152 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001427/0.123, allocations: 350.8 kB / 479.9 MB, free: 3.801 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003995/0.1234, allocations: 288.9 kB / 480.2 MB, free: 3.52 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004412/0.1239, allocations: 335.5 kB / 480.5 MB, free: 3.184 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003495/0.1274, allocations: 1.756 MB / 482.3 MB, free: 1.418 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.887e-06/0.1274, allocations: 4 kB / 482.3 MB, free: 1.414 MB / 350.1 MB Notification: Performance of matching and sorting (n=92) (initialization): time 0.001114/0.1285, allocations: 0.7696 MB / 483.1 MB, free: 0.6367 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.617e-05/0.1285, allocations: 4 kB / 483.1 MB, free: 0.6328 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.458e-05/0.1286, allocations: 11.98 kB / 483.1 MB, free: 0.6211 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.494e-05/0.1286, allocations: 0 / 483.1 MB, free: 0.6211 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004718/0.129, allocations: 95.88 kB / 483.2 MB, free: 0.5273 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.065e-05/0.1291, allocations: 7.938 kB / 483.2 MB, free: 0.5195 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001919/0.1293, allocations: 63.11 kB / 483.2 MB, free: 468 kB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.319e-05/0.1293, allocations: 20 kB / 483.3 MB, free: 448 kB / 350.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.0002396/0.1296, allocations: 176 kB / 483.4 MB, free: 264 kB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.838e-05/0.1296, allocations: 27.56 kB / 483.5 MB, free: 236 kB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.711e-05/0.1298, allocations: 42.7 kB / 483.5 MB, free: 196 kB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.168e-06/0.1298, allocations: 8 kB / 483.5 MB, free: 188 kB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.612e-06/0.1298, allocations: 4 kB / 483.5 MB, free: 184 kB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.198e-06/0.1298, allocations: 0 / 483.5 MB, free: 184 kB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004257/0.1302, allocations: 341.2 kB / 483.8 MB, free: 15.8 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.649e-06/0.1302, allocations: 4 kB / 483.8 MB, free: 15.79 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003839/0.1306, allocations: 47.86 kB / 483.9 MB, free: 15.75 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.809e-06/0.1306, allocations: 4 kB / 483.9 MB, free: 15.74 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.554e-05/0.1307, allocations: 11.98 kB / 483.9 MB, free: 15.73 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.779e-06/0.1307, allocations: 4 kB / 483.9 MB, free: 15.73 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.723e-06/0.1307, allocations: 0 / 483.9 MB, free: 15.73 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001032/0.1317, allocations: 0.7368 MB / 484.7 MB, free: 14.97 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.006e-05/0.1318, allocations: 112.7 kB / 484.8 MB, free: 14.84 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.624e-05/0.1319, allocations: 16 kB / 484.8 MB, free: 14.83 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002209/0.1321, allocations: 7.984 kB / 484.8 MB, free: 14.82 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.217e-05/0.1322, allocations: 19.92 kB / 484.8 MB, free: 14.8 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.222e-05/0.1322, allocations: 11.98 kB / 484.8 MB, free: 14.79 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002136/0.1324, allocations: 223 kB / 485 MB, free: 14.57 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1324, allocations: 0 / 485 MB, free: 14.57 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0007865/0.1332, allocations: 251.9 kB / 485.3 MB, free: 14.33 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.0006326/0.1339, allocations: 255 kB / 485.5 MB, free: 14.07 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001034/0.1349, allocations: 0.7383 MB / 486.3 MB, free: 13.3 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.765e-06/0.1349, allocations: 0 / 486.3 MB, free: 13.3 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003178/0.1353, allocations: 187.8 kB / 486.4 MB, free: 13.12 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000528/0.1358, allocations: 49 kB / 486.5 MB, free: 13.07 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001422/0.1372, allocations: 1.05 MB / 487.5 MB, free: 11.98 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003863/0.1376, allocations: 0.807 MB / 488.4 MB, free: 11.15 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000125/0.1378, allocations: 19.44 kB / 488.4 MB, free: 11.13 MB / 366.1 MB Notification: Performance of SimCode: time 3.01e-07/0.1378, allocations: 0 / 488.4 MB, free: 11.13 MB / 366.1 MB Notification: Performance of Templates: time 0.01134/0.1491, allocations: 6.433 MB / 494.8 MB, free: 4.777 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 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Blocks.PadeDelay2.pipe 2>&1)