Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_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 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.Test71,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test71",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test71,fileNamePrefix="ModelicaTest_4_0_0_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.00112/0.00112, allocations: 106.2 kB / 17.21 MB, free: 6.293 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.001101/0.001101, 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.396/1.396, 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.1936/0.1936, allocations: 44.17 MB / 336.1 MB, free: 2.977 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00206/0.00206, allocations: 64.5 kB / 407.8 MB, free: 27.58 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1197/0.1218, allocations: 60.82 MB / 468.6 MB, free: 14.73 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test71): time 0.003338/0.1252, allocations: 1.854 MB / 470.5 MB, free: 12.87 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001565/0.1268, allocations: 0.9511 MB / 471.4 MB, free: 11.91 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001073/0.1269, allocations: 3.938 kB / 471.4 MB, free: 11.91 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005258/0.1275, allocations: 295.4 kB / 471.7 MB, free: 11.62 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003987/0.1279, allocations: 199.5 kB / 471.9 MB, free: 11.42 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00046/0.1284, allocations: 151.4 kB / 472.1 MB, free: 11.28 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.000356/0.1288, allocations: 231.4 kB / 472.3 MB, free: 11.05 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.902e-05/0.1288, allocations: 17.53 kB / 472.3 MB, free: 11.03 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002165/0.1291, allocations: 115.6 kB / 472.4 MB, free: 10.92 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002743/0.1293, allocations: 195.4 kB / 472.6 MB, free: 10.73 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.844e-05/0.1294, allocations: 4 kB / 472.6 MB, free: 10.72 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001434/0.1295, allocations: 39.98 kB / 472.7 MB, free: 10.68 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001666/0.1297, allocations: 135.6 kB / 472.8 MB, free: 10.55 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001603/0.1299, allocations: 154.7 kB / 472.9 MB, free: 10.4 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004285/0.1303, allocations: 355 kB / 473.3 MB, free: 10.05 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.53e-06/0.1303, allocations: 0 / 473.3 MB, free: 10.05 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.343e-06/0.1303, allocations: 0 / 473.3 MB, free: 10.05 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.125e-05/0.1303, allocations: 0 / 473.3 MB, free: 10.05 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.001143/0.1315, allocations: 0.7191 MB / 474 MB, free: 9.281 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.846e-05/0.1315, allocations: 8.031 kB / 474 MB, free: 9.273 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.663e-05/0.1316, allocations: 38.75 kB / 474.1 MB, free: 9.227 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.788e-05/0.1317, allocations: 48.28 kB / 474.1 MB, free: 9.18 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005714/0.1323, allocations: 451.8 kB / 474.5 MB, free: 8.699 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.632e-05/0.1323, allocations: 4.375 kB / 474.6 MB, free: 8.695 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.336e-05/0.1323, allocations: 3.938 kB / 474.6 MB, free: 8.691 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002062/0.1326, allocations: 91.3 kB / 474.6 MB, free: 8.59 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.996e-06/0.1326, allocations: 0 / 474.6 MB, free: 8.59 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.099e-05/0.1326, allocations: 0 / 474.6 MB, free: 8.59 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.125e-06/0.1326, allocations: 0 / 474.6 MB, free: 8.59 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001183/0.1327, allocations: 35.91 kB / 474.7 MB, free: 8.555 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005019/0.1332, allocations: 378.4 kB / 475 MB, free: 8.133 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002935/0.1335, allocations: 113.1 kB / 475.2 MB, free: 8.004 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001162/0.1337, allocations: 41.7 kB / 475.2 MB, free: 7.957 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.698e-05/0.1337, allocations: 0 / 475.2 MB, free: 7.957 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003086/0.134, allocations: 120.8 kB / 475.3 MB, free: 7.82 MB / 350.1 MB Notification: Performance of pre-optimization done (n=10): time 1.293e-06/0.134, allocations: 0 / 475.3 MB, free: 7.82 MB / 350.1 MB Notification: Performance of matching and sorting (n=10): time 0.0005352/0.1346, allocations: 197.1 kB / 475.5 MB, free: 7.621 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.901e-05/0.1346, allocations: 81.05 kB / 475.6 MB, free: 7.523 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0012/0.1359, allocations: 1.034 MB / 476.6 MB, free: 6.48 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.321e-05/0.1359, allocations: 29.7 kB / 476.7 MB, free: 6.445 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000196/0.1361, allocations: 236.1 kB / 476.9 MB, free: 6.211 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.31e-05/0.1361, allocations: 27.56 kB / 476.9 MB, free: 6.184 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.741e-05/0.1362, allocations: 29.7 kB / 476.9 MB, free: 6.148 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001754/0.1364, allocations: 366.8 kB / 477.3 MB, free: 5.781 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.647e-05/0.1365, allocations: 27.98 kB / 477.3 MB, free: 5.754 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001067/0.1366, allocations: 59.41 kB / 477.4 MB, free: 5.684 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001833/0.1368, allocations: 87.36 kB / 477.5 MB, free: 5.586 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.278e-06/0.1368, allocations: 3.938 kB / 477.5 MB, free: 5.582 MB / 350.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003195/0.1372, allocations: 165 kB / 477.6 MB, free: 5.414 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.616e-05/0.1372, allocations: 8 kB / 477.6 MB, free: 5.406 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.762e-06/0.1372, allocations: 0 / 477.6 MB, free: 5.406 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.807e-05/0.1372, allocations: 4 kB / 477.6 MB, free: 5.402 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001257/0.1374, allocations: 24.55 kB / 477.7 MB, free: 5.379 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.584e-06/0.1374, allocations: 0 / 477.7 MB, free: 5.379 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001044/0.1375, allocations: 11.91 kB / 477.7 MB, free: 5.367 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.27e-05/0.1375, allocations: 8 kB / 477.7 MB, free: 5.359 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.1377, allocations: 233.7 kB / 477.9 MB, free: 5.121 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.813e-05/0.1378, allocations: 51.34 kB / 478 MB, free: 5.07 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.485e-05/0.1379, allocations: 60 kB / 478 MB, free: 5.008 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.419e-06/0.1379, allocations: 0 / 478 MB, free: 5.008 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.436e-05/0.1379, allocations: 3.938 kB / 478 MB, free: 5.004 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.767e-06/0.1379, allocations: 3.938 kB / 478 MB, free: 5 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003158/0.1383, allocations: 345.4 kB / 478.4 MB, free: 4.613 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.255e-06/0.1383, allocations: 0 / 478.4 MB, free: 4.613 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.698e-05/0.1383, allocations: 8 kB / 478.4 MB, free: 4.605 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.086e-06/0.1383, allocations: 4 kB / 478.4 MB, free: 4.602 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.717e-05/0.1383, allocations: 7.984 kB / 478.4 MB, free: 4.594 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.914e-06/0.1384, allocations: 0 / 478.4 MB, free: 4.594 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.1384, allocations: 0 / 478.4 MB, free: 4.594 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003574/0.1387, allocations: 209.1 kB / 478.6 MB, free: 4.367 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001393/0.1389, allocations: 132.5 kB / 478.7 MB, free: 4.219 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.992e-05/0.1389, allocations: 4 kB / 478.7 MB, free: 4.215 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.178e-05/0.139, allocations: 11.98 kB / 478.7 MB, free: 4.203 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.477e-05/0.1391, allocations: 11.98 kB / 478.8 MB, free: 4.191 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.056e-05/0.1391, allocations: 4 kB / 478.8 MB, free: 4.188 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0008795/0.14, allocations: 0.7682 MB / 479.5 MB, free: 3.422 MB / 350.1 MB Notification: Performance of sort global known variables: time 2.1e-07/0.14, allocations: 0 / 479.5 MB, free: 3.422 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003373/0.1403, allocations: 47.98 kB / 479.6 MB, free: 3.375 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.001714/0.1421, allocations: 1.045 MB / 480.6 MB, free: 2.457 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002821/0.1424, allocations: 91.77 kB / 480.7 MB, free: 2.367 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.254e-06/0.1424, allocations: 0 / 480.7 MB, free: 2.367 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001094/0.1425, allocations: 35.98 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.0004615/0.143, allocations: 74.38 kB / 480.8 MB, free: 2.258 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008516/0.1515, allocations: 4.69 MB / 485.5 MB, free: 13.46 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006673/0.1522, allocations: 0.8391 MB / 486.3 MB, free: 12.59 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001623/0.1523, allocations: 59.45 kB / 486.4 MB, free: 12.53 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000261/0.1526, allocations: 151.4 kB / 486.5 MB, free: 12.38 MB / 366.1 MB Notification: Performance of SimCode: time 1.513e-06/0.1526, allocations: 0 / 486.5 MB, free: 12.38 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02312/0.1758, allocations: 8.496 MB / 495 MB, free: 4.016 MB / 366.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002411/0.176, allocations: 253.5 kB / 495.3 MB, free: 3.746 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.956/2.132, allocations: 0 / 495.3 MB, free: 3.746 MB / 366.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test71.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test71.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test71.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test71.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test71_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test71_fmu --startTime=0 --stopTime=8000 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test71.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test71.pipe 2>&1)