Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test68.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.Test68,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test68",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test68,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test68",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.00146/0.001461, allocations: 111.4 kB / 16.41 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.001491/0.001491, allocations: 185.5 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.406/1.406, 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.2248/0.2248, allocations: 43.52 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.002113/0.002113, allocations: 67.89 kB / 441.4 MB, free: 6.102 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1297/0.1318, allocations: 57.78 MB / 499.2 MB, free: 12.24 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test68): time 0.003455/0.1353, allocations: 1.786 MB / 0.4892 GB, free: 10.44 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.00162/0.137, allocations: 0.8818 MB / 0.4901 GB, free: 9.551 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.635e-05/0.1371, allocations: 3.938 kB / 0.4901 GB, free: 9.547 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005683/0.1377, allocations: 303.3 kB / 0.4904 GB, free: 9.25 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003795/0.1381, allocations: 203.4 kB / 0.4906 GB, free: 9.051 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003864/0.1385, allocations: 139.6 kB / 0.4907 GB, free: 8.914 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003395/0.1388, allocations: 235.4 kB / 0.4909 GB, free: 8.684 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.415e-05/0.1389, allocations: 21.53 kB / 0.4909 GB, free: 8.664 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000203/0.1391, allocations: 135.5 kB / 0.4911 GB, free: 8.531 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002366/0.1394, allocations: 180 kB / 0.4912 GB, free: 8.355 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.617e-05/0.1394, allocations: 4 kB / 0.4912 GB, free: 8.352 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001312/0.1395, allocations: 51.91 kB / 0.4913 GB, free: 8.301 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001556/0.1397, allocations: 128.6 kB / 0.4914 GB, free: 8.176 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001641/0.1399, allocations: 142.8 kB / 0.4915 GB, free: 8.035 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004768/0.1403, allocations: 362.3 kB / 0.4919 GB, free: 7.68 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.029e-06/0.1404, allocations: 0 / 0.4919 GB, free: 7.68 MB / 382.1 MB Notification: Performance of FrontEnd: time 3.146e-06/0.1404, allocations: 0 / 0.4919 GB, free: 7.68 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.853e-06/0.1404, allocations: 4 kB / 0.4919 GB, free: 7.676 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.001141/0.1415, allocations: 0.7345 MB / 0.4926 GB, free: 6.891 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.007e-05/0.1416, allocations: 11.89 kB / 0.4926 GB, free: 6.879 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.404e-05/0.1416, allocations: 42.73 kB / 0.4927 GB, free: 6.828 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.773e-05/0.1417, allocations: 48.61 kB / 0.4927 GB, free: 6.781 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007274/0.1425, allocations: 448.4 kB / 0.4931 GB, free: 6.301 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.609e-05/0.1425, allocations: 4.359 kB / 0.4931 GB, free: 6.297 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.749e-05/0.1425, allocations: 7.938 kB / 0.4931 GB, free: 6.289 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002375/0.1428, allocations: 95.3 kB / 0.4932 GB, free: 6.184 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.978e-06/0.1428, allocations: 0 / 0.4932 GB, free: 6.184 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.194e-05/0.1428, allocations: 0 / 0.4932 GB, free: 6.184 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.005e-05/0.1428, allocations: 7.984 kB / 0.4932 GB, free: 6.176 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001301/0.143, allocations: 27.98 kB / 0.4933 GB, free: 6.148 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004793/0.1434, allocations: 366.4 kB / 0.4936 GB, free: 5.738 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002975/0.1438, allocations: 109.1 kB / 0.4937 GB, free: 5.613 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001025/0.1439, allocations: 41.7 kB / 0.4938 GB, free: 5.566 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.45e-05/0.1439, allocations: 0 / 0.4938 GB, free: 5.566 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002551/0.1442, allocations: 120.9 kB / 0.4939 GB, free: 5.43 MB / 382.1 MB Notification: Performance of pre-optimization done (n=10): time 1.343e-06/0.1442, allocations: 0 / 0.4939 GB, free: 5.43 MB / 382.1 MB Notification: Performance of matching and sorting (n=10): time 0.0006219/0.1448, allocations: 193.7 kB / 0.4941 GB, free: 5.234 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.333e-05/0.1449, allocations: 81.11 kB / 0.4941 GB, free: 5.137 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001349/0.1462, allocations: 1.007 MB / 0.4951 GB, free: 4.117 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.802e-05/0.1463, allocations: 29.7 kB / 0.4952 GB, free: 4.082 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002093/0.1465, allocations: 228.1 kB / 0.4954 GB, free: 3.855 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.215e-05/0.1466, allocations: 31.75 kB / 0.4954 GB, free: 3.824 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.01e-05/0.1466, allocations: 29.7 kB / 0.4954 GB, free: 3.789 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0002187/0.1468, allocations: 362.8 kB / 0.4958 GB, free: 3.426 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001379/0.147, allocations: 27.98 kB / 0.4958 GB, free: 3.398 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001572/0.1472, allocations: 67.34 kB / 0.4959 GB, free: 3.32 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002147/0.1474, allocations: 87.48 kB / 0.496 GB, free: 3.223 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.151e-06/0.1474, allocations: 3.938 kB / 0.496 GB, free: 3.219 MB / 382.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003065/0.1477, allocations: 173.2 kB / 0.4961 GB, free: 3.043 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.086e-05/0.1478, allocations: 8.062 kB / 0.4961 GB, free: 3.035 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.197e-06/0.1478, allocations: 7.938 kB / 0.4961 GB, free: 3.027 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.589e-05/0.1478, allocations: 0 / 0.4961 GB, free: 3.027 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001264/0.1479, allocations: 19.98 kB / 0.4962 GB, free: 3.008 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.506e-06/0.1479, allocations: 4 kB / 0.4962 GB, free: 3.004 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.054e-05/0.148, allocations: 15.89 kB / 0.4962 GB, free: 2.988 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.131e-05/0.1481, allocations: 4 kB / 0.4962 GB, free: 2.984 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.0002412/0.1483, allocations: 221.6 kB / 0.4964 GB, free: 2.758 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.794e-05/0.1484, allocations: 55.67 kB / 0.4964 GB, free: 2.703 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.388e-05/0.1485, allocations: 59.84 kB / 0.4965 GB, free: 2.645 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.28e-06/0.1485, allocations: 4 kB / 0.4965 GB, free: 2.641 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.781e-06/0.1485, allocations: 0 / 0.4965 GB, free: 2.641 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.397e-06/0.1485, allocations: 0 / 0.4965 GB, free: 2.641 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003996/0.1489, allocations: 337.3 kB / 0.4968 GB, free: 2.262 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.498e-06/0.1489, allocations: 3.984 kB / 0.4968 GB, free: 2.258 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.525e-05/0.149, allocations: 8.125 kB / 0.4968 GB, free: 2.25 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.344e-06/0.149, allocations: 0 / 0.4968 GB, free: 2.25 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.124e-05/0.149, allocations: 12 kB / 0.4968 GB, free: 2.238 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.618e-06/0.149, allocations: 0 / 0.4968 GB, free: 2.238 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-06/0.149, allocations: 7.938 kB / 0.4969 GB, free: 2.23 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000472/0.1495, allocations: 205.5 kB / 0.4971 GB, free: 2.008 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002037/0.1497, allocations: 140.7 kB / 0.4972 GB, free: 1.852 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.897e-05/0.1498, allocations: 8 kB / 0.4972 GB, free: 1.844 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.2e-05/0.1499, allocations: 0 / 0.4972 GB, free: 1.844 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.867e-05/0.1499, allocations: 11.98 kB / 0.4972 GB, free: 1.832 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.84e-05/0.1499, allocations: 8 kB / 0.4972 GB, free: 1.824 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0008495/0.1508, allocations: 0.7487 MB / 0.4979 GB, free: 1.078 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.1508, allocations: 0 / 0.4979 GB, free: 1.078 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0003/0.1511, allocations: 43.98 kB / 0.498 GB, free: 1.035 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.00222/0.1533, allocations: 1.051 MB / 0.499 GB, free: 16 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002765/0.1536, allocations: 83.89 kB / 0.4991 GB, free: 15.91 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.715e-06/0.1536, allocations: 0 / 0.4991 GB, free: 15.91 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001167/0.1538, allocations: 43.91 kB / 0.4991 GB, free: 15.87 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004411/0.1542, allocations: 73.8 kB / 0.4992 GB, free: 15.8 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006039/0.1603, allocations: 4.416 MB / 0.5035 GB, free: 11.28 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005778/0.1609, allocations: 0.8388 MB / 0.5043 GB, free: 10.42 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0001637/0.1611, allocations: 59.45 kB / 0.5044 GB, free: 10.36 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002208/0.1613, allocations: 147.4 kB / 0.5045 GB, free: 10.21 MB / 398.1 MB Notification: Performance of SimCode: time 1.332e-06/0.1613, allocations: 0 / 0.5045 GB, free: 10.21 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03407/0.1954, allocations: 8.761 MB / 0.5131 GB, free: 1.418 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.432/8.628, allocations: 7.969 kB / 0.5131 GB, free: 1.41 MB / 398.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test68.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test68.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test68.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test68.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test68_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test68_fmu --startTime=0 --stopTime=8000 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test68.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test68.pipe 2>&1)