Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test69.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.Test69,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test69",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test69,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test69",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.001417/0.001417, allocations: 106.8 kB / 17.2 MB, free: 6.27 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.00151/0.00151, allocations: 194 kB / 18.12 MB, free: 5.363 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.518/1.518, allocations: 222.9 MB / 241.8 MB, free: 15.55 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.241/0.241, allocations: 44.17 MB / 336.1 MB, free: 3.016 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001439/0.001439, allocations: 64.59 kB / 407.8 MB, free: 27.61 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1327/0.1342, allocations: 60.82 MB / 468.6 MB, free: 14.74 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test69): time 0.003786/0.138, allocations: 1.853 MB / 470.5 MB, free: 12.88 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001753/0.1398, allocations: 0.9395 MB / 471.4 MB, free: 11.93 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001533/0.14, allocations: 0 / 471.4 MB, free: 11.93 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006022/0.1406, allocations: 299.4 kB / 471.7 MB, free: 11.64 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004556/0.1411, allocations: 187.5 kB / 471.9 MB, free: 11.45 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006146/0.1417, allocations: 158.5 kB / 472.1 MB, free: 11.3 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004805/0.1422, allocations: 227.4 kB / 472.3 MB, free: 11.08 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.466e-05/0.1423, allocations: 17.55 kB / 472.3 MB, free: 11.06 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002624/0.1426, allocations: 119.5 kB / 472.4 MB, free: 10.94 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002888/0.1429, allocations: 184 kB / 472.6 MB, free: 10.76 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.757e-05/0.1429, allocations: 7.938 kB / 472.6 MB, free: 10.75 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001797/0.1431, allocations: 43.94 kB / 472.6 MB, free: 10.71 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001938/0.1433, allocations: 128.5 kB / 472.8 MB, free: 10.58 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000267/0.1436, allocations: 142.8 kB / 472.9 MB, free: 10.44 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006383/0.1443, allocations: 347 kB / 473.2 MB, free: 10.1 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.285e-06/0.1443, allocations: 0 / 473.2 MB, free: 10.1 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.265e-06/0.1443, allocations: 0 / 473.2 MB, free: 10.1 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.575e-05/0.1443, allocations: 4 kB / 473.3 MB, free: 10.1 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.00163/0.1459, allocations: 0.7177 MB / 474 MB, free: 9.332 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.478e-05/0.146, allocations: 12.03 kB / 474 MB, free: 9.32 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.349e-05/0.1461, allocations: 34.73 kB / 474 MB, free: 9.277 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001468/0.1462, allocations: 48.28 kB / 474.1 MB, free: 9.23 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007278/0.147, allocations: 436 kB / 474.5 MB, free: 8.766 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.297e-05/0.147, allocations: 4.375 kB / 474.5 MB, free: 8.762 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.376e-05/0.147, allocations: 11.92 kB / 474.5 MB, free: 8.75 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002475/0.1473, allocations: 91.3 kB / 474.6 MB, free: 8.648 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.375e-05/0.1473, allocations: 0 / 474.6 MB, free: 8.648 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.538e-05/0.1474, allocations: 0 / 474.6 MB, free: 8.648 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.127e-06/0.1474, allocations: 4 kB / 474.6 MB, free: 8.645 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001365/0.1475, allocations: 31.97 kB / 474.6 MB, free: 8.613 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005873/0.1481, allocations: 366.3 kB / 475 MB, free: 8.203 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003243/0.1484, allocations: 121.1 kB / 475.1 MB, free: 8.066 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000104/0.1486, allocations: 37.7 kB / 475.1 MB, free: 8.023 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.908e-05/0.1486, allocations: 0 / 475.1 MB, free: 8.023 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003453/0.1489, allocations: 112.9 kB / 475.2 MB, free: 7.895 MB / 350.1 MB Notification: Performance of pre-optimization done (n=10): time 1.542e-06/0.149, allocations: 0 / 475.2 MB, free: 7.895 MB / 350.1 MB Notification: Performance of matching and sorting (n=10): time 0.0005598/0.1495, allocations: 193 kB / 475.4 MB, free: 7.699 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.077e-05/0.1496, allocations: 85.11 kB / 475.5 MB, free: 7.598 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001272/0.1509, allocations: 1.007 MB / 476.5 MB, free: 6.582 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.409e-05/0.1509, allocations: 25.7 kB / 476.6 MB, free: 6.551 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002003/0.1511, allocations: 228.1 kB / 476.8 MB, free: 6.324 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.739e-05/0.1512, allocations: 35.64 kB / 476.8 MB, free: 6.289 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.732e-05/0.1513, allocations: 25.7 kB / 476.8 MB, free: 6.258 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001877/0.1515, allocations: 366.8 kB / 477.2 MB, free: 5.891 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.561e-05/0.1516, allocations: 27.98 kB / 477.2 MB, free: 5.863 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000113/0.1517, allocations: 67.34 kB / 477.3 MB, free: 5.785 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001829/0.1519, allocations: 91.86 kB / 477.4 MB, free: 5.684 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.241e-06/0.1519, allocations: 7.875 kB / 477.4 MB, free: 5.676 MB / 350.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003367/0.1522, allocations: 172.9 kB / 477.6 MB, free: 5.5 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.888e-05/0.1523, allocations: 8.062 kB / 477.6 MB, free: 5.492 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.787e-06/0.1523, allocations: 4 kB / 477.6 MB, free: 5.488 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.899e-05/0.1523, allocations: 0 / 477.6 MB, free: 5.488 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000128/0.1524, allocations: 19.98 kB / 477.6 MB, free: 5.469 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.032e-05/0.1525, allocations: 7.938 kB / 477.6 MB, free: 5.461 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001344/0.1526, allocations: 7.906 kB / 477.6 MB, free: 5.453 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.358e-05/0.1526, allocations: 4 kB / 477.6 MB, free: 5.449 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.0002534/0.1529, allocations: 221.7 kB / 477.8 MB, free: 5.223 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.048e-05/0.153, allocations: 47.44 kB / 477.9 MB, free: 5.176 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.386e-05/0.1531, allocations: 59.84 kB / 477.9 MB, free: 5.113 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.837e-06/0.1531, allocations: 4 kB / 477.9 MB, free: 5.109 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.593e-06/0.1531, allocations: 0 / 477.9 MB, free: 5.109 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.957e-06/0.1531, allocations: 0 / 477.9 MB, free: 5.109 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003486/0.1535, allocations: 333.4 kB / 478.3 MB, free: 4.734 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.457e-06/0.1535, allocations: 0 / 478.3 MB, free: 4.734 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.096e-05/0.1535, allocations: 11.98 kB / 478.3 MB, free: 4.723 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.116e-06/0.1535, allocations: 0 / 478.3 MB, free: 4.723 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.5e-05/0.1535, allocations: 4 kB / 478.3 MB, free: 4.719 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.02e-06/0.1536, allocations: 3.938 kB / 478.3 MB, free: 4.715 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.463e-06/0.1536, allocations: 4 kB / 478.3 MB, free: 4.711 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003694/0.1539, allocations: 209.3 kB / 478.5 MB, free: 4.484 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001447/0.1541, allocations: 136.5 kB / 478.6 MB, free: 4.332 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.136e-05/0.1541, allocations: 8 kB / 478.6 MB, free: 4.324 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.694e-05/0.1542, allocations: 0 / 478.6 MB, free: 4.324 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.869e-05/0.1543, allocations: 15.98 kB / 478.6 MB, free: 4.309 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.118e-05/0.1543, allocations: 8 kB / 478.6 MB, free: 4.301 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0007998/0.1551, allocations: 0.7487 MB / 479.4 MB, free: 3.555 MB / 350.1 MB Notification: Performance of sort global known variables: time 2.1e-07/0.1551, allocations: 0 / 479.4 MB, free: 3.555 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002893/0.1554, allocations: 43.98 kB / 479.4 MB, free: 3.512 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.001545/0.157, allocations: 1.049 MB / 480.5 MB, free: 2.594 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002543/0.1573, allocations: 83.89 kB / 480.6 MB, free: 2.512 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.575e-06/0.1573, allocations: 0 / 480.6 MB, free: 2.512 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001203/0.1574, allocations: 43.92 kB / 480.6 MB, free: 2.469 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004337/0.1578, allocations: 68.03 kB / 480.7 MB, free: 2.402 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005741/0.1636, allocations: 4.581 MB / 485.3 MB, free: 13.71 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004245/0.164, allocations: 0.8391 MB / 486.1 MB, free: 12.84 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001392/0.1642, allocations: 54.94 kB / 486.2 MB, free: 12.79 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001802/0.1644, allocations: 143.4 kB / 486.3 MB, free: 12.65 MB / 366.1 MB Notification: Performance of SimCode: time 7.91e-07/0.1644, allocations: 0 / 486.3 MB, free: 12.65 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.366/0.5304, allocations: 8.337 MB / 494.6 MB, free: 4.441 MB / 366.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002991/0.5308, allocations: 234.9 kB / 494.9 MB, free: 4.188 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.063/2.594, allocations: 3.938 kB / 494.9 MB, free: 4.184 MB / 366.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test69.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test69.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test69.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test69.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test69_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test69_fmu --startTime=0 --stopTime=8000 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test69.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test69.pipe 2>&1)