Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test22.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.001819/0.001819, 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.001933/0.001933, allocations: 214.8 kB / 23.78 MB, free: 4.523 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.468/1.468, 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.2348/0.2348, allocations: 44.26 MB / 331.1 MB, free: 9.312 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.Test22,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test22",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test22,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test22",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.003407/0.003407, allocations: 78.72 kB / 468.3 MB, free: 4.293 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1467/0.1501, allocations: 61.04 MB / 0.517 GB, free: 7.121 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test22): time 0.003174/0.1533, allocations: 1.69 MB / 0.5186 GB, free: 5.418 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001359/0.1547, allocations: 0.7817 MB / 0.5194 GB, free: 4.629 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.91e-05/0.1547, allocations: 0 / 0.5194 GB, free: 4.629 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002812/0.155, allocations: 43.77 kB / 0.5194 GB, free: 4.586 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002119/0.1552, allocations: 55.77 kB / 0.5195 GB, free: 4.531 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002509/0.1555, allocations: 83.77 kB / 0.5196 GB, free: 4.449 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001728/0.1556, allocations: 99.69 kB / 0.5197 GB, free: 4.352 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.945e-05/0.1557, allocations: 12.2 kB / 0.5197 GB, free: 4.34 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.838e-05/0.1558, allocations: 43.8 kB / 0.5197 GB, free: 4.297 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.996e-05/0.1559, allocations: 35.78 kB / 0.5197 GB, free: 4.262 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.857e-05/0.1559, allocations: 4 kB / 0.5197 GB, free: 4.258 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.867e-05/0.156, allocations: 43.98 kB / 0.5198 GB, free: 4.215 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.647e-05/0.1561, allocations: 19.92 kB / 0.5198 GB, free: 4.195 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.1e-05/0.1561, allocations: 27.78 kB / 0.5198 GB, free: 4.168 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001987/0.1563, allocations: 111.6 kB / 0.5199 GB, free: 4.059 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.967e-06/0.1563, allocations: 3.938 kB / 0.5199 GB, free: 4.055 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.242e-06/0.1563, allocations: 3.938 kB / 0.52 GB, free: 4.051 MB / 398.1 MB Notification: Performance of Transformations before backend: time 4.969e-06/0.1563, allocations: 0 / 0.52 GB, free: 4.051 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.0005167/0.1568, allocations: 337.7 kB / 0.5203 GB, free: 3.691 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.464e-05/0.1569, allocations: 12.03 kB / 0.5203 GB, free: 3.68 MB / 398.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.287e-05/0.1569, allocations: 4.188 kB / 0.5203 GB, free: 3.676 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.226e-05/0.1569, allocations: 34.75 kB / 0.5203 GB, free: 3.633 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.898e-05/0.1569, allocations: 12.84 kB / 0.5203 GB, free: 3.621 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002569/0.1572, allocations: 138.4 kB / 0.5205 GB, free: 3.461 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.767e-05/0.1572, allocations: 12.12 kB / 0.5205 GB, free: 3.449 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.153e-05/0.1572, allocations: 0 / 0.5205 GB, free: 3.449 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001562/0.1574, allocations: 61.61 kB / 0.5205 GB, free: 3.383 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.148e-05/0.1574, allocations: 0 / 0.5205 GB, free: 3.383 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.037e-05/0.1574, allocations: 0 / 0.5205 GB, free: 3.383 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.807e-06/0.1574, allocations: 4 kB / 0.5205 GB, free: 3.379 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.792e-05/0.1575, allocations: 19.98 kB / 0.5206 GB, free: 3.359 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003889/0.1579, allocations: 252 kB / 0.5208 GB, free: 3.07 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001936/0.1581, allocations: 62.61 kB / 0.5209 GB, free: 3 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.846e-05/0.1581, allocations: 24.78 kB / 0.5209 GB, free: 2.973 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.197e-05/0.1582, allocations: 0 / 0.5209 GB, free: 2.973 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001661/0.1583, allocations: 75.34 kB / 0.521 GB, free: 2.887 MB / 398.1 MB Notification: Performance of pre-optimization done (n=6): time 1.282e-06/0.1583, allocations: 0 / 0.521 GB, free: 2.887 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005777/0.1589, allocations: 185.3 kB / 0.5211 GB, free: 2.699 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.072e-05/0.1589, allocations: 55.41 kB / 0.5212 GB, free: 2.633 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002063/0.1591, allocations: 198 kB / 0.5214 GB, free: 2.43 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.998e-05/0.1592, allocations: 25.7 kB / 0.5214 GB, free: 2.398 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.664e-05/0.1592, allocations: 104.1 kB / 0.5215 GB, free: 2.293 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.357e-05/0.1593, allocations: 23.78 kB / 0.5215 GB, free: 2.27 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.974e-05/0.1593, allocations: 21.72 kB / 0.5215 GB, free: 2.242 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001515/0.1595, allocations: 326.8 kB / 0.5219 GB, free: 1.914 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.09e-05/0.1595, allocations: 19.98 kB / 0.5219 GB, free: 1.895 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.959e-05/0.1596, allocations: 41.64 kB / 0.5219 GB, free: 1.848 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001285/0.1597, allocations: 61.7 kB / 0.522 GB, free: 1.781 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.032e-06/0.1598, allocations: 4 kB / 0.522 GB, free: 1.777 MB / 398.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002146/0.16, allocations: 105.5 kB / 0.5221 GB, free: 1.668 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.588e-05/0.16, allocations: 8 kB / 0.5221 GB, free: 1.66 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.468e-06/0.16, allocations: 192 / 0.5221 GB, free: 1.66 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.3e-05/0.16, allocations: 0 / 0.5221 GB, free: 1.66 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.643e-05/0.1601, allocations: 19.92 kB / 0.5221 GB, free: 1.641 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.285e-06/0.1601, allocations: 7.938 kB / 0.5221 GB, free: 1.633 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.394e-05/0.1601, allocations: 4.031 kB / 0.5221 GB, free: 1.629 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.116e-05/0.1601, allocations: 7.984 kB / 0.5221 GB, free: 1.621 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.0001119/0.1603, allocations: 129.8 kB / 0.5222 GB, free: 1.484 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.463e-05/0.1603, allocations: 11.95 kB / 0.5223 GB, free: 1.473 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002716/0.1606, allocations: 114.4 kB / 0.5224 GB, free: 1.352 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.134e-06/0.1606, allocations: 3.938 kB / 0.5224 GB, free: 1.348 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.943e-06/0.1606, allocations: 3.938 kB / 0.5224 GB, free: 1.344 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.172e-06/0.1606, allocations: 3.984 kB / 0.5224 GB, free: 1.34 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005113/0.1611, allocations: 370.4 kB / 0.5227 GB, free: 0.9258 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.623e-06/0.1611, allocations: 4.031 kB / 0.5227 GB, free: 0.9219 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.263e-05/0.1611, allocations: 11.98 kB / 0.5227 GB, free: 0.9102 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.789e-06/0.1611, allocations: 3.938 kB / 0.5227 GB, free: 0.9062 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.109e-05/0.1611, allocations: 4 kB / 0.5228 GB, free: 0.9023 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.483e-06/0.1611, allocations: 0 / 0.5228 GB, free: 0.9023 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.202e-06/0.1611, allocations: 3.938 kB / 0.5228 GB, free: 0.8984 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002717/0.1614, allocations: 208.5 kB / 0.523 GB, free: 0.6758 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.662e-05/0.1614, allocations: 23.83 kB / 0.523 GB, free: 0.6523 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.395e-05/0.1615, allocations: 384 / 0.523 GB, free: 0.6523 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.367e-05/0.1615, allocations: 4 kB / 0.523 GB, free: 0.6484 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.675e-05/0.1616, allocations: 11.98 kB / 0.523 GB, free: 0.6367 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.112e-05/0.1616, allocations: 12 kB / 0.523 GB, free: 0.625 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001285/0.1617, allocations: 139.2 kB / 0.5231 GB, free: 500 kB / 398.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1617, allocations: 4 kB / 0.5231 GB, free: 496 kB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002558/0.162, allocations: 23.94 kB / 0.5232 GB, free: 472 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.002308/0.1643, allocations: 1.126 MB / 0.5243 GB, free: 15.36 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002181/0.1645, allocations: 63.89 kB / 0.5243 GB, free: 15.3 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.014e-06/0.1645, allocations: 0 / 0.5243 GB, free: 15.3 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 8.179e-05/0.1646, allocations: 31.92 kB / 0.5244 GB, free: 15.27 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003824/0.165, allocations: 27.98 kB / 0.5244 GB, free: 15.24 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001984/0.167, allocations: 1.658 MB / 0.526 GB, free: 13.48 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.61e-05/0.1671, allocations: 92.12 kB / 0.5261 GB, free: 13.38 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 5.515e-05/0.1671, allocations: 12.8 kB / 0.5261 GB, free: 13.36 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.85e-05/0.1672, allocations: 35.42 kB / 0.5261 GB, free: 13.32 MB / 414.1 MB Notification: Performance of SimCode: time 4.41e-07/0.1672, allocations: 0 / 0.5261 GB, free: 13.32 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02257/0.1897, allocations: 3.732 MB / 0.5298 GB, free: 9.48 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.78/11.97, allocations: 0 / 0.5298 GB, free: 9.48 MB / 414.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test22.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test22.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test22.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test22.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test22_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test22_fmu --startTime=0 --stopTime=2.5 --stepSize=0.0004995 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test22.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test22.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 15.237525976961479] Failed to read output from testmodel.py, exit status != 0: ['time', 't_new.y[1]', 'd_t_new.y'] 12.195417627925053 12.409826466 12.250758608 Calling exit ...