Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Blocks.PadeDelay2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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_3.2.3_cpp_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_3.2.3_cpp_ModelicaTest.Blocks.PadeDelay2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001373/0.001373, allocations: 180.5 kB / 17.41 MB, free: 4.402 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.246/1.246, allocations: 205.4 MB / 223.6 MB, free: 8.941 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007344/0.0007346, allocations: 91.34 kB / 271.9 MB, free: 8.238 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3136/0.3136, allocations: 43.56 MB / 363.8 MB, free: 51.88 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003552/0.0003553, allocations: 12 kB / 432.6 MB, free: 5.656 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1175/0.1179, allocations: 58.85 MB / 491.4 MB, free: 10.72 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2965/0.4144, allocations: 86.84 MB / 0.5647 GB, free: 15.43 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001733/0.4146, allocations: 63.97 kB / 0.5648 GB, free: 15.37 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02899/0.4436, allocations: 9.485 MB / 0.574 GB, free: 5.918 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.503e-06/0.4437, allocations: 0 / 0.574 GB, free: 5.918 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.775e-05/0.4437, allocations: 8 kB / 0.5741 GB, free: 5.91 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: 32 * Number of variables: 32 Notification: Performance of Generate backend data structure: time 0.001117/0.4448, allocations: 0.6835 MB / 0.5747 GB, free: 5.176 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.425e-05/0.4449, allocations: 11.31 kB / 0.5747 GB, free: 5.168 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.349e-05/0.4449, allocations: 36.41 kB / 0.5748 GB, free: 5.133 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003482/0.4453, allocations: 304.4 kB / 0.5751 GB, free: 4.797 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.723e-05/0.4453, allocations: 15.3 kB / 0.5751 GB, free: 4.785 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.753e-05/0.4454, allocations: 24.38 kB / 0.5751 GB, free: 4.762 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004583/0.4459, allocations: 275.7 kB / 0.5754 GB, free: 4.48 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.028e-05/0.4459, allocations: 3.938 kB / 0.5754 GB, free: 4.477 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.484e-05/0.4459, allocations: 8 kB / 0.5754 GB, free: 4.469 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.432e-06/0.4459, allocations: 4 kB / 0.5754 GB, free: 4.465 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003978/0.4463, allocations: 231.8 kB / 0.5756 GB, free: 4.238 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001159/0.4475, allocations: 0.7617 MB / 0.5763 GB, free: 3.422 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004347/0.4479, allocations: 293.1 kB / 0.5766 GB, free: 3.117 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002814/0.4482, allocations: 193.8 kB / 0.5768 GB, free: 2.922 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.933e-05/0.4483, allocations: 4 kB / 0.5768 GB, free: 2.918 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.666e-05/0.4483, allocations: 42.48 kB / 0.5768 GB, free: 2.867 MB / 394.7 MB Notification: Performance of pre-optimization done (n=24): time 2.916e-06/0.4483, allocations: 4 kB / 0.5769 GB, free: 2.863 MB / 394.7 MB Notification: Performance of matching and sorting (n=24): time 0.0009487/0.4493, allocations: 0.5463 MB / 0.5774 GB, free: 2.312 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.75e-05/0.4493, allocations: 85.05 kB / 0.5775 GB, free: 2.211 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003706/0.4497, allocations: 344.5 kB / 0.5778 GB, free: 1.867 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 3.693e-05/0.4498, allocations: 37.7 kB / 0.5778 GB, free: 1.824 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.325e-05/0.4499, allocations: 140.8 kB / 0.578 GB, free: 1.68 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.276e-05/0.4499, allocations: 98.52 kB / 0.5781 GB, free: 1.582 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.411e-05/0.45, allocations: 12 kB / 0.5781 GB, free: 1.57 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001693/0.4502, allocations: 342.8 kB / 0.5784 GB, free: 1.227 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003986/0.4506, allocations: 284.9 kB / 0.5787 GB, free: 0.9492 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004281/0.451, allocations: 351.3 kB / 0.579 GB, free: 0.6016 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003252/0.4543, allocations: 1.773 MB / 0.5807 GB, free: 14.82 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.665e-06/0.4543, allocations: 0 / 0.5807 GB, free: 14.82 MB / 410.7 MB Notification: Performance of matching and sorting (n=92) (initialization): time 0.001071/0.4554, allocations: 0.7663 MB / 0.5815 GB, free: 14.05 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.594e-05/0.4554, allocations: 7.938 kB / 0.5815 GB, free: 14.04 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.413e-05/0.4554, allocations: 19.98 kB / 0.5815 GB, free: 14.02 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.287e-05/0.4554, allocations: 0 / 0.5815 GB, free: 14.02 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004477/0.4559, allocations: 95.88 kB / 0.5816 GB, free: 13.93 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.606e-06/0.4559, allocations: 4 kB / 0.5816 GB, free: 13.93 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001906/0.4561, allocations: 75.08 kB / 0.5817 GB, free: 13.85 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.838e-05/0.4561, allocations: 8.75 kB / 0.5817 GB, free: 13.84 MB / 410.7 MB Warning: Assuming fixed start value for the following 6 variables: 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] 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[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[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[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[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] 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002247/0.4564, allocations: 186.8 kB / 0.5819 GB, free: 13.66 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.781e-05/0.4564, allocations: 23.62 kB / 0.5819 GB, free: 13.64 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001038/0.4565, allocations: 42.7 kB / 0.5819 GB, free: 13.59 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.36e-06/0.4566, allocations: 4 kB / 0.5819 GB, free: 13.59 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.829e-06/0.4566, allocations: 0 / 0.5819 GB, free: 13.59 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.801e-06/0.4566, allocations: 3.938 kB / 0.5819 GB, free: 13.59 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004069/0.457, allocations: 345.3 kB / 0.5823 GB, free: 13.2 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.116e-06/0.457, allocations: 7.938 kB / 0.5823 GB, free: 13.19 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003498/0.4574, allocations: 51.91 kB / 0.5823 GB, free: 13.14 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.138e-06/0.4574, allocations: 4 kB / 0.5823 GB, free: 13.14 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.698e-05/0.4574, allocations: 11.98 kB / 0.5823 GB, free: 13.12 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.558e-06/0.4574, allocations: 4 kB / 0.5823 GB, free: 13.12 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.392e-06/0.4574, allocations: 0 / 0.5823 GB, free: 13.12 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009782/0.4584, allocations: 0.7573 MB / 0.5831 GB, free: 12.34 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.747e-05/0.4585, allocations: 104.8 kB / 0.5832 GB, free: 12.22 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.233e-05/0.4586, allocations: 15.98 kB / 0.5832 GB, free: 12.21 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001998/0.4588, allocations: 15.98 kB / 0.5832 GB, free: 12.19 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.164e-05/0.4588, allocations: 23.8 kB / 0.5832 GB, free: 12.17 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.434e-05/0.4589, allocations: 15.98 kB / 0.5832 GB, free: 12.15 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.000199/0.4591, allocations: 215 kB / 0.5835 GB, free: 11.95 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.61e-07/0.4591, allocations: 4 kB / 0.5835 GB, free: 11.94 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0008418/0.4599, allocations: 259.8 kB / 0.5837 GB, free: 11.69 MB / 410.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 () * 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 (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.0005083/0.4605, allocations: 294.8 kB / 0.584 GB, free: 11.39 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0009884/0.4615, allocations: 0.7412 MB / 0.5847 GB, free: 10.63 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.214e-06/0.4615, allocations: 0 / 0.5847 GB, free: 10.63 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002991/0.4618, allocations: 203 kB / 0.5849 GB, free: 10.43 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004489/0.4622, allocations: 45.06 kB / 0.5849 GB, free: 10.39 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0012/0.4634, allocations: 1.072 MB / 0.586 GB, free: 9.285 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003287/0.4638, allocations: 0.8109 MB / 0.5868 GB, free: 8.449 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001164/0.4639, allocations: 27.42 kB / 0.5868 GB, free: 8.422 MB / 410.7 MB Notification: Performance of SimCode: time 2.4e-07/0.4639, allocations: 0 / 0.5868 GB, free: 8.422 MB / 410.7 MB Notification: Performance of Templates: time 0.008541/0.4725, allocations: 6.345 MB / 0.593 GB, free: 2.113 MB / 410.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Blocks.PadeDelay2.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Blocks.PadeDelay2.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Blocks.PadeDelay2.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Blocks.PadeDelay2.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Blocks.PadeDelay2.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Blocks.PadeDelay2 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Blocks.PadeDelay2.pipe 2>&1)