Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test17.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.00152/0.00152, allocations: 97.91 kB / 20.48 MB, free: 1.367 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.001758/0.001758, allocations: 211 kB / 23.78 MB, free: 4.527 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.704/1.704, allocations: 207.7 MB / 234.6 MB, free: 9.773 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.2276/0.2276, allocations: 44.27 MB / 331.1 MB, free: 9.289 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.Test17,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test17",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test17,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test17",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.002355/0.002355, allocations: 65 kB / 468.3 MB, free: 4.285 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1448/0.1472, allocations: 61.04 MB / 0.517 GB, free: 7.109 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test17): time 0.003723/0.1509, allocations: 1.686 MB / 0.5186 GB, free: 5.41 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001635/0.1526, allocations: 0.7817 MB / 0.5194 GB, free: 4.621 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000109/0.1527, allocations: 4 kB / 0.5194 GB, free: 4.617 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003499/0.153, allocations: 31.78 kB / 0.5194 GB, free: 4.586 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002857/0.1533, allocations: 55.75 kB / 0.5195 GB, free: 4.531 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003138/0.1536, allocations: 87.77 kB / 0.5196 GB, free: 4.445 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002029/0.1538, allocations: 91.75 kB / 0.5196 GB, free: 4.355 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001168/0.1539, allocations: 16.14 kB / 0.5197 GB, free: 4.34 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.711e-05/0.154, allocations: 39.86 kB / 0.5197 GB, free: 4.301 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001074/0.1541, allocations: 43.72 kB / 0.5197 GB, free: 4.258 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.39e-05/0.1542, allocations: 4 kB / 0.5197 GB, free: 4.254 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001206/0.1543, allocations: 43.97 kB / 0.5198 GB, free: 4.211 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.679e-05/0.1543, allocations: 11.94 kB / 0.5198 GB, free: 4.199 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.406e-05/0.1544, allocations: 23.86 kB / 0.5198 GB, free: 4.176 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002484/0.1546, allocations: 115.5 kB / 0.5199 GB, free: 4.062 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.639e-06/0.1547, allocations: 0 / 0.5199 GB, free: 4.062 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.703e-06/0.1547, allocations: 3.938 kB / 0.5199 GB, free: 4.059 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.161e-05/0.1547, allocations: 0 / 0.5199 GB, free: 4.059 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.000586/0.1553, allocations: 337.7 kB / 0.5203 GB, free: 3.699 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.605e-05/0.1553, allocations: 8.031 kB / 0.5203 GB, free: 3.691 MB / 398.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.862e-05/0.1553, allocations: 192 / 0.5203 GB, free: 3.691 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.768e-05/0.1554, allocations: 42.67 kB / 0.5203 GB, free: 3.641 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.198e-05/0.1554, allocations: 8.891 kB / 0.5203 GB, free: 3.633 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003061/0.1557, allocations: 146.3 kB / 0.5205 GB, free: 3.465 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.63e-05/0.1557, allocations: 8.125 kB / 0.5205 GB, free: 3.457 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.363e-05/0.1558, allocations: 0 / 0.5205 GB, free: 3.457 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001772/0.1559, allocations: 61.59 kB / 0.5205 GB, free: 3.391 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.492e-05/0.1559, allocations: 3.953 kB / 0.5205 GB, free: 3.387 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.145e-05/0.156, allocations: 8 kB / 0.5205 GB, free: 3.379 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.408e-06/0.156, allocations: 0 / 0.5205 GB, free: 3.379 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001122/0.1561, allocations: 23.98 kB / 0.5206 GB, free: 3.355 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005244/0.1566, allocations: 248 kB / 0.5208 GB, free: 3.07 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002054/0.1568, allocations: 58.61 kB / 0.5208 GB, free: 3.004 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.512e-05/0.1569, allocations: 20.84 kB / 0.5209 GB, free: 2.98 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.971e-05/0.1569, allocations: 4 kB / 0.5209 GB, free: 2.977 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001797/0.1571, allocations: 63.39 kB / 0.5209 GB, free: 2.902 MB / 398.1 MB Notification: Performance of pre-optimization done (n=6): time 1.964e-06/0.1571, allocations: 4 kB / 0.5209 GB, free: 2.898 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0006697/0.1577, allocations: 177.4 kB / 0.5211 GB, free: 2.719 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.064e-05/0.1578, allocations: 55.39 kB / 0.5212 GB, free: 2.652 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001972/0.158, allocations: 182.2 kB / 0.5213 GB, free: 2.465 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.609e-05/0.158, allocations: 29.7 kB / 0.5214 GB, free: 2.43 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.252e-05/0.1581, allocations: 100.1 kB / 0.5215 GB, free: 2.328 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.63e-05/0.1581, allocations: 19.84 kB / 0.5215 GB, free: 2.309 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.189e-05/0.1582, allocations: 25.72 kB / 0.5215 GB, free: 2.277 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001514/0.1583, allocations: 322.8 kB / 0.5218 GB, free: 1.953 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.793e-05/0.1584, allocations: 19.98 kB / 0.5218 GB, free: 1.934 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.366e-05/0.1585, allocations: 45.64 kB / 0.5219 GB, free: 1.883 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001324/0.1586, allocations: 62.08 kB / 0.5219 GB, free: 1.816 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.473e-06/0.1586, allocations: 0 / 0.5219 GB, free: 1.816 MB / 398.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002226/0.1588, allocations: 105.5 kB / 0.522 GB, free: 1.707 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.765e-05/0.1589, allocations: 4.188 kB / 0.522 GB, free: 1.703 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.745e-06/0.1589, allocations: 4 kB / 0.522 GB, free: 1.699 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.969e-05/0.1589, allocations: 3.938 kB / 0.522 GB, free: 1.695 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000101/0.159, allocations: 16 kB / 0.5221 GB, free: 1.68 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.149e-05/0.159, allocations: 12.11 kB / 0.5221 GB, free: 1.668 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.72e-05/0.1591, allocations: 11.98 kB / 0.5221 GB, free: 1.656 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.306e-06/0.1591, allocations: 3.938 kB / 0.5221 GB, free: 1.652 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.0001221/0.1592, allocations: 121.8 kB / 0.5222 GB, free: 1.523 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.703e-05/0.1592, allocations: 11.95 kB / 0.5222 GB, free: 1.512 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002932/0.1595, allocations: 118.4 kB / 0.5223 GB, free: 1.387 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.387e-06/0.1595, allocations: 3.938 kB / 0.5223 GB, free: 1.383 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.842e-06/0.1595, allocations: 3.938 kB / 0.5223 GB, free: 1.379 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.967e-06/0.1595, allocations: 0 / 0.5223 GB, free: 1.379 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005495/0.1601, allocations: 370.4 kB / 0.5227 GB, free: 0.9648 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.44e-06/0.1601, allocations: 4 kB / 0.5227 GB, free: 0.9609 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.729e-05/0.1601, allocations: 11.98 kB / 0.5227 GB, free: 0.9492 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.823e-06/0.1601, allocations: 3.938 kB / 0.5227 GB, free: 0.9453 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.684e-05/0.1602, allocations: 4 kB / 0.5227 GB, free: 0.9414 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.943e-06/0.1602, allocations: 0 / 0.5227 GB, free: 0.9414 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.553e-06/0.1602, allocations: 0 / 0.5227 GB, free: 0.9414 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003231/0.1605, allocations: 212.3 kB / 0.5229 GB, free: 0.7148 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.126e-05/0.1605, allocations: 23.78 kB / 0.5229 GB, free: 0.6914 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.678e-05/0.1605, allocations: 0 / 0.5229 GB, free: 0.6914 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.236e-05/0.1606, allocations: 8.031 kB / 0.5229 GB, free: 0.6836 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.306e-05/0.1607, allocations: 7.984 kB / 0.5229 GB, free: 0.6758 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.219e-05/0.1607, allocations: 4 kB / 0.5229 GB, free: 0.6719 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001589/0.1608, allocations: 143.9 kB / 0.5231 GB, free: 0.5312 MB / 398.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1608, allocations: 0 / 0.5231 GB, free: 0.5312 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002876/0.1611, allocations: 16 kB / 0.5231 GB, free: 0.5156 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 (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.002426/0.1636, allocations: 1.136 MB / 0.5242 GB, free: 15.4 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002283/0.1638, allocations: 51.92 kB / 0.5243 GB, free: 15.35 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 3.226e-06/0.1638, allocations: 0 / 0.5243 GB, free: 15.35 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 9.136e-05/0.1639, allocations: 39.91 kB / 0.5243 GB, free: 15.31 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003834/0.1643, allocations: 43.48 kB / 0.5243 GB, free: 15.27 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002101/0.1664, allocations: 1.614 MB / 0.5259 GB, free: 13.57 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.93e-05/0.1665, allocations: 97.25 kB / 0.526 GB, free: 13.45 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 5.83e-05/0.1665, allocations: 12.48 kB / 0.526 GB, free: 13.44 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.314e-05/0.1666, allocations: 31.42 kB / 0.526 GB, free: 13.41 MB / 414.1 MB Notification: Performance of SimCode: time 7.31e-07/0.1666, allocations: 0 / 0.526 GB, free: 13.41 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02457/0.1912, allocations: 3.678 MB / 0.5296 GB, free: 9.617 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.34/11.53, allocations: 11.94 kB / 0.5297 GB, free: 9.605 MB / 414.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test17.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test17.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test17.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test17.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test17_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test17_fmu --startTime=0 --stopTime=2.5 --stepSize=0.0004996 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test17.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test17.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 15.106932100025006] Failed to read output from testmodel.py, exit status != 0: ['time', 't_new.y[1]', 'd_t_new.y'] 11.755639942013659 11.977083276 11.819665383 Calling exit ...