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") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.0009464/0.0009465, allocations: 181.9 kB / 7.651 MB, free: 1.402 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.421/1.421, allocations: 194.3 MB / 202.4 MB, free: 8.547 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.001679/0.001679, allocations: 113.4 kB / 247.4 MB, free: 6.203 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.2017/0.2017, allocations: 39.95 MB / 332.2 MB, free: 4.766 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 1.411e-05/1.413e-05, allocations: 0 / 393.3 MB, free: 75.54 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08272/0.08275, allocations: 54.88 MB / 448.2 MB, free: 20.65 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4239/0.5067, allocations: 81.1 MB / 0.5169 GB, free: 10.34 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002176/0.507, allocations: 63.53 kB / 0.5169 GB, free: 10.34 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.04152/0.5485, allocations: 9.321 MB / 0.526 GB, free: 7.141 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.253e-06/0.5485, allocations: 0 / 0.526 GB, free: 7.141 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.763e-05/0.5486, allocations: 11.69 kB / 0.5261 GB, free: 7.137 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.001114/0.5497, allocations: 0.648 MB / 0.5267 GB, free: 6.613 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.198e-05/0.5497, allocations: 11.66 kB / 0.5267 GB, free: 6.609 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.574e-05/0.5498, allocations: 43.02 kB / 0.5267 GB, free: 6.582 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003689/0.5502, allocations: 286 kB / 0.527 GB, free: 6.34 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.439e-05/0.5502, allocations: 3.875 kB / 0.527 GB, free: 6.34 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.487e-05/0.5503, allocations: 19.34 kB / 0.527 GB, free: 6.336 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003135/0.5506, allocations: 200.5 kB / 0.5272 GB, free: 6.305 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003638/0.551, allocations: 254.5 kB / 0.5275 GB, free: 6.195 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.144e-05/0.551, allocations: 0 / 0.5275 GB, free: 6.195 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.761e-05/0.551, allocations: 3.953 kB / 0.5275 GB, free: 6.191 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.365e-06/0.5511, allocations: 7.875 kB / 0.5275 GB, free: 6.188 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001049/0.5521, allocations: 0.7095 MB / 0.5282 GB, free: 5.715 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002802/0.5524, allocations: 275.8 kB / 0.5284 GB, free: 5.625 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001694/0.5526, allocations: 172.8 kB / 0.5286 GB, free: 5.59 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.893e-05/0.5526, allocations: 3.781 kB / 0.5286 GB, free: 5.59 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.003e-05/0.5527, allocations: 37.66 kB / 0.5286 GB, free: 5.551 MB / 346.7 MB Notification: Performance of pre-optimization done (n=24): time 1.242e-06/0.5527, allocations: 0 / 0.5286 GB, free: 5.551 MB / 346.7 MB Notification: Performance of matching and sorting (n=24): time 0.0004921/0.5532, allocations: 359.9 kB / 0.529 GB, free: 5.441 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.671e-05/0.5532, allocations: 84.92 kB / 0.5291 GB, free: 5.344 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002178/0.5534, allocations: 302.7 kB / 0.5293 GB, free: 5.195 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.615e-05/0.5535, allocations: 25.7 kB / 0.5294 GB, free: 5.164 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.506e-05/0.5535, allocations: 143.3 kB / 0.5295 GB, free: 5.055 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.673e-05/0.5536, allocations: 93.38 kB / 0.5296 GB, free: 4.988 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.842e-05/0.5536, allocations: 0 / 0.5296 GB, free: 4.988 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 9.992e-05/0.5537, allocations: 345.9 kB / 0.5299 GB, free: 4.664 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002605/0.554, allocations: 266.8 kB / 0.5302 GB, free: 4.641 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002736/0.5543, allocations: 317 kB / 0.5305 GB, free: 4.582 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003773/0.5546, allocations: 308.4 kB / 0.5308 GB, free: 4.531 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.504e-06/0.5547, allocations: 0 / 0.5308 GB, free: 4.531 MB / 346.7 MB Notification: Performance of matching and sorting (n=92) (initialization): time 0.0007858/0.5554, allocations: 0.7057 MB / 0.5315 GB, free: 4.129 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.574e-05/0.5555, allocations: 4 kB / 0.5315 GB, free: 4.125 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.2e-05/0.5555, allocations: 8 kB / 0.5315 GB, free: 4.117 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.498e-05/0.5555, allocations: 0 / 0.5315 GB, free: 4.117 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004637/0.556, allocations: 99.75 kB / 0.5316 GB, free: 4.023 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.262e-06/0.556, allocations: 0 / 0.5316 GB, free: 4.023 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001757/0.5562, allocations: 71.05 kB / 0.5316 GB, free: 3.953 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.748e-05/0.5562, allocations: 11.94 kB / 0.5317 GB, free: 3.945 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.000139/0.5564, allocations: 128.2 kB / 0.5318 GB, free: 3.816 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.005e-05/0.5564, allocations: 23.62 kB / 0.5318 GB, free: 3.793 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.057e-05/0.5565, allocations: 33.66 kB / 0.5318 GB, free: 3.785 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.719e-06/0.5565, allocations: 8 kB / 0.5318 GB, free: 3.777 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.933e-06/0.5566, allocations: 0 / 0.5318 GB, free: 3.777 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.448e-06/0.5566, allocations: 0 / 0.5318 GB, free: 3.777 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003015/0.5569, allocations: 307.9 kB / 0.5321 GB, free: 3.492 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.353e-06/0.5569, allocations: 0 / 0.5321 GB, free: 3.492 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003478/0.5572, allocations: 55.86 kB / 0.5322 GB, free: 3.438 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.288e-06/0.5572, allocations: 4 kB / 0.5322 GB, free: 3.434 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.359e-05/0.5573, allocations: 15.72 kB / 0.5322 GB, free: 3.422 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.653e-06/0.5573, allocations: 0 / 0.5322 GB, free: 3.422 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.344e-06/0.5573, allocations: 4 kB / 0.5322 GB, free: 3.418 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007041/0.558, allocations: 0.72 MB / 0.5329 GB, free: 2.816 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.286e-05/0.5581, allocations: 104.7 kB / 0.533 GB, free: 2.695 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.044e-05/0.5581, allocations: 7.984 kB / 0.533 GB, free: 2.688 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002172/0.5584, allocations: 4 kB / 0.533 GB, free: 2.684 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.199e-05/0.5584, allocations: 19.84 kB / 0.533 GB, free: 2.668 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.468e-05/0.5585, allocations: 12 kB / 0.5331 GB, free: 2.656 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0001529/0.5586, allocations: 202.8 kB / 0.5332 GB, free: 2.5 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.51e-07/0.5586, allocations: 0 / 0.5332 GB, free: 2.5 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0009406/0.5596, allocations: 271.8 kB / 0.5335 GB, free: 2.234 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.0005161/0.5601, allocations: 285.7 kB / 0.5338 GB, free: 1.957 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0007117/0.5608, allocations: 0.6947 MB / 0.5345 GB, free: 1.445 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 3.707e-06/0.5608, allocations: 4 kB / 0.5345 GB, free: 1.441 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000192/0.561, allocations: 180.2 kB / 0.5346 GB, free: 1.316 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003717/0.5614, allocations: 38.64 kB / 0.5347 GB, free: 1.285 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001016/0.5624, allocations: 0.7865 MB / 0.5354 GB, free: 0.5625 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003201/0.5628, allocations: 0.8163 MB / 0.5362 GB, free: 15.73 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.000185/0.563, allocations: 65.97 kB / 0.5363 GB, free: 15.66 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.435e-05/0.5631, allocations: 23.44 kB / 0.5363 GB, free: 15.64 MB / 362.7 MB Notification: Performance of SimCode: time 6.11e-07/0.5631, allocations: 0 / 0.5363 GB, free: 15.64 MB / 362.7 MB Notification: Performance of Templates: time 0.01035/0.5734, allocations: 5.708 MB / 0.5419 GB, free: 9.969 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)