Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Blocks.PadeDelay2.conf.json 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/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/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 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) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+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_4.0.0_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_4.0.0_ModelicaTest.Blocks.PadeDelay2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001029/0.001029, allocations: 113.4 kB / 18.45 MB, free: 4.602 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009733/0.0009734, allocations: 185.1 kB / 19.38 MB, free: 3.684 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.243/1.243, allocations: 222.9 MB / 243.1 MB, free: 15.07 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.1788/0.1788, allocations: 44.18 MB / 337.4 MB, free: 2.656 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001164/0.001164, allocations: 59.91 kB / 471.2 MB, free: 13.16 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.311/0.3122, allocations: 60.82 MB / 0.5196 GB, free: 3.582 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.PadeDelay2): time 0.002692/0.3149, allocations: 1.841 MB / 0.5213 GB, free: 2.289 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001932/0.3169, allocations: 1.345 MB / 0.5227 GB, free: 1.383 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.451e-05/0.317, allocations: 1.219 kB / 0.5227 GB, free: 1.383 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000159/0.3172, allocations: 29.14 kB / 0.5227 GB, free: 1.363 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 6.608e-05/0.3172, allocations: 34.25 kB / 0.5227 GB, free: 1.336 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001584/0.3188, allocations: 0.5599 MB / 0.5233 GB, free: 1.133 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003787/0.3192, allocations: 284 kB / 0.5235 GB, free: 1.02 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001447/0.3194, allocations: 42.55 kB / 0.5236 GB, free: 1 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001958/0.3196, allocations: 118 kB / 0.5237 GB, free: 0.9531 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002851/0.3199, allocations: 170.8 kB / 0.5239 GB, free: 0.8945 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 5.801e-05/0.3199, allocations: 23.31 kB / 0.5239 GB, free: 0.8945 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001353/0.3213, allocations: 0.8038 MB / 0.5247 GB, free: 0.6562 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001578/0.3215, allocations: 115 kB / 0.5248 GB, free: 0.6094 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001466/0.3216, allocations: 138.2 kB / 0.5249 GB, free: 0.5195 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001248/0.3229, allocations: 1.083 MB / 0.526 GB, free: 15.91 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.368e-06/0.3229, allocations: 0 / 0.526 GB, free: 15.91 MB / 398.1 MB Notification: Performance of FrontEnd: time 3.877e-06/0.3229, allocations: 0 / 0.526 GB, free: 15.91 MB / 398.1 MB Notification: Performance of Transformations before backend: time 9.578e-06/0.3229, allocations: 3.938 kB / 0.526 GB, free: 15.91 MB / 398.1 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.001443/0.3244, allocations: 0.7125 MB / 0.5267 GB, free: 15.32 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.228e-05/0.3244, allocations: 9.625 kB / 0.5267 GB, free: 15.32 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001013/0.3245, allocations: 32.84 kB / 0.5267 GB, free: 15.3 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003792/0.3249, allocations: 285.3 kB / 0.527 GB, free: 15.03 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.842e-05/0.325, allocations: 14.88 kB / 0.527 GB, free: 15.02 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.067e-05/0.325, allocations: 31.02 kB / 0.527 GB, free: 15 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005276/0.3256, allocations: 270.4 kB / 0.5273 GB, free: 14.83 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.15e-05/0.3256, allocations: 0 / 0.5273 GB, free: 14.83 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.897e-05/0.3256, allocations: 9.375 kB / 0.5273 GB, free: 14.82 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.543e-06/0.3256, allocations: 4.125 kB / 0.5273 GB, free: 14.82 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004426/0.3261, allocations: 220.2 kB / 0.5275 GB, free: 14.72 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001292/0.3274, allocations: 0.7513 MB / 0.5282 GB, free: 14.1 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005175/0.3279, allocations: 287.3 kB / 0.5285 GB, free: 13.93 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003212/0.3283, allocations: 196.2 kB / 0.5287 GB, free: 13.82 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.038e-05/0.3283, allocations: 6.672 kB / 0.5287 GB, free: 13.82 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.201e-05/0.3283, allocations: 41.47 kB / 0.5287 GB, free: 13.77 MB / 398.1 MB Notification: Performance of pre-optimization done (n=24): time 1.362e-06/0.3283, allocations: 4 kB / 0.5287 GB, free: 13.77 MB / 398.1 MB Notification: Performance of matching and sorting (n=24): time 0.001005/0.3294, allocations: 0.5332 MB / 0.5293 GB, free: 13.49 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.429e-05/0.3294, allocations: 80.36 kB / 0.5293 GB, free: 13.39 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003369/0.3298, allocations: 352.2 kB / 0.5297 GB, free: 13.16 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 3.945e-05/0.3298, allocations: 32.02 kB / 0.5297 GB, free: 13.12 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.24e-05/0.3299, allocations: 143.1 kB / 0.5298 GB, free: 12.99 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.718e-05/0.33, allocations: 89.78 kB / 0.5299 GB, free: 12.91 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001567/0.3302, allocations: 126.6 kB / 0.5301 GB, free: 12.84 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001236/0.3303, allocations: 353.4 kB / 0.5304 GB, free: 12.5 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004208/0.3307, allocations: 287.7 kB / 0.5307 GB, free: 12.36 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000426/0.3312, allocations: 333.6 kB / 0.531 GB, free: 12.19 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003363/0.3345, allocations: 1.765 MB / 0.5327 GB, free: 11.31 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.725e-06/0.3345, allocations: 0 / 0.5327 GB, free: 11.31 MB / 398.1 MB Notification: Performance of matching and sorting (n=92) (initialization): time 0.00106/0.3356, allocations: 0.7638 MB / 0.5334 GB, free: 10.94 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.666e-05/0.3356, allocations: 8.562 kB / 0.5335 GB, free: 10.94 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.604e-05/0.3357, allocations: 5.469 kB / 0.5335 GB, free: 10.94 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.937e-05/0.3357, allocations: 6.188 kB / 0.5335 GB, free: 10.93 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004783/0.3362, allocations: 96.78 kB / 0.5336 GB, free: 10.91 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.726e-06/0.3362, allocations: 1.094 kB / 0.5336 GB, free: 10.91 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002228/0.3364, allocations: 78.39 kB / 0.5336 GB, free: 10.85 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.974e-05/0.3365, allocations: 13.09 kB / 0.5336 GB, free: 10.84 MB / 398.1 MB Warning: Assuming fixed start value for the following 6 variables: 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] 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[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[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[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[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] 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002303/0.3367, allocations: 185.6 kB / 0.5338 GB, free: 10.68 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.446e-05/0.3368, allocations: 28.88 kB / 0.5339 GB, free: 10.66 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001209/0.3369, allocations: 38.03 kB / 0.5339 GB, free: 10.62 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.789e-06/0.3369, allocations: 3.438 kB / 0.5339 GB, free: 10.62 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.133e-06/0.3369, allocations: 0 / 0.5339 GB, free: 10.62 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.412e-06/0.3369, allocations: 5.484 kB / 0.5339 GB, free: 10.61 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004001/0.3373, allocations: 338.3 kB / 0.5342 GB, free: 10.3 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.254e-06/0.3374, allocations: 1.062 kB / 0.5342 GB, free: 10.3 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003493/0.3377, allocations: 51.09 kB / 0.5343 GB, free: 10.29 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.386e-06/0.3377, allocations: 1.125 kB / 0.5343 GB, free: 10.29 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.616e-05/0.3378, allocations: 23.39 kB / 0.5343 GB, free: 10.27 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.765e-06/0.3378, allocations: 1.094 kB / 0.5343 GB, free: 10.27 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.605e-06/0.3378, allocations: 1.094 kB / 0.5343 GB, free: 10.27 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009942/0.3388, allocations: 0.7403 MB / 0.535 GB, free: 9.793 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.188e-05/0.3388, allocations: 105 kB / 0.5351 GB, free: 9.68 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.483e-05/0.3389, allocations: 23.27 kB / 0.5351 GB, free: 9.664 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002273/0.3391, allocations: 7.75 kB / 0.5351 GB, free: 9.66 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.506e-05/0.3392, allocations: 16.34 kB / 0.5352 GB, free: 9.652 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.141e-05/0.3392, allocations: 8.75 kB / 0.5352 GB, free: 9.648 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001916/0.3394, allocations: 221.4 kB / 0.5354 GB, free: 9.504 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3395, allocations: 0 / 0.5354 GB, free: 9.504 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0009316/0.3404, allocations: 256.2 kB / 0.5356 GB, free: 9.465 MB / 398.1 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004947/0.3409, allocations: 249.2 kB / 0.5359 GB, free: 9.328 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.000982/0.3419, allocations: 0.734 MB / 0.5366 GB, free: 8.902 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.866e-06/0.3419, allocations: 0 / 0.5366 GB, free: 8.902 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000305/0.3422, allocations: 194.1 kB / 0.5368 GB, free: 8.812 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004918/0.3427, allocations: 42.17 kB / 0.5368 GB, free: 8.789 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001293/0.344, allocations: 0.9602 MB / 0.5377 GB, free: 8.16 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003692/0.3444, allocations: 0.8098 MB / 0.5385 GB, free: 7.398 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001214/0.3445, allocations: 30.52 kB / 0.5386 GB, free: 7.383 MB / 398.1 MB Notification: Performance of SimCode: time 2.3e-07/0.3445, allocations: 1.312 kB / 0.5386 GB, free: 7.383 MB / 398.1 MB Notification: Performance of Templates: time 0.00866/0.3532, allocations: 6.441 MB / 0.5449 GB, free: 1.785 MB / 398.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Blocks.PadeDelay2.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Blocks.PadeDelay2.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Blocks.PadeDelay2.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Blocks.PadeDelay2.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Blocks.PadeDelay2.sim & ./ModelicaTest_4.0.0_ModelicaTest.Blocks.PadeDelay2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Blocks.PadeDelay2.pipe 2>&1)