Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_cpp_ModelicaTest.Blocks.PadeDelay2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/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_trunk_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_trunk_cpp_ModelicaTest.Blocks.PadeDelay2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009759/0.0009759, allocations: 198.7 kB / 16.79 MB, free: 5.031 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.28/1.28, allocations: 226.5 MB / 244.1 MB, free: 6.492 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007287/0.0007288, allocations: 100.7 kB / 296.1 MB, free: 6.664 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3221/0.3221, allocations: 44.82 MB / 393 MB, free: 35.7 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002841/0.0002842, allocations: 8 kB / 465.9 MB, free: 12.71 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2873/0.2875, allocations: 62.95 MB / 0.5165 GB, free: 37.04 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1065/0.3941, allocations: 88.77 MB / 0.6032 GB, free: 0.5938 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001961/0.3943, allocations: 63.97 kB / 0.6032 GB, free: 0.5312 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02939/0.4237, allocations: 9.656 MB / 0.6126 GB, free: 6.855 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.683e-06/0.4238, allocations: 4 kB / 0.6126 GB, free: 6.852 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.854e-05/0.4238, allocations: 4 kB / 0.6127 GB, free: 6.848 MB / 426.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.001065/0.4248, allocations: 0.6853 MB / 0.6133 GB, free: 6.109 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.296e-05/0.4249, allocations: 12.03 kB / 0.6133 GB, free: 6.098 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001538/0.425, allocations: 44.64 kB / 0.6134 GB, free: 6.055 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003384/0.4254, allocations: 300.5 kB / 0.6137 GB, free: 5.723 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.73e-05/0.4254, allocations: 12.38 kB / 0.6137 GB, free: 5.711 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.798e-05/0.4255, allocations: 32.36 kB / 0.6137 GB, free: 5.68 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004479/0.4259, allocations: 282 kB / 0.614 GB, free: 5.395 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.608e-06/0.426, allocations: 3.938 kB / 0.614 GB, free: 5.391 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.598e-05/0.426, allocations: 8 kB / 0.614 GB, free: 5.383 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.408e-06/0.426, allocations: 0 / 0.614 GB, free: 5.383 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003914/0.4264, allocations: 229.4 kB / 0.6142 GB, free: 5.16 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001114/0.4275, allocations: 0.7694 MB / 0.615 GB, free: 4.336 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004347/0.428, allocations: 300.8 kB / 0.6152 GB, free: 4.023 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002813/0.4283, allocations: 191.2 kB / 0.6154 GB, free: 3.832 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.793e-05/0.4283, allocations: 4 kB / 0.6154 GB, free: 3.828 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.036e-05/0.4283, allocations: 38.56 kB / 0.6155 GB, free: 3.781 MB / 426.7 MB Notification: Performance of pre-optimization done (n=24): time 1.683e-06/0.4283, allocations: 0 / 0.6155 GB, free: 3.781 MB / 426.7 MB Notification: Performance of matching and sorting (n=24): time 0.0009559/0.4293, allocations: 0.5548 MB / 0.616 GB, free: 3.223 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.846e-05/0.4294, allocations: 92.98 kB / 0.6161 GB, free: 3.113 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000311/0.4297, allocations: 344.5 kB / 0.6164 GB, free: 2.766 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 3.48e-05/0.4297, allocations: 33.7 kB / 0.6165 GB, free: 2.727 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.433e-05/0.4298, allocations: 140.8 kB / 0.6166 GB, free: 2.582 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.251e-05/0.4299, allocations: 98.52 kB / 0.6167 GB, free: 2.484 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.433e-05/0.4299, allocations: 12 kB / 0.6167 GB, free: 2.473 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001226/0.4301, allocations: 338.8 kB / 0.617 GB, free: 2.133 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004072/0.4305, allocations: 292.8 kB / 0.6173 GB, free: 1.848 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004404/0.4309, allocations: 343.5 kB / 0.6176 GB, free: 1.508 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003236/0.4342, allocations: 1.765 MB / 0.6193 GB, free: 15.73 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.435e-06/0.4342, allocations: 0 / 0.6193 GB, free: 15.73 MB / 442.7 MB Notification: Performance of matching and sorting (n=92) (initialization): time 0.001063/0.4352, allocations: 0.7688 MB / 0.6201 GB, free: 14.96 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.512e-05/0.4353, allocations: 4 kB / 0.6201 GB, free: 14.95 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.411e-05/0.4353, allocations: 12 kB / 0.6201 GB, free: 14.94 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.182e-05/0.4353, allocations: 0 / 0.6201 GB, free: 14.94 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004449/0.4358, allocations: 99.86 kB / 0.6202 GB, free: 14.84 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.512e-06/0.4358, allocations: 0 / 0.6202 GB, free: 14.84 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001891/0.436, allocations: 79.06 kB / 0.6203 GB, free: 14.77 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.053e-05/0.436, allocations: 11.98 kB / 0.6203 GB, free: 14.75 MB / 442.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.0002256/0.4363, allocations: 183.1 kB / 0.6205 GB, free: 14.57 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.761e-05/0.4363, allocations: 27.53 kB / 0.6205 GB, free: 14.54 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001029/0.4364, allocations: 46.7 kB / 0.6205 GB, free: 14.5 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.358e-06/0.4364, allocations: 4 kB / 0.6205 GB, free: 14.5 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.688e-06/0.4365, allocations: 0 / 0.6205 GB, free: 14.5 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.041e-06/0.4365, allocations: 3.938 kB / 0.6205 GB, free: 14.49 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003889/0.4369, allocations: 341.2 kB / 0.6209 GB, free: 14.11 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.433e-06/0.4369, allocations: 4 kB / 0.6209 GB, free: 14.11 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003419/0.4372, allocations: 47.97 kB / 0.6209 GB, free: 14.06 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.605e-06/0.4372, allocations: 0 / 0.6209 GB, free: 14.06 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.847e-05/0.4373, allocations: 15.98 kB / 0.6209 GB, free: 14.04 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.118e-06/0.4373, allocations: 7.938 kB / 0.6209 GB, free: 14.04 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.495e-06/0.4373, allocations: 8 kB / 0.621 GB, free: 14.03 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009705/0.4383, allocations: 0.7563 MB / 0.6217 GB, free: 13.25 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.351e-05/0.4383, allocations: 104.8 kB / 0.6218 GB, free: 13.13 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.171e-05/0.4384, allocations: 15.98 kB / 0.6218 GB, free: 13.11 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001965/0.4386, allocations: 11.98 kB / 0.6218 GB, free: 13.1 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.87e-05/0.4387, allocations: 19.86 kB / 0.6218 GB, free: 13.08 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.281e-05/0.4387, allocations: 12 kB / 0.6219 GB, free: 13.07 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0002145/0.4389, allocations: 219 kB / 0.6221 GB, free: 12.86 MB / 442.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.4389, allocations: 0 / 0.6221 GB, free: 12.86 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0007995/0.4397, allocations: 271.7 kB / 0.6223 GB, free: 12.59 MB / 442.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.0004969/0.4402, allocations: 291.7 kB / 0.6226 GB, free: 12.3 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.0009505/0.4412, allocations: 0.7404 MB / 0.6233 GB, free: 11.54 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 2.815e-06/0.4412, allocations: 0 / 0.6233 GB, free: 11.54 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002926/0.4415, allocations: 199.8 kB / 0.6235 GB, free: 11.34 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004606/0.442, allocations: 43.17 kB / 0.6236 GB, free: 11.3 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001227/0.4432, allocations: 1.076 MB / 0.6246 GB, free: 10.18 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003646/0.4436, allocations: 0.807 MB / 0.6254 GB, free: 9.352 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000116/0.4437, allocations: 27.38 kB / 0.6254 GB, free: 9.324 MB / 442.7 MB Notification: Performance of SimCode: time 2.7e-07/0.4437, allocations: 0 / 0.6254 GB, free: 9.324 MB / 442.7 MB Notification: Performance of Templates: time 0.008166/0.4519, allocations: 6.359 MB / 0.6316 GB, free: 3.016 MB / 442.7 MB make -j1 -f ModelicaTest_trunk_cpp_ModelicaTest.Blocks.PadeDelay2.makefile (rm -f ModelicaTest_trunk_cpp_ModelicaTest.Blocks.PadeDelay2.pipe ; mkfifo ModelicaTest_trunk_cpp_ModelicaTest.Blocks.PadeDelay2.pipe ; head -c 1048576 < ModelicaTest_trunk_cpp_ModelicaTest.Blocks.PadeDelay2.pipe >> ../files/ModelicaTest_trunk_cpp_ModelicaTest.Blocks.PadeDelay2.sim & ./ModelicaTest_trunk_cpp_ModelicaTest.Blocks.PadeDelay2 --alarm=480 -emit_protected > ModelicaTest_trunk_cpp_ModelicaTest.Blocks.PadeDelay2.pipe 2>&1)