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.001476/0.001476, allocations: 101.9 kB / 20.48 MB, free: 1.383 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.001613/0.001613, allocations: 213.8 kB / 23.77 MB, free: 4.551 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.717/1.717, allocations: 207.7 MB / 234.6 MB, free: 9.797 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.2472/0.2472, allocations: 44.27 MB / 331.1 MB, free: 9.328 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.Test14,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test14",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test14,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test14",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.002128/0.002128, allocations: 79.89 kB / 468.3 MB, free: 4.301 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.128/0.1301, allocations: 61.04 MB / 0.517 GB, free: 7.133 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test14): time 0.003637/0.1338, allocations: 1.965 MB / 0.5189 GB, free: 5.152 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001487/0.1353, allocations: 0.8507 MB / 0.5197 GB, free: 4.293 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.445e-05/0.1353, allocations: 3.938 kB / 0.5197 GB, free: 4.289 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003176/0.1357, allocations: 51.69 kB / 0.5198 GB, free: 4.238 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000241/0.1359, allocations: 79.55 kB / 0.5198 GB, free: 4.16 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003024/0.1362, allocations: 123.7 kB / 0.52 GB, free: 4.039 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002854/0.1365, allocations: 195.4 kB / 0.5201 GB, free: 3.848 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001134/0.1366, allocations: 25.78 kB / 0.5202 GB, free: 3.82 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001425/0.1368, allocations: 87.62 kB / 0.5203 GB, free: 3.734 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001266/0.1369, allocations: 79.62 kB / 0.5203 GB, free: 3.656 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 3.349e-05/0.1369, allocations: 12 kB / 0.5203 GB, free: 3.645 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001074/0.137, allocations: 55.97 kB / 0.5204 GB, free: 3.59 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 8.515e-05/0.1371, allocations: 35.84 kB / 0.5204 GB, free: 3.555 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 8.989e-05/0.1372, allocations: 63.59 kB / 0.5205 GB, free: 3.492 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002957/0.1375, allocations: 191.2 kB / 0.5207 GB, free: 3.305 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.67e-06/0.1375, allocations: 4 kB / 0.5207 GB, free: 3.301 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.162e-06/0.1375, allocations: 3.938 kB / 0.5207 GB, free: 3.297 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.34e-06/0.1375, allocations: 0 / 0.5207 GB, free: 3.297 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.0009366/0.1384, allocations: 0.4888 MB / 0.5212 GB, free: 2.766 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.086e-05/0.1385, allocations: 8.031 kB / 0.5212 GB, free: 2.758 MB / 398.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.511e-05/0.1385, allocations: 4.125 kB / 0.5212 GB, free: 2.754 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.259e-05/0.1385, allocations: 42.73 kB / 0.5212 GB, free: 2.703 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.381e-05/0.1386, allocations: 16.84 kB / 0.5212 GB, free: 2.688 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003319/0.1389, allocations: 183.2 kB / 0.5214 GB, free: 2.48 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.308e-05/0.1389, allocations: 12.12 kB / 0.5214 GB, free: 2.469 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.805e-05/0.139, allocations: 4 kB / 0.5214 GB, free: 2.465 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004559/0.1394, allocations: 181.8 kB / 0.5216 GB, free: 2.266 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.037e-06/0.1394, allocations: 0 / 0.5216 GB, free: 2.266 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.806e-05/0.1395, allocations: 4 kB / 0.5216 GB, free: 2.262 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.151e-05/0.1395, allocations: 4 kB / 0.5216 GB, free: 2.258 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004597/0.1399, allocations: 115.8 kB / 0.5217 GB, free: 2.145 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000672/0.1406, allocations: 0.4922 MB / 0.5222 GB, free: 1.602 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006681/0.1413, allocations: 158.5 kB / 0.5223 GB, free: 1.438 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002466/0.1415, allocations: 80.78 kB / 0.5224 GB, free: 1.355 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.07e-05/0.1415, allocations: 0 / 0.5224 GB, free: 1.355 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004107/0.142, allocations: 161 kB / 0.5226 GB, free: 1.18 MB / 398.1 MB Notification: Performance of pre-optimization done (n=12): time 1.322e-06/0.142, allocations: 0 / 0.5226 GB, free: 1.18 MB / 398.1 MB Notification: Performance of matching and sorting (n=12): time 0.0009164/0.1429, allocations: 281.1 kB / 0.5228 GB, free: 0.8984 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.666e-05/0.1429, allocations: 51.41 kB / 0.5229 GB, free: 0.8359 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002606/0.1432, allocations: 224.3 kB / 0.5231 GB, free: 0.6094 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.97e-05/0.1432, allocations: 29.69 kB / 0.5231 GB, free: 0.5742 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001187/0.1433, allocations: 128.4 kB / 0.5233 GB, free: 456 kB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.952e-05/0.1434, allocations: 43.67 kB / 0.5233 GB, free: 412 kB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.505e-05/0.1435, allocations: 37.7 kB / 0.5233 GB, free: 368 kB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001866/0.1437, allocations: 326.8 kB / 0.5236 GB, free: 32 kB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003003/0.144, allocations: 97.64 kB / 0.5237 GB, free: 15.93 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002992/0.1443, allocations: 133.9 kB / 0.5239 GB, free: 15.78 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004993/0.1448, allocations: 201.8 kB / 0.5241 GB, free: 15.56 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.204e-06/0.1448, allocations: 0 / 0.5241 GB, free: 15.56 MB / 414.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0006648/0.1454, allocations: 284.8 kB / 0.5243 GB, free: 15.26 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.441e-05/0.1455, allocations: 38.75 kB / 0.5244 GB, free: 15.22 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.207e-06/0.1455, allocations: 4 kB / 0.5244 GB, free: 15.21 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.65e-05/0.1455, allocations: 3.938 kB / 0.5244 GB, free: 15.21 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001816/0.1457, allocations: 43.91 kB / 0.5244 GB, free: 15.17 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.742e-06/0.1457, allocations: 0 / 0.5244 GB, free: 15.17 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001788/0.1459, allocations: 27.86 kB / 0.5244 GB, free: 15.14 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.209e-05/0.1459, allocations: 15.94 kB / 0.5245 GB, free: 15.12 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.0001466/0.146, allocations: 134.7 kB / 0.5246 GB, free: 14.98 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.371e-05/0.1461, allocations: 23.89 kB / 0.5246 GB, free: 14.96 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006402/0.1467, allocations: 214.9 kB / 0.5248 GB, free: 14.74 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.649e-06/0.1467, allocations: 4 kB / 0.5248 GB, free: 14.74 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.558e-06/0.1467, allocations: 0 / 0.5248 GB, free: 14.74 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.336e-06/0.1467, allocations: 0 / 0.5248 GB, free: 14.74 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002337/0.147, allocations: 188.6 kB / 0.525 GB, free: 14.51 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.082e-06/0.147, allocations: 0 / 0.525 GB, free: 14.51 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001601/0.1471, allocations: 35.91 kB / 0.525 GB, free: 14.48 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.993e-06/0.1471, allocations: 0 / 0.525 GB, free: 14.48 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.914e-05/0.1471, allocations: 7.938 kB / 0.525 GB, free: 14.47 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.353e-06/0.1471, allocations: 0 / 0.525 GB, free: 14.47 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-06/0.1471, allocations: 0 / 0.525 GB, free: 14.47 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008857/0.148, allocations: 317.1 kB / 0.5253 GB, free: 14.14 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.213e-05/0.1481, allocations: 19.89 kB / 0.5254 GB, free: 14.12 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.836e-05/0.1481, allocations: 11.92 kB / 0.5254 GB, free: 14.11 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001615/0.1483, allocations: 19.97 kB / 0.5254 GB, free: 14.09 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.884e-05/0.1483, allocations: 15.97 kB / 0.5254 GB, free: 14.07 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.133e-05/0.1484, allocations: 8 kB / 0.5254 GB, free: 14.07 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001668/0.1485, allocations: 171.5 kB / 0.5256 GB, free: 13.9 MB / 414.1 MB Notification: Performance of sort global known variables: time 7e-08/0.1485, allocations: 0 / 0.5256 GB, free: 13.9 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.000256/0.1488, allocations: 40 kB / 0.5256 GB, free: 13.86 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 (13): * Single equations (assignments): 9 * 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.00264/0.1514, allocations: 1.177 MB / 0.5268 GB, free: 12.71 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.000645/0.1521, allocations: 252.8 kB / 0.527 GB, free: 12.44 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.946e-06/0.1521, allocations: 0 / 0.527 GB, free: 12.44 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002725/0.1523, allocations: 79.86 kB / 0.5271 GB, free: 12.36 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003472/0.1527, allocations: 51.62 kB / 0.5271 GB, free: 12.32 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00357/0.1563, allocations: 2.291 MB / 0.5294 GB, free: 9.887 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001228/0.1564, allocations: 112.1 kB / 0.5295 GB, free: 9.758 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001109/0.1565, allocations: 25.48 kB / 0.5295 GB, free: 9.734 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001185/0.1566, allocations: 51.42 kB / 0.5295 GB, free: 9.684 MB / 414.1 MB Notification: Performance of SimCode: time 6.91e-07/0.1566, allocations: 4 kB / 0.5296 GB, free: 9.68 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02758/0.1842, allocations: 5.46 MB / 0.5349 GB, free: 4.105 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.52/11.71, allocations: 0 / 0.5349 GB, free: 4.105 MB / 414.1 MB " [Timeout remaining time 648] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test14_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test14_fmu --startTime=0 --stopTime=2 --stepSize=0.00039968 --timeout=50 --tolerance=1e-06 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: 15.409260779968463] Failed to read output from testmodel.py, exit status != 0: ['time', 'err1.y', 'trapezoid1.T_start', 'trapezoid1.count'] 11.93654232902918 12.173420557 12.032327211 Calling exit ...