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.00139/0.00139, allocations: 101.9 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.001515/0.001515, allocations: 210.8 kB / 23.77 MB, free: 4.555 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.648/1.648, allocations: 207.7 MB / 234.6 MB, free: 9.797 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.2805/0.2805, 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.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.002576/0.002576, allocations: 75.88 kB / 468.3 MB, free: 4.32 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1644/0.167, allocations: 61.05 MB / 0.517 GB, free: 7.141 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test41): time 0.004744/0.1717, allocations: 1.686 MB / 0.5186 GB, free: 5.441 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001644/0.1734, allocations: 0.7817 MB / 0.5194 GB, free: 4.652 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.751e-05/0.1734, allocations: 0 / 0.5194 GB, free: 4.652 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004522/0.1739, allocations: 87.64 kB / 0.5195 GB, free: 4.566 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003563/0.1743, allocations: 71.72 kB / 0.5195 GB, free: 4.496 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003494/0.1746, allocations: 87.77 kB / 0.5196 GB, free: 4.41 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002397/0.1748, allocations: 107.7 kB / 0.5197 GB, free: 4.305 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001309/0.175, allocations: 12.2 kB / 0.5197 GB, free: 4.293 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001672/0.1751, allocations: 47.78 kB / 0.5198 GB, free: 4.246 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001925/0.1753, allocations: 75.73 kB / 0.5198 GB, free: 4.172 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.753e-05/0.1754, allocations: 4 kB / 0.5199 GB, free: 4.168 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000156/0.1755, allocations: 39.98 kB / 0.5199 GB, free: 4.129 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000109/0.1756, allocations: 27.91 kB / 0.5199 GB, free: 4.102 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 8.555e-05/0.1757, allocations: 27.75 kB / 0.5199 GB, free: 4.074 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003855/0.1761, allocations: 111.6 kB / 0.5201 GB, free: 3.965 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.221e-05/0.1761, allocations: 3.938 kB / 0.5201 GB, free: 3.961 MB / 398.1 MB Notification: Performance of FrontEnd: time 3.947e-06/0.1761, allocations: 0 / 0.5201 GB, free: 3.961 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.513e-05/0.1761, allocations: 0 / 0.5201 GB, free: 3.961 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.0009281/0.1771, allocations: 349.6 kB / 0.5204 GB, free: 3.59 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.638e-05/0.1771, allocations: 11.97 kB / 0.5204 GB, free: 3.578 MB / 398.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 3.983e-05/0.1772, allocations: 8.188 kB / 0.5204 GB, free: 3.57 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.277e-05/0.1772, allocations: 34.73 kB / 0.5204 GB, free: 3.527 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.155e-05/0.1773, allocations: 12.84 kB / 0.5205 GB, free: 3.516 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005471/0.1779, allocations: 151.3 kB / 0.5206 GB, free: 3.344 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.154e-05/0.1779, allocations: 8.125 kB / 0.5206 GB, free: 3.336 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.469e-05/0.1779, allocations: 4 kB / 0.5206 GB, free: 3.332 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001767/0.1781, allocations: 53.67 kB / 0.5207 GB, free: 3.273 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.423e-05/0.1781, allocations: 0 / 0.5207 GB, free: 3.273 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.115e-05/0.1781, allocations: 0 / 0.5207 GB, free: 3.273 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.45e-06/0.1781, allocations: 8 kB / 0.5207 GB, free: 3.266 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.014e-05/0.1782, allocations: 19.98 kB / 0.5207 GB, free: 3.246 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004841/0.1787, allocations: 259.9 kB / 0.5209 GB, free: 2.949 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002031/0.1789, allocations: 58.62 kB / 0.521 GB, free: 2.883 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.578e-05/0.179, allocations: 20.84 kB / 0.521 GB, free: 2.859 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.461e-05/0.179, allocations: 0 / 0.521 GB, free: 2.859 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000185/0.1792, allocations: 67.39 kB / 0.5211 GB, free: 2.781 MB / 398.1 MB Notification: Performance of pre-optimization done (n=6): time 1.332e-06/0.1792, allocations: 0 / 0.5211 GB, free: 2.781 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0006684/0.1798, allocations: 193.3 kB / 0.5213 GB, free: 2.586 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.249e-05/0.1799, allocations: 55.39 kB / 0.5213 GB, free: 2.52 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002353/0.1801, allocations: 218.2 kB / 0.5215 GB, free: 2.297 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.328e-05/0.1801, allocations: 33.7 kB / 0.5216 GB, free: 2.258 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.431e-05/0.1802, allocations: 100.1 kB / 0.5216 GB, free: 2.156 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.786e-05/0.1803, allocations: 27.78 kB / 0.5217 GB, free: 2.129 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.803e-05/0.1803, allocations: 25.72 kB / 0.5217 GB, free: 2.098 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.000153/0.1805, allocations: 326.8 kB / 0.522 GB, free: 1.77 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.842e-05/0.1805, allocations: 23.98 kB / 0.522 GB, free: 1.746 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.916e-05/0.1806, allocations: 37.69 kB / 0.5221 GB, free: 1.703 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001334/0.1807, allocations: 65.7 kB / 0.5221 GB, free: 1.633 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.062e-06/0.1807, allocations: 0 / 0.5221 GB, free: 1.633 MB / 398.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002197/0.181, allocations: 105.5 kB / 0.5222 GB, free: 1.523 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.732e-05/0.181, allocations: 4 kB / 0.5222 GB, free: 1.52 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.318e-06/0.181, allocations: 192 / 0.5222 GB, free: 1.52 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.704e-05/0.181, allocations: 4 kB / 0.5222 GB, free: 1.516 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001274/0.1811, allocations: 19.92 kB / 0.5223 GB, free: 1.496 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.956e-06/0.1811, allocations: 7.875 kB / 0.5223 GB, free: 1.488 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.813e-05/0.1812, allocations: 15.97 kB / 0.5223 GB, free: 1.473 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.014e-05/0.1812, allocations: 4 kB / 0.5223 GB, free: 1.469 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.0001252/0.1813, allocations: 125.8 kB / 0.5224 GB, free: 1.336 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.939e-05/0.1814, allocations: 11.95 kB / 0.5224 GB, free: 1.324 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002911/0.1816, allocations: 123 kB / 0.5225 GB, free: 1.191 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.696e-06/0.1817, allocations: 7.984 kB / 0.5225 GB, free: 1.184 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.663e-06/0.1817, allocations: 3.938 kB / 0.5225 GB, free: 1.18 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.356e-06/0.1817, allocations: 0 / 0.5225 GB, free: 1.18 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005057/0.1822, allocations: 366.4 kB / 0.5229 GB, free: 0.7695 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.944e-06/0.1822, allocations: 4.031 kB / 0.5229 GB, free: 0.7656 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.151e-05/0.1822, allocations: 8 kB / 0.5229 GB, free: 0.7578 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.68e-06/0.1822, allocations: 3.938 kB / 0.5229 GB, free: 0.7539 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.777e-05/0.1822, allocations: 8 kB / 0.5229 GB, free: 0.7461 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.094e-06/0.1822, allocations: 0 / 0.5229 GB, free: 0.7461 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.743e-06/0.1822, allocations: 0 / 0.5229 GB, free: 0.7461 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003355/0.1826, allocations: 220.5 kB / 0.5231 GB, free: 0.5117 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.475e-05/0.1826, allocations: 11.89 kB / 0.5231 GB, free: 0.5 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.046e-05/0.1826, allocations: 8 kB / 0.5231 GB, free: 0.4922 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.129e-05/0.1827, allocations: 0 / 0.5231 GB, free: 0.4922 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.082e-05/0.1827, allocations: 12.36 kB / 0.5232 GB, free: 492 kB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.869e-05/0.1828, allocations: 4 kB / 0.5232 GB, free: 488 kB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001662/0.1829, allocations: 168.2 kB / 0.5233 GB, free: 320 kB / 398.1 MB Notification: Performance of sort global known variables: time 7e-08/0.1829, allocations: 0 / 0.5233 GB, free: 320 kB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002782/0.1832, allocations: 27.88 kB / 0.5233 GB, free: 292 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.002476/0.1857, allocations: 1.144 MB / 0.5245 GB, free: 15.16 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.000231/0.1859, allocations: 59.91 kB / 0.5245 GB, free: 15.11 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/0.1859, allocations: 0 / 0.5245 GB, free: 15.11 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 8.393e-05/0.186, allocations: 24 kB / 0.5245 GB, free: 15.08 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004015/0.1864, allocations: 35.56 kB / 0.5246 GB, free: 15.05 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002254/0.1887, allocations: 1.709 MB / 0.5263 GB, free: 13.25 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001155/0.1888, allocations: 92.75 kB / 0.5263 GB, free: 13.14 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.000104/0.1889, allocations: 16.78 kB / 0.5264 GB, free: 13.12 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.651e-05/0.189, allocations: 39.42 kB / 0.5264 GB, free: 13.09 MB / 414.1 MB Notification: Performance of SimCode: time 5.92e-07/0.189, allocations: 3.938 kB / 0.5264 GB, free: 13.08 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02524/0.2142, allocations: 3.836 MB / 0.5301 GB, free: 9.133 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.35/11.57, allocations: 3.938 kB / 0.5301 GB, free: 9.129 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: 15.244111042004079] Failed to read output from testmodel.py, exit status != 0: ['time', 't_new.y[1]', 'd_t_new.y'] 11.781595443957485 12.01529254 11.836177413 Calling exit ...