Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_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 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 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 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: "" <> buildModelFMU(ModelicaTest.Blocks.PadeDelay2,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Blocks_PadeDelay2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Blocks.PadeDelay2,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Blocks_PadeDelay2",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001162/0.001162, allocations: 100.5 kB / 16.4 MB, free: 6.496 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.001115/0.001115, allocations: 192.1 kB / 17.34 MB, free: 5.77 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.429/1.429, allocations: 205.1 MB / 223.2 MB, free: 12.24 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2169/0.2169, allocations: 43.53 MB / 314.1 MB, free: 464 kB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001501/0.001501, allocations: 68.45 kB / 441.3 MB, free: 6.18 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1152/0.1167, allocations: 57.79 MB / 499.1 MB, free: 12.32 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.PadeDelay2): time 0.003565/0.1203, allocations: 1.828 MB / 0.4892 GB, free: 10.48 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.002323/0.1227, allocations: 1.377 MB / 0.4905 GB, free: 9.094 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001899/0.1229, allocations: 4 kB / 0.4905 GB, free: 9.09 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002041/0.1232, allocations: 27.72 kB / 0.4905 GB, free: 9.062 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001444/0.1233, allocations: 31.72 kB / 0.4906 GB, free: 9.031 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002017/0.1254, allocations: 0.5728 MB / 0.4911 GB, free: 8.457 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.000407/0.1258, allocations: 279.3 kB / 0.4914 GB, free: 8.184 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001592/0.1259, allocations: 52.22 kB / 0.4915 GB, free: 8.129 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002566/0.1262, allocations: 119.6 kB / 0.4916 GB, free: 8.012 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003036/0.1265, allocations: 167.5 kB / 0.4917 GB, free: 7.848 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 8.125e-05/0.1266, allocations: 28 kB / 0.4918 GB, free: 7.82 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001222/0.1278, allocations: 0.8072 MB / 0.4925 GB, free: 7.012 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001449/0.128, allocations: 115.7 kB / 0.4927 GB, free: 6.898 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001461/0.1282, allocations: 143.1 kB / 0.4928 GB, free: 6.758 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001375/0.1295, allocations: 1.068 MB / 0.4938 GB, free: 5.688 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.005e-06/0.1296, allocations: 4 kB / 0.4938 GB, free: 5.684 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.553e-06/0.1296, allocations: 0 / 0.4938 GB, free: 5.684 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.829e-05/0.1296, allocations: 0 / 0.4938 GB, free: 5.684 MB / 382.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.001901/0.1315, allocations: 0.7201 MB / 0.4945 GB, free: 4.918 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.275e-05/0.1316, allocations: 15.89 kB / 0.4946 GB, free: 4.902 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.82e-05/0.1317, allocations: 46.73 kB / 0.4946 GB, free: 4.848 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001023/0.1318, allocations: 32.47 kB / 0.4946 GB, free: 4.816 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003953/0.1322, allocations: 283.8 kB / 0.4949 GB, free: 4.5 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.983e-05/0.1322, allocations: 8 kB / 0.4949 GB, free: 4.492 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.858e-05/0.1323, allocations: 28 kB / 0.4949 GB, free: 4.465 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004976/0.1328, allocations: 275.1 kB / 0.4952 GB, free: 4.184 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.201e-05/0.1328, allocations: 3.938 kB / 0.4952 GB, free: 4.18 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.508e-05/0.1328, allocations: 4 kB / 0.4952 GB, free: 4.176 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.758e-06/0.1329, allocations: 7.984 kB / 0.4952 GB, free: 4.168 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004353/0.1333, allocations: 223.8 kB / 0.4954 GB, free: 3.949 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001351/0.1347, allocations: 0.7616 MB / 0.4962 GB, free: 3.133 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000454/0.1351, allocations: 281 kB / 0.4964 GB, free: 2.84 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002968/0.1354, allocations: 197.5 kB / 0.4966 GB, free: 2.641 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.575e-05/0.1355, allocations: 8 kB / 0.4966 GB, free: 2.633 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.307e-05/0.1355, allocations: 34.5 kB / 0.4967 GB, free: 2.59 MB / 382.1 MB Notification: Performance of pre-optimization done (n=24): time 2.004e-06/0.1355, allocations: 0 / 0.4967 GB, free: 2.59 MB / 382.1 MB Notification: Performance of matching and sorting (n=24): time 0.00108/0.1366, allocations: 0.5325 MB / 0.4972 GB, free: 2.051 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.063e-05/0.1367, allocations: 81.05 kB / 0.4973 GB, free: 1.953 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004079/0.1371, allocations: 352.5 kB / 0.4976 GB, free: 1.602 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 4.753e-05/0.1372, allocations: 37.7 kB / 0.4976 GB, free: 1.559 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001187/0.1373, allocations: 140.8 kB / 0.4978 GB, free: 1.414 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001128/0.1374, allocations: 106.5 kB / 0.4979 GB, free: 1.309 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001994/0.1376, allocations: 125.4 kB / 0.498 GB, free: 1.18 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001706/0.1378, allocations: 346.8 kB / 0.4983 GB, free: 0.832 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004426/0.1382, allocations: 284.9 kB / 0.4986 GB, free: 0.5547 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004611/0.1387, allocations: 339.5 kB / 0.4989 GB, free: 224 kB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003446/0.1422, allocations: 1.756 MB / 0.5006 GB, free: 14.45 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.546e-06/0.1422, allocations: 4 kB / 0.5006 GB, free: 14.45 MB / 398.1 MB Notification: Performance of matching and sorting (n=92) (initialization): time 0.001113/0.1433, allocations: 0.7657 MB / 0.5014 GB, free: 13.67 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.929e-05/0.1434, allocations: 4 kB / 0.5014 GB, free: 13.67 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.029e-05/0.1434, allocations: 15.92 kB / 0.5014 GB, free: 13.65 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.808e-05/0.1434, allocations: 0 / 0.5014 GB, free: 13.65 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004866/0.1439, allocations: 95.88 kB / 0.5015 GB, free: 13.56 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.839e-06/0.1439, allocations: 4 kB / 0.5015 GB, free: 13.55 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002129/0.1441, allocations: 63.2 kB / 0.5016 GB, free: 13.49 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.05e-05/0.1442, allocations: 12 kB / 0.5016 GB, free: 13.48 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.0002661/0.1445, allocations: 194.3 kB / 0.5018 GB, free: 13.29 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.891e-05/0.1446, allocations: 23.62 kB / 0.5018 GB, free: 13.26 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.273e-05/0.1447, allocations: 46.64 kB / 0.5018 GB, free: 13.21 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.839e-06/0.1447, allocations: 4 kB / 0.5018 GB, free: 13.2 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.751e-06/0.1447, allocations: 0 / 0.5018 GB, free: 13.2 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.819e-06/0.1447, allocations: 4 kB / 0.5018 GB, free: 13.2 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004412/0.1451, allocations: 345.2 kB / 0.5022 GB, free: 12.81 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.595e-06/0.1451, allocations: 0 / 0.5022 GB, free: 12.81 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003767/0.1455, allocations: 43.92 kB / 0.5022 GB, free: 12.77 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.189e-06/0.1455, allocations: 3.938 kB / 0.5022 GB, free: 12.77 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.291e-05/0.1456, allocations: 23.92 kB / 0.5022 GB, free: 12.74 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.996e-06/0.1456, allocations: 0 / 0.5022 GB, free: 12.74 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.193e-06/0.1456, allocations: 3.938 kB / 0.5022 GB, free: 12.74 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001027/0.1466, allocations: 0.7416 MB / 0.503 GB, free: 11.98 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.591e-05/0.1467, allocations: 108.8 kB / 0.5031 GB, free: 11.85 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.975e-05/0.1468, allocations: 11.94 kB / 0.5031 GB, free: 11.84 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002305/0.147, allocations: 15.98 kB / 0.5031 GB, free: 11.82 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.742e-05/0.1471, allocations: 15.98 kB / 0.5031 GB, free: 11.81 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.414e-05/0.1471, allocations: 11.98 kB / 0.5031 GB, free: 11.8 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.000206/0.1473, allocations: 223 kB / 0.5033 GB, free: 11.58 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.1474, allocations: 0 / 0.5033 GB, free: 11.58 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0008661/0.1482, allocations: 248 kB / 0.5036 GB, free: 11.34 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.001825/0.1501, allocations: 1.434 MB / 0.505 GB, free: 9.879 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.001043/0.1511, allocations: 0.7404 MB / 0.5057 GB, free: 9.113 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.427e-06/0.1511, allocations: 0 / 0.5057 GB, free: 9.113 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003111/0.1515, allocations: 187.8 kB / 0.5059 GB, free: 8.93 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005227/0.152, allocations: 37.06 kB / 0.5059 GB, free: 8.895 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00555/0.1576, allocations: 4.512 MB / 0.5103 GB, free: 4.297 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004135/0.158, allocations: 0.8067 MB / 0.5111 GB, free: 3.465 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.000207/0.1582, allocations: 70.23 kB / 0.5112 GB, free: 3.398 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002052/0.1584, allocations: 107.4 kB / 0.5113 GB, free: 3.293 MB / 398.1 MB Notification: Performance of SimCode: time 6.71e-07/0.1584, allocations: 0 / 0.5113 GB, free: 3.293 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03306/0.1915, allocations: 10.18 MB / 0.5212 GB, free: 9.109 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.772/8.964, allocations: 7.938 kB / 0.5212 GB, free: 9.102 MB / 414.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Blocks.PadeDelay2.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Blocks.PadeDelay2.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Blocks.PadeDelay2.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Blocks.PadeDelay2.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Blocks.PadeDelay2_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Blocks_PadeDelay2_fmu --startTime=0 --stopTime=0.02 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Blocks_PadeDelay2.fmu > ModelicaTest_3.2.3_ModelicaTest.Blocks.PadeDelay2.pipe 2>&1)