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.001045/0.001045, allocations: 96.12 kB / 17.35 MB, free: 6.371 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.001327/0.001327, allocations: 175.5 kB / 18.26 MB, free: 5.52 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.394/1.394, allocations: 223.3 MB / 242.3 MB, free: 232 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.208/0.208, allocations: 44.25 MB / 337.7 MB, free: 2.684 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003215/0.0003215, allocations: 12 kB / 410.4 MB, free: 27.22 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1309/0.1312, allocations: 61.92 MB / 472.4 MB, free: 13.26 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test70): time 0.002284/0.1336, allocations: 1.507 MB / 473.9 MB, free: 11.74 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001871/0.1355, allocations: 0.924 MB / 474.8 MB, free: 10.81 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.713e-05/0.1356, allocations: 3.938 kB / 474.8 MB, free: 10.81 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006051/0.1362, allocations: 307.4 kB / 475.1 MB, free: 10.51 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003241/0.1365, allocations: 187.5 kB / 475.3 MB, free: 10.32 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003735/0.1369, allocations: 155.6 kB / 475.4 MB, free: 10.18 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002947/0.1372, allocations: 235.4 kB / 475.7 MB, free: 9.945 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.317e-05/0.1373, allocations: 9.562 kB / 475.7 MB, free: 9.934 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000149/0.1375, allocations: 111.6 kB / 475.8 MB, free: 9.824 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000221/0.1377, allocations: 195.4 kB / 476 MB, free: 9.633 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.253e-05/0.1377, allocations: 4 kB / 476 MB, free: 9.629 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001026/0.1378, allocations: 43.98 kB / 476 MB, free: 9.586 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001433/0.138, allocations: 131.6 kB / 476.1 MB, free: 9.457 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001437/0.1381, allocations: 176.4 kB / 476.3 MB, free: 9.277 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003637/0.1385, allocations: 358.9 kB / 476.7 MB, free: 8.926 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.901e-06/0.1385, allocations: 0 / 476.7 MB, free: 8.926 MB / 350.1 MB Notification: Performance of FrontEnd: time 3.045e-06/0.1385, allocations: 0 / 476.7 MB, free: 8.926 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.831e-06/0.1385, allocations: 3.938 kB / 476.7 MB, free: 8.922 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.0009907/0.1395, allocations: 0.6572 MB / 477.3 MB, free: 8.215 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.295e-05/0.1396, allocations: 16.03 kB / 477.3 MB, free: 8.199 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.713e-05/0.1396, allocations: 30.75 kB / 477.4 MB, free: 8.16 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.467e-05/0.1397, allocations: 48.28 kB / 477.4 MB, free: 8.113 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005731/0.1403, allocations: 455.8 kB / 477.9 MB, free: 7.629 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.242e-05/0.1403, allocations: 384 / 477.9 MB, free: 7.629 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.935e-05/0.1404, allocations: 7.938 kB / 477.9 MB, free: 7.621 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002295/0.1406, allocations: 87.34 kB / 478 MB, free: 7.523 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.616e-06/0.1406, allocations: 3.938 kB / 478 MB, free: 7.52 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.373e-05/0.1406, allocations: 0 / 478 MB, free: 7.52 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.047e-06/0.1406, allocations: 8 kB / 478 MB, free: 7.512 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001064/0.1408, allocations: 31.92 kB / 478 MB, free: 7.48 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004449/0.1412, allocations: 374.4 kB / 478.4 MB, free: 7.062 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002651/0.1415, allocations: 105.2 kB / 478.5 MB, free: 6.941 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.34e-05/0.1416, allocations: 41.64 kB / 478.5 MB, free: 6.895 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.798e-05/0.1416, allocations: 4 kB / 478.5 MB, free: 6.891 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000281/0.1419, allocations: 101.1 kB / 478.6 MB, free: 6.773 MB / 350.1 MB Notification: Performance of pre-optimization done (n=10): time 1.082e-06/0.1419, allocations: 4 kB / 478.6 MB, free: 6.77 MB / 350.1 MB Notification: Performance of matching and sorting (n=10): time 0.0004873/0.1424, allocations: 200.9 kB / 478.8 MB, free: 6.566 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.271e-05/0.1425, allocations: 81.11 kB / 478.9 MB, free: 6.469 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001138/0.1436, allocations: 1.034 MB / 479.9 MB, free: 5.426 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.087e-05/0.1437, allocations: 33.7 kB / 480 MB, free: 5.387 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000182/0.1438, allocations: 228.1 kB / 480.2 MB, free: 5.16 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.513e-05/0.1439, allocations: 31.62 kB / 480.2 MB, free: 5.129 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.083e-05/0.1439, allocations: 21.72 kB / 480.2 MB, free: 5.102 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001979/0.1442, allocations: 370.8 kB / 480.6 MB, free: 4.73 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.692e-05/0.1442, allocations: 27.98 kB / 480.6 MB, free: 4.703 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.47e-05/0.1443, allocations: 51.42 kB / 480.7 MB, free: 4.641 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001846/0.1445, allocations: 99.84 kB / 480.8 MB, free: 4.531 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.929e-06/0.1446, allocations: 3.938 kB / 480.8 MB, free: 4.527 MB / 350.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002803/0.1448, allocations: 165 kB / 480.9 MB, free: 4.359 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.711e-05/0.1449, allocations: 4 kB / 480.9 MB, free: 4.355 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.342e-06/0.1449, allocations: 0 / 480.9 MB, free: 4.355 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.352e-05/0.1449, allocations: 4 kB / 480.9 MB, free: 4.352 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001105/0.145, allocations: 23.92 kB / 481 MB, free: 4.328 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.911e-06/0.145, allocations: 3.938 kB / 481 MB, free: 4.324 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.783e-05/0.1451, allocations: 23.95 kB / 481 MB, free: 4.301 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.919e-06/0.1452, allocations: 4 kB / 481 MB, free: 4.297 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.0002213/0.1454, allocations: 221.7 kB / 481.2 MB, free: 4.07 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.558e-05/0.1454, allocations: 51.33 kB / 481.3 MB, free: 4.02 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.089e-05/0.1455, allocations: 64 kB / 481.3 MB, free: 3.953 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.756e-06/0.1455, allocations: 0 / 481.3 MB, free: 3.953 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.863e-06/0.1455, allocations: 4 kB / 481.3 MB, free: 3.949 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.489e-06/0.1456, allocations: 0 / 481.3 MB, free: 3.949 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003025/0.1459, allocations: 345.3 kB / 481.7 MB, free: 3.562 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.318e-06/0.1459, allocations: 4 kB / 481.7 MB, free: 3.559 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.195e-05/0.1459, allocations: 7.938 kB / 481.7 MB, free: 3.551 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.667e-06/0.1459, allocations: 4 kB / 481.7 MB, free: 3.547 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.448e-06/0.1459, allocations: 0 / 481.7 MB, free: 3.547 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.593e-06/0.1459, allocations: 0 / 481.7 MB, free: 3.547 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.462e-06/0.1459, allocations: 0 / 481.7 MB, free: 3.547 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003069/0.1463, allocations: 209.2 kB / 481.9 MB, free: 3.32 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001351/0.1464, allocations: 140.5 kB / 482 MB, free: 3.164 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.181e-05/0.1465, allocations: 4.125 kB / 482 MB, free: 3.16 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.043e-05/0.1465, allocations: 11.98 kB / 482 MB, free: 3.148 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.118e-05/0.1466, allocations: 15.97 kB / 482.1 MB, free: 3.133 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.836e-05/0.1466, allocations: 4 kB / 482.1 MB, free: 3.129 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0008234/0.1475, allocations: 0.7682 MB / 482.8 MB, free: 2.363 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1475, allocations: 0 / 482.8 MB, free: 2.363 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002544/0.1477, allocations: 44 kB / 482.9 MB, free: 2.32 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.001528/0.1493, allocations: 1.061 MB / 483.9 MB, free: 1.395 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002384/0.1495, allocations: 80.09 kB / 484 MB, free: 1.316 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.355e-06/0.1495, allocations: 7.875 kB / 484 MB, free: 1.309 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 9.957e-05/0.1496, allocations: 44.11 kB / 484.1 MB, free: 1.266 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004369/0.1501, allocations: 58.27 kB / 484.1 MB, free: 1.207 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005965/0.156, allocations: 4.703 MB / 488.8 MB, free: 12.39 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000443/0.1565, allocations: 0.8429 MB / 489.7 MB, free: 11.52 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001555/0.1567, allocations: 62.94 kB / 489.7 MB, free: 11.46 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001756/0.1569, allocations: 139.4 kB / 489.9 MB, free: 11.32 MB / 366.1 MB Notification: Performance of SimCode: time 5.01e-07/0.1569, allocations: 0 / 489.9 MB, free: 11.32 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02174/0.1786, allocations: 8.188 MB / 498 MB, free: 3.281 MB / 366.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0004493/0.1791, allocations: 242.2 kB / 498.3 MB, free: 3.02 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.814/1.993, allocations: 0 / 498.3 MB, free: 3.02 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)