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.001364/0.001364, allocations: 108.4 kB / 17.98 MB, free: 5.355 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.001649/0.001649, allocations: 193.3 kB / 18.9 MB, free: 4.438 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.325/1.325, allocations: 222.9 MB / 242.6 MB, free: 13.59 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.1977/0.1977, allocations: 44.17 MB / 336.9 MB, free: 2.703 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001184/0.001184, allocations: 63.66 kB / 408.5 MB, free: 27.57 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0936/0.0948, allocations: 60.82 MB / 469.4 MB, free: 14.72 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.PadeDelay2): time 0.00292/0.09775, allocations: 1.885 MB / 471.2 MB, free: 12.81 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001849/0.09963, allocations: 1.341 MB / 472.6 MB, free: 11.46 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.511e-05/0.09974, allocations: 4 kB / 472.6 MB, free: 11.46 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001471/0.09989, allocations: 23.78 kB / 472.6 MB, free: 11.44 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 7.061e-05/0.1, allocations: 27.83 kB / 472.6 MB, free: 11.41 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001349/0.1014, allocations: 0.5108 MB / 473.2 MB, free: 10.9 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002681/0.1016, allocations: 279.3 kB / 473.4 MB, free: 10.62 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001137/0.1018, allocations: 48.28 kB / 473.5 MB, free: 10.58 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001597/0.1019, allocations: 115.5 kB / 473.6 MB, free: 10.46 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00018/0.1021, allocations: 171.5 kB / 473.8 MB, free: 10.3 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 4.065e-05/0.1022, allocations: 24 kB / 473.8 MB, free: 10.27 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008671/0.103, allocations: 0.7681 MB / 474.5 MB, free: 9.504 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001109/0.1032, allocations: 111.7 kB / 474.7 MB, free: 9.395 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001226/0.1033, allocations: 139.2 kB / 474.8 MB, free: 9.258 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007927/0.1041, allocations: 0.8384 MB / 475.6 MB, free: 8.418 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.186e-06/0.1041, allocations: 0 / 475.6 MB, free: 8.418 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.502e-06/0.1041, allocations: 8 kB / 475.6 MB, free: 8.41 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.561e-06/0.1041, allocations: 0 / 475.6 MB, free: 8.41 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.001134/0.1053, allocations: 0.7205 MB / 476.4 MB, free: 7.641 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.237e-05/0.1053, allocations: 12.03 kB / 476.4 MB, free: 7.629 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.912e-05/0.1054, allocations: 32.56 kB / 476.4 MB, free: 7.598 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002707/0.1057, allocations: 280 kB / 476.7 MB, free: 7.289 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.853e-05/0.1057, allocations: 20 kB / 476.7 MB, free: 7.27 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.538e-05/0.1058, allocations: 27.91 kB / 476.7 MB, free: 7.242 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004565/0.1062, allocations: 275.6 kB / 477 MB, free: 6.961 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.396e-06/0.1062, allocations: 4 kB / 477 MB, free: 6.957 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.338e-05/0.1063, allocations: 4 kB / 477 MB, free: 6.953 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.68e-06/0.1063, allocations: 4 kB / 477 MB, free: 6.949 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003966/0.1067, allocations: 227.8 kB / 477.2 MB, free: 6.727 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001089/0.1078, allocations: 0.7576 MB / 478 MB, free: 5.914 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004251/0.1082, allocations: 288.9 kB / 478.3 MB, free: 5.613 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002762/0.1085, allocations: 189.6 kB / 478.4 MB, free: 5.422 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.87e-05/0.1085, allocations: 3.984 kB / 478.5 MB, free: 5.418 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.841e-05/0.1086, allocations: 46.5 kB / 478.5 MB, free: 5.363 MB / 350.1 MB Notification: Performance of pre-optimization done (n=24): time 1.442e-06/0.1086, allocations: 0 / 478.5 MB, free: 5.363 MB / 350.1 MB Notification: Performance of matching and sorting (n=24): time 0.0009485/0.1095, allocations: 0.5286 MB / 479 MB, free: 4.828 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.654e-05/0.1096, allocations: 85.11 kB / 479.1 MB, free: 4.727 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000304/0.1099, allocations: 344.5 kB / 479.4 MB, free: 4.379 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.543e-05/0.1099, allocations: 33.7 kB / 479.5 MB, free: 4.34 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.059e-05/0.11, allocations: 140.8 kB / 479.6 MB, free: 4.199 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.407e-05/0.1101, allocations: 102.5 kB / 479.7 MB, free: 4.098 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001553/0.1103, allocations: 121.7 kB / 479.8 MB, free: 3.973 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001285/0.1104, allocations: 350.8 kB / 480.2 MB, free: 3.621 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004136/0.1108, allocations: 288.8 kB / 480.5 MB, free: 3.34 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004151/0.1113, allocations: 331.6 kB / 480.8 MB, free: 3.008 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003333/0.1146, allocations: 1.768 MB / 482.6 MB, free: 1.23 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.267e-06/0.1146, allocations: 0 / 482.6 MB, free: 1.23 MB / 350.1 MB Notification: Performance of matching and sorting (n=92) (initialization): time 0.001018/0.1156, allocations: 0.7696 MB / 483.3 MB, free: 464 kB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.787e-05/0.1157, allocations: 6.344 kB / 483.3 MB, free: 460 kB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.462e-05/0.1157, allocations: 11.98 kB / 483.3 MB, free: 448 kB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.335e-05/0.1157, allocations: 0 / 483.3 MB, free: 448 kB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004588/0.1162, allocations: 91.88 kB / 483.4 MB, free: 356 kB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.736e-06/0.1162, allocations: 4 kB / 483.4 MB, free: 352 kB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001835/0.1164, allocations: 75.11 kB / 483.5 MB, free: 276 kB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.748e-05/0.1164, allocations: 8 kB / 483.5 MB, free: 268 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.0002244/0.1167, allocations: 181.6 kB / 483.7 MB, free: 80 kB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.135e-05/0.1167, allocations: 27.56 kB / 483.7 MB, free: 52 kB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.056e-05/0.1168, allocations: 46.7 kB / 483.8 MB, free: 8 kB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.238e-06/0.1168, allocations: 4 kB / 483.8 MB, free: 4 kB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.351e-06/0.1169, allocations: 0 / 483.8 MB, free: 4 kB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.836e-05/0.1169, allocations: 3.938 kB / 483.8 MB, free: 0 / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004418/0.1173, allocations: 337.4 kB / 484.1 MB, free: 15.62 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.845e-06/0.1173, allocations: 11.92 kB / 484.1 MB, free: 15.61 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003446/0.1177, allocations: 47.92 kB / 484.2 MB, free: 15.56 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.334e-06/0.1177, allocations: 0 / 484.2 MB, free: 15.56 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.405e-05/0.1177, allocations: 15.98 kB / 484.2 MB, free: 15.54 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.236e-06/0.1177, allocations: 4 kB / 484.2 MB, free: 15.54 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.142e-06/0.1178, allocations: 4 kB / 484.2 MB, free: 15.54 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009838/0.1187, allocations: 0.7368 MB / 484.9 MB, free: 14.78 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.942e-05/0.1188, allocations: 116.7 kB / 485 MB, free: 14.65 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.04e-05/0.1189, allocations: 11.94 kB / 485 MB, free: 14.64 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002203/0.1191, allocations: 11.98 kB / 485.1 MB, free: 14.62 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.205e-05/0.1192, allocations: 15.98 kB / 485.1 MB, free: 14.61 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.411e-05/0.1192, allocations: 15.98 kB / 485.1 MB, free: 14.59 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001904/0.1194, allocations: 219 kB / 485.3 MB, free: 14.38 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1194, allocations: 0 / 485.3 MB, free: 14.38 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0007456/0.1202, allocations: 247.9 kB / 485.5 MB, free: 14.14 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.0004931/0.1207, allocations: 259 kB / 485.8 MB, free: 13.88 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0009528/0.1216, allocations: 0.7661 MB / 486.6 MB, free: 13.09 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.803e-06/0.1216, allocations: 0 / 486.6 MB, free: 13.09 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000282/0.1219, allocations: 184.7 kB / 486.7 MB, free: 12.91 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004741/0.1224, allocations: 48.98 kB / 486.8 MB, free: 12.86 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001251/0.1237, allocations: 1.052 MB / 487.8 MB, free: 11.77 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003484/0.124, allocations: 0.8067 MB / 488.7 MB, free: 10.93 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001143/0.1242, allocations: 27.44 kB / 488.7 MB, free: 10.91 MB / 366.1 MB Notification: Performance of SimCode: time 1.613e-06/0.1242, allocations: 0 / 488.7 MB, free: 10.91 MB / 366.1 MB Notification: Performance of Templates: time 0.008642/0.1328, allocations: 6.429 MB / 495.1 MB, free: 4.559 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)