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.001305/0.001305, allocations: 100.5 kB / 17.85 MB, free: 5.66 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001487/0.001487, allocations: 205.8 kB / 18.79 MB, free: 4.727 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.339/1.339, allocations: 227.4 MB / 246.9 MB, free: 10.73 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2015/0.2015, allocations: 46.11 MB / 344.3 MB, free: 11.82 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00134/0.00134, allocations: 76.41 kB / 417.5 MB, free: 20.21 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09895/0.1003, allocations: 62.44 MB / 479.9 MB, free: 5.762 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.PadeDelay2): time 0.002786/0.1031, allocations: 1.912 MB / 481.8 MB, free: 3.836 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002091/0.1052, allocations: 1.474 MB / 483.3 MB, free: 2.355 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.121e-05/0.1053, allocations: 3.938 kB / 483.3 MB, free: 2.352 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001453/0.1055, allocations: 23.84 kB / 483.3 MB, free: 2.328 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 6.121e-05/0.1056, allocations: 19.8 kB / 483.4 MB, free: 2.309 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001213/0.1068, allocations: 0.4951 MB / 483.9 MB, free: 1.812 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.00026/0.1071, allocations: 271.2 kB / 484.1 MB, free: 1.547 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001153/0.1072, allocations: 44.3 kB / 484.2 MB, free: 1.504 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002032/0.1074, allocations: 103.6 kB / 484.3 MB, free: 1.402 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001974/0.1076, allocations: 171.4 kB / 484.4 MB, free: 1.234 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 4.139e-05/0.1077, allocations: 12 kB / 484.4 MB, free: 1.223 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009576/0.1086, allocations: 0.7292 MB / 485.2 MB, free: 0.4922 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001193/0.1088, allocations: 107.7 kB / 485.3 MB, free: 396 kB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001326/0.1089, allocations: 123.2 kB / 485.4 MB, free: 272 kB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008468/0.1098, allocations: 0.85 MB / 486.2 MB, free: 15.41 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.917e-06/0.1098, allocations: 0 / 486.2 MB, free: 15.41 MB / 366.1 MB Notification: Performance of FrontEnd: time 8.71e-07/0.1098, allocations: 3.938 kB / 486.2 MB, free: 15.41 MB / 366.1 MB Notification: Performance of Transformations before backend: time 5.42e-06/0.1098, allocations: 4 kB / 486.3 MB, free: 15.41 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.001215/0.111, allocations: 0.7206 MB / 487 MB, free: 14.64 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.642e-05/0.1111, allocations: 12.88 kB / 487 MB, free: 14.62 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001805/0.1112, allocations: 40.55 kB / 487 MB, free: 14.59 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003309/0.1116, allocations: 284 kB / 487.3 MB, free: 14.27 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.311e-05/0.1116, allocations: 12 kB / 487.3 MB, free: 14.26 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.685e-05/0.1117, allocations: 23.91 kB / 487.3 MB, free: 14.24 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004753/0.1122, allocations: 271.7 kB / 487.6 MB, free: 13.96 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.776e-06/0.1122, allocations: 0 / 487.6 MB, free: 13.96 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.767e-05/0.1122, allocations: 8 kB / 487.6 MB, free: 13.95 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.891e-06/0.1122, allocations: 0 / 487.6 MB, free: 13.95 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004067/0.1126, allocations: 227.8 kB / 487.8 MB, free: 13.73 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001159/0.1138, allocations: 0.7654 MB / 488.6 MB, free: 12.91 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004407/0.1143, allocations: 296.9 kB / 488.9 MB, free: 12.6 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002891/0.1146, allocations: 189.6 kB / 489.1 MB, free: 12.41 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.082e-05/0.1146, allocations: 4 kB / 489.1 MB, free: 12.41 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.596e-05/0.1147, allocations: 46.48 kB / 489.1 MB, free: 12.35 MB / 366.1 MB Notification: Performance of pre-optimization done (n=24): time 1.483e-06/0.1147, allocations: 0 / 489.1 MB, free: 12.35 MB / 366.1 MB Notification: Performance of matching and sorting (n=24): time 0.001024/0.1157, allocations: 0.5286 MB / 489.7 MB, free: 11.82 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.123e-05/0.1157, allocations: 81.11 kB / 489.7 MB, free: 11.72 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003307/0.1161, allocations: 348.5 kB / 490.1 MB, free: 11.37 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 3.654e-05/0.1161, allocations: 37.7 kB / 490.1 MB, free: 11.32 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.986e-05/0.1162, allocations: 132.8 kB / 490.2 MB, free: 11.19 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.08e-05/0.1163, allocations: 106.5 kB / 490.3 MB, free: 11.09 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001586/0.1165, allocations: 121.6 kB / 490.5 MB, free: 10.96 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001259/0.1166, allocations: 350.8 kB / 490.8 MB, free: 10.61 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004062/0.117, allocations: 284.9 kB / 491.1 MB, free: 10.33 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004396/0.1175, allocations: 335.5 kB / 491.4 MB, free: 9.996 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003455/0.1209, allocations: 1.773 MB / 493.2 MB, free: 8.215 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.417e-06/0.121, allocations: 0 / 493.2 MB, free: 8.215 MB / 366.1 MB Notification: Performance of matching and sorting (n=92) (initialization): time 0.001088/0.1221, allocations: 0.7692 MB / 494 MB, free: 7.441 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.846e-05/0.1221, allocations: 4 kB / 494 MB, free: 7.438 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.725e-05/0.1221, allocations: 11.98 kB / 494 MB, free: 7.426 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.36e-05/0.1221, allocations: 0 / 494 MB, free: 7.426 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004869/0.1226, allocations: 99.88 kB / 494.1 MB, free: 7.328 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.779e-06/0.1227, allocations: 4 kB / 494.1 MB, free: 7.324 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001959/0.1229, allocations: 67.11 kB / 494.1 MB, free: 7.258 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.06e-05/0.1229, allocations: 12 kB / 494.1 MB, free: 7.246 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.0002526/0.1232, allocations: 186.8 kB / 494.3 MB, free: 7.059 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.877e-05/0.1232, allocations: 27.56 kB / 494.4 MB, free: 7.031 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001058/0.1233, allocations: 42.7 kB / 494.4 MB, free: 6.988 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.739e-06/0.1234, allocations: 7.938 kB / 494.4 MB, free: 6.98 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.54e-06/0.1234, allocations: 0 / 494.4 MB, free: 6.98 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.697e-06/0.1234, allocations: 0 / 494.4 MB, free: 6.98 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004129/0.1238, allocations: 345.2 kB / 494.7 MB, free: 6.594 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.064e-06/0.1238, allocations: 0 / 494.7 MB, free: 6.594 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003597/0.1242, allocations: 51.86 kB / 494.8 MB, free: 6.543 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.196e-06/0.1242, allocations: 4 kB / 494.8 MB, free: 6.539 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.837e-05/0.1242, allocations: 15.98 kB / 494.8 MB, free: 6.523 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.344e-06/0.1242, allocations: 0 / 494.8 MB, free: 6.523 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.282e-06/0.1242, allocations: 0 / 494.8 MB, free: 6.523 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009892/0.1252, allocations: 0.7542 MB / 495.6 MB, free: 5.758 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.903e-05/0.1253, allocations: 120.7 kB / 495.7 MB, free: 5.621 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.242e-05/0.1254, allocations: 8 kB / 495.7 MB, free: 5.613 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002248/0.1256, allocations: 19.98 kB / 495.7 MB, free: 5.594 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.828e-05/0.1257, allocations: 7.984 kB / 495.7 MB, free: 5.586 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.341e-05/0.1257, allocations: 15.98 kB / 495.7 MB, free: 5.57 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002036/0.1259, allocations: 215 kB / 495.9 MB, free: 5.363 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.8e-07/0.1259, allocations: 4 kB / 495.9 MB, free: 5.359 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0007653/0.1267, allocations: 255.9 kB / 496.2 MB, free: 5.109 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.0005143/0.1272, allocations: 256 kB / 496.4 MB, free: 4.852 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.000989/0.1282, allocations: 0.725 MB / 497.2 MB, free: 4.102 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.976e-06/0.1282, allocations: 0 / 497.2 MB, free: 4.102 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002986/0.1285, allocations: 195.7 kB / 497.4 MB, free: 3.91 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005013/0.1291, allocations: 45 kB / 497.4 MB, free: 3.863 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001293/0.1304, allocations: 1.053 MB / 498.5 MB, free: 2.773 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000361/0.1307, allocations: 0.807 MB / 499.3 MB, free: 1.941 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001295/0.1309, allocations: 31.38 kB / 499.3 MB, free: 1.91 MB / 366.1 MB Notification: Performance of SimCode: time 3.81e-07/0.1309, allocations: 0 / 499.3 MB, free: 1.91 MB / 366.1 MB Notification: Performance of Templates: time 0.009086/0.14, allocations: 6.446 MB / 0.4939 GB, free: 11.53 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)