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.001377/0.001377, allocations: 104.3 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.00152/0.00152, allocations: 213.6 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.772/1.772, 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.2953/0.2953, allocations: 44.26 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.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.003426/0.003426, allocations: 72.33 kB / 468.3 MB, free: 4.305 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1353/0.1387, allocations: 61.05 MB / 0.517 GB, free: 7.129 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test31): time 0.003693/0.1424, allocations: 1.682 MB / 0.5186 GB, free: 5.434 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001504/0.1439, allocations: 0.7817 MB / 0.5194 GB, free: 4.645 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.819e-05/0.144, allocations: 4 kB / 0.5194 GB, free: 4.641 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003232/0.1443, allocations: 35.77 kB / 0.5194 GB, free: 4.605 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002642/0.1446, allocations: 59.75 kB / 0.5195 GB, free: 4.547 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000287/0.1449, allocations: 83.78 kB / 0.5196 GB, free: 4.465 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.000192/0.145, allocations: 103.7 kB / 0.5197 GB, free: 4.363 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.826e-05/0.1451, allocations: 12.16 kB / 0.5197 GB, free: 4.352 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.38e-05/0.1452, allocations: 35.86 kB / 0.5197 GB, free: 4.316 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.817e-05/0.1453, allocations: 39.77 kB / 0.5197 GB, free: 4.277 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.903e-05/0.1453, allocations: 8 kB / 0.5197 GB, free: 4.27 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.832e-05/0.1454, allocations: 43.98 kB / 0.5198 GB, free: 4.227 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.173e-05/0.1455, allocations: 19.92 kB / 0.5198 GB, free: 4.207 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.035e-05/0.1455, allocations: 27.8 kB / 0.5198 GB, free: 4.18 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000218/0.1458, allocations: 111.5 kB / 0.5199 GB, free: 4.07 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.996e-06/0.1458, allocations: 0 / 0.5199 GB, free: 4.07 MB / 398.1 MB Notification: Performance of FrontEnd: time 9.21e-07/0.1458, allocations: 0 / 0.5199 GB, free: 4.07 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.382e-06/0.1458, allocations: 3.938 kB / 0.5199 GB, free: 4.066 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.0005484/0.1463, allocations: 337.7 kB / 0.5203 GB, free: 3.707 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.155e-05/0.1464, allocations: 8.031 kB / 0.5203 GB, free: 3.699 MB / 398.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.735e-05/0.1464, allocations: 192 / 0.5203 GB, free: 3.699 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.627e-05/0.1464, allocations: 38.75 kB / 0.5203 GB, free: 3.652 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.32e-05/0.1465, allocations: 12.84 kB / 0.5203 GB, free: 3.641 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002812/0.1467, allocations: 146.3 kB / 0.5205 GB, free: 3.473 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.419e-05/0.1468, allocations: 8.125 kB / 0.5205 GB, free: 3.465 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.786e-05/0.1468, allocations: 0 / 0.5205 GB, free: 3.465 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001657/0.1469, allocations: 57.67 kB / 0.5205 GB, free: 3.402 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.159e-05/0.1469, allocations: 0 / 0.5205 GB, free: 3.402 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.748e-06/0.147, allocations: 0 / 0.5205 GB, free: 3.402 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.869e-06/0.147, allocations: 0 / 0.5205 GB, free: 3.402 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.361e-05/0.1471, allocations: 27.97 kB / 0.5205 GB, free: 3.375 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004096/0.1475, allocations: 260 kB / 0.5208 GB, free: 3.078 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001907/0.1477, allocations: 54.62 kB / 0.5208 GB, free: 3.016 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.398e-05/0.1477, allocations: 20.84 kB / 0.5209 GB, free: 2.992 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.328e-05/0.1477, allocations: 0 / 0.5209 GB, free: 2.992 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001988/0.1479, allocations: 75.34 kB / 0.5209 GB, free: 2.906 MB / 398.1 MB Notification: Performance of pre-optimization done (n=6): time 1.343e-06/0.1479, allocations: 0 / 0.5209 GB, free: 2.906 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0006289/0.1486, allocations: 181.3 kB / 0.5211 GB, free: 2.723 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.014e-05/0.1486, allocations: 55.39 kB / 0.5212 GB, free: 2.656 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000212/0.1488, allocations: 198.1 kB / 0.5214 GB, free: 2.453 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.126e-05/0.1488, allocations: 29.7 kB / 0.5214 GB, free: 2.418 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.219e-05/0.1489, allocations: 104.1 kB / 0.5215 GB, free: 2.312 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.189e-05/0.149, allocations: 31.72 kB / 0.5215 GB, free: 2.281 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.682e-05/0.149, allocations: 17.72 kB / 0.5215 GB, free: 2.258 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001765/0.1492, allocations: 326.8 kB / 0.5218 GB, free: 1.93 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.789e-05/0.1493, allocations: 23.98 kB / 0.5219 GB, free: 1.906 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.612e-05/0.1493, allocations: 37.7 kB / 0.5219 GB, free: 1.863 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001323/0.1495, allocations: 61.78 kB / 0.522 GB, free: 1.797 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.022e-06/0.1495, allocations: 4 kB / 0.522 GB, free: 1.793 MB / 398.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002222/0.1497, allocations: 105.5 kB / 0.5221 GB, free: 1.684 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.008e-05/0.1497, allocations: 12.17 kB / 0.5221 GB, free: 1.672 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.41e-06/0.1497, allocations: 0 / 0.5221 GB, free: 1.672 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.462e-05/0.1497, allocations: 3.938 kB / 0.5221 GB, free: 1.668 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.545e-05/0.1498, allocations: 20 kB / 0.5221 GB, free: 1.648 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.116e-06/0.1498, allocations: 3.938 kB / 0.5221 GB, free: 1.645 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.768e-05/0.1499, allocations: 7.922 kB / 0.5221 GB, free: 1.637 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.508e-06/0.1499, allocations: 4 kB / 0.5221 GB, free: 1.633 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.0001199/0.15, allocations: 125.9 kB / 0.5222 GB, free: 1.5 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.58e-05/0.15, allocations: 15.94 kB / 0.5222 GB, free: 1.484 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002725/0.1503, allocations: 118.3 kB / 0.5224 GB, free: 1.359 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.578e-06/0.1503, allocations: 3.984 kB / 0.5224 GB, free: 1.355 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.342e-06/0.1503, allocations: 3.938 kB / 0.5224 GB, free: 1.352 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.556e-06/0.1503, allocations: 0 / 0.5224 GB, free: 1.352 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004977/0.1508, allocations: 366.4 kB / 0.5227 GB, free: 0.9414 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.047e-06/0.1508, allocations: 3.984 kB / 0.5227 GB, free: 0.9375 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.926e-05/0.1509, allocations: 8 kB / 0.5227 GB, free: 0.9297 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.813e-06/0.1509, allocations: 11.97 kB / 0.5227 GB, free: 0.918 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.678e-06/0.1509, allocations: 0 / 0.5227 GB, free: 0.918 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.914e-06/0.1509, allocations: 0 / 0.5227 GB, free: 0.918 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.1509, allocations: 0 / 0.5227 GB, free: 0.918 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002736/0.1512, allocations: 216.3 kB / 0.5229 GB, free: 0.6875 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.29e-05/0.1512, allocations: 15.84 kB / 0.523 GB, free: 0.6719 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.854e-05/0.1512, allocations: 4.375 kB / 0.523 GB, free: 0.668 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.482e-05/0.1513, allocations: 4 kB / 0.523 GB, free: 0.6641 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.134e-05/0.1513, allocations: 11.98 kB / 0.523 GB, free: 0.6523 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.731e-05/0.1513, allocations: 4 kB / 0.523 GB, free: 0.6484 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001928/0.1515, allocations: 151.2 kB / 0.5231 GB, free: 0.5 MB / 398.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1515, allocations: 0 / 0.5231 GB, free: 0.5 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002732/0.1518, allocations: 31.81 kB / 0.5232 GB, free: 480 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.002419/0.1542, allocations: 1.129 MB / 0.5243 GB, free: 15.36 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002229/0.1545, allocations: 55.91 kB / 0.5243 GB, free: 15.31 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 5.029e-06/0.1545, allocations: 4 kB / 0.5243 GB, free: 15.3 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 8.539e-05/0.1545, allocations: 28.14 kB / 0.5243 GB, free: 15.28 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003842/0.1549, allocations: 27.41 kB / 0.5244 GB, free: 15.25 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002572/0.1575, allocations: 1.662 MB / 0.526 GB, free: 13.5 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001353/0.1576, allocations: 96.25 kB / 0.5261 GB, free: 13.38 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 8.414e-05/0.1577, allocations: 16.48 kB / 0.5261 GB, free: 13.36 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.582e-05/0.1578, allocations: 31.42 kB / 0.5261 GB, free: 13.33 MB / 414.1 MB Notification: Performance of SimCode: time 1.262e-06/0.1578, allocations: 0 / 0.5261 GB, free: 13.33 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02432/0.1821, allocations: 3.725 MB / 0.5298 GB, free: 9.492 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.33/11.51, allocations: 8 kB / 0.5298 GB, free: 9.484 MB / 414.1 MB " [Timeout remaining time 648] (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: 15.312534851022065] Failed to read output from testmodel.py, exit status != 0: ['time', 't_new.y[1]', 'd_t_new.y'] 11.730764721054584 11.991778852 11.843170746 Calling exit ...