Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Blocks.PadeDelay1.conf.json 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/ModelicaServices 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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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) Running command: "" <> buildModelFMU(ModelicaTest.Blocks.PadeDelay1,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Blocks_PadeDelay1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Blocks.PadeDelay1,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Blocks_PadeDelay1",fmuType="me",version="2.0",platforms={"static"}) [: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 4.0.0+maint.om/package.mo): time 0.001204/0.001204, allocations: 181.9 kB / 8.521 MB, free: 1.824 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.174/1.174, allocations: 221.4 MB / 230.3 MB, free: 7.652 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008528/0.0008528, allocations: 78.38 kB / 281.2 MB, free: 5.465 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.1598/0.1598, allocations: 44.15 MB / 376.1 MB, free: 3.234 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2069/0.3667, allocations: 68.02 MB / 444.1 MB, free: 15.53 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1045/0.4712, allocations: 61.92 MB / 0.4942 GB, free: 1.531 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2849/0.7561, allocations: 87.31 MB / 0.5794 GB, free: 9.406 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001673/0.7564, allocations: 60.62 kB / 0.5795 GB, free: 9.348 MB / 394.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.03125/0.7876, allocations: 10.01 MB / 0.5893 GB, free: 15.29 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.223e-05/0.7877, allocations: 15.94 kB / 0.5893 GB, free: 15.28 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001528/0.7878, allocations: 47.25 kB / 0.5893 GB, free: 15.23 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006038/0.7885, allocations: 355.6 kB / 0.5897 GB, free: 14.84 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.713e-05/0.7885, allocations: 8 kB / 0.5897 GB, free: 14.84 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001124/0.7886, allocations: 39.81 kB / 0.5897 GB, free: 14.8 MB / 410.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001084/0.7897, allocations: 0.7082 MB / 0.5904 GB, free: 14.09 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008554/0.7906, allocations: 0.6211 MB / 0.591 GB, free: 13.46 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.077e-05/0.7906, allocations: 15.91 kB / 0.591 GB, free: 13.44 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.141e-05/0.7907, allocations: 0 / 0.591 GB, free: 13.44 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.338e-06/0.7907, allocations: 4 kB / 0.591 GB, free: 13.44 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002415/0.7931, allocations: 1.555 MB / 0.5925 GB, free: 11.83 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008464/0.794, allocations: 0.7396 MB / 0.5933 GB, free: 11.08 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000624/0.7946, allocations: 0.5623 MB / 0.5938 GB, free: 10.52 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004633/0.7951, allocations: 302.5 kB / 0.5941 GB, free: 10.18 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.973e-05/0.7951, allocations: 46.95 kB / 0.5942 GB, free: 10.13 MB / 410.7 MB Notification: Performance of pre-optimization done (n=96): time 1.914e-06/0.7951, allocations: 0 / 0.5942 GB, free: 10.13 MB / 410.7 MB Notification: Performance of matching and sorting (n=96): time 0.00156/0.7967, allocations: 1.185 MB / 0.5953 GB, free: 8.938 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.466e-05/0.7967, allocations: 89.81 kB / 0.5954 GB, free: 8.832 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003388/0.7971, allocations: 337.6 kB / 0.5957 GB, free: 8.496 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 5.095e-05/0.7971, allocations: 29.7 kB / 0.5957 GB, free: 8.461 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.698e-05/0.7972, allocations: 129.9 kB / 0.5959 GB, free: 8.328 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002736/0.7975, allocations: 350.7 kB / 0.5962 GB, free: 7.98 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.552e-05/0.7975, allocations: 0 / 0.5962 GB, free: 7.98 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0002155/0.7978, allocations: 386.8 kB / 0.5966 GB, free: 7.594 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007367/0.7985, allocations: 0.5959 MB / 0.5972 GB, free: 6.996 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007912/0.7993, allocations: 0.6938 MB / 0.5978 GB, free: 6.293 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001116/0.8004, allocations: 0.7341 MB / 0.5986 GB, free: 5.547 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.848e-06/0.8004, allocations: 0 / 0.5986 GB, free: 5.547 MB / 410.7 MB Notification: Performance of matching and sorting (n=198) (initialization): time 0.002254/0.8027, allocations: 1.957 MB / 0.6005 GB, free: 3.578 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.14e-05/0.8027, allocations: 4 kB / 0.6005 GB, free: 3.574 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.898e-05/0.8028, allocations: 4 kB / 0.6005 GB, free: 3.57 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.502e-05/0.8028, allocations: 4 kB / 0.6005 GB, free: 3.566 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008037/0.8036, allocations: 167.7 kB / 0.6006 GB, free: 3.402 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.133e-05/0.8036, allocations: 7.906 kB / 0.6006 GB, free: 3.395 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003111/0.8039, allocations: 102.5 kB / 0.6007 GB, free: 3.293 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.997e-05/0.804, allocations: 24 kB / 0.6008 GB, free: 3.27 MB / 410.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.0002574/0.8043, allocations: 200.7 kB / 0.601 GB, free: 3.086 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001084/0.8044, allocations: 47.25 kB / 0.601 GB, free: 3.039 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001837/0.8062, allocations: 1.742 MB / 0.6027 GB, free: 1.156 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.063e-06/0.8062, allocations: 4 kB / 0.6027 GB, free: 1.152 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.404e-06/0.8063, allocations: 7.984 kB / 0.6027 GB, free: 1.145 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.311e-06/0.8063, allocations: 0 / 0.6027 GB, free: 1.145 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00229/0.8086, allocations: 1.745 MB / 0.6044 GB, free: 15.36 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.366e-06/0.8086, allocations: 0 / 0.6044 GB, free: 15.36 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009343/0.8095, allocations: 119.9 kB / 0.6045 GB, free: 15.24 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.951e-06/0.8095, allocations: 0 / 0.6045 GB, free: 15.24 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.371e-05/0.8096, allocations: 35.97 kB / 0.6046 GB, free: 15.2 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.458e-06/0.8096, allocations: 0 / 0.6046 GB, free: 15.2 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.064e-06/0.8096, allocations: 7.875 kB / 0.6046 GB, free: 15.2 MB / 426.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001655/0.8113, allocations: 1.412 MB / 0.6059 GB, free: 13.77 MB / 426.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.002394/0.8137, allocations: 2.282 MB / 0.6082 GB, free: 11.45 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001277/0.8139, allocations: 164.2 kB / 0.6083 GB, free: 11.27 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001305/0.814, allocations: 27.97 kB / 0.6084 GB, free: 11.25 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003765/0.8144, allocations: 11.98 kB / 0.6084 GB, free: 11.23 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.126e-05/0.8145, allocations: 23.95 kB / 0.6084 GB, free: 11.21 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.183e-05/0.8145, allocations: 23.89 kB / 0.6084 GB, free: 11.19 MB / 426.7 MB Notification: Performance of sort global known variables: time 0.0003585/0.8149, allocations: 346.9 kB / 0.6087 GB, free: 10.85 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.001424/0.8163, allocations: 255.9 kB / 0.609 GB, free: 10.6 MB / 426.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.0008115/0.8172, allocations: 250 kB / 0.6092 GB, free: 10.34 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.001728/0.8189, allocations: 1.552 MB / 0.6107 GB, free: 8.77 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.254e-06/0.8189, allocations: 0 / 0.6107 GB, free: 8.77 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005605/0.8195, allocations: 439.6 kB / 0.6112 GB, free: 8.34 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004004/0.8199, allocations: 41.94 kB / 0.6112 GB, free: 8.297 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002384/0.8223, allocations: 1.738 MB / 0.6129 GB, free: 6.535 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008865/0.8232, allocations: 1.057 MB / 0.6139 GB, free: 5.453 MB / 426.7 MB Notification: Performance of SimCode: time 2.4e-07/0.8232, allocations: 0 / 0.6139 GB, free: 5.453 MB / 426.7 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Blocks.PadeDelay1.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Blocks.PadeDelay1.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Blocks.PadeDelay1.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Blocks.PadeDelay1.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Blocks.PadeDelay1_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Blocks_PadeDelay1_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Blocks_PadeDelay1.fmu > ModelicaTest_4.0.0_ModelicaTest.Blocks.PadeDelay1.pipe 2>&1)