Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Blocks.PadeDelay1.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo) Using package ModelicaServices with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo) Using package Complex with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo) Running command: translateModel(ModelicaTest.Blocks.PadeDelay1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Blocks.PadeDelay1") translateModel(ModelicaTest.Blocks.PadeDelay1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Blocks.PadeDelay1") [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.004805/0.004805, allocations: 185.7 kB / 7.458 MB, free: 2.512 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.4/1.4, allocations: 194.2 MB / 202.1 MB, free: 8.664 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.001602/0.001602, allocations: 124.2 kB / 247.1 MB, free: 6.336 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo): time 0.1939/0.1939, allocations: 39.94 MB / 331.9 MB, free: 4.898 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 8.776e-06/9.037e-06, allocations: 0 / 392.8 MB, free: 75.89 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1108/0.1108, allocations: 54.87 MB / 447.6 MB, free: 21 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3094/0.4202, allocations: 81.3 MB / 0.5165 GB, free: 10.07 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000247/0.4205, allocations: 60.97 kB / 0.5166 GB, free: 10.07 MB / 346.7 MB Notification: Performance of FrontEnd: time 0.03013/0.4507, allocations: 8.937 MB / 0.5253 GB, free: 7.168 MB / 346.7 MB Notification: Performance of Transformations before backend: time 3.685e-05/0.4508, allocations: 12.25 kB / 0.5253 GB, free: 7.164 MB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 104 * Number of variables: 104 Notification: Performance of Generate backend data structure: time 0.001869/0.4526, allocations: 0.9201 MB / 0.5262 GB, free: 6.523 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.16e-05/0.4527, allocations: 8.656 kB / 0.5262 GB, free: 6.523 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002002/0.4529, allocations: 52.81 kB / 0.5263 GB, free: 6.492 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005535/0.4534, allocations: 365.4 kB / 0.5266 GB, free: 6.203 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.511e-05/0.4535, allocations: 8.812 kB / 0.5267 GB, free: 6.203 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001249/0.4536, allocations: 34.22 kB / 0.5267 GB, free: 6.195 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001167/0.4548, allocations: 0.707 MB / 0.5274 GB, free: 6.109 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009546/0.4557, allocations: 0.6258 MB / 0.528 GB, free: 5.934 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.189e-05/0.4558, allocations: 8.969 kB / 0.528 GB, free: 5.93 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.682e-05/0.4559, allocations: 0 / 0.528 GB, free: 5.93 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.201e-05/0.4559, allocations: 6.656 kB / 0.528 GB, free: 5.93 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00251/0.4584, allocations: 1.555 MB / 0.5295 GB, free: 5.211 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000909/0.4593, allocations: 0.7321 MB / 0.5302 GB, free: 4.996 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005239/0.4599, allocations: 0.5642 MB / 0.5308 GB, free: 4.664 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004312/0.4603, allocations: 309.5 kB / 0.5311 GB, free: 4.332 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.545e-05/0.4603, allocations: 49.95 kB / 0.5311 GB, free: 4.281 MB / 346.7 MB Notification: Performance of pre-optimization done (n=96): time 2.154e-06/0.4603, allocations: 0 / 0.5311 GB, free: 4.281 MB / 346.7 MB Notification: Performance of matching and sorting (n=96): time 0.001383/0.4617, allocations: 1.181 MB / 0.5323 GB, free: 3.391 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.416e-05/0.4618, allocations: 81.81 kB / 0.5324 GB, free: 3.293 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000313/0.4621, allocations: 344.8 kB / 0.5327 GB, free: 3.016 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 5.115e-05/0.4621, allocations: 25.7 kB / 0.5327 GB, free: 2.984 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.467e-05/0.4622, allocations: 130.1 kB / 0.5328 GB, free: 2.867 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002569/0.4625, allocations: 358.6 kB / 0.5332 GB, free: 2.559 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.316e-05/0.4625, allocations: 0 / 0.5332 GB, free: 2.559 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001132/0.4626, allocations: 392.7 kB / 0.5336 GB, free: 2.195 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006051/0.4633, allocations: 0.5908 MB / 0.5341 GB, free: 1.824 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006445/0.4639, allocations: 0.6862 MB / 0.5348 GB, free: 1.375 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009612/0.4649, allocations: 0.7416 MB / 0.5355 GB, free: 0.8711 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.098e-06/0.4649, allocations: 0 / 0.5355 GB, free: 0.8711 MB / 346.7 MB Notification: Performance of matching and sorting (n=198) (initialization): time 0.00211/0.467, allocations: 1.945 MB / 0.5374 GB, free: 15.41 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.707e-05/0.467, allocations: 4 kB / 0.5374 GB, free: 15.41 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.468e-05/0.4671, allocations: 4 kB / 0.5374 GB, free: 15.4 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.265e-05/0.4671, allocations: 11.94 kB / 0.5374 GB, free: 15.39 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008774/0.468, allocations: 166.4 kB / 0.5376 GB, free: 15.23 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.613e-05/0.468, allocations: 4 kB / 0.5376 GB, free: 15.23 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004057/0.4684, allocations: 106.4 kB / 0.5377 GB, free: 15.12 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.282e-05/0.4685, allocations: 26.81 kB / 0.5377 GB, free: 15.11 MB / 362.7 MB Warning: Assuming fixed start value for the following 36 variables: padeDelay1.x[9]:VARIABLE(final = true ) "State of transfer function from controller canonical form (balance=false), or balanced controller canonical form (balance=true)" type: Real [10] padeDelay1.x[8]:VARIABLE(final = true ) "State of transfer function from controller canonical form (balance=false), or balanced controller canonical form (balance=true)" type: Real [10] padeDelay1.x[7]:VARIABLE(final = true ) "State of transfer function from controller canonical form (balance=false), or balanced controller canonical form (balance=true)" type: Real [10] padeDelay1.x[6]:VARIABLE(final = true ) "State of transfer function from controller canonical form (balance=false), or balanced controller canonical form (balance=true)" type: Real [10] padeDelay1.x[5]:VARIABLE(final = true ) "State of transfer function from controller canonical form (balance=false), or balanced controller canonical form (balance=true)" type: Real [10] padeDelay1.x[4]:VARIABLE(final = true ) "State of transfer function from controller canonical form (balance=false), or balanced controller canonical form (balance=true)" type: Real [10] padeDelay1.x[3]:VARIABLE(final = true ) "State of transfer function from controller canonical form (balance=false), or balanced controller canonical form (balance=true)" type: Real [10] padeDelay1.x[2]:VARIABLE(final = true ) "State of transfer function from controller canonical form (balance=false), or balanced controller canonical form (balance=true)" type: Real [10] padeDelay1.x[1]:VARIABLE(final = true ) "State of transfer function from controller canonical form (balance=false), or balanced controller canonical form (balance=true)" type: Real [10] padeDelayOld1.x[9]:VARIABLE(final = true ) "State of transfer function from controller canonical form" type: Real [10] padeDelayOld1.x[8]:VARIABLE(final = true ) "State of transfer function from controller canonical form" type: Real [10] padeDelayOld1.x[7]:VARIABLE(final = true ) "State of transfer function from controller canonical form" type: Real [10] padeDelayOld1.x[6]:VARIABLE(final = true ) "State of transfer function from controller canonical form" type: Real [10] padeDelayOld1.x[5]:VARIABLE(final = true ) "State of transfer function from controller canonical form" type: Real [10] padeDelayOld1.x[4]:VARIABLE(final = true ) "State of transfer function from controller canonical form" type: Real [10] padeDelayOld1.x[3]:VARIABLE(final = true ) "State of transfer function from controller canonical form" type: Real [10] padeDelayOld1.x[2]:VARIABLE(final = true ) "State of transfer function from controller canonical form" type: Real [10] padeDelayOld1.x[1]:VARIABLE(final = true ) "State of transfer function from controller canonical form" type: Real [10] padeDelay2.x[9]:VARIABLE(final = true ) "State of transfer function from controller canonical form (balance=false), or balanced controller canonical form (balance=true)" type: Real [10] padeDelay2.x[8]:VARIABLE(final = true ) "State of transfer function from controller canonical form (balance=false), or balanced controller canonical form (balance=true)" type: Real [10] padeDelay2.x[7]:VARIABLE(final = true ) "State of transfer function from controller canonical form (balance=false), or balanced controller canonical form (balance=true)" type: Real [10] padeDelay2.x[6]:VARIABLE(final = true ) "State of transfer function from controller canonical form (balance=false), or balanced controller canonical form (balance=true)" type: Real [10] padeDelay2.x[5]:VARIABLE(final = true ) "State of transfer function from controller canonical form (balance=false), or balanced controller canonical form (balance=true)" type: Real [10] padeDelay2.x[4]:VARIABLE(final = true ) "State of transfer function from controller canonical form (balance=false), or balanced controller canonical form (balance=true)" type: Real [10] padeDelay2.x[3]:VARIABLE(final = true ) "State of transfer function from controller canonical form (balance=false), or balanced controller canonical form (balance=true)" type: Real [10] padeDelay2.x[2]:VARIABLE(final = true ) "State of transfer function from controller canonical form (balance=false), or balanced controller canonical form (balance=true)" type: Real [10] padeDelay2.x[1]:VARIABLE(final = true ) "State of transfer function from controller canonical form (balance=false), or balanced controller canonical form (balance=true)" type: Real [10] padeDelayOld2.x[9]:VARIABLE(final = true ) "State of transfer function from controller canonical form" type: Real [10] padeDelayOld2.x[8]:VARIABLE(final = true ) "State of transfer function from controller canonical form" type: Real [10] padeDelayOld2.x[7]:VARIABLE(final = true ) "State of transfer function from controller canonical form" type: Real [10] padeDelayOld2.x[6]:VARIABLE(final = true ) "State of transfer function from controller canonical form" type: Real [10] padeDelayOld2.x[5]:VARIABLE(final = true ) "State of transfer function from controller canonical form" type: Real [10] padeDelayOld2.x[4]:VARIABLE(final = true ) "State of transfer function from controller canonical form" type: Real [10] padeDelayOld2.x[3]:VARIABLE(final = true ) "State of transfer function from controller canonical form" type: Real [10] padeDelayOld2.x[2]:VARIABLE(final = true ) "State of transfer function from controller canonical form" type: Real [10] padeDelayOld2.x[1]:VARIABLE(final = true ) "State of transfer function from controller canonical form" type: Real [10] 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (96): * Single equations (assignments): 92 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003677/0.4689, allocations: 186.2 kB / 0.5379 GB, free: 14.93 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001476/0.469, allocations: 47.25 kB / 0.538 GB, free: 14.89 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002082/0.4711, allocations: 1.748 MB / 0.5397 GB, free: 13.47 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.383e-05/0.4712, allocations: 11.98 kB / 0.5397 GB, free: 13.46 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.823e-06/0.4712, allocations: 0 / 0.5397 GB, free: 13.46 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.967e-06/0.4712, allocations: 3.984 kB / 0.5397 GB, free: 13.46 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002512/0.4737, allocations: 1.735 MB / 0.5414 GB, free: 12.05 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.499e-06/0.4737, allocations: 0 / 0.5414 GB, free: 12.05 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001011/0.4747, allocations: 117.2 kB / 0.5415 GB, free: 11.94 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.485e-05/0.4748, allocations: 8 kB / 0.5415 GB, free: 11.93 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.41e-05/0.4749, allocations: 30.78 kB / 0.5415 GB, free: 11.91 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.811e-06/0.4749, allocations: 7.938 kB / 0.5415 GB, free: 11.9 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.4e-06/0.4749, allocations: 3.984 kB / 0.5415 GB, free: 11.9 MB / 362.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001815/0.4767, allocations: 1.401 MB / 0.5429 GB, free: 10.81 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002586/0.477, allocations: 167.1 kB / 0.5431 GB, free: 10.64 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001844/0.4772, allocations: 38.34 kB / 0.5431 GB, free: 10.61 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004302/0.4776, allocations: 11.98 kB / 0.5431 GB, free: 10.59 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000137/0.4778, allocations: 26.89 kB / 0.5431 GB, free: 10.57 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.817e-05/0.4778, allocations: 14.8 kB / 0.5431 GB, free: 10.56 MB / 362.7 MB Notification: Performance of sort global known variables: time 0.0006517/0.4785, allocations: 348.7 kB / 0.5435 GB, free: 10.29 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.001528/0.48, allocations: 263.3 kB / 0.5437 GB, free: 10.04 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 40 (padeDelayOld2.x[1],padeDelayOld2.x[2],padeDelayOld2.x[3],padeDelayOld2.x[4],padeDelayOld2.x[5],padeDelayOld2.x[6],padeDelayOld2.x[7],padeDelayOld2.x[8],padeDelayOld2.x[9],padeDelayOld2.x[10],padeDelay2.x[1],padeDelay2.x[2],padeDelay2.x[3],padeDelay2.x[4],padeDelay2.x[5],padeDelay2.x[6],padeDelay2.x[7],padeDelay2.x[8],padeDelay2.x[9],padeDelay2.x[10],padeDelayOld1.x[1],padeDelayOld1.x[2],padeDelayOld1.x[3],padeDelayOld1.x[4],padeDelayOld1.x[5],padeDelayOld1.x[6],padeDelayOld1.x[7],padeDelayOld1.x[8],padeDelayOld1.x[9],padeDelayOld1.x[10],padeDelay1.x[1],padeDelay1.x[2],padeDelay1.x[3],padeDelay1.x[4],padeDelay1.x[5],padeDelay1.x[6],padeDelay1.x[7],padeDelay1.x[8],padeDelay1.x[9],padeDelay1.x[10]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (52): * Single equations (assignments): 52 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0009178/0.481, allocations: 255.2 kB / 0.544 GB, free: 9.789 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.002598/0.4836, allocations: 1.545 MB / 0.5455 GB, free: 8.734 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.928e-05/0.4836, allocations: 11.69 kB / 0.5455 GB, free: 8.727 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005833/0.4842, allocations: 445.3 kB / 0.5459 GB, free: 8.43 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000546/0.4848, allocations: 41.12 kB / 0.546 GB, free: 8.402 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003084/0.4879, allocations: 1.681 MB / 0.5476 GB, free: 6.887 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001048/0.4889, allocations: 0.9699 MB / 0.5485 GB, free: 5.906 MB / 362.7 MB Notification: Performance of SimCode: time 1.563e-06/0.4889, allocations: 0 / 0.5485 GB, free: 5.906 MB / 362.7 MB Notification: Performance of Templates: time 0.0181/0.5071, allocations: 9.35 MB / 0.5577 GB, free: 12.62 MB / 378.7 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Blocks.PadeDelay1.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.Blocks.PadeDelay1.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.Blocks.PadeDelay1.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.Blocks.PadeDelay1.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.Blocks.PadeDelay1.sim & ./ModelicaTest_3.2.2_ModelicaTest.Blocks.PadeDelay1 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.Blocks.PadeDelay1.pipe 2>&1)