Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test71.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.Tables.CombiTimeTable.Test71,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test71",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test71,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test71",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.001306/0.001306, allocations: 108 kB / 16.41 MB, free: 6.484 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.001232/0.001232, allocations: 188.1 kB / 17.34 MB, free: 5.762 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.46/1.46, 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.2113/0.2113, allocations: 43.53 MB / 314.1 MB, free: 468 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.002289/0.002289, allocations: 63.91 kB / 441.4 MB, free: 6.117 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1183/0.1206, allocations: 57.79 MB / 499.2 MB, free: 12.25 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test71): time 0.003574/0.1242, allocations: 1.786 MB / 0.4892 GB, free: 10.45 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001682/0.1259, allocations: 0.8818 MB / 0.4901 GB, free: 9.562 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001131/0.1261, allocations: 4 kB / 0.4901 GB, free: 9.559 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006109/0.1267, allocations: 311.3 kB / 0.4904 GB, free: 9.254 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000431/0.1272, allocations: 215.3 kB / 0.4906 GB, free: 9.043 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004476/0.1276, allocations: 143.7 kB / 0.4907 GB, free: 8.902 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003711/0.128, allocations: 243.4 kB / 0.4909 GB, free: 8.664 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.936e-05/0.1281, allocations: 13.55 kB / 0.491 GB, free: 8.652 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001879/0.1283, allocations: 127.5 kB / 0.4911 GB, free: 8.527 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002724/0.1286, allocations: 187.5 kB / 0.4913 GB, free: 8.344 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 3.002e-05/0.1286, allocations: 12 kB / 0.4913 GB, free: 8.332 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001289/0.1287, allocations: 39.98 kB / 0.4913 GB, free: 8.293 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001729/0.1289, allocations: 139.6 kB / 0.4914 GB, free: 8.156 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001753/0.1291, allocations: 154.7 kB / 0.4916 GB, free: 8.004 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004591/0.1296, allocations: 366.2 kB / 0.4919 GB, free: 7.645 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.689e-06/0.1296, allocations: 0 / 0.4919 GB, free: 7.645 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.255e-06/0.1296, allocations: 0 / 0.4919 GB, free: 7.645 MB / 382.1 MB Notification: Performance of Transformations before backend: time 7.073e-06/0.1296, allocations: 0 / 0.4919 GB, free: 7.645 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.001041/0.1306, allocations: 0.7384 MB / 0.4927 GB, free: 6.855 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.6e-05/0.1307, allocations: 15.89 kB / 0.4927 GB, free: 6.84 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.969e-05/0.1308, allocations: 34.75 kB / 0.4927 GB, free: 6.797 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.291e-05/0.1308, allocations: 60.48 kB / 0.4928 GB, free: 6.738 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006551/0.1315, allocations: 452.3 kB / 0.4932 GB, free: 6.254 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.75e-05/0.1315, allocations: 4.375 kB / 0.4932 GB, free: 6.25 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.661e-05/0.1316, allocations: 7.922 kB / 0.4932 GB, free: 6.242 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002185/0.1318, allocations: 87.38 kB / 0.4933 GB, free: 6.145 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.438e-06/0.1318, allocations: 4 kB / 0.4933 GB, free: 6.141 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.261e-05/0.1318, allocations: 3.984 kB / 0.4933 GB, free: 6.137 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.288e-06/0.1318, allocations: 0 / 0.4933 GB, free: 6.137 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001151/0.132, allocations: 35.91 kB / 0.4933 GB, free: 6.102 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004217/0.1324, allocations: 378.4 kB / 0.4937 GB, free: 5.68 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002767/0.1327, allocations: 113.1 kB / 0.4938 GB, free: 5.551 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.615e-05/0.1328, allocations: 37.7 kB / 0.4938 GB, free: 5.508 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.473e-05/0.1328, allocations: 0 / 0.4938 GB, free: 5.508 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002448/0.1331, allocations: 113 kB / 0.4939 GB, free: 5.379 MB / 382.1 MB Notification: Performance of pre-optimization done (n=10): time 1.292e-06/0.1331, allocations: 0 / 0.4939 GB, free: 5.379 MB / 382.1 MB Notification: Performance of matching and sorting (n=10): time 0.0005023/0.1336, allocations: 193.3 kB / 0.4941 GB, free: 5.184 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.605e-05/0.1336, allocations: 81.05 kB / 0.4942 GB, free: 5.086 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001167/0.1348, allocations: 1.042 MB / 0.4952 GB, free: 4.031 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.233e-05/0.1348, allocations: 25.7 kB / 0.4952 GB, free: 4 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002137/0.1351, allocations: 240 kB / 0.4955 GB, free: 3.762 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.787e-05/0.1351, allocations: 31.78 kB / 0.4955 GB, free: 3.73 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.603e-05/0.1352, allocations: 25.72 kB / 0.4955 GB, free: 3.699 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001986/0.1354, allocations: 366.8 kB / 0.4959 GB, free: 3.332 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.478e-05/0.1355, allocations: 27.97 kB / 0.4959 GB, free: 3.305 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001073/0.1356, allocations: 55.42 kB / 0.496 GB, free: 3.238 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001943/0.1358, allocations: 95.86 kB / 0.496 GB, free: 3.133 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.38e-06/0.1359, allocations: 3.938 kB / 0.4961 GB, free: 3.129 MB / 382.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003045/0.1362, allocations: 169.2 kB / 0.4962 GB, free: 2.957 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.001e-05/0.1362, allocations: 8 kB / 0.4962 GB, free: 2.949 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.48e-06/0.1362, allocations: 0 / 0.4962 GB, free: 2.949 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.876e-05/0.1362, allocations: 4 kB / 0.4962 GB, free: 2.945 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001234/0.1364, allocations: 27.98 kB / 0.4963 GB, free: 2.918 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.212e-06/0.1364, allocations: 3.938 kB / 0.4963 GB, free: 2.914 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.039e-05/0.1365, allocations: 8 kB / 0.4963 GB, free: 2.906 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.235e-05/0.1365, allocations: 11.98 kB / 0.4963 GB, free: 2.895 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 10 ($PRE.startTime.nextTimeEvent,$whenCondition2,startTime.nextTimeEventScaled,$PRE.startTime.nextTimeEventScaled,startTime.nextTimeEvent,$PRE.startTime_0.nextTimeEvent,$whenCondition1,startTime_0.nextTimeEventScaled,$PRE.startTime_0.nextTimeEventScaled,startTime_0.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (14): * Single equations (assignments): 14 * 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 prepare postOptimizeDAE: time 0.0002304/0.1367, allocations: 221.7 kB / 0.4965 GB, free: 2.668 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.663e-05/0.1368, allocations: 55.61 kB / 0.4965 GB, free: 2.613 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.612e-05/0.1369, allocations: 60 kB / 0.4966 GB, free: 2.555 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.638e-06/0.1369, allocations: 3.984 kB / 0.4966 GB, free: 2.551 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.322e-06/0.1369, allocations: 4 kB / 0.4966 GB, free: 2.547 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.887e-06/0.1369, allocations: 0 / 0.4966 GB, free: 2.547 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000352/0.1373, allocations: 349.3 kB / 0.4969 GB, free: 2.156 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.323e-06/0.1373, allocations: 0 / 0.4969 GB, free: 2.156 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.835e-05/0.1373, allocations: 11.98 kB / 0.4969 GB, free: 2.145 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.974e-06/0.1373, allocations: 0 / 0.4969 GB, free: 2.145 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.298e-05/0.1374, allocations: 4 kB / 0.497 GB, free: 2.141 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.483e-06/0.1374, allocations: 0 / 0.497 GB, free: 2.141 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.32e-07/0.1374, allocations: 0 / 0.497 GB, free: 2.141 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003797/0.1378, allocations: 217.6 kB / 0.4972 GB, free: 1.906 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001433/0.1379, allocations: 136.8 kB / 0.4973 GB, free: 1.754 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.534e-05/0.138, allocations: 4 kB / 0.4973 GB, free: 1.75 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.591e-05/0.138, allocations: 4 kB / 0.4973 GB, free: 1.746 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.986e-05/0.1381, allocations: 11.98 kB / 0.4973 GB, free: 1.734 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.854e-05/0.1381, allocations: 4 kB / 0.4973 GB, free: 1.73 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0008569/0.139, allocations: 0.7721 MB / 0.4981 GB, free: 0.9609 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.139, allocations: 4.094 kB / 0.4981 GB, free: 0.957 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002775/0.1393, allocations: 43.94 kB / 0.4981 GB, free: 0.9141 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition2,startTime.nextTimeEvent,startTime.nextTimeEventScaled,$whenCondition1,startTime_0.nextTimeEvent,startTime_0.nextTimeEventScaled) * Number of discrete states: 4 (startTime_0.nextTimeEventScaled,startTime_0.nextTimeEvent,startTime.nextTimeEventScaled,startTime.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.002123/0.1414, allocations: 1.051 MB / 0.4991 GB, free: 15.88 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002816/0.1417, allocations: 87.91 kB / 0.4992 GB, free: 15.79 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.845e-06/0.1417, allocations: 3.938 kB / 0.4992 GB, free: 15.79 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001132/0.1418, allocations: 39.97 kB / 0.4993 GB, free: 15.75 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004368/0.1423, allocations: 69.97 kB / 0.4993 GB, free: 15.68 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005898/0.1482, allocations: 4.52 MB / 0.5037 GB, free: 11.05 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005233/0.1488, allocations: 0.8466 MB / 0.5046 GB, free: 10.18 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0001467/0.1489, allocations: 54.95 kB / 0.5046 GB, free: 10.12 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001936/0.1491, allocations: 147.4 kB / 0.5048 GB, free: 9.98 MB / 398.1 MB Notification: Performance of SimCode: time 6.91e-07/0.1491, allocations: 4 kB / 0.5048 GB, free: 9.977 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03145/0.1806, allocations: 8.937 MB / 0.5135 GB, free: 1.008 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.437/8.618, allocations: 7.844 kB / 0.5135 GB, free: 1 MB / 398.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test71.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test71.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test71.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test71.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test71_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test71_fmu --startTime=0 --stopTime=8000 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test71.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test71.pipe 2>&1)