Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test10.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.001363/0.001363, 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.002118/0.002118, allocations: 211.9 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.665/1.665, allocations: 207.6 MB / 234.6 MB, free: 10.01 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.2557/0.2557, allocations: 44.25 MB / 331.1 MB, free: 9.531 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.Test10,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test10",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test10,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test10",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.002339/0.002339, allocations: 72.98 kB / 468.3 MB, free: 4.469 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1607/0.1631, allocations: 61.04 MB / 0.517 GB, free: 7.289 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test10): time 0.004002/0.1671, allocations: 1.933 MB / 0.5189 GB, free: 5.344 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001802/0.1689, allocations: 0.8661 MB / 0.5197 GB, free: 4.469 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001279/0.169, allocations: 8 kB / 0.5197 GB, free: 4.461 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004068/0.1694, allocations: 43.7 kB / 0.5197 GB, free: 4.418 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002739/0.1697, allocations: 63.64 kB / 0.5198 GB, free: 4.355 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003784/0.1701, allocations: 107.7 kB / 0.5199 GB, free: 4.25 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002716/0.1703, allocations: 131.6 kB / 0.52 GB, free: 4.121 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001669/0.1705, allocations: 33.58 kB / 0.5201 GB, free: 4.082 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000154/0.1706, allocations: 59.72 kB / 0.5201 GB, free: 4.023 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001217/0.1708, allocations: 47.72 kB / 0.5202 GB, free: 3.977 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.552e-05/0.1708, allocations: 8 kB / 0.5202 GB, free: 3.969 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001227/0.1709, allocations: 55.97 kB / 0.5202 GB, free: 3.914 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 7.61e-05/0.171, allocations: 19.92 kB / 0.5203 GB, free: 3.895 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 8.443e-05/0.1711, allocations: 51.61 kB / 0.5203 GB, free: 3.844 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003325/0.1714, allocations: 151.3 kB / 0.5204 GB, free: 3.695 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.86e-06/0.1714, allocations: 0 / 0.5204 GB, free: 3.695 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.333e-06/0.1714, allocations: 0 / 0.5204 GB, free: 3.695 MB / 398.1 MB Notification: Performance of Transformations before backend: time 7.043e-06/0.1714, allocations: 4 kB / 0.5205 GB, free: 3.691 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: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0008335/0.1723, allocations: 407.1 kB / 0.5208 GB, free: 3.258 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.146e-05/0.1723, allocations: 12.03 kB / 0.5209 GB, free: 3.246 MB / 398.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.102e-05/0.1723, allocations: 192 / 0.5209 GB, free: 3.246 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.961e-05/0.1724, allocations: 42.75 kB / 0.5209 GB, free: 3.195 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.609e-05/0.1724, allocations: 20.78 kB / 0.5209 GB, free: 3.176 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003847/0.1728, allocations: 163.3 kB / 0.5211 GB, free: 2.992 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.359e-05/0.1728, allocations: 12.11 kB / 0.5211 GB, free: 2.98 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.063e-05/0.1729, allocations: 11.95 kB / 0.5211 GB, free: 2.969 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000298/0.1732, allocations: 108.2 kB / 0.5212 GB, free: 2.848 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.179e-05/0.1732, allocations: 0 / 0.5212 GB, free: 2.848 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.986e-05/0.1732, allocations: 7.984 kB / 0.5212 GB, free: 2.84 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.893e-06/0.1732, allocations: 0 / 0.5212 GB, free: 2.84 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000168/0.1734, allocations: 47.95 kB / 0.5212 GB, free: 2.793 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000718/0.1741, allocations: 488 kB / 0.5217 GB, free: 2.266 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003772/0.1745, allocations: 82.61 kB / 0.5218 GB, free: 2.176 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001291/0.1746, allocations: 36.83 kB / 0.5218 GB, free: 2.137 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.147e-05/0.1746, allocations: 4 kB / 0.5218 GB, free: 2.133 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002288/0.1749, allocations: 83.38 kB / 0.5219 GB, free: 2.039 MB / 398.1 MB Notification: Performance of pre-optimization done (n=9): time 1.663e-06/0.1749, allocations: 0 / 0.5219 GB, free: 2.039 MB / 398.1 MB Notification: Performance of matching and sorting (n=9): time 0.0004741/0.1753, allocations: 153.4 kB / 0.5221 GB, free: 1.883 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.714e-05/0.1754, allocations: 51.41 kB / 0.5221 GB, free: 1.82 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002449/0.1756, allocations: 183.6 kB / 0.5223 GB, free: 1.629 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.35e-05/0.1757, allocations: 29.7 kB / 0.5223 GB, free: 1.594 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001109/0.1758, allocations: 116.1 kB / 0.5224 GB, free: 1.477 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.278e-05/0.1758, allocations: 31.73 kB / 0.5224 GB, free: 1.445 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.734e-05/0.1759, allocations: 29.7 kB / 0.5225 GB, free: 1.41 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001864/0.1761, allocations: 326.8 kB / 0.5228 GB, free: 1.082 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.425e-05/0.1762, allocations: 31.92 kB / 0.5228 GB, free: 1.051 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001218/0.1763, allocations: 64.27 kB / 0.5229 GB, free: 0.9727 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002004/0.1765, allocations: 96.16 kB / 0.523 GB, free: 0.8633 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.352e-06/0.1765, allocations: 4 kB / 0.523 GB, free: 0.8594 MB / 398.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.000282/0.1768, allocations: 137.4 kB / 0.5231 GB, free: 0.7188 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.684e-05/0.1768, allocations: 4 kB / 0.5231 GB, free: 0.7148 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.671e-06/0.1768, allocations: 0 / 0.5231 GB, free: 0.7148 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.972e-05/0.1768, allocations: 7.938 kB / 0.5231 GB, free: 0.707 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001064/0.1769, allocations: 23.92 kB / 0.5231 GB, free: 0.6836 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.407e-06/0.1769, allocations: 4 kB / 0.5231 GB, free: 0.6797 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.289e-05/0.177, allocations: 19.88 kB / 0.5232 GB, free: 0.6602 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.095e-05/0.177, allocations: 8.125 kB / 0.5232 GB, free: 0.6523 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 6 ($PRE.t_new.nextTimeEvent,$whenCondition1,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,err1.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (14): * Single equations (assignments): 14 * 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.0001598/0.1772, allocations: 121.8 kB / 0.5233 GB, free: 0.5234 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.228e-05/0.1772, allocations: 15.91 kB / 0.5233 GB, free: 0.5078 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003508/0.1776, allocations: 135.3 kB / 0.5234 GB, free: 376 kB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.655e-06/0.1776, allocations: 0 / 0.5234 GB, free: 376 kB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.045e-06/0.1776, allocations: 3.984 kB / 0.5234 GB, free: 372 kB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.789e-06/0.1776, allocations: 0 / 0.5234 GB, free: 372 kB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002156/0.1778, allocations: 176.7 kB / 0.5236 GB, free: 152 kB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.653e-06/0.1778, allocations: 4 kB / 0.5236 GB, free: 148 kB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.774e-05/0.1779, allocations: 15.94 kB / 0.5236 GB, free: 132 kB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.248e-06/0.1779, allocations: 4 kB / 0.5236 GB, free: 128 kB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.466e-05/0.1779, allocations: 3.938 kB / 0.5236 GB, free: 124 kB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.773e-06/0.1779, allocations: 0 / 0.5236 GB, free: 124 kB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.753e-06/0.1779, allocations: 11.97 kB / 0.5236 GB, free: 112 kB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004325/0.1783, allocations: 181 kB / 0.5238 GB, free: 15.91 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.861e-05/0.1784, allocations: 19.91 kB / 0.5238 GB, free: 15.89 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.706e-05/0.1784, allocations: 3.938 kB / 0.5238 GB, free: 15.89 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.31e-05/0.1784, allocations: 7.984 kB / 0.5238 GB, free: 15.88 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.452e-05/0.1785, allocations: 11.98 kB / 0.5239 GB, free: 15.87 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.789e-05/0.1785, allocations: 0 / 0.5239 GB, free: 15.87 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001477/0.1787, allocations: 145.1 kB / 0.524 GB, free: 15.73 MB / 414.1 MB Notification: Performance of sort global known variables: time 7e-08/0.1787, allocations: 0 / 0.524 GB, free: 15.73 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002441/0.1789, allocations: 27.94 kB / 0.524 GB, free: 15.7 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (err1.y) * 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.002143/0.1811, allocations: 1.029 MB / 0.525 GB, free: 14.7 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002745/0.1813, allocations: 75.78 kB / 0.5251 GB, free: 14.62 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.545e-06/0.1813, allocations: 4.25 kB / 0.5251 GB, free: 14.62 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001027/0.1814, allocations: 36.11 kB / 0.5251 GB, free: 14.59 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003292/0.1818, allocations: 40.09 kB / 0.5252 GB, free: 14.55 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002236/0.184, allocations: 1.736 MB / 0.5269 GB, free: 12.7 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003767/0.1844, allocations: 0.7123 MB / 0.5276 GB, free: 11.96 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 6.59e-05/0.1844, allocations: 17.42 kB / 0.5276 GB, free: 11.95 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.834e-05/0.1845, allocations: 39.42 kB / 0.5276 GB, free: 11.91 MB / 414.1 MB Notification: Performance of SimCode: time 3.91e-07/0.1845, allocations: 0 / 0.5276 GB, free: 11.91 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02626/0.2108, allocations: 3.997 MB / 0.5315 GB, free: 7.82 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.29/11.5, allocations: 15.94 kB / 0.5315 GB, free: 7.805 MB / 414.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test10.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test10.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test10.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test10.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test10_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test10_fmu --startTime=0 --stopTime=2 --stepSize=0.00039976 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test10.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test10.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test10_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test10/Test10.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test10.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 15.265261961030774]