Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test47.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.001315/0.001315, allocations: 109 kB / 20.48 MB, free: 1.492 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.001485/0.001485, allocations: 212 kB / 23.79 MB, free: 4.707 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.752/1.752, allocations: 207.6 MB / 234.6 MB, free: 10.01 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.2688/0.2688, allocations: 44.23 MB / 331.1 MB, free: 9.539 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.Test47,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test47",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test47,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test47",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.002209/0.002209, allocations: 67.91 kB / 468.3 MB, free: 4.473 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1428/0.145, allocations: 61.05 MB / 0.517 GB, free: 7.289 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test47): time 0.003465/0.1485, allocations: 1.717 MB / 0.5187 GB, free: 5.559 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001433/0.1499, allocations: 0.8363 MB / 0.5195 GB, free: 4.715 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.9e-05/0.15, allocations: 7.938 kB / 0.5195 GB, free: 4.707 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003125/0.1503, allocations: 47.77 kB / 0.5195 GB, free: 4.66 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002241/0.1505, allocations: 59.75 kB / 0.5196 GB, free: 4.602 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002798/0.1508, allocations: 87.77 kB / 0.5197 GB, free: 4.516 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001787/0.151, allocations: 99.67 kB / 0.5198 GB, free: 4.418 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000105/0.1511, allocations: 12.22 kB / 0.5198 GB, free: 4.406 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001049/0.1512, allocations: 43.73 kB / 0.5198 GB, free: 4.363 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.064e-05/0.1513, allocations: 35.83 kB / 0.5198 GB, free: 4.328 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.824e-05/0.1513, allocations: 4 kB / 0.5198 GB, free: 4.324 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.1e-05/0.1514, allocations: 39.98 kB / 0.5199 GB, free: 4.285 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.74e-05/0.1514, allocations: 23.86 kB / 0.5199 GB, free: 4.262 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.869e-05/0.1515, allocations: 39.69 kB / 0.5199 GB, free: 4.223 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000219/0.1517, allocations: 143.3 kB / 0.5201 GB, free: 4.082 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.454e-06/0.1517, allocations: 12 kB / 0.5201 GB, free: 4.07 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.353e-06/0.1517, allocations: 0 / 0.5201 GB, free: 4.07 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.991e-06/0.1517, allocations: 0 / 0.5201 GB, free: 4.07 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.0006081/0.1523, allocations: 357.5 kB / 0.5204 GB, free: 3.691 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.99e-05/0.1524, allocations: 8.031 kB / 0.5204 GB, free: 3.684 MB / 398.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.097e-05/0.1524, allocations: 192 / 0.5204 GB, free: 3.684 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.65e-05/0.1524, allocations: 38.73 kB / 0.5205 GB, free: 3.637 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.909e-05/0.1525, allocations: 12.84 kB / 0.5205 GB, free: 3.625 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003039/0.1528, allocations: 166 kB / 0.5207 GB, free: 3.438 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.094e-05/0.1528, allocations: 4.125 kB / 0.5207 GB, free: 3.434 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.235e-05/0.1528, allocations: 4 kB / 0.5207 GB, free: 3.43 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001541/0.1529, allocations: 57.61 kB / 0.5207 GB, free: 3.367 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.618e-06/0.153, allocations: 0 / 0.5207 GB, free: 3.367 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.987e-06/0.153, allocations: 0 / 0.5207 GB, free: 3.367 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.659e-06/0.153, allocations: 0 / 0.5207 GB, free: 3.367 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.868e-05/0.153, allocations: 23.98 kB / 0.5207 GB, free: 3.344 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003723/0.1534, allocations: 271.9 kB / 0.521 GB, free: 3.035 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001934/0.1536, allocations: 62.56 kB / 0.5211 GB, free: 2.965 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.589e-05/0.1537, allocations: 20.84 kB / 0.5211 GB, free: 2.941 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.048e-05/0.1537, allocations: 0 / 0.5211 GB, free: 2.941 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001553/0.1538, allocations: 67.39 kB / 0.5211 GB, free: 2.863 MB / 398.1 MB Notification: Performance of pre-optimization done (n=6): time 1.172e-06/0.1538, allocations: 0 / 0.5211 GB, free: 2.863 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.000662/0.1545, allocations: 181.6 kB / 0.5213 GB, free: 2.68 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.916e-05/0.1546, allocations: 55.41 kB / 0.5214 GB, free: 2.613 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002702/0.1548, allocations: 263.4 kB / 0.5216 GB, free: 2.34 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 3.133e-05/0.1549, allocations: 29.7 kB / 0.5216 GB, free: 2.305 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.642e-05/0.1549, allocations: 112.1 kB / 0.5218 GB, free: 2.191 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.33e-05/0.155, allocations: 27.78 kB / 0.5218 GB, free: 2.164 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.325e-05/0.155, allocations: 21.72 kB / 0.5218 GB, free: 2.137 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001752/0.1552, allocations: 330.8 kB / 0.5221 GB, free: 1.805 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.274e-05/0.1552, allocations: 19.92 kB / 0.5221 GB, free: 1.785 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.482e-05/0.1553, allocations: 37.7 kB / 0.5222 GB, free: 1.742 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001284/0.1554, allocations: 61.84 kB / 0.5222 GB, free: 1.676 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.02e-07/0.1555, allocations: 0 / 0.5222 GB, free: 1.676 MB / 398.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002074/0.1557, allocations: 121.5 kB / 0.5223 GB, free: 1.551 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.504e-05/0.1557, allocations: 4.188 kB / 0.5224 GB, free: 1.547 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.699e-06/0.1557, allocations: 0 / 0.5224 GB, free: 1.547 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.516e-05/0.1557, allocations: 7.938 kB / 0.5224 GB, free: 1.539 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.262e-05/0.1558, allocations: 15.98 kB / 0.5224 GB, free: 1.523 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.416e-06/0.1558, allocations: 3.938 kB / 0.5224 GB, free: 1.52 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.793e-05/0.1558, allocations: 4 kB / 0.5224 GB, free: 1.516 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.693e-06/0.1558, allocations: 0 / 0.5224 GB, free: 1.516 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.0001226/0.156, allocations: 141.8 kB / 0.5225 GB, free: 1.367 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.768e-05/0.156, allocations: 15.91 kB / 0.5225 GB, free: 1.352 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002515/0.1563, allocations: 115.1 kB / 0.5226 GB, free: 1.23 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.865e-06/0.1563, allocations: 0 / 0.5226 GB, free: 1.23 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.272e-06/0.1563, allocations: 3.938 kB / 0.5226 GB, free: 1.227 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.659e-06/0.1563, allocations: 0 / 0.5226 GB, free: 1.227 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004887/0.1568, allocations: 370.4 kB / 0.523 GB, free: 0.8125 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.988e-06/0.1568, allocations: 4 kB / 0.523 GB, free: 0.8086 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.564e-05/0.1568, allocations: 8.031 kB / 0.523 GB, free: 0.8008 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.2e-06/0.1568, allocations: 11.88 kB / 0.523 GB, free: 0.7891 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.081e-05/0.1568, allocations: 7.938 kB / 0.523 GB, free: 0.7812 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.837e-06/0.1568, allocations: 3.984 kB / 0.523 GB, free: 0.7773 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.986e-06/0.1568, allocations: 4 kB / 0.523 GB, free: 0.7734 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002467/0.1571, allocations: 200.3 kB / 0.5232 GB, free: 0.5586 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.186e-05/0.1571, allocations: 23.83 kB / 0.5232 GB, free: 0.5352 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.628e-05/0.1571, allocations: 4 kB / 0.5233 GB, free: 0.5312 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.096e-05/0.1572, allocations: 4 kB / 0.5233 GB, free: 0.5273 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.532e-05/0.1572, allocations: 7.984 kB / 0.5233 GB, free: 0.5195 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.782e-05/0.1572, allocations: 8 kB / 0.5233 GB, free: 0.5117 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.000176/0.1574, allocations: 195.3 kB / 0.5235 GB, free: 328 kB / 398.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.1574, allocations: 0 / 0.5235 GB, free: 328 kB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002641/0.1577, allocations: 27.94 kB / 0.5235 GB, free: 300 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 (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.002215/0.1599, allocations: 1.105 MB / 0.5246 GB, free: 15.21 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0001917/0.1601, allocations: 59.84 kB / 0.5246 GB, free: 15.16 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.853e-06/0.1601, allocations: 0 / 0.5246 GB, free: 15.16 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 7.328e-05/0.1602, allocations: 27.92 kB / 0.5246 GB, free: 15.13 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003502/0.1605, allocations: 27.92 kB / 0.5247 GB, free: 15.1 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002165/0.1627, allocations: 1.808 MB / 0.5264 GB, free: 13.2 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003519/0.163, allocations: 0.7197 MB / 0.5271 GB, free: 12.45 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 5.272e-05/0.1631, allocations: 13.28 kB / 0.5272 GB, free: 12.44 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.86e-05/0.1632, allocations: 43.41 kB / 0.5272 GB, free: 12.4 MB / 414.1 MB Notification: Performance of SimCode: time 7.62e-07/0.1632, allocations: 0 / 0.5272 GB, free: 12.4 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02303/0.1862, allocations: 3.907 MB / 0.531 GB, free: 8.398 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.18/11.37, allocations: 9 kB / 0.531 GB, free: 8.391 MB / 414.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test47.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test47.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test47.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test47.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test47_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test47_fmu --startTime=0 --stopTime=2.5 --stepSize=0.000498703 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test47.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test47.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 15.117249258968513] Failed to read output from testmodel.py, exit status != 0: ['time', 't_new.y[1]', 'd_t_new.y'] 11.577818743011449 11.871952834 11.717240462 Calling exit ...