Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test41.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.001629/0.001629, 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.002045/0.002045, allocations: 213.7 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.589/1.589, allocations: 207.6 MB / 234.6 MB, free: 10 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.2788/0.2788, allocations: 44.24 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.Test41,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test41",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test41,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test41",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.003779/0.003779, allocations: 74.56 kB / 468.3 MB, free: 4.461 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1649/0.1687, allocations: 61.05 MB / 0.517 GB, free: 7.27 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test41): time 0.004308/0.173, allocations: 1.712 MB / 0.5187 GB, free: 5.547 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001853/0.1749, allocations: 0.8323 MB / 0.5195 GB, free: 4.707 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001298/0.175, allocations: 4 kB / 0.5195 GB, free: 4.703 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004618/0.1755, allocations: 87.69 kB / 0.5196 GB, free: 4.617 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004426/0.1759, allocations: 67.73 kB / 0.5196 GB, free: 4.551 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003598/0.1763, allocations: 83.77 kB / 0.5197 GB, free: 4.469 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.000251/0.1765, allocations: 111.6 kB / 0.5198 GB, free: 4.359 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001115/0.1766, allocations: 12.2 kB / 0.5198 GB, free: 4.348 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000169/0.1768, allocations: 59.77 kB / 0.5199 GB, free: 4.289 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001467/0.177, allocations: 59.81 kB / 0.5199 GB, free: 4.23 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.258e-05/0.177, allocations: 4 kB / 0.5199 GB, free: 4.227 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001321/0.1771, allocations: 43.98 kB / 0.52 GB, free: 4.184 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 7.207e-05/0.1772, allocations: 23.86 kB / 0.52 GB, free: 4.16 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 6.829e-05/0.1773, allocations: 47.66 kB / 0.52 GB, free: 4.113 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003187/0.1776, allocations: 111.6 kB / 0.5201 GB, free: 4.004 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.609e-06/0.1776, allocations: 0 / 0.5201 GB, free: 4.004 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.084e-06/0.1776, allocations: 0 / 0.5201 GB, free: 4.004 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.733e-06/0.1776, allocations: 0 / 0.5201 GB, free: 4.004 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.0006607/0.1782, allocations: 349.6 kB / 0.5205 GB, free: 3.633 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.019e-05/0.1783, allocations: 8.031 kB / 0.5205 GB, free: 3.625 MB / 398.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.268e-05/0.1783, allocations: 4.188 kB / 0.5205 GB, free: 3.621 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.272e-05/0.1784, allocations: 30.75 kB / 0.5205 GB, free: 3.582 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.559e-05/0.1784, allocations: 12.84 kB / 0.5205 GB, free: 3.57 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003763/0.1788, allocations: 155.2 kB / 0.5207 GB, free: 3.395 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.593e-05/0.1788, allocations: 12.11 kB / 0.5207 GB, free: 3.383 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.001e-05/0.1788, allocations: 3.938 kB / 0.5207 GB, free: 3.379 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001898/0.179, allocations: 57.67 kB / 0.5208 GB, free: 3.316 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.397e-05/0.179, allocations: 0 / 0.5208 GB, free: 3.316 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.124e-05/0.1791, allocations: 0 / 0.5208 GB, free: 3.316 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.368e-06/0.1791, allocations: 8 kB / 0.5208 GB, free: 3.309 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.468e-05/0.1792, allocations: 19.98 kB / 0.5208 GB, free: 3.289 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004441/0.1796, allocations: 271.8 kB / 0.521 GB, free: 2.98 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000202/0.1798, allocations: 50.69 kB / 0.5211 GB, free: 2.922 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.628e-05/0.1799, allocations: 20.84 kB / 0.5211 GB, free: 2.898 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.893e-05/0.1799, allocations: 4 kB / 0.5211 GB, free: 2.895 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000178/0.1801, allocations: 63.39 kB / 0.5212 GB, free: 2.82 MB / 398.1 MB Notification: Performance of pre-optimization done (n=6): time 1.413e-06/0.1801, allocations: 3.938 kB / 0.5212 GB, free: 2.816 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0006159/0.1807, allocations: 173.4 kB / 0.5213 GB, free: 2.641 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.468e-05/0.1807, allocations: 59.41 kB / 0.5214 GB, free: 2.57 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002475/0.181, allocations: 222.2 kB / 0.5216 GB, free: 2.344 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.268e-05/0.181, allocations: 25.7 kB / 0.5216 GB, free: 2.312 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.459e-05/0.1811, allocations: 104.1 kB / 0.5217 GB, free: 2.207 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.053e-05/0.1811, allocations: 27.78 kB / 0.5218 GB, free: 2.18 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.187e-05/0.1812, allocations: 17.72 kB / 0.5218 GB, free: 2.156 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001881/0.1814, allocations: 326.8 kB / 0.5221 GB, free: 1.828 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.788e-05/0.1814, allocations: 19.98 kB / 0.5221 GB, free: 1.809 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.44e-05/0.1815, allocations: 41.7 kB / 0.5221 GB, free: 1.762 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001402/0.1816, allocations: 61.77 kB / 0.5222 GB, free: 1.695 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.002e-06/0.1817, allocations: 3.938 kB / 0.5222 GB, free: 1.691 MB / 398.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002082/0.1819, allocations: 101.6 kB / 0.5223 GB, free: 1.586 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.636e-05/0.1819, allocations: 4 kB / 0.5223 GB, free: 1.582 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.681e-06/0.1819, allocations: 0 / 0.5223 GB, free: 1.582 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.524e-05/0.1819, allocations: 4.031 kB / 0.5223 GB, free: 1.578 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001069/0.182, allocations: 27.92 kB / 0.5223 GB, free: 1.551 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.306e-06/0.182, allocations: 3.938 kB / 0.5223 GB, free: 1.547 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.402e-05/0.1821, allocations: 0 / 0.5223 GB, free: 1.547 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.438e-05/0.1821, allocations: 4 kB / 0.5223 GB, free: 1.543 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.0001403/0.1822, allocations: 129.8 kB / 0.5225 GB, free: 1.406 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.327e-05/0.1822, allocations: 11.89 kB / 0.5225 GB, free: 1.395 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002772/0.1825, allocations: 119 kB / 0.5226 GB, free: 1.266 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.394e-06/0.1825, allocations: 4 kB / 0.5226 GB, free: 1.262 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.043e-06/0.1825, allocations: 4.125 kB / 0.5226 GB, free: 1.258 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.376e-06/0.1825, allocations: 0 / 0.5226 GB, free: 1.258 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004728/0.183, allocations: 366.3 kB / 0.523 GB, free: 0.8477 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.573e-06/0.183, allocations: 384 / 0.523 GB, free: 0.8477 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.967e-05/0.183, allocations: 19.97 kB / 0.523 GB, free: 0.8281 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.518e-06/0.1831, allocations: 11.94 kB / 0.523 GB, free: 0.8164 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.548e-06/0.1831, allocations: 0 / 0.523 GB, free: 0.8164 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.233e-06/0.1831, allocations: 0 / 0.523 GB, free: 0.8164 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.323e-06/0.1831, allocations: 4.031 kB / 0.523 GB, free: 0.8125 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002588/0.1833, allocations: 204.3 kB / 0.5232 GB, free: 0.5938 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.835e-05/0.1833, allocations: 7.891 kB / 0.5232 GB, free: 0.5859 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.488e-05/0.1834, allocations: 7.984 kB / 0.5232 GB, free: 0.5781 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.723e-05/0.1834, allocations: 3.938 kB / 0.5232 GB, free: 0.5742 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.578e-05/0.1835, allocations: 7.984 kB / 0.5232 GB, free: 0.5664 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.029e-05/0.1835, allocations: 12 kB / 0.5232 GB, free: 0.5547 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001402/0.1836, allocations: 156.2 kB / 0.5234 GB, free: 412 kB / 398.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1836, allocations: 0 / 0.5234 GB, free: 412 kB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002638/0.1839, allocations: 23.94 kB / 0.5234 GB, free: 388 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.002334/0.1862, allocations: 1.097 MB / 0.5245 GB, free: 15.31 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0001951/0.1864, allocations: 51.92 kB / 0.5245 GB, free: 15.26 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.004e-06/0.1864, allocations: 0 / 0.5245 GB, free: 15.26 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 7.989e-05/0.1865, allocations: 35.98 kB / 0.5245 GB, free: 15.22 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003652/0.1869, allocations: 27.91 kB / 0.5246 GB, free: 15.2 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002107/0.189, allocations: 1.689 MB / 0.5262 GB, free: 13.41 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003884/0.1894, allocations: 0.708 MB / 0.5269 GB, free: 12.68 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 5.86e-05/0.1894, allocations: 20.88 kB / 0.5269 GB, free: 12.66 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.563e-05/0.1895, allocations: 35.42 kB / 0.527 GB, free: 12.62 MB / 414.1 MB Notification: Performance of SimCode: time 4.21e-07/0.1895, allocations: 0 / 0.527 GB, free: 12.62 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02611/0.2156, allocations: 3.702 MB / 0.5306 GB, free: 8.832 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.12/11.34, allocations: 8 kB / 0.5306 GB, free: 8.824 MB / 414.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test41.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test41.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test41.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test41.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test41_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test41_fmu --startTime=0 --stopTime=100 --stepSize=0.0197433 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test41.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test41.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 14.945862896041945] Failed to read output from testmodel.py, exit status != 0: ['time', 't_new.y[1]', 'd_t_new.y'] 11.557423684047535 11.774702315 11.594219644 Calling exit ...