Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test70.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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.Test70,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test70",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test70,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test70",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.001453/0.001453, allocations: 108.1 kB / 17.21 MB, free: 6.289 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.001203/0.001203, allocations: 194 kB / 18.12 MB, free: 5.383 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.514/1.514, allocations: 222.9 MB / 241.8 MB, free: 15.35 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2395/0.2395, allocations: 44.18 MB / 336.1 MB, free: 2.98 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001265/0.001266, allocations: 66.73 kB / 407.8 MB, free: 27.59 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1337/0.135, allocations: 60.82 MB / 468.6 MB, free: 14.74 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test70): time 0.004656/0.1397, allocations: 1.862 MB / 470.5 MB, free: 12.86 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002446/0.1422, allocations: 0.9433 MB / 471.4 MB, free: 11.91 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001777/0.1424, allocations: 0 / 471.4 MB, free: 11.91 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006726/0.1431, allocations: 299.4 kB / 471.7 MB, free: 11.62 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004944/0.1437, allocations: 203.4 kB / 471.9 MB, free: 11.42 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005978/0.1443, allocations: 154.3 kB / 472.1 MB, free: 11.27 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004911/0.1448, allocations: 231.4 kB / 472.3 MB, free: 11.05 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.038e-05/0.1449, allocations: 9.562 kB / 472.3 MB, free: 11.04 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002458/0.1451, allocations: 115.6 kB / 472.4 MB, free: 10.92 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003032/0.1454, allocations: 195.5 kB / 472.6 MB, free: 10.73 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.583e-05/0.1455, allocations: 4 kB / 472.6 MB, free: 10.73 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001487/0.1456, allocations: 43.92 kB / 472.7 MB, free: 10.68 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001616/0.1458, allocations: 127.6 kB / 472.8 MB, free: 10.56 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001523/0.146, allocations: 146.8 kB / 472.9 MB, free: 10.41 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000451/0.1464, allocations: 359 kB / 473.3 MB, free: 10.06 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.889e-06/0.1464, allocations: 4 kB / 473.3 MB, free: 10.06 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.082e-06/0.1465, allocations: 0 / 473.3 MB, free: 10.06 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.582e-05/0.1465, allocations: 0 / 473.3 MB, free: 10.06 MB / 350.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.001253/0.1477, allocations: 0.723 MB / 474 MB, free: 9.285 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.168e-05/0.1478, allocations: 12.02 kB / 474 MB, free: 9.273 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.483e-05/0.1479, allocations: 30.75 kB / 474.1 MB, free: 9.234 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001506/0.148, allocations: 52.28 kB / 474.1 MB, free: 9.184 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007365/0.1488, allocations: 443.9 kB / 474.5 MB, free: 8.711 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.561e-05/0.1488, allocations: 12.38 kB / 474.6 MB, free: 8.699 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.514e-05/0.1488, allocations: 7.922 kB / 474.6 MB, free: 8.691 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002292/0.1491, allocations: 91.23 kB / 474.6 MB, free: 8.59 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.347e-06/0.1491, allocations: 4 kB / 474.7 MB, free: 8.586 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.355e-05/0.1491, allocations: 0 / 474.7 MB, free: 8.586 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.48e-06/0.1491, allocations: 0 / 474.7 MB, free: 8.586 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001143/0.1492, allocations: 27.98 kB / 474.7 MB, free: 8.559 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005934/0.1498, allocations: 374.4 kB / 475 MB, free: 8.141 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003073/0.1502, allocations: 113.1 kB / 475.2 MB, free: 8.012 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001034/0.1503, allocations: 37.7 kB / 475.2 MB, free: 7.969 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.069e-05/0.1503, allocations: 4 kB / 475.2 MB, free: 7.965 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003647/0.1507, allocations: 112.9 kB / 475.3 MB, free: 7.836 MB / 350.1 MB Notification: Performance of pre-optimization done (n=10): time 1.693e-06/0.1507, allocations: 0 / 475.3 MB, free: 7.836 MB / 350.1 MB Notification: Performance of matching and sorting (n=10): time 0.0006038/0.1513, allocations: 201 kB / 475.5 MB, free: 7.633 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.563e-05/0.1514, allocations: 81.11 kB / 475.6 MB, free: 7.535 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001278/0.1527, allocations: 1.034 MB / 476.6 MB, free: 6.492 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.016e-05/0.1527, allocations: 29.7 kB / 476.6 MB, free: 6.457 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001653/0.1529, allocations: 232 kB / 476.9 MB, free: 6.227 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.921e-05/0.1529, allocations: 39.55 kB / 476.9 MB, free: 6.188 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.53e-05/0.153, allocations: 25.7 kB / 476.9 MB, free: 6.156 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001583/0.1532, allocations: 370.8 kB / 477.3 MB, free: 5.785 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.494e-05/0.1533, allocations: 23.98 kB / 477.3 MB, free: 5.762 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001021/0.1534, allocations: 63.36 kB / 477.4 MB, free: 5.688 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001737/0.1536, allocations: 87.34 kB / 477.5 MB, free: 5.59 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.897e-06/0.1536, allocations: 3.938 kB / 477.5 MB, free: 5.586 MB / 350.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003127/0.1539, allocations: 165 kB / 477.6 MB, free: 5.418 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.865e-05/0.1539, allocations: 8 kB / 477.6 MB, free: 5.41 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.047e-06/0.1539, allocations: 0 / 477.6 MB, free: 5.41 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.564e-05/0.154, allocations: 3.984 kB / 477.6 MB, free: 5.406 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001125/0.1541, allocations: 20 kB / 477.7 MB, free: 5.387 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.008e-05/0.1541, allocations: 3.938 kB / 477.7 MB, free: 5.383 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001143/0.1542, allocations: 12.52 kB / 477.7 MB, free: 5.371 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.403e-05/0.1542, allocations: 8 kB / 477.7 MB, free: 5.363 MB / 350.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.0002351/0.1545, allocations: 229.7 kB / 477.9 MB, free: 5.129 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.579e-05/0.1546, allocations: 51.34 kB / 478 MB, free: 5.078 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.749e-05/0.1547, allocations: 60 kB / 478 MB, free: 5.016 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.99e-06/0.1547, allocations: 4 kB / 478 MB, free: 5.012 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.408e-06/0.1547, allocations: 4 kB / 478 MB, free: 5.008 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.508e-06/0.1547, allocations: 3.938 kB / 478 MB, free: 5.004 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003022/0.155, allocations: 337.4 kB / 478.4 MB, free: 4.625 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.003e-06/0.155, allocations: 0 / 478.4 MB, free: 4.625 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.773e-05/0.155, allocations: 12 kB / 478.4 MB, free: 4.613 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.106e-06/0.1551, allocations: 0 / 478.4 MB, free: 4.613 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.448e-05/0.1551, allocations: 4 kB / 478.4 MB, free: 4.609 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.316e-06/0.1551, allocations: 7.938 kB / 478.4 MB, free: 4.602 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.605e-06/0.1551, allocations: 3.984 kB / 478.4 MB, free: 4.598 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003479/0.1554, allocations: 201.2 kB / 478.6 MB, free: 4.379 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001338/0.1556, allocations: 136.5 kB / 478.7 MB, free: 4.227 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.233e-05/0.1556, allocations: 8 kB / 478.7 MB, free: 4.219 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.104e-05/0.1557, allocations: 7.984 kB / 478.7 MB, free: 4.211 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.731e-05/0.1558, allocations: 4 kB / 478.7 MB, free: 4.207 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.182e-05/0.1558, allocations: 11.98 kB / 478.8 MB, free: 4.195 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0008002/0.1566, allocations: 0.7682 MB / 479.5 MB, free: 3.43 MB / 350.1 MB Notification: Performance of sort global known variables: time 2.5e-07/0.1566, allocations: 96 / 479.5 MB, free: 3.43 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002844/0.1569, allocations: 51.92 kB / 479.6 MB, free: 3.379 MB / 350.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.001524/0.1585, allocations: 1.043 MB / 480.6 MB, free: 2.461 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.000258/0.1587, allocations: 87.83 kB / 480.7 MB, free: 2.375 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.715e-06/0.1588, allocations: 3.938 kB / 480.7 MB, free: 2.371 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001133/0.1589, allocations: 39.92 kB / 480.7 MB, free: 2.332 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004302/0.1593, allocations: 66.05 kB / 480.8 MB, free: 2.27 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005904/0.1652, allocations: 4.694 MB / 485.5 MB, free: 13.46 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004283/0.1657, allocations: 0.8391 MB / 486.3 MB, free: 12.6 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001391/0.1658, allocations: 59.44 kB / 486.4 MB, free: 12.54 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001875/0.166, allocations: 143.4 kB / 486.5 MB, free: 12.4 MB / 366.1 MB Notification: Performance of SimCode: time 4.91e-07/0.166, allocations: 8 kB / 486.5 MB, free: 12.39 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2317/0.3978, allocations: 8.491 MB / 495 MB, free: 4.027 MB / 366.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000307/0.3981, allocations: 242 kB / 495.3 MB, free: 3.77 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.196/2.594, allocations: 3.938 kB / 495.3 MB, free: 3.766 MB / 366.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test70.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test70.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test70.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test70.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test70_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test70_fmu --startTime=0 --stopTime=8000 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test70.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test70.pipe 2>&1)