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.001233/0.001233, allocations: 179.5 kB / 16.41 MB, free: 5.703 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.836/1.836, allocations: 205.4 MB / 222.5 MB, free: 9.105 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.001002/0.001002, allocations: 93.42 kB / 270.9 MB, free: 8.355 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.3286/0.3286, allocations: 43.56 MB / 362.7 MB, free: 52.15 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000334/0.0003341, allocations: 16 kB / 431.4 MB, free: 6.152 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0995/0.09985, allocations: 58.84 MB / 490.2 MB, free: 11.23 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.PadeDelay2): time 0.001763/0.1017, allocations: 1.494 MB / 491.7 MB, free: 9.719 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.001685/0.1034, allocations: 1.308 MB / 493 MB, free: 8.402 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.003e-05/0.1034, allocations: 4 kB / 493 MB, free: 8.398 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001011/0.1035, allocations: 19.8 kB / 493.1 MB, free: 8.379 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 7.868e-05/0.1036, allocations: 27.78 kB / 493.1 MB, free: 8.352 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001069/0.1047, allocations: 479 kB / 493.5 MB, free: 7.883 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002294/0.1049, allocations: 239.3 kB / 493.8 MB, free: 7.648 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.423e-05/0.105, allocations: 44.27 kB / 493.8 MB, free: 7.609 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001364/0.1052, allocations: 99.61 kB / 493.9 MB, free: 7.512 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001866/0.1054, allocations: 163.5 kB / 494.1 MB, free: 7.352 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 3.394e-05/0.1054, allocations: 12 kB / 494.1 MB, free: 7.34 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008694/0.1063, allocations: 0.6862 MB / 494.8 MB, free: 6.652 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 9.816e-05/0.1064, allocations: 103.8 kB / 494.9 MB, free: 6.551 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 6.348e-05/0.1065, allocations: 69.52 kB / 494.9 MB, free: 6.477 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0007563/0.1073, allocations: 0.8227 MB / 495.8 MB, free: 5.652 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.642e-06/0.1073, allocations: 4 kB / 495.8 MB, free: 5.648 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.142e-06/0.1073, allocations: 3.938 kB / 495.8 MB, free: 5.645 MB / 378.7 MB Notification: Performance of Transformations before backend: time 5.089e-06/0.1073, allocations: 3.938 kB / 495.8 MB, free: 5.641 MB / 378.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.001064/0.1084, allocations: 0.6815 MB / 496.5 MB, free: 4.91 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.213e-05/0.1084, allocations: 12.02 kB / 496.5 MB, free: 4.898 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.143e-05/0.1085, allocations: 39.52 kB / 496.5 MB, free: 4.859 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002807/0.1087, allocations: 275.2 kB / 496.8 MB, free: 4.551 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.764e-05/0.1088, allocations: 19.98 kB / 496.8 MB, free: 4.531 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.53e-05/0.1088, allocations: 23.91 kB / 496.8 MB, free: 4.508 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004534/0.1093, allocations: 271.1 kB / 497.1 MB, free: 4.23 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.036e-05/0.1093, allocations: 0 / 497.1 MB, free: 4.23 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.285e-05/0.1093, allocations: 4 kB / 497.1 MB, free: 4.227 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.244e-06/0.1094, allocations: 11.95 kB / 497.1 MB, free: 4.215 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000411/0.1098, allocations: 235.6 kB / 497.3 MB, free: 3.988 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00113/0.1109, allocations: 0.7617 MB / 498.1 MB, free: 3.172 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004251/0.1114, allocations: 296.9 kB / 498.4 MB, free: 2.863 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003066/0.1117, allocations: 193.6 kB / 498.6 MB, free: 2.668 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.466e-05/0.1117, allocations: 4 kB / 498.6 MB, free: 2.664 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.424e-05/0.1117, allocations: 35 kB / 498.6 MB, free: 2.621 MB / 378.7 MB Notification: Performance of pre-optimization done (n=24): time 2.745e-06/0.1118, allocations: 0 / 498.6 MB, free: 2.621 MB / 378.7 MB Notification: Performance of matching and sorting (n=24): time 0.0009417/0.1127, allocations: 0.5569 MB / 499.2 MB, free: 2.059 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.792e-05/0.1127, allocations: 81.11 kB / 499.3 MB, free: 1.961 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003081/0.1131, allocations: 344.4 kB / 499.6 MB, free: 1.613 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 3.336e-05/0.1131, allocations: 29.7 kB / 499.6 MB, free: 1.578 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.302e-05/0.1132, allocations: 140.8 kB / 499.8 MB, free: 1.434 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.59e-05/0.1133, allocations: 102.5 kB / 499.9 MB, free: 1.332 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.987e-05/0.1133, allocations: 4 kB / 499.9 MB, free: 1.328 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001333/0.1134, allocations: 354.8 kB / 0.4885 GB, free: 0.9727 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003972/0.1139, allocations: 292.8 kB / 0.4888 GB, free: 0.6875 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004227/0.1143, allocations: 339.5 kB / 0.4891 GB, free: 360 kB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004755/0.1148, allocations: 341.7 kB / 0.4894 GB, free: 16 kB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.144e-06/0.1148, allocations: 0 / 0.4894 GB, free: 16 kB / 378.7 MB Notification: Performance of matching and sorting (n=92) (initialization): time 0.1672/0.282, allocations: 0.7599 MB / 0.4902 GB, free: 42.58 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.188e-05/0.2821, allocations: 5.281 kB / 0.4902 GB, free: 42.58 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.717e-05/0.2821, allocations: 5.219 kB / 0.4902 GB, free: 42.58 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.838e-05/0.2821, allocations: 1.969 kB / 0.4902 GB, free: 42.58 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005032/0.2826, allocations: 99.31 kB / 0.4903 GB, free: 42.58 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.029e-05/0.2827, allocations: 2.156 kB / 0.4903 GB, free: 42.58 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002159/0.2829, allocations: 64.75 kB / 0.4903 GB, free: 42.58 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.196e-05/0.2829, allocations: 13.47 kB / 0.4903 GB, free: 42.58 MB / 378.7 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002389/0.2832, allocations: 183.7 kB / 0.4905 GB, free: 42.46 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.773e-05/0.2832, allocations: 26.41 kB / 0.4905 GB, free: 42.46 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.293e-05/0.2833, allocations: 43.25 kB / 0.4906 GB, free: 42.46 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.579e-06/0.2833, allocations: 3.375 kB / 0.4906 GB, free: 42.46 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.931e-06/0.2834, allocations: 1.719 kB / 0.4906 GB, free: 42.46 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.728e-06/0.2834, allocations: 3.594 kB / 0.4906 GB, free: 42.46 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004238/0.2838, allocations: 336.7 kB / 0.4909 GB, free: 42.27 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.604e-06/0.2838, allocations: 7.125 kB / 0.4909 GB, free: 42.27 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003654/0.2842, allocations: 48.33 kB / 0.491 GB, free: 42.27 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.458e-06/0.2842, allocations: 1.5 kB / 0.491 GB, free: 42.27 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.782e-05/0.2842, allocations: 16.34 kB / 0.491 GB, free: 42.27 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.517e-06/0.2842, allocations: 4.688 kB / 0.491 GB, free: 42.27 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.963e-06/0.2843, allocations: 0.5 kB / 0.491 GB, free: 42.27 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001022/0.2853, allocations: 0.7564 MB / 0.4917 GB, free: 42.06 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.386e-05/0.2853, allocations: 106 kB / 0.4918 GB, free: 41.95 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.128e-05/0.2854, allocations: 15.7 kB / 0.4918 GB, free: 41.95 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002201/0.2856, allocations: 18.72 kB / 0.4919 GB, free: 41.95 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.997e-05/0.2857, allocations: 17.88 kB / 0.4919 GB, free: 41.95 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.225e-05/0.2857, allocations: 9.141 kB / 0.4919 GB, free: 41.95 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0002009/0.2859, allocations: 219.8 kB / 0.4921 GB, free: 41.87 MB / 378.7 MB Notification: Performance of sort global known variables: time 2.51e-07/0.2859, allocations: 0 / 0.4921 GB, free: 41.87 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0007784/0.2867, allocations: 245.5 kB / 0.4923 GB, free: 41.87 MB / 378.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.0004611/0.2872, allocations: 262.9 kB / 0.4926 GB, free: 41.77 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0009703/0.2882, allocations: 0.7378 MB / 0.4933 GB, free: 41.64 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.375e-06/0.2882, allocations: 0 / 0.4933 GB, free: 41.64 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003062/0.2885, allocations: 199.6 kB / 0.4935 GB, free: 41.64 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004427/0.2889, allocations: 39.91 kB / 0.4935 GB, free: 41.64 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001241/0.2902, allocations: 1.084 MB / 0.4946 GB, free: 41.16 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002556/0.2905, allocations: 0.8059 MB / 0.4954 GB, free: 40.46 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001136/0.2906, allocations: 26.98 kB / 0.4954 GB, free: 40.45 MB / 378.7 MB Notification: Performance of SimCode: time 2.4e-07/0.2906, allocations: 0 / 0.4954 GB, free: 40.45 MB / 378.7 MB Notification: Performance of Templates: time 0.007824/0.2984, allocations: 6.324 MB / 0.5016 GB, free: 40.09 MB / 378.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)