Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test29.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.001412/0.001412, allocations: 109 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.001681/0.001681, allocations: 207.6 kB / 23.78 MB, free: 4.688 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.762/1.762, allocations: 207.6 MB / 234.5 MB, free: 9.992 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.2548/0.2548, allocations: 44.23 MB / 331.1 MB, free: 9.523 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.Test29,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test29",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test29,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test29",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.00229/0.00229, allocations: 66.88 kB / 468.3 MB, free: 4.461 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.136/0.1383, allocations: 61.05 MB / 0.517 GB, free: 7.266 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test29): time 0.003562/0.1418, allocations: 1.709 MB / 0.5186 GB, free: 5.543 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001491/0.1433, allocations: 0.8362 MB / 0.5195 GB, free: 4.699 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.746e-05/0.1434, allocations: 0 / 0.5195 GB, free: 4.699 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003371/0.1437, allocations: 43.77 kB / 0.5195 GB, free: 4.656 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002273/0.1439, allocations: 51.77 kB / 0.5196 GB, free: 4.605 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002731/0.1442, allocations: 83.75 kB / 0.5196 GB, free: 4.523 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001851/0.1444, allocations: 99.64 kB / 0.5197 GB, free: 4.426 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001234/0.1445, allocations: 20.19 kB / 0.5197 GB, free: 4.406 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000102/0.1446, allocations: 39.8 kB / 0.5198 GB, free: 4.367 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.609e-05/0.1447, allocations: 31.84 kB / 0.5198 GB, free: 4.336 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.809e-05/0.1447, allocations: 8 kB / 0.5198 GB, free: 4.328 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.485e-05/0.1448, allocations: 35.98 kB / 0.5199 GB, free: 4.293 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.017e-05/0.1449, allocations: 23.86 kB / 0.5199 GB, free: 4.27 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.866e-05/0.145, allocations: 35.73 kB / 0.5199 GB, free: 4.234 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002125/0.1452, allocations: 115.6 kB / 0.52 GB, free: 4.121 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.368e-06/0.1452, allocations: 0 / 0.52 GB, free: 4.121 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.542e-06/0.1452, allocations: 0 / 0.52 GB, free: 4.121 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.362e-06/0.1452, allocations: 0 / 0.52 GB, free: 4.121 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.0005673/0.1457, allocations: 329.7 kB / 0.5203 GB, free: 3.77 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.821e-05/0.1458, allocations: 11.97 kB / 0.5204 GB, free: 3.758 MB / 398.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.461e-05/0.1458, allocations: 8.188 kB / 0.5204 GB, free: 3.75 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.776e-05/0.1458, allocations: 42.73 kB / 0.5204 GB, free: 3.699 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.352e-05/0.1459, allocations: 12.84 kB / 0.5204 GB, free: 3.688 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002948/0.1462, allocations: 154.3 kB / 0.5206 GB, free: 3.512 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.22e-05/0.1462, allocations: 4.125 kB / 0.5206 GB, free: 3.508 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.106e-05/0.1462, allocations: 0 / 0.5206 GB, free: 3.508 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001618/0.1464, allocations: 57.67 kB / 0.5206 GB, free: 3.445 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.104e-05/0.1464, allocations: 3.938 kB / 0.5206 GB, free: 3.441 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.167e-06/0.1464, allocations: 4 kB / 0.5206 GB, free: 3.438 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.99e-06/0.1464, allocations: 0 / 0.5206 GB, free: 3.438 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.847e-05/0.1465, allocations: 19.98 kB / 0.5206 GB, free: 3.418 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004414/0.1469, allocations: 259.8 kB / 0.5209 GB, free: 3.121 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001773/0.1471, allocations: 54.67 kB / 0.5209 GB, free: 3.059 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.796e-05/0.1471, allocations: 20.86 kB / 0.521 GB, free: 3.035 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.314e-05/0.1472, allocations: 4 kB / 0.521 GB, free: 3.031 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001735/0.1473, allocations: 75.27 kB / 0.521 GB, free: 2.945 MB / 398.1 MB Notification: Performance of pre-optimization done (n=6): time 1.262e-06/0.1473, allocations: 0 / 0.521 GB, free: 2.945 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005763/0.1479, allocations: 165.5 kB / 0.5212 GB, free: 2.777 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.908e-05/0.148, allocations: 55.34 kB / 0.5213 GB, free: 2.711 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000205/0.1482, allocations: 202 kB / 0.5214 GB, free: 2.504 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.021e-05/0.1482, allocations: 25.7 kB / 0.5215 GB, free: 2.473 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.124e-05/0.1483, allocations: 100.1 kB / 0.5216 GB, free: 2.371 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.494e-05/0.1483, allocations: 23.8 kB / 0.5216 GB, free: 2.348 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.761e-05/0.1484, allocations: 29.7 kB / 0.5216 GB, free: 2.312 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001554/0.1485, allocations: 322.8 kB / 0.5219 GB, free: 1.988 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.824e-05/0.1486, allocations: 16 kB / 0.5219 GB, free: 1.973 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.799e-05/0.1487, allocations: 37.7 kB / 0.522 GB, free: 1.93 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001209/0.1488, allocations: 61.64 kB / 0.522 GB, free: 1.863 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.82e-07/0.1488, allocations: 0 / 0.522 GB, free: 1.863 MB / 398.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001884/0.149, allocations: 109.6 kB / 0.5221 GB, free: 1.75 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.38e-05/0.149, allocations: 4 kB / 0.5221 GB, free: 1.746 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.88e-06/0.149, allocations: 0 / 0.5221 GB, free: 1.746 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.888e-05/0.149, allocations: 4 kB / 0.5221 GB, free: 1.742 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.924e-05/0.1491, allocations: 20.25 kB / 0.5222 GB, free: 1.723 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.255e-06/0.1491, allocations: 7.969 kB / 0.5222 GB, free: 1.715 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.025e-05/0.1492, allocations: 11.98 kB / 0.5222 GB, free: 1.703 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.572e-06/0.1492, allocations: 0 / 0.5222 GB, free: 1.703 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.0001146/0.1493, allocations: 125.8 kB / 0.5223 GB, free: 1.57 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.22e-05/0.1493, allocations: 7.953 kB / 0.5223 GB, free: 1.562 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002496/0.1496, allocations: 114.3 kB / 0.5224 GB, free: 1.441 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.555e-06/0.1496, allocations: 0 / 0.5224 GB, free: 1.441 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.3e-06/0.1496, allocations: 7.938 kB / 0.5224 GB, free: 1.434 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.458e-06/0.1496, allocations: 4 kB / 0.5224 GB, free: 1.43 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004686/0.15, allocations: 362.5 kB / 0.5228 GB, free: 1.023 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.473e-06/0.15, allocations: 0 / 0.5228 GB, free: 1.023 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.456e-05/0.1501, allocations: 15.92 kB / 0.5228 GB, free: 1.008 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.226e-06/0.1501, allocations: 11.92 kB / 0.5228 GB, free: 0.9961 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.899e-06/0.1501, allocations: 0 / 0.5228 GB, free: 0.9961 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.513e-06/0.1501, allocations: 0 / 0.5228 GB, free: 0.9961 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.1501, allocations: 0 / 0.5228 GB, free: 0.9961 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002432/0.1503, allocations: 200.4 kB / 0.523 GB, free: 0.7812 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.072e-05/0.1504, allocations: 19.78 kB / 0.523 GB, free: 0.7617 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.887e-05/0.1504, allocations: 11.98 kB / 0.523 GB, free: 0.75 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.614e-05/0.1505, allocations: 0 / 0.523 GB, free: 0.75 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.995e-05/0.1505, allocations: 7.984 kB / 0.523 GB, free: 0.7422 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.45e-05/0.1505, allocations: 4 kB / 0.523 GB, free: 0.7383 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001299/0.1506, allocations: 143.2 kB / 0.5232 GB, free: 0.5977 MB / 398.1 MB Notification: Performance of sort global known variables: time 5e-08/0.1506, allocations: 0 / 0.5232 GB, free: 0.5977 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002569/0.1509, allocations: 23.92 kB / 0.5232 GB, free: 0.5742 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.002178/0.1531, allocations: 1.093 MB / 0.5243 GB, free: 15.51 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0001825/0.1533, allocations: 55.95 kB / 0.5243 GB, free: 15.45 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.883e-06/0.1533, allocations: 0 / 0.5243 GB, free: 15.45 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 7.071e-05/0.1533, allocations: 27.92 kB / 0.5243 GB, free: 15.43 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003421/0.1537, allocations: 32.05 kB / 0.5244 GB, free: 15.39 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002065/0.1557, allocations: 1.634 MB / 0.526 GB, free: 13.66 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003784/0.1561, allocations: 0.7079 MB / 0.5267 GB, free: 12.93 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 5.481e-05/0.1562, allocations: 25.27 kB / 0.5267 GB, free: 12.91 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.258e-05/0.1562, allocations: 31.42 kB / 0.5267 GB, free: 12.88 MB / 414.1 MB Notification: Performance of SimCode: time 2.81e-07/0.1562, allocations: 0 / 0.5267 GB, free: 12.88 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02401/0.1802, allocations: 3.574 MB / 0.5302 GB, free: 9.211 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.19/11.37, allocations: 9 kB / 0.5302 GB, free: 9.203 MB / 414.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test29.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test29.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test29.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test29.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test29_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test29_fmu --startTime=0 --stopTime=2.5 --stepSize=0.0004996 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test29.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test29.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 15.069240325014107] Failed to read output from testmodel.py, exit status != 0: ['time', 't_new.y[1]', 'd_t_new.y'] 11.605634475010447 11.859618686 11.711468159 Calling exit ...