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.001076/0.001076, allocations: 111 kB / 17.33 MB, free: 6.016 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.001115/0.001115, allocations: 193.3 kB / 18.25 MB, free: 5.105 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.365/1.365, allocations: 222.9 MB / 241.9 MB, free: 15.45 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.2414/0.2414, allocations: 44.19 MB / 336.3 MB, free: 2.949 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001283/0.001283, allocations: 68.27 kB / 408 MB, free: 27.5 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1342/0.1355, allocations: 60.83 MB / 468.8 MB, free: 14.64 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test69): time 0.003732/0.1393, allocations: 1.846 MB / 470.7 MB, free: 12.78 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001629/0.1409, allocations: 0.9472 MB / 471.6 MB, free: 11.83 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00014/0.1411, allocations: 4 kB / 471.6 MB, free: 11.82 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005324/0.1417, allocations: 291.4 kB / 471.9 MB, free: 11.54 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004037/0.1421, allocations: 195.5 kB / 472.1 MB, free: 11.35 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005103/0.1426, allocations: 147.7 kB / 472.3 MB, free: 11.2 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003984/0.143, allocations: 243.4 kB / 472.5 MB, free: 10.96 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.559e-05/0.1431, allocations: 9.562 kB / 472.5 MB, free: 10.95 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002393/0.1434, allocations: 123.6 kB / 472.6 MB, free: 10.83 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000274/0.1437, allocations: 207.9 kB / 472.8 MB, free: 10.62 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.6e-05/0.1437, allocations: 4 kB / 472.8 MB, free: 10.62 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001614/0.1439, allocations: 43.98 kB / 472.9 MB, free: 10.58 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001682/0.144, allocations: 132.6 kB / 473 MB, free: 10.45 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001817/0.1442, allocations: 146.8 kB / 473.1 MB, free: 10.3 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005359/0.1448, allocations: 358.9 kB / 473.5 MB, free: 9.953 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.245e-06/0.1448, allocations: 0 / 473.5 MB, free: 9.953 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.334e-06/0.1448, allocations: 0 / 473.5 MB, free: 9.953 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.903e-05/0.1448, allocations: 4 kB / 473.5 MB, free: 9.949 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.001283/0.1461, allocations: 0.7075 MB / 474.2 MB, free: 9.191 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.968e-05/0.1462, allocations: 12.03 kB / 474.2 MB, free: 9.18 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.301e-05/0.1463, allocations: 38.73 kB / 474.3 MB, free: 9.133 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001249/0.1464, allocations: 48.28 kB / 474.3 MB, free: 9.086 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006907/0.1471, allocations: 443.8 kB / 474.7 MB, free: 8.613 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.517e-05/0.1471, allocations: 8.297 kB / 474.7 MB, free: 8.605 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.285e-05/0.1471, allocations: 7.938 kB / 474.8 MB, free: 8.598 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002304/0.1474, allocations: 79.38 kB / 474.8 MB, free: 8.508 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.849e-06/0.1474, allocations: 4 kB / 474.8 MB, free: 8.504 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.387e-05/0.1474, allocations: 4 kB / 474.8 MB, free: 8.5 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.493e-06/0.1474, allocations: 3.984 kB / 474.8 MB, free: 8.496 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001228/0.1476, allocations: 31.92 kB / 474.9 MB, free: 8.465 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004604/0.148, allocations: 370.3 kB / 475.2 MB, free: 8.051 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002827/0.1483, allocations: 109.2 kB / 475.3 MB, free: 7.926 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.543e-05/0.1484, allocations: 41.64 kB / 475.4 MB, free: 7.879 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.398e-05/0.1485, allocations: 0 / 475.4 MB, free: 7.879 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003244/0.1488, allocations: 117 kB / 475.5 MB, free: 7.746 MB / 350.1 MB Notification: Performance of pre-optimization done (n=10): time 1.252e-06/0.1488, allocations: 0 / 475.5 MB, free: 7.746 MB / 350.1 MB Notification: Performance of matching and sorting (n=10): time 0.0005161/0.1493, allocations: 197.2 kB / 475.7 MB, free: 7.547 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.782e-05/0.1494, allocations: 77.11 kB / 475.8 MB, free: 7.453 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001138/0.1505, allocations: 1.003 MB / 476.8 MB, free: 6.441 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.232e-05/0.1506, allocations: 33.64 kB / 476.8 MB, free: 6.402 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001514/0.1507, allocations: 232.1 kB / 477 MB, free: 6.172 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.495e-05/0.1508, allocations: 31.64 kB / 477.1 MB, free: 6.141 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.466e-05/0.1509, allocations: 29.7 kB / 477.1 MB, free: 6.105 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001667/0.151, allocations: 366.8 kB / 477.4 MB, free: 5.738 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.841e-05/0.1511, allocations: 23.98 kB / 477.5 MB, free: 5.715 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001071/0.1512, allocations: 65.91 kB / 477.5 MB, free: 5.641 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001853/0.1514, allocations: 91.36 kB / 477.6 MB, free: 5.539 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.699e-06/0.1514, allocations: 3.938 kB / 477.6 MB, free: 5.535 MB / 350.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.000325/0.1518, allocations: 164.9 kB / 477.8 MB, free: 5.367 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.944e-05/0.1518, allocations: 8 kB / 477.8 MB, free: 5.359 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.542e-06/0.1518, allocations: 0 / 477.8 MB, free: 5.359 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.795e-05/0.1518, allocations: 0 / 477.8 MB, free: 5.359 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001275/0.152, allocations: 31.98 kB / 477.8 MB, free: 5.328 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.404e-06/0.152, allocations: 0 / 477.8 MB, free: 5.328 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001143/0.1521, allocations: 11.91 kB / 477.8 MB, free: 5.316 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.259e-05/0.1521, allocations: 4 kB / 477.8 MB, free: 5.312 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.0002396/0.1524, allocations: 222.1 kB / 478.1 MB, free: 5.086 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.665e-05/0.1524, allocations: 47.38 kB / 478.1 MB, free: 5.039 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.741e-05/0.1525, allocations: 59.84 kB / 478.2 MB, free: 4.977 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.288e-06/0.1526, allocations: 11.92 kB / 478.2 MB, free: 4.965 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.544e-06/0.1526, allocations: 8 kB / 478.2 MB, free: 4.957 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.359e-06/0.1526, allocations: 0 / 478.2 MB, free: 4.957 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003036/0.1529, allocations: 329.4 kB / 478.5 MB, free: 4.586 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.157e-06/0.1529, allocations: 7.984 kB / 478.5 MB, free: 4.578 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.963e-05/0.153, allocations: 7.938 kB / 478.5 MB, free: 4.57 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.598e-06/0.153, allocations: 4 kB / 478.5 MB, free: 4.566 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.387e-05/0.153, allocations: 0 / 478.5 MB, free: 4.566 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.645e-06/0.153, allocations: 0 / 478.5 MB, free: 4.566 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.176e-06/0.153, allocations: 4 kB / 478.5 MB, free: 4.562 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003363/0.1533, allocations: 209.2 kB / 478.7 MB, free: 4.336 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001318/0.1535, allocations: 136.5 kB / 478.9 MB, free: 4.184 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.087e-05/0.1535, allocations: 4 kB / 478.9 MB, free: 4.18 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.368e-05/0.1536, allocations: 8 kB / 478.9 MB, free: 4.172 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.931e-05/0.1537, allocations: 7.984 kB / 478.9 MB, free: 4.164 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.045e-05/0.1537, allocations: 4 kB / 478.9 MB, free: 4.16 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0007867/0.1545, allocations: 0.7487 MB / 479.6 MB, free: 3.414 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.1545, allocations: 4 kB / 479.6 MB, free: 3.41 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.000276/0.1548, allocations: 43.98 kB / 479.7 MB, free: 3.367 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.001385/0.1562, allocations: 1.046 MB / 480.7 MB, free: 2.449 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.000254/0.1565, allocations: 91.83 kB / 480.8 MB, free: 2.359 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.524e-06/0.1565, allocations: 0 / 480.8 MB, free: 2.359 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001036/0.1566, allocations: 39.98 kB / 480.9 MB, free: 2.32 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004329/0.157, allocations: 76.09 kB / 480.9 MB, free: 2.258 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00563/0.1627, allocations: 4.583 MB / 485.5 MB, free: 13.57 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004749/0.1632, allocations: 0.8425 MB / 486.4 MB, free: 12.7 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.000139/0.1633, allocations: 59.45 kB / 486.4 MB, free: 12.64 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001714/0.1635, allocations: 147.3 kB / 486.6 MB, free: 12.49 MB / 366.1 MB Notification: Performance of SimCode: time 3.71e-07/0.1635, allocations: 0 / 486.6 MB, free: 12.49 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02032/0.1838, allocations: 8.49 MB / 495 MB, free: 4.137 MB / 366.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001987/0.1841, allocations: 235.1 kB / 495.3 MB, free: 3.883 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.009/2.194, allocations: 0 / 495.3 MB, free: 3.883 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)