Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test25.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.001596/0.001596, allocations: 105.2 kB / 20.48 MB, free: 1.484 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.001971/0.001971, allocations: 220.5 kB / 23.79 MB, free: 4.695 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.639/1.639, allocations: 207.6 MB / 234.6 MB, free: 10 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.2456/0.2456, allocations: 44.24 MB / 331.1 MB, free: 9.531 MB / 270.1 MB " [Timeout remaining time 179] 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.Test25,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test25",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test25,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test25",fmuType="cs",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.00266/0.00266, allocations: 68.38 kB / 468.3 MB, free: 4.473 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1516/0.1542, allocations: 61.06 MB / 0.517 GB, free: 7.281 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test25): time 0.004105/0.1583, allocations: 1.717 MB / 0.5187 GB, free: 5.551 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001746/0.1601, allocations: 0.8284 MB / 0.5195 GB, free: 4.715 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001154/0.1602, allocations: 0 / 0.5195 GB, free: 4.715 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003538/0.1605, allocations: 43.75 kB / 0.5195 GB, free: 4.672 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002988/0.1608, allocations: 59.77 kB / 0.5196 GB, free: 4.613 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003624/0.1612, allocations: 91.69 kB / 0.5197 GB, free: 4.523 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002439/0.1614, allocations: 95.7 kB / 0.5197 GB, free: 4.43 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001113/0.1616, allocations: 8.219 kB / 0.5197 GB, free: 4.422 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001386/0.1617, allocations: 47.77 kB / 0.5198 GB, free: 4.375 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001026/0.1618, allocations: 27.86 kB / 0.5198 GB, free: 4.348 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.163e-05/0.1618, allocations: 4 kB / 0.5198 GB, free: 4.344 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001318/0.162, allocations: 43.92 kB / 0.5199 GB, free: 4.301 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 7.117e-05/0.162, allocations: 27.91 kB / 0.5199 GB, free: 4.273 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 7.568e-05/0.1621, allocations: 35.73 kB / 0.5199 GB, free: 4.238 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002627/0.1624, allocations: 111.6 kB / 0.52 GB, free: 4.129 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.737e-06/0.1624, allocations: 3.938 kB / 0.52 GB, free: 4.125 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.283e-06/0.1624, allocations: 0 / 0.52 GB, free: 4.125 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.843e-06/0.1624, allocations: 4 kB / 0.52 GB, free: 4.121 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0006419/0.163, allocations: 341.5 kB / 0.5204 GB, free: 3.758 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.642e-05/0.1631, allocations: 12.03 kB / 0.5204 GB, free: 3.746 MB / 398.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.215e-05/0.1631, allocations: 4.188 kB / 0.5204 GB, free: 3.742 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.221e-05/0.1631, allocations: 42.67 kB / 0.5204 GB, free: 3.691 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.444e-05/0.1632, allocations: 8.891 kB / 0.5204 GB, free: 3.684 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00035/0.1635, allocations: 159 kB / 0.5206 GB, free: 3.504 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.039e-05/0.1636, allocations: 8.125 kB / 0.5206 GB, free: 3.496 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.208e-05/0.1636, allocations: 0 / 0.5206 GB, free: 3.496 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001885/0.1638, allocations: 53.67 kB / 0.5206 GB, free: 3.438 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.285e-05/0.1638, allocations: 0 / 0.5206 GB, free: 3.438 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.15e-05/0.1638, allocations: 0 / 0.5206 GB, free: 3.438 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.791e-06/0.1638, allocations: 4 kB / 0.5206 GB, free: 3.434 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.456e-05/0.1639, allocations: 23.92 kB / 0.5207 GB, free: 3.41 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004484/0.1643, allocations: 256 kB / 0.5209 GB, free: 3.117 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002036/0.1645, allocations: 54.67 kB / 0.521 GB, free: 3.055 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.828e-05/0.1646, allocations: 16.86 kB / 0.521 GB, free: 3.035 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.861e-05/0.1646, allocations: 0 / 0.521 GB, free: 3.035 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001897/0.1648, allocations: 79.31 kB / 0.5211 GB, free: 2.945 MB / 398.1 MB Notification: Performance of pre-optimization done (n=6): time 1.403e-06/0.1648, allocations: 0 / 0.5211 GB, free: 2.945 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0006106/0.1654, allocations: 173.3 kB / 0.5212 GB, free: 2.77 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.682e-05/0.1655, allocations: 51.41 kB / 0.5213 GB, free: 2.707 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00023/0.1657, allocations: 203.2 kB / 0.5215 GB, free: 2.5 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.378e-05/0.1657, allocations: 33.62 kB / 0.5215 GB, free: 2.461 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.921e-05/0.1658, allocations: 104.1 kB / 0.5216 GB, free: 2.355 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.167e-05/0.1658, allocations: 27.83 kB / 0.5216 GB, free: 2.328 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.936e-05/0.1659, allocations: 21.72 kB / 0.5216 GB, free: 2.301 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001701/0.1661, allocations: 322.8 kB / 0.522 GB, free: 1.977 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.635e-05/0.1661, allocations: 23.98 kB / 0.522 GB, free: 1.953 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.961e-05/0.1662, allocations: 34.08 kB / 0.522 GB, free: 1.914 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000135/0.1663, allocations: 65.7 kB / 0.5221 GB, free: 1.844 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.824e-06/0.1663, allocations: 4 kB / 0.5221 GB, free: 1.84 MB / 398.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002214/0.1666, allocations: 101.6 kB / 0.5222 GB, free: 1.734 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.762e-05/0.1666, allocations: 4 kB / 0.5222 GB, free: 1.73 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.02e-05/0.1666, allocations: 4.188 kB / 0.5222 GB, free: 1.727 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.53e-05/0.1666, allocations: 0 / 0.5222 GB, free: 1.727 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001008/0.1667, allocations: 23.86 kB / 0.5222 GB, free: 1.703 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.739e-05/0.1667, allocations: 3.938 kB / 0.5222 GB, free: 1.699 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.912e-05/0.1668, allocations: 4 kB / 0.5222 GB, free: 1.695 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.237e-05/0.1668, allocations: 12.03 kB / 0.5222 GB, free: 1.684 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 5 ($PRE.t_new.nextTimeEvent,$whenCondition1,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (10): * Single equations (assignments): 10 * 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.0001295/0.1669, allocations: 125.8 kB / 0.5223 GB, free: 1.551 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.553e-05/0.1669, allocations: 7.953 kB / 0.5223 GB, free: 1.543 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002742/0.1672, allocations: 126.9 kB / 0.5225 GB, free: 1.406 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.535e-06/0.1672, allocations: 0 / 0.5225 GB, free: 1.406 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.895e-06/0.1672, allocations: 3.938 kB / 0.5225 GB, free: 1.402 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.597e-06/0.1672, allocations: 0 / 0.5225 GB, free: 1.402 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005141/0.1677, allocations: 366.4 kB / 0.5228 GB, free: 0.9922 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.354e-06/0.1677, allocations: 0 / 0.5228 GB, free: 0.9922 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.636e-05/0.1678, allocations: 8 kB / 0.5228 GB, free: 0.9844 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.18e-06/0.1678, allocations: 3.938 kB / 0.5228 GB, free: 0.9805 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.5e-05/0.1678, allocations: 7.984 kB / 0.5228 GB, free: 0.9727 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.154e-06/0.1678, allocations: 0 / 0.5228 GB, free: 0.9727 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.1678, allocations: 0 / 0.5228 GB, free: 0.9727 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000271/0.1681, allocations: 208.3 kB / 0.523 GB, free: 0.75 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.833e-05/0.1681, allocations: 15.84 kB / 0.5231 GB, free: 0.7344 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.647e-05/0.1681, allocations: 4 kB / 0.5231 GB, free: 0.7305 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.069e-05/0.1682, allocations: 7.922 kB / 0.5231 GB, free: 0.7227 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.778e-05/0.1682, allocations: 8 kB / 0.5231 GB, free: 0.7148 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.719e-05/0.1683, allocations: 4 kB / 0.5231 GB, free: 0.7109 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001436/0.1684, allocations: 152.9 kB / 0.5232 GB, free: 0.5625 MB / 398.1 MB Notification: Performance of sort global known variables: time 9e-08/0.1684, allocations: 0 / 0.5232 GB, free: 0.5625 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002713/0.1687, allocations: 27.98 kB / 0.5232 GB, free: 0.5352 MB / 398.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: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.002359/0.171, allocations: 1.091 MB / 0.5243 GB, free: 15.47 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002007/0.1712, allocations: 51.97 kB / 0.5244 GB, free: 15.42 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.204e-06/0.1712, allocations: 0 / 0.5244 GB, free: 15.42 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 7.837e-05/0.1713, allocations: 31.91 kB / 0.5244 GB, free: 15.39 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000385/0.1717, allocations: 31.98 kB / 0.5244 GB, free: 15.36 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002421/0.1741, allocations: 1.662 MB / 0.526 GB, free: 13.6 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004902/0.1746, allocations: 0.7041 MB / 0.5267 GB, free: 12.87 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 7.082e-05/0.1747, allocations: 25.27 kB / 0.5268 GB, free: 12.84 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.359e-05/0.1748, allocations: 35.42 kB / 0.5268 GB, free: 12.81 MB / 414.1 MB Notification: Performance of SimCode: time 5.11e-07/0.1748, allocations: 0 / 0.5268 GB, free: 12.81 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02707/0.2018, allocations: 3.639 MB / 0.5303 GB, free: 9.078 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.32/11.52, allocations: 1 kB / 0.5303 GB, free: 9.078 MB / 414.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test25.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test25.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test25.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test25.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test25_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test25_fmu --startTime=0 --stopTime=2.5 --stepSize=0.0004995 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test25.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test25.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 15.124522081983741] Failed to read output from testmodel.py, exit status != 0: ['time', 't_new.y[1]', 'd_t_new.y'] 11.736218061996624 11.925432941 11.760063296 Calling exit ...