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.001593/0.001594, allocations: 106.1 kB / 18.3 MB, free: 4.887 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.001565/0.001566, allocations: 195.3 kB / 19.23 MB, free: 3.961 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.482/1.482, allocations: 222.9 MB / 242.9 MB, free: 15.22 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.2028/0.2028, allocations: 44.19 MB / 337.3 MB, free: 2.758 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001322/0.001322, allocations: 60.78 kB / 409.1 MB, free: 27.26 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0984/0.09974, allocations: 60.83 MB / 469.9 MB, free: 14.39 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.PadeDelay2): time 0.003284/0.1031, allocations: 1.828 MB / 471.7 MB, free: 12.55 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002053/0.1051, allocations: 1.333 MB / 473.1 MB, free: 11.21 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001156/0.1053, allocations: 4 kB / 473.1 MB, free: 11.2 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001551/0.1055, allocations: 31.66 kB / 473.1 MB, free: 11.17 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 9.68e-05/0.1056, allocations: 35.66 kB / 473.1 MB, free: 11.14 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001543/0.1071, allocations: 0.5533 MB / 473.7 MB, free: 10.58 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003079/0.1075, allocations: 279.3 kB / 474 MB, free: 10.31 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001345/0.1076, allocations: 48.28 kB / 474 MB, free: 10.26 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001935/0.1078, allocations: 115.6 kB / 474.1 MB, free: 10.15 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000233/0.108, allocations: 171.5 kB / 474.3 MB, free: 9.98 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 5.907e-05/0.1081, allocations: 31.94 kB / 474.3 MB, free: 9.949 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001036/0.1092, allocations: 0.7565 MB / 475.1 MB, free: 9.191 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001375/0.1093, allocations: 115.7 kB / 475.2 MB, free: 9.078 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001575/0.1095, allocations: 143.1 kB / 475.3 MB, free: 8.938 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00122/0.1107, allocations: 1.064 MB / 476.4 MB, free: 7.871 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.731e-06/0.1107, allocations: 0 / 476.4 MB, free: 7.871 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.424e-06/0.1107, allocations: 3.938 kB / 476.4 MB, free: 7.867 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.324e-06/0.1107, allocations: 0 / 476.4 MB, free: 7.867 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.001248/0.112, allocations: 0.7245 MB / 477.1 MB, free: 7.094 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.727e-05/0.112, allocations: 8.031 kB / 477.1 MB, free: 7.086 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.488e-05/0.1121, allocations: 32.5 kB / 477.2 MB, free: 7.055 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003163/0.1124, allocations: 276 kB / 477.4 MB, free: 6.746 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.303e-05/0.1125, allocations: 12 kB / 477.5 MB, free: 6.734 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.388e-05/0.1125, allocations: 31.89 kB / 477.5 MB, free: 6.703 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004807/0.113, allocations: 275.2 kB / 477.8 MB, free: 6.422 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.197e-06/0.113, allocations: 0 / 477.8 MB, free: 6.422 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.636e-05/0.1131, allocations: 4 kB / 477.8 MB, free: 6.418 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.838e-06/0.1131, allocations: 7.984 kB / 477.8 MB, free: 6.41 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004176/0.1135, allocations: 223.8 kB / 478 MB, free: 6.191 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001212/0.1147, allocations: 0.7616 MB / 478.7 MB, free: 5.375 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004538/0.1152, allocations: 292.9 kB / 479 MB, free: 5.07 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002938/0.1155, allocations: 189.6 kB / 479.2 MB, free: 4.879 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.977e-05/0.1156, allocations: 4 kB / 479.2 MB, free: 4.875 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.824e-05/0.1156, allocations: 34.94 kB / 479.3 MB, free: 4.832 MB / 350.1 MB Notification: Performance of pre-optimization done (n=24): time 3.296e-06/0.1156, allocations: 0 / 479.3 MB, free: 4.832 MB / 350.1 MB Notification: Performance of matching and sorting (n=24): time 0.001014/0.1166, allocations: 0.5399 MB / 479.8 MB, free: 4.285 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.878e-05/0.1167, allocations: 77.11 kB / 479.9 MB, free: 4.191 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003368/0.117, allocations: 348.5 kB / 480.2 MB, free: 3.844 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.817e-05/0.1171, allocations: 37.7 kB / 480.3 MB, free: 3.801 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.713e-05/0.1172, allocations: 144.8 kB / 480.4 MB, free: 3.656 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.5e-05/0.1172, allocations: 94.56 kB / 480.5 MB, free: 3.562 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001601/0.1174, allocations: 121.7 kB / 480.6 MB, free: 3.438 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001313/0.1176, allocations: 346.8 kB / 480.9 MB, free: 3.09 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000415/0.118, allocations: 292.8 kB / 481.2 MB, free: 2.805 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004356/0.1184, allocations: 339.5 kB / 481.6 MB, free: 2.465 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003563/0.122, allocations: 1.768 MB / 483.3 MB, free: 0.6875 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.857e-06/0.122, allocations: 0 / 483.3 MB, free: 0.6875 MB / 350.1 MB Notification: Performance of matching and sorting (n=92) (initialization): time 0.001175/0.1232, allocations: 0.7657 MB / 484.1 MB, free: 15.91 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.28e-05/0.1232, allocations: 12 kB / 484.1 MB, free: 15.9 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.665e-05/0.1233, allocations: 4 kB / 484.1 MB, free: 15.89 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.879e-05/0.1233, allocations: 0 / 484.1 MB, free: 15.89 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004921/0.1238, allocations: 99.88 kB / 484.2 MB, free: 15.8 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.576e-05/0.1238, allocations: 3.984 kB / 484.2 MB, free: 15.79 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002198/0.1241, allocations: 71.05 kB / 484.3 MB, free: 15.72 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.086e-05/0.1241, allocations: 12 kB / 484.3 MB, free: 15.71 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.000258/0.1244, allocations: 184 kB / 484.5 MB, free: 15.52 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.342e-05/0.1245, allocations: 27.56 kB / 484.5 MB, free: 15.5 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.442e-05/0.1246, allocations: 38.72 kB / 484.5 MB, free: 15.46 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.11e-06/0.1246, allocations: 4 kB / 484.5 MB, free: 15.46 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.181e-06/0.1246, allocations: 0 / 484.5 MB, free: 15.46 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.183e-06/0.1246, allocations: 7.984 kB / 484.5 MB, free: 15.45 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004481/0.125, allocations: 345.2 kB / 484.9 MB, free: 15.07 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.876e-06/0.1251, allocations: 0 / 484.9 MB, free: 15.07 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003689/0.1254, allocations: 55.83 kB / 484.9 MB, free: 15.01 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.917e-06/0.1254, allocations: 0 / 484.9 MB, free: 15.01 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.005e-05/0.1255, allocations: 19.98 kB / 485 MB, free: 14.99 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.515e-06/0.1255, allocations: 0 / 485 MB, free: 14.99 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.483e-06/0.1255, allocations: 0 / 485 MB, free: 14.99 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001032/0.1265, allocations: 0.7433 MB / 485.7 MB, free: 14.23 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.754e-05/0.1266, allocations: 108.8 kB / 485.8 MB, free: 14.11 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.386e-05/0.1267, allocations: 11.98 kB / 485.8 MB, free: 14.1 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002331/0.1269, allocations: 12 kB / 485.8 MB, free: 14.09 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.079e-05/0.127, allocations: 15.97 kB / 485.8 MB, free: 14.07 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.978e-05/0.127, allocations: 8 kB / 485.9 MB, free: 14.06 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002246/0.1273, allocations: 219 kB / 486.1 MB, free: 13.85 MB / 366.1 MB Notification: Performance of sort global known variables: time 2.5e-07/0.1273, allocations: 4 kB / 486.1 MB, free: 13.85 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.000827/0.1281, allocations: 259.9 kB / 486.3 MB, free: 13.59 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.000603/0.1287, allocations: 263 kB / 486.6 MB, free: 13.32 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001079/0.1298, allocations: 0.7483 MB / 487.3 MB, free: 12.55 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.845e-06/0.1298, allocations: 0 / 487.3 MB, free: 12.55 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003179/0.1301, allocations: 196.7 kB / 487.5 MB, free: 12.36 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005028/0.1307, allocations: 43.3 kB / 487.6 MB, free: 12.32 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001409/0.1321, allocations: 0.9761 MB / 488.5 MB, free: 11.3 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003736/0.1325, allocations: 0.8067 MB / 489.3 MB, free: 10.46 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001289/0.1326, allocations: 23.44 kB / 489.4 MB, free: 10.45 MB / 366.1 MB Notification: Performance of SimCode: time 5.31e-07/0.1326, allocations: 0 / 489.4 MB, free: 10.45 MB / 366.1 MB Notification: Performance of Templates: time 0.009732/0.1424, allocations: 6.422 MB / 495.8 MB, free: 4.098 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)