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.0008984/0.0008985, allocations: 175.1 kB / 16.72 MB, free: 5.055 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.19/1.19, allocations: 205.4 MB / 222.9 MB, free: 8.949 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.0007414/0.0007414, allocations: 106.3 kB / 271.2 MB, free: 8.23 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.2801/0.2801, allocations: 43.55 MB / 363.1 MB, free: 52.09 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003551/0.0003552, allocations: 12 kB / 432 MB, free: 5.844 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09154/0.09191, allocations: 58.86 MB / 490.8 MB, free: 10.91 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.PadeDelay2): time 0.001821/0.09377, allocations: 1.498 MB / 492.3 MB, free: 9.395 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.00183/0.09563, allocations: 1.304 MB / 493.6 MB, free: 8.082 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.791e-05/0.09575, allocations: 8 kB / 493.6 MB, free: 8.074 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001317/0.09589, allocations: 19.8 kB / 493.6 MB, free: 8.055 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 7.001e-05/0.09597, allocations: 19.84 kB / 493.7 MB, free: 8.035 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001286/0.09726, allocations: 475 kB / 494.1 MB, free: 7.57 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002795/0.09756, allocations: 239.4 kB / 494.4 MB, free: 7.336 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000122/0.09769, allocations: 44.27 kB / 494.4 MB, free: 7.297 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001663/0.09786, allocations: 103.6 kB / 494.5 MB, free: 7.195 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002019/0.09807, allocations: 151.5 kB / 494.7 MB, free: 7.047 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 4.196e-05/0.09812, allocations: 12 kB / 494.7 MB, free: 7.035 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009244/0.09906, allocations: 0.6823 MB / 495.3 MB, free: 6.352 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001233/0.09919, allocations: 99.7 kB / 495.4 MB, free: 6.254 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001332/0.09933, allocations: 145 kB / 495.6 MB, free: 6.105 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0008752/0.1002, allocations: 0.8422 MB / 496.4 MB, free: 5.262 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.537e-06/0.1002, allocations: 0 / 496.4 MB, free: 5.262 MB / 378.7 MB Notification: Performance of FrontEnd: time 3.597e-06/0.1002, allocations: 0 / 496.4 MB, free: 5.262 MB / 378.7 MB Notification: Performance of Transformations before backend: time 6.873e-06/0.1003, allocations: 3.938 kB / 496.4 MB, free: 5.258 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.001167/0.1014, allocations: 0.6739 MB / 497.1 MB, free: 4.535 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.375e-05/0.1015, allocations: 8.031 kB / 497.1 MB, free: 4.527 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.772e-05/0.1016, allocations: 28.56 kB / 497.1 MB, free: 4.5 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003522/0.1019, allocations: 291.9 kB / 497.4 MB, free: 4.176 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.575e-05/0.1019, allocations: 12 kB / 497.4 MB, free: 4.164 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.199e-05/0.102, allocations: 27.91 kB / 497.5 MB, free: 4.137 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000465/0.1025, allocations: 271.2 kB / 497.7 MB, free: 3.859 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.095e-05/0.1025, allocations: 7.984 kB / 497.7 MB, free: 3.852 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.662e-05/0.1025, allocations: 4 kB / 497.7 MB, free: 3.848 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.712e-06/0.1026, allocations: 4 kB / 497.7 MB, free: 3.844 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004145/0.103, allocations: 235.8 kB / 498 MB, free: 3.613 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001146/0.1041, allocations: 0.7617 MB / 498.7 MB, free: 2.797 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004609/0.1046, allocations: 293 kB / 499 MB, free: 2.492 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002852/0.1049, allocations: 197.5 kB / 499.2 MB, free: 2.293 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.039e-05/0.1049, allocations: 7.938 kB / 499.2 MB, free: 2.285 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.868e-05/0.105, allocations: 42.94 kB / 499.3 MB, free: 2.234 MB / 378.7 MB Notification: Performance of pre-optimization done (n=24): time 2.345e-06/0.105, allocations: 0 / 499.3 MB, free: 2.234 MB / 378.7 MB Notification: Performance of matching and sorting (n=24): time 0.0009482/0.1059, allocations: 0.5477 MB / 499.8 MB, free: 1.68 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.093e-05/0.106, allocations: 81.11 kB / 499.9 MB, free: 1.582 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003142/0.1063, allocations: 344.4 kB / 0.4885 GB, free: 1.234 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 3.239e-05/0.1064, allocations: 33.7 kB / 0.4885 GB, free: 1.195 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.347e-05/0.1064, allocations: 144.7 kB / 0.4887 GB, free: 1.047 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.791e-05/0.1065, allocations: 98.56 kB / 0.4888 GB, free: 0.9492 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.178e-05/0.1066, allocations: 4 kB / 0.4888 GB, free: 0.9453 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001141/0.1067, allocations: 346.8 kB / 0.4891 GB, free: 0.5977 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004056/0.1071, allocations: 296.8 kB / 0.4894 GB, free: 316 kB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.1533/0.2604, allocations: 339.2 kB / 0.4897 GB, free: 42.45 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003745/0.2642, allocations: 1.767 MB / 0.4914 GB, free: 42.39 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.539e-06/0.2642, allocations: 2.469 kB / 0.4914 GB, free: 42.39 MB / 378.7 MB Notification: Performance of matching and sorting (n=92) (initialization): time 0.001206/0.2654, allocations: 0.775 MB / 0.4922 GB, free: 42.34 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.846e-05/0.2655, allocations: 5.594 kB / 0.4922 GB, free: 42.34 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.629e-05/0.2655, allocations: 6.109 kB / 0.4922 GB, free: 42.34 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.871e-05/0.2655, allocations: 6.172 kB / 0.4922 GB, free: 42.34 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000489/0.266, allocations: 97.88 kB / 0.4923 GB, free: 42.34 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.418e-06/0.266, allocations: 2.938 kB / 0.4923 GB, free: 42.34 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001952/0.2662, allocations: 65.08 kB / 0.4924 GB, free: 42.34 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.352e-05/0.2663, allocations: 13.53 kB / 0.4924 GB, free: 42.34 MB / 378.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.0002264/0.2665, allocations: 180.1 kB / 0.4926 GB, free: 42.23 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.659e-05/0.2666, allocations: 27.61 kB / 0.4926 GB, free: 42.23 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.546e-05/0.2667, allocations: 37.56 kB / 0.4926 GB, free: 42.22 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.971e-06/0.2667, allocations: 3.906 kB / 0.4926 GB, free: 42.22 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.691e-06/0.2667, allocations: 0.9688 kB / 0.4926 GB, free: 42.22 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.2e-06/0.2667, allocations: 1.172 kB / 0.4926 GB, free: 42.22 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003884/0.2671, allocations: 346.2 kB / 0.493 GB, free: 42.03 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.816e-06/0.2671, allocations: 1.594 kB / 0.493 GB, free: 42.03 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003419/0.2675, allocations: 56.16 kB / 0.493 GB, free: 42.03 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.467e-06/0.2675, allocations: 1.984 kB / 0.493 GB, free: 42.03 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.623e-05/0.2675, allocations: 12.25 kB / 0.493 GB, free: 42.03 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.546e-06/0.2676, allocations: 2.047 kB / 0.493 GB, free: 42.03 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.923e-06/0.2676, allocations: 1.5 kB / 0.493 GB, free: 42.03 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009912/0.2686, allocations: 0.7625 MB / 0.4938 GB, free: 41.81 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.657e-05/0.2686, allocations: 104.3 kB / 0.4939 GB, free: 41.7 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.902e-05/0.2687, allocations: 19.27 kB / 0.4939 GB, free: 41.7 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002103/0.2689, allocations: 14.44 kB / 0.4939 GB, free: 41.7 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.907e-05/0.269, allocations: 14.08 kB / 0.4939 GB, free: 41.7 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.418e-05/0.269, allocations: 13.14 kB / 0.4939 GB, free: 41.7 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0002019/0.2692, allocations: 217.3 kB / 0.4941 GB, free: 41.62 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.7e-07/0.2692, allocations: 0 / 0.4941 GB, free: 41.62 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0007447/0.27, allocations: 253.9 kB / 0.4944 GB, free: 41.61 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.0005481/0.2705, allocations: 250.9 kB / 0.4946 GB, free: 41.52 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0009663/0.2715, allocations: 0.754 MB / 0.4954 GB, free: 41.39 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.495e-06/0.2715, allocations: 0 / 0.4954 GB, free: 41.39 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002975/0.2718, allocations: 197.9 kB / 0.4955 GB, free: 41.39 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004759/0.2723, allocations: 37.84 kB / 0.4956 GB, free: 41.39 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001184/0.2735, allocations: 1.082 MB / 0.4966 GB, free: 40.91 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000221/0.2737, allocations: 0.8116 MB / 0.4974 GB, free: 40.21 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001183/0.2739, allocations: 25.77 kB / 0.4975 GB, free: 40.2 MB / 378.7 MB Notification: Performance of SimCode: time 4.31e-07/0.2739, allocations: 3.938 kB / 0.4975 GB, free: 40.2 MB / 378.7 MB Notification: Performance of Templates: time 0.007256/0.2811, allocations: 6.37 MB / 0.5037 GB, free: 39.83 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)