Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test31.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.00148/0.00148, allocations: 105 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.001651/0.001651, allocations: 213.2 kB / 23.79 MB, free: 4.703 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.725/1.725, allocations: 207.6 MB / 234.6 MB, free: 9.996 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.2656/0.2656, allocations: 44.24 MB / 331.1 MB, free: 9.625 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.Test31,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test31",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test31,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test31",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.002223/0.002223, allocations: 67.89 kB / 468.3 MB, free: 4.5 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1286/0.1309, allocations: 61.05 MB / 0.517 GB, free: 7.309 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test31): time 0.003627/0.1345, allocations: 1.721 MB / 0.5187 GB, free: 5.574 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001556/0.136, allocations: 0.8246 MB / 0.5195 GB, free: 4.742 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.099e-05/0.1361, allocations: 7.938 kB / 0.5195 GB, free: 4.734 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002625/0.1364, allocations: 31.84 kB / 0.5195 GB, free: 4.703 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002048/0.1366, allocations: 63.69 kB / 0.5196 GB, free: 4.641 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002732/0.1368, allocations: 79.77 kB / 0.5196 GB, free: 4.562 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001669/0.137, allocations: 107.7 kB / 0.5197 GB, free: 4.457 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001018/0.1371, allocations: 12.22 kB / 0.5197 GB, free: 4.445 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001014/0.1372, allocations: 43.78 kB / 0.5198 GB, free: 4.402 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.335e-05/0.1373, allocations: 27.84 kB / 0.5198 GB, free: 4.375 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.55e-05/0.1373, allocations: 7.938 kB / 0.5198 GB, free: 4.367 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.029e-05/0.1374, allocations: 39.98 kB / 0.5199 GB, free: 4.328 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.206e-05/0.1375, allocations: 19.92 kB / 0.5199 GB, free: 4.309 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 4.735e-05/0.1375, allocations: 31.75 kB / 0.5199 GB, free: 4.277 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002055/0.1377, allocations: 115.6 kB / 0.52 GB, free: 4.164 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.599e-06/0.1377, allocations: 3.938 kB / 0.52 GB, free: 4.16 MB / 398.1 MB Notification: Performance of FrontEnd: time 8.71e-07/0.1377, allocations: 4 kB / 0.52 GB, free: 4.156 MB / 398.1 MB Notification: Performance of Transformations before backend: time 9.528e-06/0.1377, allocations: 0 / 0.52 GB, free: 4.156 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.0004994/0.1382, allocations: 337.6 kB / 0.5204 GB, free: 3.797 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.257e-05/0.1383, allocations: 12.03 kB / 0.5204 GB, free: 3.785 MB / 398.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 9.538e-06/0.1383, allocations: 192 / 0.5204 GB, free: 3.785 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.809e-05/0.1383, allocations: 34.75 kB / 0.5204 GB, free: 3.742 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.403e-05/0.1383, allocations: 16.78 kB / 0.5204 GB, free: 3.727 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002767/0.1386, allocations: 150.3 kB / 0.5206 GB, free: 3.555 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.869e-05/0.1386, allocations: 12.12 kB / 0.5206 GB, free: 3.543 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.867e-05/0.1387, allocations: 0 / 0.5206 GB, free: 3.543 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001467/0.1388, allocations: 53.67 kB / 0.5206 GB, free: 3.484 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.927e-06/0.1388, allocations: 0 / 0.5206 GB, free: 3.484 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.839e-06/0.1388, allocations: 3.984 kB / 0.5206 GB, free: 3.48 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.39e-06/0.1388, allocations: 4 kB / 0.5206 GB, free: 3.477 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.408e-05/0.1389, allocations: 19.92 kB / 0.5206 GB, free: 3.457 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003534/0.1393, allocations: 255.9 kB / 0.5209 GB, free: 3.164 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000165/0.1394, allocations: 58.67 kB / 0.5209 GB, free: 3.098 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.202e-05/0.1395, allocations: 20.84 kB / 0.521 GB, free: 3.074 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.536e-05/0.1395, allocations: 0 / 0.521 GB, free: 3.074 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001605/0.1397, allocations: 75.28 kB / 0.521 GB, free: 2.988 MB / 398.1 MB Notification: Performance of pre-optimization done (n=6): time 1.172e-06/0.1397, allocations: 4 kB / 0.521 GB, free: 2.984 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0004968/0.1402, allocations: 173.4 kB / 0.5212 GB, free: 2.809 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.047e-05/0.1402, allocations: 51.41 kB / 0.5213 GB, free: 2.746 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001868/0.1404, allocations: 194.1 kB / 0.5214 GB, free: 2.547 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.7e-05/0.1404, allocations: 25.7 kB / 0.5215 GB, free: 2.516 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.188e-05/0.1405, allocations: 100.1 kB / 0.5216 GB, free: 2.414 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.133e-05/0.1405, allocations: 27.78 kB / 0.5216 GB, free: 2.387 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.419e-05/0.1406, allocations: 25.72 kB / 0.5216 GB, free: 2.355 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.000147/0.1407, allocations: 326.8 kB / 0.5219 GB, free: 2.027 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.514e-05/0.1408, allocations: 19.98 kB / 0.5219 GB, free: 2.008 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.659e-05/0.1408, allocations: 37.7 kB / 0.522 GB, free: 1.965 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000111/0.1409, allocations: 53.66 kB / 0.522 GB, free: 1.906 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.72e-07/0.1409, allocations: 0 / 0.522 GB, free: 1.906 MB / 398.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001909/0.1411, allocations: 113.5 kB / 0.5221 GB, free: 1.789 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.379e-05/0.1411, allocations: 4 kB / 0.5221 GB, free: 1.785 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.297e-06/0.1411, allocations: 192 / 0.5221 GB, free: 1.785 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.868e-06/0.1412, allocations: 0 / 0.5221 GB, free: 1.785 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.134e-05/0.1412, allocations: 24.3 kB / 0.5222 GB, free: 1.762 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.571e-06/0.1412, allocations: 3.938 kB / 0.5222 GB, free: 1.758 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.904e-05/0.1413, allocations: 0 / 0.5222 GB, free: 1.758 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.047e-06/0.1413, allocations: 11.94 kB / 0.5222 GB, free: 1.746 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.0001419/0.1414, allocations: 129.8 kB / 0.5223 GB, free: 1.609 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.716e-05/0.1415, allocations: 15.95 kB / 0.5223 GB, free: 1.594 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002335/0.1417, allocations: 114.3 kB / 0.5224 GB, free: 1.473 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.914e-06/0.1417, allocations: 0 / 0.5224 GB, free: 1.473 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.34e-06/0.1417, allocations: 3.938 kB / 0.5224 GB, free: 1.469 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.284e-06/0.1417, allocations: 0 / 0.5224 GB, free: 1.469 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000504/0.1422, allocations: 366.6 kB / 0.5228 GB, free: 1.059 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.633e-06/0.1422, allocations: 0 / 0.5228 GB, free: 1.059 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.296e-05/0.1422, allocations: 8 kB / 0.5228 GB, free: 1.051 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.068e-06/0.1422, allocations: 7.969 kB / 0.5228 GB, free: 1.043 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.936e-05/0.1423, allocations: 8 kB / 0.5228 GB, free: 1.035 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.372e-06/0.1423, allocations: 0 / 0.5228 GB, free: 1.035 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.262e-06/0.1423, allocations: 0 / 0.5228 GB, free: 1.035 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003322/0.1426, allocations: 204.3 kB / 0.523 GB, free: 0.8164 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.567e-05/0.1426, allocations: 19.84 kB / 0.523 GB, free: 0.7969 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.044e-05/0.1426, allocations: 0 / 0.523 GB, free: 0.7969 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.854e-05/0.1427, allocations: 8 kB / 0.523 GB, free: 0.7891 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.236e-05/0.1427, allocations: 7.984 kB / 0.523 GB, free: 0.7812 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.356e-05/0.1428, allocations: 4 kB / 0.523 GB, free: 0.7773 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001471/0.1429, allocations: 143.2 kB / 0.5232 GB, free: 0.6367 MB / 398.1 MB Notification: Performance of sort global known variables: time 6e-08/0.1429, allocations: 0 / 0.5232 GB, free: 0.6367 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002536/0.1432, allocations: 23.94 kB / 0.5232 GB, free: 0.6133 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.002324/0.1455, allocations: 1.093 MB / 0.5243 GB, free: 15.54 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0001914/0.1457, allocations: 59.91 kB / 0.5243 GB, free: 15.48 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.924e-06/0.1457, allocations: 0 / 0.5243 GB, free: 15.48 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 7.616e-05/0.1458, allocations: 27.98 kB / 0.5243 GB, free: 15.46 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003405/0.1461, allocations: 23.92 kB / 0.5244 GB, free: 15.43 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001958/0.148, allocations: 1.635 MB / 0.526 GB, free: 13.7 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003604/0.1484, allocations: 0.704 MB / 0.5267 GB, free: 12.97 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 5.326e-05/0.1485, allocations: 20.95 kB / 0.5267 GB, free: 12.95 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.769e-05/0.1485, allocations: 31.42 kB / 0.5267 GB, free: 12.93 MB / 414.1 MB Notification: Performance of SimCode: time 6.41e-07/0.1485, allocations: 0 / 0.5267 GB, free: 12.93 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02352/0.172, allocations: 3.589 MB / 0.5302 GB, free: 9.242 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.11/11.28, allocations: 8.938 kB / 0.5302 GB, free: 9.234 MB / 414.1 MB " [Timeout remaining time 649] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test31.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test31.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test31.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test31.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test31_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test31_fmu --startTime=0 --stopTime=2.5 --stepSize=0.0004996 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test31.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test31.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 14.988798664999194] Failed to read output from testmodel.py, exit status != 0: ['time', 't_new.y[1]', 'd_t_new.y'] 11.495938220003154 11.761472439 11.620504158 Calling exit ...