Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test81.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.001288/0.001288, allocations: 109.2 kB / 20.48 MB, free: 1.477 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.001576/0.001576, allocations: 211.8 kB / 23.79 MB, free: 4.684 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.477/1.477, allocations: 207.6 MB / 234.6 MB, free: 9.969 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.2259/0.2259, allocations: 44.24 MB / 331.1 MB, free: 9.508 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.Test81,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test81",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test81,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test81",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.002142/0.002142, allocations: 67.89 kB / 468.3 MB, free: 4.445 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1176/0.1197, allocations: 61.05 MB / 0.517 GB, free: 7.258 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test81): time 0.005065/0.1248, allocations: 1.791 MB / 0.5187 GB, free: 5.453 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.004034/0.1288, allocations: 1.592 MB / 0.5203 GB, free: 3.852 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001086/0.1289, allocations: 3.938 kB / 0.5203 GB, free: 3.848 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004193/0.1293, allocations: 59.69 kB / 0.5203 GB, free: 3.789 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004583/0.1298, allocations: 87.59 kB / 0.5204 GB, free: 3.703 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006543/0.1304, allocations: 143.7 kB / 0.5206 GB, free: 3.562 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.000392/0.1308, allocations: 187.4 kB / 0.5207 GB, free: 3.379 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.591e-05/0.1309, allocations: 14.02 kB / 0.5208 GB, free: 3.363 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002154/0.1311, allocations: 87.56 kB / 0.5208 GB, free: 3.277 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003016/0.1314, allocations: 67.69 kB / 0.5209 GB, free: 3.211 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 3.43e-05/0.1314, allocations: 8 kB / 0.5209 GB, free: 3.203 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002135/0.1316, allocations: 71.89 kB / 0.521 GB, free: 3.133 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 8.843e-05/0.1317, allocations: 31.86 kB / 0.521 GB, free: 3.102 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001053/0.1318, allocations: 55.66 kB / 0.5211 GB, free: 3.047 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004199/0.1323, allocations: 179.2 kB / 0.5212 GB, free: 2.871 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.188e-06/0.1323, allocations: 4 kB / 0.5212 GB, free: 2.867 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.212e-06/0.1323, allocations: 0 / 0.5212 GB, free: 2.867 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.941e-06/0.1323, allocations: 3.938 kB / 0.5212 GB, free: 2.863 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0008784/0.1332, allocations: 397.2 kB / 0.5216 GB, free: 2.445 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.301e-05/0.1332, allocations: 8.031 kB / 0.5216 GB, free: 2.438 MB / 398.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.021e-05/0.1332, allocations: 4.188 kB / 0.5216 GB, free: 2.434 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.77e-05/0.1333, allocations: 30.75 kB / 0.5217 GB, free: 2.395 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.574e-05/0.1333, allocations: 16.84 kB / 0.5217 GB, free: 2.379 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000501/0.1338, allocations: 189.9 kB / 0.5219 GB, free: 2.168 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.707e-05/0.1339, allocations: 16.11 kB / 0.5219 GB, free: 2.152 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.05e-05/0.1339, allocations: 3.938 kB / 0.5219 GB, free: 2.148 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003248/0.1342, allocations: 93.09 kB / 0.522 GB, free: 2.039 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.788e-06/0.1342, allocations: 0 / 0.522 GB, free: 2.039 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.296e-05/0.1342, allocations: 3.984 kB / 0.522 GB, free: 2.035 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.276e-06/0.1343, allocations: 8 kB / 0.522 GB, free: 2.027 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001897/0.1344, allocations: 31.92 kB / 0.522 GB, free: 1.996 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003398/0.1348, allocations: 181.6 kB / 0.5222 GB, free: 1.773 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004727/0.1353, allocations: 101.2 kB / 0.5223 GB, free: 1.656 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001801/0.1354, allocations: 45.62 kB / 0.5223 GB, free: 1.605 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.157e-05/0.1355, allocations: 0 / 0.5223 GB, free: 1.605 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003489/0.1358, allocations: 105.1 kB / 0.5224 GB, free: 1.484 MB / 398.1 MB Notification: Performance of pre-optimization done (n=10): time 1.904e-06/0.1358, allocations: 4 kB / 0.5224 GB, free: 1.48 MB / 398.1 MB Notification: Performance of matching and sorting (n=10): time 0.0007625/0.1366, allocations: 161.5 kB / 0.5226 GB, free: 1.316 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001128/0.1367, allocations: 132.5 kB / 0.5227 GB, free: 1.156 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000398/0.1371, allocations: 215.8 kB / 0.5229 GB, free: 0.9336 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 3.961e-05/0.1371, allocations: 33.64 kB / 0.5229 GB, free: 0.8945 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001073/0.1372, allocations: 108.1 kB / 0.523 GB, free: 0.7852 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.188e-05/0.1373, allocations: 35.73 kB / 0.5231 GB, free: 0.75 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.447e-05/0.1374, allocations: 29.7 kB / 0.5231 GB, free: 0.7148 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001991/0.1376, allocations: 330.8 kB / 0.5234 GB, free: 392 kB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001563/0.1377, allocations: 27.98 kB / 0.5234 GB, free: 364 kB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002032/0.1379, allocations: 69.12 kB / 0.5235 GB, free: 276 kB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003449/0.1383, allocations: 99.83 kB / 0.5236 GB, free: 164 kB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.427e-06/0.1383, allocations: 0 / 0.5236 GB, free: 164 kB / 398.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0005051/0.1388, allocations: 133.5 kB / 0.5237 GB, free: 24 kB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.817e-05/0.1388, allocations: 4 kB / 0.5237 GB, free: 20 kB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.608e-06/0.1388, allocations: 4 kB / 0.5237 GB, free: 16 kB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.867e-05/0.1388, allocations: 0 / 0.5237 GB, free: 16 kB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002123/0.139, allocations: 27.86 kB / 0.5238 GB, free: 15.99 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.15e-05/0.1391, allocations: 8.062 kB / 0.5238 GB, free: 15.98 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001491/0.1392, allocations: 15.89 kB / 0.5238 GB, free: 15.96 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.833e-05/0.1392, allocations: 4 kB / 0.5238 GB, free: 15.96 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 10 ($PRE.t_new_2.nextTimeEvent,$whenCondition2,t_new_2.nextTimeEventScaled,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEvent,$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 (14): * Single equations (assignments): 14 * 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.0002033/0.1394, allocations: 137.8 kB / 0.5239 GB, free: 15.82 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.147e-05/0.1395, allocations: 15.91 kB / 0.5239 GB, free: 15.8 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005784/0.1401, allocations: 150.7 kB / 0.5241 GB, free: 15.65 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.208e-06/0.1401, allocations: 0 / 0.5241 GB, free: 15.65 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.057e-06/0.1401, allocations: 3.984 kB / 0.5241 GB, free: 15.64 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.13e-06/0.1401, allocations: 4 kB / 0.5241 GB, free: 15.64 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003069/0.1404, allocations: 192.5 kB / 0.5243 GB, free: 15.41 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.6e-06/0.1404, allocations: 4.25 kB / 0.5243 GB, free: 15.41 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.075e-05/0.1405, allocations: 11.94 kB / 0.5243 GB, free: 15.39 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.147e-06/0.1405, allocations: 0 / 0.5243 GB, free: 15.39 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.867e-05/0.1405, allocations: 4 kB / 0.5243 GB, free: 15.39 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.525e-06/0.1405, allocations: 0 / 0.5243 GB, free: 15.39 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.303e-06/0.1405, allocations: 0 / 0.5243 GB, free: 15.39 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00051/0.141, allocations: 185.7 kB / 0.5245 GB, free: 15.19 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.504e-05/0.141, allocations: 11.91 kB / 0.5245 GB, free: 15.18 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.68e-05/0.1411, allocations: 0 / 0.5245 GB, free: 15.18 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001183/0.1412, allocations: 7.984 kB / 0.5245 GB, free: 15.17 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.869e-05/0.1413, allocations: 11.98 kB / 0.5245 GB, free: 15.16 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.928e-05/0.1413, allocations: 4 kB / 0.5245 GB, free: 15.15 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0002713/0.1416, allocations: 157.5 kB / 0.5247 GB, free: 15 MB / 414.1 MB Notification: Performance of sort global known variables: time 2.2e-07/0.1416, allocations: 4 kB / 0.5247 GB, free: 15 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0004897/0.142, allocations: 39.92 kB / 0.5247 GB, free: 14.96 MB / 414.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: 6 ($whenCondition2,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 4 (t_new.nextTimeEvent,t_new.nextTimeEventScaled,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 6 * 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.003459/0.1455, allocations: 1.056 MB / 0.5257 GB, free: 13.92 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0004377/0.1459, allocations: 75.91 kB / 0.5258 GB, free: 13.85 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 3.065e-06/0.1459, allocations: 0 / 0.5258 GB, free: 13.85 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001972/0.1461, allocations: 35.92 kB / 0.5258 GB, free: 13.81 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006198/0.1468, allocations: 51.94 kB / 0.5259 GB, free: 13.76 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003724/0.1505, allocations: 1.813 MB / 0.5277 GB, free: 11.84 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005168/0.151, allocations: 0.7242 MB / 0.5284 GB, free: 11.09 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001469/0.1511, allocations: 29.47 kB / 0.5284 GB, free: 11.06 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001549/0.1513, allocations: 47.41 kB / 0.5284 GB, free: 11.01 MB / 414.1 MB Notification: Performance of SimCode: time 6.51e-07/0.1513, allocations: 4 kB / 0.5284 GB, free: 11.01 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03165/0.183, allocations: 4.94 MB / 0.5333 GB, free: 5.945 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.7/11.88, allocations: 8 kB / 0.5333 GB, free: 5.938 MB / 414.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test81.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test81.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test81.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test81.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test81_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test81_fmu --startTime=0 --stopTime=4 --stepSize=0.000799201 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test81.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test81.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 15.065907737007365] Failed to read output from testmodel.py, exit status != 0: ['time', 't_new.y[1]', 't_new_2.y[1]'] 12.100637304014526 12.337621169 12.202348057 Calling exit ...