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: "" <> buildModelFMU(ModelicaTest.Blocks.PadeDelay2,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Blocks_PadeDelay2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Blocks.PadeDelay2,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Blocks_PadeDelay2",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0008452/0.0008452, allocations: 173.8 kB / 16.72 MB, free: 5.082 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.144/1.144, allocations: 205.4 MB / 222.9 MB, free: 9.02 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.0006739/0.0006738, allocations: 89.3 kB / 271.2 MB, free: 8.246 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.265/0.265, allocations: 43.57 MB / 363.1 MB, free: 52.14 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003367/0.0003367, allocations: 16 kB / 432.1 MB, free: 5.723 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08502/0.08537, allocations: 58.84 MB / 490.9 MB, free: 10.8 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.PadeDelay2): time 0.001518/0.08692, allocations: 1.51 MB / 492.4 MB, free: 9.273 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.001506/0.08844, allocations: 1.3 MB / 493.7 MB, free: 7.965 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.397e-05/0.08851, allocations: 0 / 493.7 MB, free: 7.965 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001074/0.08863, allocations: 23.8 kB / 493.7 MB, free: 7.941 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 6.025e-05/0.08869, allocations: 23.78 kB / 493.8 MB, free: 7.918 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001017/0.08972, allocations: 479.1 kB / 494.2 MB, free: 7.449 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002154/0.08994, allocations: 243.3 kB / 494.5 MB, free: 7.211 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001004/0.09005, allocations: 44.28 kB / 494.5 MB, free: 7.172 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001254/0.09018, allocations: 99.59 kB / 494.6 MB, free: 7.074 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001687/0.09036, allocations: 155.5 kB / 494.8 MB, free: 6.922 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 3.266e-05/0.0904, allocations: 12 kB / 494.8 MB, free: 6.91 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007558/0.09117, allocations: 0.6783 MB / 495.5 MB, free: 6.23 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 9.843e-05/0.09127, allocations: 99.77 kB / 495.6 MB, free: 6.133 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001163/0.0914, allocations: 149 kB / 495.7 MB, free: 5.98 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006699/0.09208, allocations: 0.8305 MB / 496.5 MB, free: 5.148 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.167e-06/0.09209, allocations: 4 kB / 496.5 MB, free: 5.145 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.173e-06/0.09209, allocations: 0 / 496.5 MB, free: 5.145 MB / 378.7 MB Notification: Performance of Transformations before backend: time 5.541e-06/0.0921, allocations: 0 / 496.5 MB, free: 5.145 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.0009706/0.09308, allocations: 0.6812 MB / 497.2 MB, free: 4.418 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.388e-05/0.09312, allocations: 12.03 kB / 497.2 MB, free: 4.406 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.733e-05/0.09317, allocations: 46.75 kB / 497.3 MB, free: 4.352 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.089e-05/0.09323, allocations: 28.56 kB / 497.3 MB, free: 4.324 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000287/0.09352, allocations: 287.7 kB / 497.6 MB, free: 4.004 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.642e-05/0.09355, allocations: 16 kB / 497.6 MB, free: 3.988 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.281e-05/0.09361, allocations: 24 kB / 497.6 MB, free: 3.965 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004256/0.09404, allocations: 271.2 kB / 497.9 MB, free: 3.688 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.227e-06/0.09406, allocations: 3.938 kB / 497.9 MB, free: 3.684 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.239e-05/0.09409, allocations: 8 kB / 497.9 MB, free: 3.676 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.35e-06/0.0941, allocations: 8 kB / 497.9 MB, free: 3.668 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003744/0.09448, allocations: 227.8 kB / 498.1 MB, free: 3.445 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001062/0.09555, allocations: 0.7655 MB / 498.9 MB, free: 2.625 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003865/0.09594, allocations: 288.9 kB / 499.2 MB, free: 2.324 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002667/0.09622, allocations: 193.6 kB / 499.4 MB, free: 2.129 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.739e-05/0.09626, allocations: 7.984 kB / 499.4 MB, free: 2.121 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.632e-05/0.09629, allocations: 46.92 kB / 499.4 MB, free: 2.066 MB / 378.7 MB Notification: Performance of pre-optimization done (n=24): time 1.463e-06/0.0963, allocations: 0 / 499.4 MB, free: 2.066 MB / 378.7 MB Notification: Performance of matching and sorting (n=24): time 0.0008812/0.09718, allocations: 0.5482 MB / 500 MB, free: 1.512 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.559e-05/0.09723, allocations: 85.11 kB / 0.4883 GB, free: 1.41 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002774/0.09751, allocations: 344.5 kB / 0.4887 GB, free: 1.062 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 3.501e-05/0.09755, allocations: 33.7 kB / 0.4887 GB, free: 1.023 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.79e-05/0.09764, allocations: 140.8 kB / 0.4888 GB, free: 0.8789 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.081e-05/0.09772, allocations: 94.55 kB / 0.4889 GB, free: 0.7852 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.029e-05/0.09774, allocations: 8 kB / 0.4889 GB, free: 0.7773 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001068/0.09786, allocations: 350.8 kB / 0.4893 GB, free: 436 kB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003613/0.09822, allocations: 288.9 kB / 0.4895 GB, free: 148 kB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.1425/0.2407, allocations: 349 kB / 0.4899 GB, free: 42.46 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00324/0.244, allocations: 1.767 MB / 0.4916 GB, free: 42.4 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.485e-06/0.244, allocations: 0 / 0.4916 GB, free: 42.4 MB / 378.7 MB Notification: Performance of matching and sorting (n=92) (initialization): time 0.0009987/0.245, allocations: 0.7723 MB / 0.4923 GB, free: 42.36 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.384e-05/0.2451, allocations: 7.438 kB / 0.4923 GB, free: 42.36 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.154e-05/0.2451, allocations: 7.297 kB / 0.4924 GB, free: 42.36 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.515e-05/0.2451, allocations: 6.438 kB / 0.4924 GB, free: 42.36 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004553/0.2456, allocations: 98.28 kB / 0.4925 GB, free: 42.36 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.763e-06/0.2456, allocations: 2.125 kB / 0.4925 GB, free: 42.36 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001737/0.2458, allocations: 69.86 kB / 0.4925 GB, free: 42.36 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.831e-05/0.2458, allocations: 9.281 kB / 0.4925 GB, free: 42.36 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.0001842/0.246, allocations: 184 kB / 0.4927 GB, free: 42.24 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.116e-05/0.246, allocations: 27.73 kB / 0.4927 GB, free: 42.24 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.427e-05/0.2461, allocations: 42.56 kB / 0.4928 GB, free: 42.24 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.668e-06/0.2461, allocations: 3.438 kB / 0.4928 GB, free: 42.24 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.578e-06/0.2462, allocations: 0.7969 kB / 0.4928 GB, free: 42.24 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.609e-06/0.2462, allocations: 7.609 kB / 0.4928 GB, free: 42.24 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003314/0.2465, allocations: 338 kB / 0.4931 GB, free: 42.05 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.724e-06/0.2465, allocations: 0.5156 kB / 0.4931 GB, free: 42.05 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003366/0.2469, allocations: 51.47 kB / 0.4932 GB, free: 42.05 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.515e-06/0.2469, allocations: 2.344 kB / 0.4932 GB, free: 42.05 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.173e-05/0.2469, allocations: 16.89 kB / 0.4932 GB, free: 42.05 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.475e-06/0.2469, allocations: 1.406 kB / 0.4932 GB, free: 42.05 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.433e-06/0.2469, allocations: 4.984 kB / 0.4932 GB, free: 42.05 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008277/0.2477, allocations: 0.7597 MB / 0.4939 GB, free: 41.83 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.298e-05/0.2478, allocations: 105.1 kB / 0.494 GB, free: 41.72 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.604e-05/0.2478, allocations: 16.27 kB / 0.494 GB, free: 41.72 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002099/0.2481, allocations: 13.75 kB / 0.4941 GB, free: 41.72 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.124e-05/0.2481, allocations: 18.34 kB / 0.4941 GB, free: 41.72 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.948e-05/0.2482, allocations: 5.672 kB / 0.4941 GB, free: 41.72 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001543/0.2483, allocations: 220.8 kB / 0.4943 GB, free: 41.64 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.2483, allocations: 3.969 kB / 0.4943 GB, free: 41.64 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0006483/0.249, allocations: 252.8 kB / 0.4945 GB, free: 41.63 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.001297/0.2503, allocations: 1.457 MB / 0.496 GB, free: 40.87 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0007924/0.2511, allocations: 0.7356 MB / 0.4967 GB, free: 40.74 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.073e-06/0.2511, allocations: 1.594 kB / 0.4967 GB, free: 40.74 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002731/0.2514, allocations: 198.9 kB / 0.4969 GB, free: 40.73 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004369/0.2518, allocations: 44.72 kB / 0.4969 GB, free: 40.73 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002895/0.2547, allocations: 2.905 MB / 0.4997 GB, free: 39.79 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001721/0.2549, allocations: 0.8138 MB / 0.5005 GB, free: 39.08 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001612/0.2551, allocations: 102.9 kB / 0.5006 GB, free: 39 MB / 378.7 MB Notification: Performance of SimCode: time 2.51e-07/0.2551, allocations: 3.938 kB / 0.5006 GB, free: 39 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 4.743/4.998, allocations: 7.165 MB / 0.5076 GB, free: 38.51 MB / 378.7 MB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_cpp_ModelicaTest.Blocks.PadeDelay2_res.mat --tempDir=temp_ModelicaTest_3_2_3_cpp_ModelicaTest_Blocks_PadeDelay2_fmu --startTime=0 --stopTime=0.02 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_cpp_ModelicaTest_Blocks_PadeDelay2.fmu > ModelicaTest_3.2.3_cpp_ModelicaTest.Blocks.PadeDelay2.pipe 2>&1)