Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test1.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.001944/0.001944, 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.002219/0.002219, allocations: 213.7 kB / 23.77 MB, free: 4.551 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.713/1.713, allocations: 207.7 MB / 234.6 MB, free: 9.789 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.2348/0.2348, allocations: 44.27 MB / 331.1 MB, free: 9.32 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.Test1,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test1",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test1,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test1",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: 67.89 kB / 468.3 MB, free: 4.309 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.131/0.1332, allocations: 61.05 MB / 0.517 GB, free: 7.129 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test1): time 0.004075/0.1373, allocations: 1.674 MB / 0.5186 GB, free: 5.441 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001508/0.1388, allocations: 0.7855 MB / 0.5194 GB, free: 4.648 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.016e-05/0.1389, allocations: 0 / 0.5194 GB, free: 4.648 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003497/0.1392, allocations: 47.77 kB / 0.5194 GB, free: 4.602 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002587/0.1395, allocations: 67.75 kB / 0.5195 GB, free: 4.535 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002986/0.1398, allocations: 91.75 kB / 0.5196 GB, free: 4.445 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002223/0.14, allocations: 99.69 kB / 0.5197 GB, free: 4.348 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001179/0.1401, allocations: 12.16 kB / 0.5197 GB, free: 4.336 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.685e-05/0.1402, allocations: 39.84 kB / 0.5197 GB, free: 4.297 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001011/0.1403, allocations: 35.78 kB / 0.5198 GB, free: 4.262 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.342e-05/0.1403, allocations: 4 kB / 0.5198 GB, free: 4.258 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001106/0.1405, allocations: 43.98 kB / 0.5198 GB, free: 4.215 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 7.994e-05/0.1405, allocations: 31.86 kB / 0.5198 GB, free: 4.184 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 6.626e-05/0.1406, allocations: 31.73 kB / 0.5199 GB, free: 4.152 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002849/0.1409, allocations: 131.4 kB / 0.52 GB, free: 4.023 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.512e-06/0.1409, allocations: 0 / 0.52 GB, free: 4.023 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.734e-06/0.1409, allocations: 0 / 0.52 GB, free: 4.023 MB / 398.1 MB Notification: Performance of Transformations before backend: time 7.224e-06/0.1409, allocations: 0 / 0.52 GB, free: 4.023 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.000659/0.1416, allocations: 365.4 kB / 0.5203 GB, free: 3.637 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.574e-05/0.1416, allocations: 8.031 kB / 0.5203 GB, free: 3.629 MB / 398.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.776e-05/0.1416, allocations: 192 / 0.5203 GB, free: 3.629 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.419e-05/0.1417, allocations: 34.75 kB / 0.5204 GB, free: 3.586 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.683e-05/0.1417, allocations: 16.84 kB / 0.5204 GB, free: 3.57 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002966/0.142, allocations: 162 kB / 0.5206 GB, free: 3.387 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.543e-05/0.142, allocations: 8.125 kB / 0.5206 GB, free: 3.379 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.11e-05/0.142, allocations: 0 / 0.5206 GB, free: 3.379 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001631/0.1422, allocations: 61.66 kB / 0.5206 GB, free: 3.312 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.219e-05/0.1422, allocations: 0 / 0.5206 GB, free: 3.312 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.257e-06/0.1422, allocations: 0 / 0.5206 GB, free: 3.312 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.837e-06/0.1422, allocations: 0 / 0.5206 GB, free: 3.312 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.78e-05/0.1423, allocations: 27.92 kB / 0.5206 GB, free: 3.285 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004427/0.1428, allocations: 260 kB / 0.5209 GB, free: 2.988 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001988/0.143, allocations: 66.61 kB / 0.521 GB, free: 2.914 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.983e-05/0.143, allocations: 20.84 kB / 0.521 GB, free: 2.891 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.512e-05/0.143, allocations: 0 / 0.521 GB, free: 2.891 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001698/0.1432, allocations: 67.39 kB / 0.521 GB, free: 2.812 MB / 398.1 MB Notification: Performance of pre-optimization done (n=6): time 1.283e-06/0.1432, allocations: 0 / 0.521 GB, free: 2.812 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0006187/0.1438, allocations: 193.5 kB / 0.5212 GB, free: 2.617 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.702e-05/0.1439, allocations: 51.41 kB / 0.5213 GB, free: 2.555 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002821/0.1442, allocations: 271.4 kB / 0.5215 GB, free: 2.273 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.203e-05/0.1442, allocations: 29.7 kB / 0.5216 GB, free: 2.238 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.69e-05/0.1443, allocations: 120.1 kB / 0.5217 GB, free: 2.117 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.31e-05/0.1443, allocations: 27.73 kB / 0.5217 GB, free: 2.09 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.582e-05/0.1443, allocations: 25.7 kB / 0.5217 GB, free: 2.059 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001477/0.1445, allocations: 326.8 kB / 0.522 GB, free: 1.73 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.454e-05/0.1446, allocations: 20.05 kB / 0.5221 GB, free: 1.711 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.212e-05/0.1446, allocations: 37.7 kB / 0.5221 GB, free: 1.668 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001229/0.1447, allocations: 61.7 kB / 0.5222 GB, free: 1.602 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.51e-07/0.1447, allocations: 0 / 0.5222 GB, free: 1.602 MB / 398.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002097/0.145, allocations: 121.5 kB / 0.5223 GB, free: 1.477 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.518e-05/0.145, allocations: 8 kB / 0.5223 GB, free: 1.469 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.643e-06/0.145, allocations: 3.984 kB / 0.5223 GB, free: 1.465 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.356e-05/0.145, allocations: 0 / 0.5223 GB, free: 1.465 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.735e-05/0.1451, allocations: 19.92 kB / 0.5223 GB, free: 1.445 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.777e-06/0.1451, allocations: 7.938 kB / 0.5223 GB, free: 1.438 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.418e-05/0.1451, allocations: 0 / 0.5223 GB, free: 1.438 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.048e-05/0.1452, allocations: 4 kB / 0.5223 GB, free: 1.434 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.0001203/0.1453, allocations: 133.8 kB / 0.5224 GB, free: 1.293 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.722e-05/0.1453, allocations: 15.91 kB / 0.5225 GB, free: 1.277 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002724/0.1456, allocations: 131 kB / 0.5226 GB, free: 1.141 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.15e-06/0.1456, allocations: 4 kB / 0.5226 GB, free: 1.137 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.983e-06/0.1456, allocations: 3.938 kB / 0.5226 GB, free: 1.133 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.155e-06/0.1456, allocations: 0 / 0.5226 GB, free: 1.133 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005148/0.1461, allocations: 374.4 kB / 0.5229 GB, free: 0.7148 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.753e-06/0.1461, allocations: 0 / 0.5229 GB, free: 0.7148 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.396e-05/0.1462, allocations: 11.98 kB / 0.523 GB, free: 0.7031 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.581e-06/0.1462, allocations: 11.88 kB / 0.523 GB, free: 0.6914 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.189e-05/0.1462, allocations: 0 / 0.523 GB, free: 0.6914 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.643e-06/0.1462, allocations: 32 / 0.523 GB, free: 0.6914 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.094e-06/0.1462, allocations: 4 kB / 0.523 GB, free: 0.6875 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002797/0.1465, allocations: 220.5 kB / 0.5232 GB, free: 464 kB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.774e-05/0.1465, allocations: 23.83 kB / 0.5232 GB, free: 440 kB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.477e-05/0.1465, allocations: 0 / 0.5232 GB, free: 440 kB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.675e-05/0.1466, allocations: 4 kB / 0.5232 GB, free: 436 kB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.181e-05/0.1466, allocations: 7.984 kB / 0.5232 GB, free: 428 kB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.534e-05/0.1466, allocations: 7.938 kB / 0.5232 GB, free: 420 kB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001993/0.1468, allocations: 203.3 kB / 0.5234 GB, free: 216 kB / 398.1 MB Notification: Performance of sort global known variables: time 9e-08/0.1468, allocations: 0 / 0.5234 GB, free: 216 kB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002694/0.1471, allocations: 27.92 kB / 0.5234 GB, free: 188 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.002342/0.1494, allocations: 1.125 MB / 0.5245 GB, free: 15.08 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0001967/0.1496, allocations: 55.92 kB / 0.5246 GB, free: 15.03 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.344e-06/0.1496, allocations: 8 kB / 0.5246 GB, free: 15.02 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 8.661e-05/0.1497, allocations: 31.98 kB / 0.5246 GB, free: 14.99 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003979/0.1501, allocations: 43.48 kB / 0.5247 GB, free: 14.95 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002077/0.1522, allocations: 1.824 MB / 0.5265 GB, free: 13.03 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001081/0.1523, allocations: 109.8 kB / 0.5266 GB, free: 12.9 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 5.476e-05/0.1524, allocations: 12.56 kB / 0.5266 GB, free: 12.89 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.977e-05/0.1525, allocations: 47.41 kB / 0.5266 GB, free: 12.84 MB / 414.1 MB Notification: Performance of SimCode: time 4.81e-07/0.1525, allocations: 0 / 0.5266 GB, free: 12.84 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0237/0.1762, allocations: 4.06 MB / 0.5306 GB, free: 8.672 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.48/11.65, allocations: 8 kB / 0.5306 GB, free: 8.664 MB / 414.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test1.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test1.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test1.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test1.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test1_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test1_fmu --startTime=0 --stopTime=2.5 --stepSize=0.000498107 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test1.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test1.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 15.282934159971774] Failed to read output from testmodel.py, exit status != 0: ['time', 't_new.y[1]', 'd_t_new.y'] 11.869027312961407 12.105531763 11.961761608 Calling exit ...