Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test11.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.001731/0.001731, 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.001618/0.001618, allocations: 209.7 kB / 23.79 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.695/1.695, allocations: 207.6 MB / 234.6 MB, free: 9.977 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.2525/0.2525, allocations: 44.25 MB / 331.1 MB, free: 9.52 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.Test11,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test11",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test11,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test11",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.002385/0.002385, allocations: 78.55 kB / 468.3 MB, free: 4.449 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.161/0.1634, allocations: 61.03 MB / 0.517 GB, free: 7.27 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test11): time 0.005474/0.1689, allocations: 1.937 MB / 0.5189 GB, free: 5.32 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001737/0.1706, allocations: 0.87 MB / 0.5197 GB, free: 4.441 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.984e-05/0.1707, allocations: 0 / 0.5197 GB, free: 4.441 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003742/0.1711, allocations: 51.7 kB / 0.5198 GB, free: 4.391 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002587/0.1713, allocations: 63.62 kB / 0.5198 GB, free: 4.328 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003547/0.1717, allocations: 103.7 kB / 0.5199 GB, free: 4.227 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002638/0.172, allocations: 143.5 kB / 0.5201 GB, free: 4.086 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000147/0.1721, allocations: 17.67 kB / 0.5201 GB, free: 4.062 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001343/0.1722, allocations: 67.7 kB / 0.5201 GB, free: 3.996 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001236/0.1724, allocations: 47.7 kB / 0.5202 GB, free: 3.949 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.962e-05/0.1724, allocations: 8 kB / 0.5202 GB, free: 3.941 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001236/0.1725, allocations: 47.98 kB / 0.5202 GB, free: 3.895 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 9.697e-05/0.1726, allocations: 31.84 kB / 0.5203 GB, free: 3.863 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000104/0.1727, allocations: 51.62 kB / 0.5203 GB, free: 3.812 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003367/0.1731, allocations: 143.4 kB / 0.5204 GB, free: 3.672 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.099e-06/0.1731, allocations: 0 / 0.5204 GB, free: 3.672 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.214e-06/0.1731, allocations: 0 / 0.5204 GB, free: 3.672 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.273e-05/0.1731, allocations: 0 / 0.5204 GB, free: 3.672 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.0008382/0.1739, allocations: 407.1 kB / 0.5208 GB, free: 3.238 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.216e-05/0.174, allocations: 8.031 kB / 0.5208 GB, free: 3.23 MB / 398.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.743e-05/0.174, allocations: 12.19 kB / 0.5209 GB, free: 3.219 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.084e-05/0.174, allocations: 46.67 kB / 0.5209 GB, free: 3.164 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.567e-05/0.1741, allocations: 12.84 kB / 0.5209 GB, free: 3.152 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000445/0.1745, allocations: 163.3 kB / 0.5211 GB, free: 2.969 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.071e-05/0.1746, allocations: 4.125 kB / 0.5211 GB, free: 2.965 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.621e-05/0.1746, allocations: 11.95 kB / 0.5211 GB, free: 2.953 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003706/0.175, allocations: 112.2 kB / 0.5212 GB, free: 2.828 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.656e-05/0.175, allocations: 0 / 0.5212 GB, free: 2.828 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.119e-05/0.175, allocations: 4 kB / 0.5212 GB, free: 2.824 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.278e-05/0.175, allocations: 4 kB / 0.5212 GB, free: 2.82 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001867/0.1752, allocations: 39.97 kB / 0.5212 GB, free: 2.781 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008895/0.1761, allocations: 496 kB / 0.5217 GB, free: 2.246 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000413/0.1765, allocations: 90.58 kB / 0.5218 GB, free: 2.148 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001056/0.1766, allocations: 32.84 kB / 0.5218 GB, free: 2.113 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.765e-05/0.1766, allocations: 0 / 0.5218 GB, free: 2.113 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003154/0.177, allocations: 91.31 kB / 0.5219 GB, free: 2.012 MB / 398.1 MB Notification: Performance of pre-optimization done (n=9): time 1.263e-06/0.177, allocations: 0 / 0.5219 GB, free: 2.012 MB / 398.1 MB Notification: Performance of matching and sorting (n=9): time 0.0005388/0.1775, allocations: 145.4 kB / 0.5221 GB, free: 1.863 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.166e-05/0.1776, allocations: 55.39 kB / 0.5221 GB, free: 1.797 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003073/0.1779, allocations: 187.6 kB / 0.5223 GB, free: 1.602 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 3.652e-05/0.1779, allocations: 33.7 kB / 0.5223 GB, free: 1.562 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001524/0.1781, allocations: 108.1 kB / 0.5224 GB, free: 1.453 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.263e-05/0.1781, allocations: 27.75 kB / 0.5224 GB, free: 1.426 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.449e-05/0.1782, allocations: 37.64 kB / 0.5225 GB, free: 1.383 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0002235/0.1784, allocations: 322.8 kB / 0.5228 GB, free: 1.059 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.433e-05/0.1785, allocations: 23.98 kB / 0.5228 GB, free: 1.035 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001328/0.1786, allocations: 80.2 kB / 0.5229 GB, free: 0.9414 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002226/0.1789, allocations: 92.2 kB / 0.523 GB, free: 0.8359 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.737e-06/0.1789, allocations: 0 / 0.523 GB, free: 0.8359 MB / 398.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003499/0.1792, allocations: 141.8 kB / 0.5231 GB, free: 0.6914 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.846e-05/0.1793, allocations: 4 kB / 0.5231 GB, free: 0.6875 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.408e-06/0.1793, allocations: 4.094 kB / 0.5231 GB, free: 0.6836 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.937e-05/0.1793, allocations: 7.875 kB / 0.5231 GB, free: 0.6758 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001247/0.1794, allocations: 27.92 kB / 0.5232 GB, free: 0.6484 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.119e-05/0.1794, allocations: 0 / 0.5232 GB, free: 0.6484 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.527e-05/0.1795, allocations: 19.89 kB / 0.5232 GB, free: 0.6289 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.366e-05/0.1795, allocations: 4.125 kB / 0.5232 GB, free: 0.625 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.0001755/0.1797, allocations: 129.8 kB / 0.5233 GB, free: 500 kB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.303e-05/0.1797, allocations: 15.91 kB / 0.5233 GB, free: 484 kB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000345/0.1801, allocations: 126.9 kB / 0.5234 GB, free: 348 kB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.298e-06/0.1801, allocations: 0 / 0.5234 GB, free: 348 kB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.651e-06/0.1801, allocations: 0 / 0.5234 GB, free: 348 kB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.078e-06/0.1801, allocations: 4 kB / 0.5234 GB, free: 344 kB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002547/0.1803, allocations: 184.6 kB / 0.5236 GB, free: 116 kB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.904e-06/0.1803, allocations: 0 / 0.5236 GB, free: 116 kB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001151/0.1805, allocations: 15.98 kB / 0.5236 GB, free: 100 kB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.416e-06/0.1805, allocations: 0 / 0.5236 GB, free: 100 kB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.063e-05/0.1805, allocations: 7.938 kB / 0.5236 GB, free: 92 kB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.295e-06/0.1805, allocations: 0 / 0.5236 GB, free: 92 kB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.412e-06/0.1805, allocations: 0 / 0.5236 GB, free: 92 kB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004446/0.1809, allocations: 177.1 kB / 0.5238 GB, free: 15.89 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.912e-05/0.181, allocations: 20 kB / 0.5238 GB, free: 15.88 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.303e-05/0.181, allocations: 11.73 kB / 0.5238 GB, free: 15.87 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.122e-05/0.1811, allocations: 4 kB / 0.5238 GB, free: 15.86 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.583e-05/0.1811, allocations: 7.984 kB / 0.5239 GB, free: 15.86 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.029e-05/0.1812, allocations: 4 kB / 0.5239 GB, free: 15.85 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001472/0.1813, allocations: 145.1 kB / 0.524 GB, free: 15.71 MB / 414.1 MB Notification: Performance of sort global known variables: time 7.1e-08/0.1813, allocations: 0 / 0.524 GB, free: 15.71 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002563/0.1816, allocations: 28.12 kB / 0.524 GB, free: 15.68 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.00232/0.1839, allocations: 1.025 MB / 0.525 GB, free: 14.68 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0003095/0.1842, allocations: 79.89 kB / 0.5251 GB, free: 14.61 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 3.607e-06/0.1842, allocations: 256 / 0.5251 GB, free: 14.61 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001427/0.1843, allocations: 43.91 kB / 0.5251 GB, free: 14.56 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004311/0.1848, allocations: 39.95 kB / 0.5252 GB, free: 14.52 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002956/0.1877, allocations: 1.732 MB / 0.5269 GB, free: 12.68 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004136/0.1881, allocations: 0.7123 MB / 0.5276 GB, free: 11.95 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001167/0.1883, allocations: 21.42 kB / 0.5276 GB, free: 11.93 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.923e-05/0.1883, allocations: 39.42 kB / 0.5276 GB, free: 11.89 MB / 414.1 MB Notification: Performance of SimCode: time 1.022e-06/0.1883, allocations: 0 / 0.5276 GB, free: 11.89 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02677/0.2151, allocations: 4.005 MB / 0.5315 GB, free: 7.789 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.22/11.43, allocations: 7.938 kB / 0.5315 GB, free: 7.781 MB / 414.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test11.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test11.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test11.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test11.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test11_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test11_fmu --startTime=0 --stopTime=2 --stepSize=0.00039976 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test11.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test11.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test11_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test11/Test11.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test11.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.26125703501748]