Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test14.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001419/0.001419, allocations: 110.2 kB / 19.69 MB, free: 2.203 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001527/0.001527, allocations: 223.3 kB / 23.01 MB, free: 5.039 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.435/1.435, allocations: 207.6 MB / 233.8 MB, free: 9.988 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2141/0.2141, allocations: 44.23 MB / 330.3 MB, free: 9.527 MB / 270.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test14,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test14",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test14,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test14",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002229/0.002229, allocations: 67.91 kB / 467.6 MB, free: 4.461 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1198/0.1221, allocations: 61.05 MB / 0.5162 GB, free: 7.277 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test14): time 0.003582/0.1257, allocations: 2.028 MB / 0.5182 GB, free: 5.234 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001556/0.1272, allocations: 0.9129 MB / 0.5191 GB, free: 4.312 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.574e-05/0.1273, allocations: 4 kB / 0.5191 GB, free: 4.309 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002984/0.1276, allocations: 51.64 kB / 0.5191 GB, free: 4.258 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002428/0.1278, allocations: 71.61 kB / 0.5192 GB, free: 4.188 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003213/0.1282, allocations: 127.6 kB / 0.5193 GB, free: 4.062 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002771/0.1284, allocations: 191.5 kB / 0.5195 GB, free: 3.875 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001049/0.1285, allocations: 25.78 kB / 0.5195 GB, free: 3.848 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001606/0.1287, allocations: 91.56 kB / 0.5196 GB, free: 3.758 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001283/0.1288, allocations: 71.69 kB / 0.5197 GB, free: 3.688 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.933e-05/0.1289, allocations: 16 kB / 0.5197 GB, free: 3.672 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000106/0.129, allocations: 59.91 kB / 0.5198 GB, free: 3.613 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.713e-05/0.129, allocations: 35.84 kB / 0.5198 GB, free: 3.578 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 9.315e-05/0.1291, allocations: 71.55 kB / 0.5199 GB, free: 3.508 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002926/0.1294, allocations: 195.2 kB / 0.52 GB, free: 3.316 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.226e-06/0.1294, allocations: 3.938 kB / 0.5201 GB, free: 3.312 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.173e-06/0.1294, allocations: 0 / 0.5201 GB, free: 3.312 MB / 398.1 MB Notification: Performance of Transformations before backend: time 4.899e-06/0.1294, allocations: 0 / 0.5201 GB, free: 3.312 MB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 17 * Number of variables: 17 Notification: Performance of Generate backend data structure: time 0.0009004/0.1303, allocations: 496.5 kB / 0.5205 GB, free: 2.785 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.556e-05/0.1304, allocations: 8.031 kB / 0.5205 GB, free: 2.777 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.058e-05/0.1304, allocations: 38.75 kB / 0.5206 GB, free: 2.73 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.011e-05/0.1305, allocations: 20.84 kB / 0.5206 GB, free: 2.711 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003061/0.1308, allocations: 191.1 kB / 0.5208 GB, free: 2.496 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.792e-05/0.1308, allocations: 8.375 kB / 0.5208 GB, free: 2.488 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.043e-05/0.1308, allocations: 15.86 kB / 0.5208 GB, free: 2.473 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004326/0.1312, allocations: 148.2 kB / 0.5209 GB, free: 2.312 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.098e-05/0.1313, allocations: 4 kB / 0.5209 GB, free: 2.309 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.793e-05/0.1313, allocations: 4 kB / 0.5209 GB, free: 2.305 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.769e-06/0.1313, allocations: 0 / 0.5209 GB, free: 2.305 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004323/0.1317, allocations: 115.8 kB / 0.5211 GB, free: 2.191 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006961/0.1324, allocations: 0.5117 MB / 0.5216 GB, free: 1.629 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006474/0.1331, allocations: 158.6 kB / 0.5217 GB, free: 1.465 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002499/0.1333, allocations: 72.8 kB / 0.5218 GB, free: 1.391 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.401e-05/0.1333, allocations: 0 / 0.5218 GB, free: 1.391 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003771/0.1337, allocations: 143.2 kB / 0.5219 GB, free: 1.238 MB / 398.1 MB Notification: Performance of pre-optimization done (n=12): time 1.433e-06/0.1337, allocations: 0 / 0.5219 GB, free: 1.238 MB / 398.1 MB Notification: Performance of matching and sorting (n=12): time 0.0008729/0.1346, allocations: 261.2 kB / 0.5222 GB, free: 0.9766 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.083e-05/0.1346, allocations: 59.39 kB / 0.5222 GB, free: 0.9062 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002373/0.1349, allocations: 216.3 kB / 0.5224 GB, free: 0.6875 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.909e-05/0.1349, allocations: 33.7 kB / 0.5225 GB, free: 0.6484 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001008/0.135, allocations: 128.4 kB / 0.5226 GB, free: 0.5195 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.728e-05/0.1351, allocations: 39.62 kB / 0.5226 GB, free: 492 kB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.885e-05/0.1351, allocations: 37.7 kB / 0.5227 GB, free: 448 kB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001739/0.1353, allocations: 334.8 kB / 0.523 GB, free: 104 kB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002452/0.1355, allocations: 63.94 kB / 0.523 GB, free: 40 kB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002999/0.1358, allocations: 101.3 kB / 0.5231 GB, free: 15.93 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004921/0.1363, allocations: 197.8 kB / 0.5233 GB, free: 15.71 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.983e-06/0.1363, allocations: 4 kB / 0.5233 GB, free: 15.71 MB / 414.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0006257/0.137, allocations: 259 kB / 0.5236 GB, free: 15.44 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.046e-05/0.137, allocations: 33.7 kB / 0.5236 GB, free: 15.4 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.069e-06/0.137, allocations: 3.938 kB / 0.5236 GB, free: 15.4 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.781e-05/0.137, allocations: 3.938 kB / 0.5236 GB, free: 15.39 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001898/0.1372, allocations: 44.08 kB / 0.5236 GB, free: 15.35 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.182e-06/0.1372, allocations: 0 / 0.5236 GB, free: 15.35 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001739/0.1374, allocations: 23.94 kB / 0.5237 GB, free: 15.33 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.768e-05/0.1374, allocations: 11.98 kB / 0.5237 GB, free: 15.32 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 11 ($PRE.t_new.nextTimeEvent,$whenCondition2,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,trapezoid1.count,$PRE.trapezoid1.count,trapezoid1.T_start,$PRE.trapezoid1.T_start,$whenCondition1,err1.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (18): * Single equations (assignments): 17 * Array equations: 0 * Algorithm blocks: 1 * 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.0001286/0.1375, allocations: 138.7 kB / 0.5238 GB, free: 15.17 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.145e-05/0.1376, allocations: 15.91 kB / 0.5238 GB, free: 15.16 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006049/0.1382, allocations: 210.9 kB / 0.524 GB, free: 14.94 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.973e-06/0.1382, allocations: 7.922 kB / 0.524 GB, free: 14.93 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.611e-06/0.1382, allocations: 4 kB / 0.524 GB, free: 14.93 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.025e-06/0.1382, allocations: 0 / 0.524 GB, free: 14.93 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002114/0.1384, allocations: 196.6 kB / 0.5242 GB, free: 14.7 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.499e-06/0.1384, allocations: 3.984 kB / 0.5242 GB, free: 14.69 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001472/0.1386, allocations: 31.92 kB / 0.5243 GB, free: 14.66 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.823e-06/0.1386, allocations: 0 / 0.5243 GB, free: 14.66 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.365e-05/0.1386, allocations: 7.984 kB / 0.5243 GB, free: 14.65 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.19e-06/0.1386, allocations: 11.88 kB / 0.5243 GB, free: 14.64 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.42e-07/0.1386, allocations: 0 / 0.5243 GB, free: 14.64 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008426/0.1394, allocations: 300.9 kB / 0.5246 GB, free: 14.33 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.012e-05/0.1395, allocations: 15.84 kB / 0.5246 GB, free: 14.31 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.28e-05/0.1395, allocations: 4 kB / 0.5246 GB, free: 14.31 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001822/0.1397, allocations: 23.91 kB / 0.5246 GB, free: 14.29 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.434e-05/0.1398, allocations: 19.97 kB / 0.5246 GB, free: 14.27 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.97e-05/0.1398, allocations: 4 kB / 0.5246 GB, free: 14.26 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.00016/0.1399, allocations: 167.6 kB / 0.5248 GB, free: 14.1 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.1399, allocations: 4 kB / 0.5248 GB, free: 14.09 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002577/0.1402, allocations: 39.89 kB / 0.5248 GB, free: 14.05 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (err1.y) * Number of discrete variables: 6 ($whenCondition2,$whenCondition1,trapezoid1.T_start,trapezoid1.count,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 3 (trapezoid1.count,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (12): * Single equations (assignments): 8 * 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.002537/0.1427, allocations: 1.145 MB / 0.526 GB, free: 12.93 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.000607/0.1433, allocations: 211.4 kB / 0.5262 GB, free: 12.71 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.785e-06/0.1433, allocations: 0 / 0.5262 GB, free: 12.71 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002721/0.1436, allocations: 75.94 kB / 0.5262 GB, free: 12.63 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003274/0.1439, allocations: 47.89 kB / 0.5263 GB, free: 12.59 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003446/0.1474, allocations: 2.154 MB / 0.5284 GB, free: 10.32 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003967/0.1478, allocations: 0.732 MB / 0.5291 GB, free: 9.559 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 9.866e-05/0.1479, allocations: 17.48 kB / 0.5291 GB, free: 9.543 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00012/0.148, allocations: 51.42 kB / 0.5292 GB, free: 9.496 MB / 414.1 MB Notification: Performance of SimCode: time 1.032e-06/0.148, allocations: 0 / 0.5292 GB, free: 9.496 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03416/0.1822, allocations: 5.183 MB / 0.5342 GB, free: 4.219 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.93/11.11, allocations: 7.938 kB / 0.5342 GB, free: 4.211 MB / 414.1 MB " [Timeout remaining time 649] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test14.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test14.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test14.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test14.sim & python3 -m fmpy simulate --output-file ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test14_res.csv --start-time 0 --stop-time 2 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.00039968 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test14.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test14.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 14.331781417000457] Failed to read output from testmodel.py, exit status != 0: ['time', 'err1.y', 'trapezoid1.T_start', 'trapezoid1.count'] 11.27219917000184 11.487507463 11.355398718 Calling exit ...