Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test20.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.001775/0.001775, allocations: 109 kB / 20.48 MB, free: 1.477 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.002215/0.002215, allocations: 208.5 kB / 23.78 MB, free: 4.688 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.465/1.465, allocations: 207.6 MB / 234.5 MB, free: 9.988 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.2135/0.2135, allocations: 44.24 MB / 331.1 MB, free: 9.516 MB / 270.1 MB " [Timeout remaining time 180] 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.Test20,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test20",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test20,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test20",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.00233/0.00233, allocations: 72.36 kB / 468.3 MB, free: 4.453 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.144/0.1464, allocations: 61.04 MB / 0.517 GB, free: 7.273 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test20): time 0.00402/0.1504, allocations: 1.713 MB / 0.5186 GB, free: 5.547 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001566/0.152, allocations: 0.8362 MB / 0.5195 GB, free: 4.703 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.16e-05/0.1521, allocations: 0 / 0.5195 GB, free: 4.703 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003677/0.1524, allocations: 43.77 kB / 0.5195 GB, free: 4.66 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002225/0.1526, allocations: 59.75 kB / 0.5196 GB, free: 4.602 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000289/0.1529, allocations: 79.77 kB / 0.5196 GB, free: 4.523 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001897/0.1531, allocations: 103.6 kB / 0.5197 GB, free: 4.422 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.417e-05/0.1532, allocations: 12.2 kB / 0.5197 GB, free: 4.41 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.863e-05/0.1533, allocations: 47.78 kB / 0.5198 GB, free: 4.363 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.636e-05/0.1534, allocations: 27.86 kB / 0.5198 GB, free: 4.336 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.686e-05/0.1534, allocations: 4 kB / 0.5198 GB, free: 4.332 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.309e-05/0.1535, allocations: 43.97 kB / 0.5199 GB, free: 4.289 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.153e-05/0.1536, allocations: 19.92 kB / 0.5199 GB, free: 4.27 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 4.969e-05/0.1536, allocations: 35.69 kB / 0.5199 GB, free: 4.234 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002038/0.1538, allocations: 115.6 kB / 0.52 GB, free: 4.121 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.567e-06/0.1538, allocations: 0 / 0.52 GB, free: 4.121 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.282e-06/0.1538, allocations: 0 / 0.52 GB, free: 4.121 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.03e-06/0.1538, allocations: 0 / 0.52 GB, free: 4.121 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.0005173/0.1543, allocations: 333.7 kB / 0.5203 GB, free: 3.766 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.253e-05/0.1544, allocations: 15.97 kB / 0.5204 GB, free: 3.75 MB / 398.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.667e-05/0.1544, allocations: 4.188 kB / 0.5204 GB, free: 3.746 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.369e-05/0.1544, allocations: 30.75 kB / 0.5204 GB, free: 3.707 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.937e-05/0.1545, allocations: 12.84 kB / 0.5204 GB, free: 3.695 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003062/0.1548, allocations: 154.3 kB / 0.5206 GB, free: 3.52 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.427e-05/0.1548, allocations: 4.125 kB / 0.5206 GB, free: 3.516 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.156e-05/0.1548, allocations: 7.984 kB / 0.5206 GB, free: 3.508 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001558/0.155, allocations: 57.66 kB / 0.5206 GB, free: 3.445 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.067e-05/0.155, allocations: 4 kB / 0.5206 GB, free: 3.441 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.819e-06/0.155, allocations: 0 / 0.5206 GB, free: 3.441 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.683e-06/0.155, allocations: 4 kB / 0.5206 GB, free: 3.438 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.395e-05/0.1551, allocations: 15.98 kB / 0.5206 GB, free: 3.422 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003778/0.1554, allocations: 259.9 kB / 0.5209 GB, free: 3.125 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001804/0.1556, allocations: 58.62 kB / 0.521 GB, free: 3.059 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.434e-05/0.1557, allocations: 20.84 kB / 0.521 GB, free: 3.035 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.732e-05/0.1557, allocations: 0 / 0.521 GB, free: 3.035 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001766/0.1559, allocations: 71.34 kB / 0.521 GB, free: 2.953 MB / 398.1 MB Notification: Performance of pre-optimization done (n=6): time 1.162e-06/0.1559, allocations: 3.938 kB / 0.521 GB, free: 2.949 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005571/0.1564, allocations: 173.6 kB / 0.5212 GB, free: 2.773 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.512e-05/0.1565, allocations: 55.41 kB / 0.5213 GB, free: 2.707 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002168/0.1567, allocations: 190.1 kB / 0.5214 GB, free: 2.512 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.355e-05/0.1567, allocations: 33.69 kB / 0.5215 GB, free: 2.473 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.71e-05/0.1568, allocations: 96.14 kB / 0.5216 GB, free: 2.375 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.307e-05/0.1568, allocations: 27.78 kB / 0.5216 GB, free: 2.348 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.984e-05/0.1569, allocations: 29.66 kB / 0.5216 GB, free: 2.312 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001529/0.157, allocations: 318.8 kB / 0.5219 GB, free: 1.992 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.273e-05/0.1571, allocations: 23.98 kB / 0.5219 GB, free: 1.969 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.792e-05/0.1572, allocations: 41.83 kB / 0.522 GB, free: 1.922 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001176/0.1573, allocations: 53.72 kB / 0.522 GB, free: 1.863 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.066e-06/0.1573, allocations: 3.984 kB / 0.522 GB, free: 1.859 MB / 398.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001897/0.1575, allocations: 101.5 kB / 0.5221 GB, free: 1.754 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.784e-05/0.1575, allocations: 8 kB / 0.5221 GB, free: 1.746 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.369e-06/0.1575, allocations: 0 / 0.5221 GB, free: 1.746 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.268e-05/0.1575, allocations: 0 / 0.5221 GB, free: 1.746 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.32e-05/0.1576, allocations: 23.95 kB / 0.5222 GB, free: 1.723 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.532e-05/0.1576, allocations: 11.88 kB / 0.5222 GB, free: 1.711 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.186e-05/0.1577, allocations: 0 / 0.5222 GB, free: 1.711 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.037e-06/0.1577, allocations: 4 kB / 0.5222 GB, free: 1.707 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.0001128/0.1578, allocations: 125.8 kB / 0.5223 GB, free: 1.574 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.5e-05/0.1578, allocations: 11.95 kB / 0.5223 GB, free: 1.562 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002482/0.1581, allocations: 114.5 kB / 0.5224 GB, free: 1.441 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.354e-06/0.1581, allocations: 0 / 0.5224 GB, free: 1.441 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.56e-06/0.1581, allocations: 7.938 kB / 0.5224 GB, free: 1.434 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.296e-06/0.1581, allocations: 0 / 0.5224 GB, free: 1.434 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005158/0.1586, allocations: 366.4 kB / 0.5228 GB, free: 1.023 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.964e-06/0.1586, allocations: 0 / 0.5228 GB, free: 1.023 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.664e-05/0.1586, allocations: 11.94 kB / 0.5228 GB, free: 1.012 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.089e-05/0.1586, allocations: 3.938 kB / 0.5228 GB, free: 1.008 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.526e-05/0.1587, allocations: 8 kB / 0.5228 GB, free: 1 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.443e-06/0.1587, allocations: 0 / 0.5228 GB, free: 1 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.413e-06/0.1587, allocations: 4.031 kB / 0.5228 GB, free: 0.9961 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002363/0.1589, allocations: 196.3 kB / 0.523 GB, free: 0.7852 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.977e-05/0.1589, allocations: 15.84 kB / 0.523 GB, free: 0.7695 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.418e-05/0.1589, allocations: 4.188 kB / 0.523 GB, free: 0.7656 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.934e-05/0.159, allocations: 4 kB / 0.523 GB, free: 0.7617 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.035e-05/0.159, allocations: 11.92 kB / 0.523 GB, free: 0.75 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.331e-05/0.1591, allocations: 7.938 kB / 0.523 GB, free: 0.7422 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001276/0.1592, allocations: 147.2 kB / 0.5232 GB, free: 0.5977 MB / 398.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1592, allocations: 0 / 0.5232 GB, free: 0.5977 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002556/0.1594, allocations: 19.94 kB / 0.5232 GB, free: 0.5781 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 (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.002241/0.1617, allocations: 1.09 MB / 0.5243 GB, free: 15.52 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0001882/0.1619, allocations: 59.91 kB / 0.5243 GB, free: 15.46 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.014e-06/0.1619, allocations: 0 / 0.5243 GB, free: 15.46 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 7.234e-05/0.1619, allocations: 27.98 kB / 0.5243 GB, free: 15.43 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003822/0.1623, allocations: 36.22 kB / 0.5244 GB, free: 15.39 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001865/0.1642, allocations: 1.63 MB / 0.526 GB, free: 13.67 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003606/0.1646, allocations: 0.7157 MB / 0.5267 GB, free: 12.93 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 5.062e-05/0.1646, allocations: 8.984 kB / 0.5267 GB, free: 12.92 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.192e-05/0.1647, allocations: 31.42 kB / 0.5267 GB, free: 12.89 MB / 414.1 MB Notification: Performance of SimCode: time 1.042e-06/0.1647, allocations: 0 / 0.5267 GB, free: 12.89 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02493/0.1896, allocations: 3.585 MB / 0.5302 GB, free: 9.211 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.55/11.74, allocations: 12.98 kB / 0.5302 GB, free: 9.199 MB / 414.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test20.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test20.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test20.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test20.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test20_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test20_fmu --startTime=0 --stopTime=2.5 --stepSize=0.0004995 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test20.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test20.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 14.88681524299318] Failed to read output from testmodel.py, exit status != 0: ['time', 't_new.y[1]', 'd_t_new.y'] 11.955203910998534 12.170960234 12.013972445 Calling exit ...