Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test45.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.00161/0.00161, 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.002248/0.002248, allocations: 211.6 kB / 23.77 MB, free: 4.555 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.753/1.753, allocations: 207.7 MB / 234.6 MB, free: 9.785 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.2438/0.2438, allocations: 44.26 MB / 331.1 MB, free: 9.316 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.Test45,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test45",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test45,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test45",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.002247/0.002247, allocations: 75.84 kB / 468.3 MB, free: 4.305 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1396/0.1419, allocations: 61.05 MB / 0.517 GB, free: 7.129 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test45): time 0.003224/0.1451, allocations: 1.686 MB / 0.5186 GB, free: 5.43 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001385/0.1465, allocations: 0.7778 MB / 0.5194 GB, free: 4.645 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.938e-05/0.1465, allocations: 4 kB / 0.5194 GB, free: 4.641 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003435/0.1469, allocations: 43.77 kB / 0.5194 GB, free: 4.598 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002299/0.1471, allocations: 55.75 kB / 0.5195 GB, free: 4.543 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002492/0.1474, allocations: 83.78 kB / 0.5196 GB, free: 4.461 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001813/0.1476, allocations: 103.6 kB / 0.5197 GB, free: 4.359 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.118e-05/0.1476, allocations: 8.219 kB / 0.5197 GB, free: 4.352 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.481e-05/0.1477, allocations: 39.86 kB / 0.5197 GB, free: 4.312 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.989e-05/0.1478, allocations: 43.77 kB / 0.5197 GB, free: 4.27 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.108e-05/0.1478, allocations: 4 kB / 0.5197 GB, free: 4.266 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.51e-05/0.1479, allocations: 36 kB / 0.5198 GB, free: 4.23 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.285e-05/0.148, allocations: 19.92 kB / 0.5198 GB, free: 4.211 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.896e-05/0.1481, allocations: 35.72 kB / 0.5198 GB, free: 4.176 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002254/0.1483, allocations: 111.6 kB / 0.5199 GB, free: 4.066 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.489e-06/0.1483, allocations: 0 / 0.5199 GB, free: 4.066 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.072e-06/0.1483, allocations: 0 / 0.5199 GB, free: 4.066 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.69e-06/0.1483, allocations: 3.938 kB / 0.5199 GB, free: 4.062 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.0005614/0.1489, allocations: 349.6 kB / 0.5203 GB, free: 3.691 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.039e-05/0.1489, allocations: 12.03 kB / 0.5203 GB, free: 3.68 MB / 398.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.255e-05/0.1489, allocations: 192 / 0.5203 GB, free: 3.68 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.447e-05/0.1489, allocations: 34.75 kB / 0.5203 GB, free: 3.637 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.565e-05/0.149, allocations: 8.891 kB / 0.5203 GB, free: 3.629 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002629/0.1492, allocations: 151 kB / 0.5205 GB, free: 3.457 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.545e-05/0.1493, allocations: 4.125 kB / 0.5205 GB, free: 3.453 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.373e-05/0.1493, allocations: 7.938 kB / 0.5205 GB, free: 3.445 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001781/0.1495, allocations: 57.66 kB / 0.5205 GB, free: 3.383 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.13e-05/0.1495, allocations: 3.938 kB / 0.5205 GB, free: 3.379 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.349e-05/0.1495, allocations: 12 kB / 0.5206 GB, free: 3.367 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.722e-06/0.1495, allocations: 0 / 0.5206 GB, free: 3.367 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.322e-05/0.1496, allocations: 23.98 kB / 0.5206 GB, free: 3.344 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003791/0.15, allocations: 256 kB / 0.5208 GB, free: 3.051 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001971/0.1501, allocations: 58.61 kB / 0.5209 GB, free: 2.984 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.607e-05/0.1502, allocations: 16.86 kB / 0.5209 GB, free: 2.965 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.489e-05/0.1502, allocations: 0 / 0.5209 GB, free: 2.965 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001712/0.1504, allocations: 71.38 kB / 0.521 GB, free: 2.883 MB / 398.1 MB Notification: Performance of pre-optimization done (n=6): time 1.313e-06/0.1504, allocations: 4 kB / 0.521 GB, free: 2.879 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005904/0.151, allocations: 181.3 kB / 0.5211 GB, free: 2.695 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.274e-05/0.151, allocations: 51.41 kB / 0.5212 GB, free: 2.633 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002063/0.1512, allocations: 203.2 kB / 0.5214 GB, free: 2.426 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.069e-05/0.1513, allocations: 25.7 kB / 0.5214 GB, free: 2.395 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.899e-05/0.1513, allocations: 112.1 kB / 0.5215 GB, free: 2.281 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.235e-05/0.1514, allocations: 19.86 kB / 0.5215 GB, free: 2.262 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.436e-05/0.1514, allocations: 21.7 kB / 0.5216 GB, free: 2.234 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001415/0.1516, allocations: 326.8 kB / 0.5219 GB, free: 1.906 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.629e-05/0.1516, allocations: 23.92 kB / 0.5219 GB, free: 1.883 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.519e-05/0.1517, allocations: 41.7 kB / 0.5219 GB, free: 1.836 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001331/0.1518, allocations: 65.69 kB / 0.522 GB, free: 1.766 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.02e-07/0.1518, allocations: 0 / 0.522 GB, free: 1.766 MB / 398.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002046/0.152, allocations: 105.5 kB / 0.5221 GB, free: 1.656 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.45e-05/0.152, allocations: 4 kB / 0.5221 GB, free: 1.652 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.661e-06/0.1521, allocations: 0 / 0.5221 GB, free: 1.652 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.439e-05/0.1521, allocations: 0 / 0.5221 GB, free: 1.652 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001007/0.1522, allocations: 24.16 kB / 0.5221 GB, free: 1.629 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.003e-06/0.1522, allocations: 3.938 kB / 0.5221 GB, free: 1.625 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.461e-05/0.1522, allocations: 7.969 kB / 0.5221 GB, free: 1.617 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.143e-05/0.1522, allocations: 4 kB / 0.5221 GB, free: 1.613 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.0001244/0.1524, allocations: 133.8 kB / 0.5223 GB, free: 1.473 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.282e-05/0.1524, allocations: 7.953 kB / 0.5223 GB, free: 1.465 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002858/0.1527, allocations: 119 kB / 0.5224 GB, free: 1.336 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.398e-06/0.1527, allocations: 4 kB / 0.5224 GB, free: 1.332 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.181e-06/0.1527, allocations: 3.938 kB / 0.5224 GB, free: 1.328 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.809e-06/0.1527, allocations: 3.984 kB / 0.5224 GB, free: 1.324 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005062/0.1532, allocations: 378.3 kB / 0.5228 GB, free: 0.9023 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.804e-06/0.1532, allocations: 384 / 0.5228 GB, free: 0.9023 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.472e-05/0.1532, allocations: 11.98 kB / 0.5228 GB, free: 0.8906 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.47e-06/0.1532, allocations: 3.938 kB / 0.5228 GB, free: 0.8867 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.854e-05/0.1533, allocations: 8 kB / 0.5228 GB, free: 0.8789 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.733e-06/0.1533, allocations: 0 / 0.5228 GB, free: 0.8789 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.333e-06/0.1533, allocations: 0 / 0.5228 GB, free: 0.8789 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002624/0.1535, allocations: 212.5 kB / 0.523 GB, free: 0.6523 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.931e-05/0.1535, allocations: 23.78 kB / 0.523 GB, free: 0.6289 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.283e-05/0.1536, allocations: 0 / 0.523 GB, free: 0.6289 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.811e-05/0.1536, allocations: 8.031 kB / 0.523 GB, free: 0.6211 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.346e-05/0.1537, allocations: 7.984 kB / 0.523 GB, free: 0.6133 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.981e-05/0.1537, allocations: 8 kB / 0.523 GB, free: 0.6055 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001332/0.1538, allocations: 152.9 kB / 0.5232 GB, free: 468 kB / 398.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.1538, allocations: 0 / 0.5232 GB, free: 468 kB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002661/0.1541, allocations: 23.98 kB / 0.5232 GB, free: 444 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.002402/0.1565, allocations: 1.144 MB / 0.5243 GB, free: 15.31 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002127/0.1567, allocations: 59.91 kB / 0.5244 GB, free: 15.25 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.034e-06/0.1567, allocations: 0 / 0.5244 GB, free: 15.25 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 8.663e-05/0.1568, allocations: 27.98 kB / 0.5244 GB, free: 15.23 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003745/0.1572, allocations: 31.58 kB / 0.5244 GB, free: 15.2 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002005/0.1592, allocations: 1.678 MB / 0.5261 GB, free: 13.43 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001086/0.1593, allocations: 88.19 kB / 0.5262 GB, free: 13.32 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 5.43e-05/0.1594, allocations: 16.78 kB / 0.5262 GB, free: 13.3 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.279e-05/0.1594, allocations: 35.42 kB / 0.5262 GB, free: 13.27 MB / 414.1 MB Notification: Performance of SimCode: time 2.81e-07/0.1594, allocations: 0 / 0.5262 GB, free: 13.27 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02412/0.1836, allocations: 3.786 MB / 0.5299 GB, free: 9.367 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.28/11.47, allocations: 7.922 kB / 0.5299 GB, free: 9.359 MB / 414.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test45.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test45.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test45.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test45.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test45_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test45_fmu --startTime=0 --stopTime=2.5 --stepSize=0.000499301 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test45.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test45.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 15.200904641998932] Failed to read output from testmodel.py, exit status != 0: ['time', 't_new.y[1]', 'd_t_new.y'] 11.679658230976202 11.901898152 11.750827609 Calling exit ...