Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test6.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.001245/0.001245, allocations: 100.4 kB / 20.48 MB, free: 1.367 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.001403/0.001403, allocations: 211.6 kB / 23.78 MB, free: 4.523 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.455/1.455, allocations: 207.7 MB / 234.6 MB, free: 9.777 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.2369/0.2369, allocations: 44.26 MB / 331.1 MB, free: 9.309 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.Test6,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test6",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test6,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test6",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.002151/0.002151, allocations: 67.91 kB / 468.3 MB, free: 4.301 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1368/0.139, allocations: 61.05 MB / 0.517 GB, free: 7.125 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test6): time 0.004168/0.1431, allocations: 1.678 MB / 0.5186 GB, free: 5.434 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001616/0.1447, allocations: 0.7856 MB / 0.5194 GB, free: 4.641 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.809e-05/0.1448, allocations: 0 / 0.5194 GB, free: 4.641 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000391/0.1452, allocations: 51.75 kB / 0.5194 GB, free: 4.59 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003142/0.1455, allocations: 63.75 kB / 0.5195 GB, free: 4.527 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003076/0.1458, allocations: 91.77 kB / 0.5196 GB, free: 4.438 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002067/0.146, allocations: 95.69 kB / 0.5197 GB, free: 4.344 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001154/0.1462, allocations: 12.16 kB / 0.5197 GB, free: 4.332 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.315e-05/0.1462, allocations: 35.91 kB / 0.5197 GB, free: 4.297 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.859e-05/0.1463, allocations: 43.72 kB / 0.5198 GB, free: 4.254 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.366e-05/0.1464, allocations: 4 kB / 0.5198 GB, free: 4.25 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001052/0.1465, allocations: 39.98 kB / 0.5198 GB, free: 4.211 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 7.521e-05/0.1465, allocations: 31.91 kB / 0.5198 GB, free: 4.18 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.992e-05/0.1466, allocations: 31.75 kB / 0.5199 GB, free: 4.148 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002694/0.1469, allocations: 135.4 kB / 0.52 GB, free: 4.016 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.37e-06/0.1469, allocations: 0 / 0.52 GB, free: 4.016 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.934e-06/0.1469, allocations: 0 / 0.52 GB, free: 4.016 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.703e-06/0.1469, allocations: 0 / 0.52 GB, free: 4.016 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.0006606/0.1475, allocations: 373.3 kB / 0.5203 GB, free: 3.621 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.478e-05/0.1476, allocations: 8.031 kB / 0.5204 GB, free: 3.613 MB / 398.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.691e-05/0.1476, allocations: 4.188 kB / 0.5204 GB, free: 3.609 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.749e-05/0.1477, allocations: 34.75 kB / 0.5204 GB, free: 3.566 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.93e-05/0.1477, allocations: 24.78 kB / 0.5204 GB, free: 3.543 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003132/0.148, allocations: 155.2 kB / 0.5206 GB, free: 3.363 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.72e-05/0.148, allocations: 8.125 kB / 0.5206 GB, free: 3.355 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.279e-05/0.1481, allocations: 4 kB / 0.5206 GB, free: 3.352 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001756/0.1482, allocations: 65.59 kB / 0.5206 GB, free: 3.281 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.189e-05/0.1482, allocations: 0 / 0.5206 GB, free: 3.281 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.047e-05/0.1483, allocations: 0 / 0.5206 GB, free: 3.281 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.839e-06/0.1483, allocations: 4 kB / 0.5206 GB, free: 3.277 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.181e-05/0.1483, allocations: 19.98 kB / 0.5207 GB, free: 3.258 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004267/0.1488, allocations: 263.9 kB / 0.5209 GB, free: 2.957 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001965/0.149, allocations: 62.61 kB / 0.521 GB, free: 2.887 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.015e-05/0.149, allocations: 20.84 kB / 0.521 GB, free: 2.863 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.871e-05/0.149, allocations: 4 kB / 0.521 GB, free: 2.859 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001699/0.1492, allocations: 63.39 kB / 0.5211 GB, free: 2.785 MB / 398.1 MB Notification: Performance of pre-optimization done (n=6): time 1.373e-06/0.1492, allocations: 0 / 0.5211 GB, free: 2.785 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0006452/0.1499, allocations: 189.3 kB / 0.5212 GB, free: 2.594 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.763e-05/0.1499, allocations: 55.41 kB / 0.5213 GB, free: 2.527 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003133/0.1502, allocations: 283.7 kB / 0.5216 GB, free: 2.238 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.949e-05/0.1502, allocations: 33.7 kB / 0.5216 GB, free: 2.199 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.632e-05/0.1503, allocations: 116.1 kB / 0.5217 GB, free: 2.082 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.264e-05/0.1504, allocations: 23.84 kB / 0.5217 GB, free: 2.059 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.518e-05/0.1504, allocations: 21.72 kB / 0.5217 GB, free: 2.031 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001563/0.1506, allocations: 326.8 kB / 0.5221 GB, free: 1.703 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.715e-05/0.1506, allocations: 23.98 kB / 0.5221 GB, free: 1.68 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.289e-05/0.1507, allocations: 37.64 kB / 0.5221 GB, free: 1.637 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001241/0.1508, allocations: 65.64 kB / 0.5222 GB, free: 1.566 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.02e-07/0.1508, allocations: 0 / 0.5222 GB, free: 1.566 MB / 398.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002129/0.1511, allocations: 113.5 kB / 0.5223 GB, free: 1.449 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.546e-05/0.1511, allocations: 8 kB / 0.5223 GB, free: 1.441 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.459e-06/0.1511, allocations: 0 / 0.5223 GB, free: 1.441 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.329e-05/0.1511, allocations: 0 / 0.5223 GB, free: 1.441 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.477e-05/0.1512, allocations: 16 kB / 0.5223 GB, free: 1.426 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.026e-06/0.1512, allocations: 7.938 kB / 0.5223 GB, free: 1.418 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.96e-05/0.1512, allocations: 7.938 kB / 0.5223 GB, free: 1.41 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.107e-05/0.1512, allocations: 7.984 kB / 0.5223 GB, free: 1.402 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.0001302/0.1514, allocations: 137.8 kB / 0.5225 GB, free: 1.258 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.782e-05/0.1514, allocations: 20.12 kB / 0.5225 GB, free: 1.238 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002743/0.1517, allocations: 127.1 kB / 0.5226 GB, free: 1.105 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.103e-06/0.1517, allocations: 0 / 0.5226 GB, free: 1.105 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.433e-06/0.1517, allocations: 3.938 kB / 0.5226 GB, free: 1.102 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.875e-06/0.1517, allocations: 0 / 0.5226 GB, free: 1.102 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005108/0.1522, allocations: 390.8 kB / 0.523 GB, free: 0.668 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.422e-06/0.1522, allocations: 0 / 0.523 GB, free: 0.668 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.19e-05/0.1522, allocations: 12 kB / 0.523 GB, free: 0.6562 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.828e-06/0.1523, allocations: 3.938 kB / 0.523 GB, free: 0.6523 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.342e-05/0.1523, allocations: 8.016 kB / 0.523 GB, free: 0.6445 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.523e-06/0.1523, allocations: 4 kB / 0.523 GB, free: 0.6406 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.1523, allocations: 0 / 0.523 GB, free: 0.6406 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002648/0.1525, allocations: 212.2 kB / 0.5232 GB, free: 424 kB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.597e-05/0.1526, allocations: 23.78 kB / 0.5232 GB, free: 400 kB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.604e-05/0.1526, allocations: 4 kB / 0.5232 GB, free: 396 kB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.525e-05/0.1527, allocations: 3.984 kB / 0.5232 GB, free: 392 kB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.376e-05/0.1527, allocations: 4 kB / 0.5232 GB, free: 388 kB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.064e-05/0.1527, allocations: 11.98 kB / 0.5233 GB, free: 376 kB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001978/0.1529, allocations: 209.5 kB / 0.5235 GB, free: 168 kB / 398.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.1529, allocations: 0 / 0.5235 GB, free: 168 kB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002961/0.1532, allocations: 27.98 kB / 0.5235 GB, free: 140 kB / 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 (9): * Single equations (assignments): 7 * 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.002385/0.1556, allocations: 1.137 MB / 0.5246 GB, free: 15.02 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002169/0.1558, allocations: 63.91 kB / 0.5247 GB, free: 14.96 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 4.789e-06/0.1558, allocations: 4 kB / 0.5247 GB, free: 14.96 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 8.119e-05/0.1559, allocations: 27.92 kB / 0.5247 GB, free: 14.93 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003692/0.1563, allocations: 31.25 kB / 0.5247 GB, free: 14.9 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002279/0.1586, allocations: 1.851 MB / 0.5265 GB, free: 12.96 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001255/0.1587, allocations: 113.2 kB / 0.5266 GB, free: 12.83 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 5.593e-05/0.1587, allocations: 16.78 kB / 0.5266 GB, free: 12.81 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.958e-05/0.1588, allocations: 39.53 kB / 0.5267 GB, free: 12.77 MB / 414.1 MB Notification: Performance of SimCode: time 7.62e-07/0.1588, allocations: 3.938 kB / 0.5267 GB, free: 12.77 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02576/0.1846, allocations: 4.117 MB / 0.5307 GB, free: 8.535 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.74/11.93, allocations: 8.062 kB / 0.5307 GB, free: 8.527 MB / 414.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test6.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test6.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test6.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test6.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test6_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test6_fmu --startTime=0 --stopTime=2.5 --stepSize=0.00049781 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test6.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test6.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 15.091422145953402] Failed to read output from testmodel.py, exit status != 0: ['time', 't_new.y[1]', 'd_t_new.y'] 12.146675696014427 12.332538218 12.182842543 Calling exit ...