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.0008028/0.0008028, allocations: 98.62 kB / 18.01 MB, free: 5.734 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.0008361/0.0008361, allocations: 177.3 kB / 18.91 MB, free: 4.871 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.347/1.347, allocations: 223.3 MB / 243 MB, free: 212 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.1954/0.1954, allocations: 44.25 MB / 338.3 MB, free: 2.668 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003391/0.0003393, allocations: 10.03 kB / 411 MB, free: 27.32 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.106/0.1063, allocations: 61.92 MB / 472.9 MB, free: 13.36 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.PadeDelay2): time 0.001948/0.1083, allocations: 1.529 MB / 474.4 MB, free: 11.81 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002108/0.1104, allocations: 1.396 MB / 475.8 MB, free: 10.41 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001006/0.1106, allocations: 4 kB / 475.8 MB, free: 10.4 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001449/0.1107, allocations: 15.86 kB / 475.9 MB, free: 10.39 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 8.652e-05/0.1108, allocations: 27.78 kB / 475.9 MB, free: 10.36 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001324/0.1122, allocations: 487.1 kB / 476.4 MB, free: 9.883 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002997/0.1125, allocations: 267.2 kB / 476.6 MB, free: 9.621 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001277/0.1126, allocations: 44.28 kB / 476.7 MB, free: 9.578 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000181/0.1128, allocations: 91.62 kB / 476.7 MB, free: 9.488 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000212/0.113, allocations: 155.5 kB / 476.9 MB, free: 9.336 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 4.113e-05/0.1131, allocations: 8 kB / 476.9 MB, free: 9.328 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001041/0.1141, allocations: 0.7369 MB / 477.6 MB, free: 8.59 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001307/0.1143, allocations: 107.6 kB / 477.7 MB, free: 8.484 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001486/0.1144, allocations: 148.9 kB / 477.9 MB, free: 8.332 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001096/0.1155, allocations: 0.8305 MB / 478.7 MB, free: 7.5 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.687e-06/0.1155, allocations: 0 / 478.7 MB, free: 7.5 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.624e-06/0.1155, allocations: 0 / 478.7 MB, free: 7.5 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.016e-05/0.1156, allocations: 0 / 478.7 MB, free: 7.5 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.001324/0.1169, allocations: 0.6777 MB / 479.4 MB, free: 6.773 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.309e-05/0.1169, allocations: 12.03 kB / 479.4 MB, free: 6.762 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.347e-05/0.117, allocations: 40.45 kB / 479.5 MB, free: 6.723 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00035/0.1174, allocations: 280 kB / 479.7 MB, free: 6.414 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.911e-05/0.1174, allocations: 16 kB / 479.7 MB, free: 6.398 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.395e-05/0.1175, allocations: 27.91 kB / 479.8 MB, free: 6.371 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004993/0.118, allocations: 275.7 kB / 480 MB, free: 6.09 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.238e-06/0.118, allocations: 4 kB / 480 MB, free: 6.086 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.657e-05/0.1181, allocations: 8 kB / 480.1 MB, free: 6.078 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.773e-06/0.1181, allocations: 4 kB / 480.1 MB, free: 6.074 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004224/0.1185, allocations: 231.8 kB / 480.3 MB, free: 5.848 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001304/0.1198, allocations: 0.7655 MB / 481 MB, free: 5.027 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004376/0.1203, allocations: 288.9 kB / 481.3 MB, free: 4.727 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002991/0.1206, allocations: 201.6 kB / 481.5 MB, free: 4.523 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.769e-05/0.1206, allocations: 4 kB / 481.5 MB, free: 4.52 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.298e-05/0.1207, allocations: 42.5 kB / 481.6 MB, free: 4.469 MB / 350.1 MB Notification: Performance of pre-optimization done (n=24): time 1.533e-06/0.1207, allocations: 0 / 481.6 MB, free: 4.469 MB / 350.1 MB Notification: Performance of matching and sorting (n=24): time 0.001021/0.1217, allocations: 0.548 MB / 482.1 MB, free: 3.914 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.053e-05/0.1218, allocations: 81.11 kB / 482.2 MB, free: 3.816 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003638/0.1221, allocations: 352.5 kB / 482.5 MB, free: 3.461 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.107e-05/0.1222, allocations: 33.7 kB / 482.6 MB, free: 3.422 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.925e-05/0.1223, allocations: 144.7 kB / 482.7 MB, free: 3.277 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.309e-05/0.1224, allocations: 98.56 kB / 482.8 MB, free: 3.18 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001078/0.1225, allocations: 85.66 kB / 482.9 MB, free: 3.09 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001217/0.1226, allocations: 354.8 kB / 483.2 MB, free: 2.734 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004254/0.1231, allocations: 284.9 kB / 483.5 MB, free: 2.457 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004816/0.1235, allocations: 343.5 kB / 483.9 MB, free: 2.113 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003644/0.1272, allocations: 1.772 MB / 485.6 MB, free: 340 kB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.168e-06/0.1272, allocations: 8 kB / 485.6 MB, free: 332 kB / 350.1 MB Notification: Performance of matching and sorting (n=92) (initialization): time 0.001164/0.1284, allocations: 0.7736 MB / 486.4 MB, free: 15.54 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.128e-05/0.1284, allocations: 4 kB / 486.4 MB, free: 15.54 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.84e-05/0.1285, allocations: 11.98 kB / 486.4 MB, free: 15.52 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.532e-05/0.1285, allocations: 0 / 486.4 MB, free: 15.52 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005077/0.129, allocations: 103.9 kB / 486.5 MB, free: 15.42 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.055e-05/0.129, allocations: 0 / 486.5 MB, free: 15.42 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000221/0.1292, allocations: 67.11 kB / 486.6 MB, free: 15.36 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.331e-05/0.1293, allocations: 16 kB / 486.6 MB, free: 15.34 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.0002621/0.1296, allocations: 184.9 kB / 486.8 MB, free: 15.15 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.226e-05/0.1297, allocations: 27.56 kB / 486.8 MB, free: 15.12 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001238/0.1298, allocations: 42.7 kB / 486.9 MB, free: 15.09 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.49e-06/0.1298, allocations: 4 kB / 486.9 MB, free: 15.08 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.249e-06/0.1298, allocations: 0 / 486.9 MB, free: 15.08 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.318e-06/0.1298, allocations: 0 / 486.9 MB, free: 15.08 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004293/0.1302, allocations: 345.1 kB / 487.2 MB, free: 14.7 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.368e-06/0.1303, allocations: 4 kB / 487.2 MB, free: 14.7 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003646/0.1306, allocations: 47.86 kB / 487.2 MB, free: 14.65 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.897e-06/0.1306, allocations: 4 kB / 487.3 MB, free: 14.64 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.025e-05/0.1307, allocations: 19.98 kB / 487.3 MB, free: 14.62 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.395e-06/0.1307, allocations: 0 / 487.3 MB, free: 14.62 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.025e-06/0.1307, allocations: 4 kB / 487.3 MB, free: 14.62 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001027/0.1317, allocations: 0.7485 MB / 488 MB, free: 13.85 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.744e-05/0.1318, allocations: 112.7 kB / 488.1 MB, free: 13.72 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.856e-05/0.1319, allocations: 8 kB / 488.1 MB, free: 13.71 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002408/0.1321, allocations: 15.98 kB / 488.2 MB, free: 13.7 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.576e-05/0.1322, allocations: 15.98 kB / 488.2 MB, free: 13.68 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.982e-05/0.1322, allocations: 7.984 kB / 488.2 MB, free: 13.68 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002071/0.1324, allocations: 227 kB / 488.4 MB, free: 13.46 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.1324, allocations: 0 / 488.4 MB, free: 13.46 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0007841/0.1332, allocations: 251.9 kB / 488.7 MB, free: 13.21 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.000633/0.1339, allocations: 247 kB / 488.9 MB, free: 12.96 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001014/0.1349, allocations: 0.7444 MB / 489.6 MB, free: 12.19 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.675e-06/0.1349, allocations: 3.938 kB / 489.6 MB, free: 12.18 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003154/0.1352, allocations: 199.8 kB / 489.8 MB, free: 11.99 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000513/0.1358, allocations: 41 kB / 489.9 MB, free: 11.95 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001362/0.1371, allocations: 1.108 MB / 491 MB, free: 10.8 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003551/0.1375, allocations: 0.7992 MB / 491.8 MB, free: 9.973 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001235/0.1376, allocations: 23.42 kB / 491.8 MB, free: 9.953 MB / 366.1 MB Notification: Performance of SimCode: time 3.1e-07/0.1376, allocations: 0 / 491.8 MB, free: 9.953 MB / 366.1 MB Notification: Performance of Templates: time 0.009756/0.1474, allocations: 6.394 MB / 498.2 MB, free: 3.625 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)