Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Blocks.PadeDelay2.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.PadeDelay2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Blocks.PadeDelay2") translateModel(ModelicaTest.Blocks.PadeDelay2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Blocks.PadeDelay2") [: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.002959/0.002959, allocations: 186 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.286/1.286, allocations: 194.2 MB / 202.1 MB, free: 8.645 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.001827/0.001827, allocations: 124 kB / 247.1 MB, free: 6.398 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.175/0.175, allocations: 39.95 MB / 331.9 MB, free: 4.953 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 8.035e-06/8.055e-06, allocations: 0 / 392.8 MB, free: 75.89 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09872/0.09874, allocations: 54.87 MB / 447.6 MB, free: 21 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2975/0.3963, allocations: 81.02 MB / 0.5163 GB, free: 10.07 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001859/0.3965, allocations: 60.52 kB / 0.5163 GB, free: 10.07 MB / 346.7 MB Notification: Performance of FrontEnd: time 0.03011/0.4266, allocations: 9.161 MB / 0.5253 GB, free: 7.156 MB / 346.7 MB Notification: Performance of Transformations before backend: time 2.287e-05/0.4267, allocations: 10.53 kB / 0.5253 GB, free: 7.152 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: 32 * Number of variables: 32 Notification: Performance of Generate backend data structure: time 0.001176/0.4279, allocations: 0.6469 MB / 0.5259 GB, free: 6.629 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.253e-05/0.4279, allocations: 9.25 kB / 0.5259 GB, free: 6.629 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.205e-05/0.428, allocations: 36.75 kB / 0.526 GB, free: 6.605 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003786/0.4284, allocations: 293.8 kB / 0.5262 GB, free: 6.355 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.884e-05/0.4284, allocations: 4.438 kB / 0.5263 GB, free: 6.355 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.583e-05/0.4285, allocations: 20.78 kB / 0.5263 GB, free: 6.352 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003957/0.4289, allocations: 206.3 kB / 0.5265 GB, free: 6.324 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004517/0.4294, allocations: 256.7 kB / 0.5267 GB, free: 6.219 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.274e-05/0.4294, allocations: 0 / 0.5267 GB, free: 6.219 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.89e-05/0.4294, allocations: 1.031 kB / 0.5267 GB, free: 6.219 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.042e-05/0.4294, allocations: 3.531 kB / 0.5267 GB, free: 6.219 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001274/0.4307, allocations: 0.7237 MB / 0.5274 GB, free: 5.738 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004016/0.4311, allocations: 253.7 kB / 0.5277 GB, free: 5.676 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002789/0.4314, allocations: 177.9 kB / 0.5278 GB, free: 5.641 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.649e-05/0.4315, allocations: 6.312 kB / 0.5278 GB, free: 5.637 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.856e-05/0.4315, allocations: 44.38 kB / 0.5279 GB, free: 5.59 MB / 346.7 MB Notification: Performance of pre-optimization done (n=24): time 1.824e-06/0.4315, allocations: 0 / 0.5279 GB, free: 5.59 MB / 346.7 MB Notification: Performance of matching and sorting (n=24): time 0.0007153/0.4322, allocations: 376.9 kB / 0.5282 GB, free: 5.484 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.465e-05/0.4323, allocations: 79.27 kB / 0.5283 GB, free: 5.391 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000285/0.4326, allocations: 295.5 kB / 0.5286 GB, free: 5.25 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 3.011e-05/0.4326, allocations: 25.7 kB / 0.5286 GB, free: 5.219 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.654e-05/0.4327, allocations: 136.2 kB / 0.5288 GB, free: 5.105 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.458e-05/0.4327, allocations: 99.03 kB / 0.5288 GB, free: 5.031 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.95e-05/0.4328, allocations: 0.9688 kB / 0.5288 GB, free: 5.031 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 7.625e-05/0.4328, allocations: 346.2 kB / 0.5292 GB, free: 4.707 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003487/0.4332, allocations: 276 kB / 0.5294 GB, free: 4.684 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004447/0.4336, allocations: 326.7 kB / 0.5298 GB, free: 4.625 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006384/0.4343, allocations: 319.3 kB / 0.5301 GB, free: 4.574 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.006e-06/0.4343, allocations: 1.062 kB / 0.5301 GB, free: 4.574 MB / 346.7 MB Notification: Performance of matching and sorting (n=92) (initialization): time 0.001197/0.4355, allocations: 0.7946 MB / 0.5308 GB, free: 4.32 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.405e-05/0.4355, allocations: 8 kB / 0.5308 GB, free: 4.312 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.661e-05/0.4356, allocations: 4 kB / 0.5308 GB, free: 4.309 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.634e-05/0.4356, allocations: 4 kB / 0.5309 GB, free: 4.305 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005032/0.4361, allocations: 99.06 kB / 0.5309 GB, free: 4.211 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.502e-06/0.4361, allocations: 4 kB / 0.5309 GB, free: 4.207 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002039/0.4363, allocations: 67.11 kB / 0.531 GB, free: 4.137 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.059e-05/0.4364, allocations: 8 kB / 0.531 GB, free: 4.129 MB / 346.7 MB Warning: Assuming fixed start value for the following 6 variables: padeDelay2a.x[3]:VARIABLE(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(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(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(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(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(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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001615/0.4365, allocations: 130.6 kB / 0.5311 GB, free: 4.004 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.339e-05/0.4366, allocations: 27.53 kB / 0.5312 GB, free: 3.977 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.228e-05/0.4367, allocations: 33.03 kB / 0.5312 GB, free: 3.969 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.48e-06/0.4367, allocations: 4 kB / 0.5312 GB, free: 3.965 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.906e-06/0.4367, allocations: 0 / 0.5312 GB, free: 3.965 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.011e-06/0.4367, allocations: 7.984 kB / 0.5312 GB, free: 3.957 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003419/0.4371, allocations: 312.7 kB / 0.5315 GB, free: 3.668 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.813e-06/0.4371, allocations: 0 / 0.5315 GB, free: 3.668 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003681/0.4375, allocations: 43.97 kB / 0.5316 GB, free: 3.625 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.799e-06/0.4375, allocations: 4 kB / 0.5316 GB, free: 3.621 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.577e-05/0.4375, allocations: 11.48 kB / 0.5316 GB, free: 3.613 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.405e-06/0.4375, allocations: 7.938 kB / 0.5316 GB, free: 3.605 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.685e-06/0.4375, allocations: 0 / 0.5316 GB, free: 3.605 MB / 346.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.000653/0.4382, allocations: 0.7401 MB / 0.5323 GB, free: 2.984 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.688e-05/0.4382, allocations: 104.6 kB / 0.5324 GB, free: 2.863 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.734e-05/0.4383, allocations: 7.984 kB / 0.5324 GB, free: 2.855 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002269/0.4385, allocations: 11.98 kB / 0.5324 GB, free: 2.844 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.227e-05/0.4386, allocations: 15.55 kB / 0.5324 GB, free: 2.832 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.221e-05/0.4386, allocations: 8 kB / 0.5324 GB, free: 2.824 MB / 346.7 MB Notification: Performance of sort global known variables: time 0.0001515/0.4388, allocations: 209 kB / 0.5326 GB, free: 2.66 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0009618/0.4398, allocations: 263.7 kB / 0.5329 GB, free: 2.402 MB / 346.7 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 () * 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 (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.0004826/0.4402, allocations: 282 kB / 0.5332 GB, free: 2.129 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0006764/0.4409, allocations: 0.7215 MB / 0.5339 GB, free: 1.586 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.415e-06/0.4409, allocations: 0 / 0.5339 GB, free: 1.586 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001909/0.4411, allocations: 192.8 kB / 0.534 GB, free: 1.453 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003464/0.4415, allocations: 31.72 kB / 0.5341 GB, free: 1.426 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009779/0.4425, allocations: 0.7695 MB / 0.5348 GB, free: 0.7227 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003579/0.4429, allocations: 0.8287 MB / 0.5356 GB, free: 15.87 MB / 362.7 MB Notification: Performance of SimCode: time 2.5e-07/0.4429, allocations: 0 / 0.5356 GB, free: 15.87 MB / 362.7 MB Notification: Performance of Templates: time 0.011/0.4539, allocations: 6.555 MB / 0.542 GB, free: 9.355 MB / 362.7 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Blocks.PadeDelay2.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.Blocks.PadeDelay2.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.Blocks.PadeDelay2.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.Blocks.PadeDelay2.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.Blocks.PadeDelay2.sim & ./ModelicaTest_3.2.2_ModelicaTest.Blocks.PadeDelay2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.Blocks.PadeDelay2.pipe 2>&1)