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.001811/0.001811, 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.002182/0.002182, allocations: 215.3 kB / 23.78 MB, free: 4.551 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.593/1.593, allocations: 207.7 MB / 234.6 MB, free: 9.793 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.2887/0.2887, allocations: 44.26 MB / 331.1 MB, free: 9.328 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.00348/0.00348, allocations: 76.97 kB / 468.3 MB, free: 4.312 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1614/0.1648, allocations: 61.05 MB / 0.517 GB, free: 7.129 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test10): time 0.003861/0.1687, allocations: 1.876 MB / 0.5188 GB, free: 5.238 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001594/0.1703, allocations: 0.8078 MB / 0.5196 GB, free: 4.422 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001057/0.1704, allocations: 0 / 0.5196 GB, free: 4.422 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003628/0.1708, allocations: 47.7 kB / 0.5196 GB, free: 4.375 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002439/0.171, allocations: 63.64 kB / 0.5197 GB, free: 4.312 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003238/0.1713, allocations: 107.7 kB / 0.5198 GB, free: 4.207 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002567/0.1716, allocations: 139.5 kB / 0.5199 GB, free: 4.07 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001595/0.1717, allocations: 29.64 kB / 0.52 GB, free: 4.035 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001053/0.1719, allocations: 55.72 kB / 0.52 GB, free: 3.98 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001144/0.172, allocations: 51.72 kB / 0.5201 GB, free: 3.93 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.365e-05/0.172, allocations: 4 kB / 0.5201 GB, free: 3.926 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001141/0.1721, allocations: 51.97 kB / 0.5201 GB, free: 3.875 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 8.363e-05/0.1722, allocations: 31.86 kB / 0.5202 GB, free: 3.844 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 7.928e-05/0.1723, allocations: 39.73 kB / 0.5202 GB, free: 3.805 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000295/0.1726, allocations: 147.3 kB / 0.5203 GB, free: 3.66 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.202e-06/0.1726, allocations: 0 / 0.5203 GB, free: 3.66 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.945e-06/0.1726, allocations: 0 / 0.5203 GB, free: 3.66 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.035e-05/0.1726, allocations: 3.984 kB / 0.5203 GB, free: 3.656 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.0007605/0.1733, allocations: 403.1 kB / 0.5207 GB, free: 3.227 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.45e-05/0.1734, allocations: 12.03 kB / 0.5207 GB, free: 3.215 MB / 398.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.899e-05/0.1734, allocations: 8.188 kB / 0.5207 GB, free: 3.207 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.756e-05/0.1734, allocations: 38.75 kB / 0.5208 GB, free: 3.16 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.272e-05/0.1735, allocations: 20.84 kB / 0.5208 GB, free: 3.141 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003608/0.1739, allocations: 171.1 kB / 0.521 GB, free: 2.949 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.891e-05/0.1739, allocations: 8.125 kB / 0.521 GB, free: 2.941 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.609e-05/0.1739, allocations: 11.95 kB / 0.521 GB, free: 2.93 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003072/0.1742, allocations: 129.9 kB / 0.5211 GB, free: 2.781 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.039e-05/0.1742, allocations: 0 / 0.5211 GB, free: 2.781 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2e-05/0.1743, allocations: 7.984 kB / 0.5211 GB, free: 2.773 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.548e-06/0.1743, allocations: 0 / 0.5211 GB, free: 2.773 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001604/0.1744, allocations: 51.91 kB / 0.5212 GB, free: 2.723 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007097/0.1751, allocations: 476 kB / 0.5216 GB, free: 2.207 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003833/0.1755, allocations: 78.67 kB / 0.5217 GB, free: 2.121 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001153/0.1756, allocations: 44.83 kB / 0.5217 GB, free: 2.074 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.586e-05/0.1757, allocations: 3.984 kB / 0.5217 GB, free: 2.07 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002558/0.1759, allocations: 113 kB / 0.5218 GB, free: 1.941 MB / 398.1 MB Notification: Performance of pre-optimization done (n=9): time 1.452e-06/0.1759, allocations: 0 / 0.5218 GB, free: 1.941 MB / 398.1 MB Notification: Performance of matching and sorting (n=9): time 0.0004641/0.1764, allocations: 153.4 kB / 0.522 GB, free: 1.785 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.248e-05/0.1764, allocations: 51.41 kB / 0.522 GB, free: 1.723 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002147/0.1767, allocations: 191.6 kB / 0.5222 GB, free: 1.523 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 3.183e-05/0.1767, allocations: 25.7 kB / 0.5222 GB, free: 1.492 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001052/0.1768, allocations: 116.1 kB / 0.5224 GB, free: 1.375 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.328e-05/0.1768, allocations: 35.72 kB / 0.5224 GB, free: 1.34 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.458e-05/0.1769, allocations: 25.72 kB / 0.5224 GB, free: 1.309 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001766/0.1771, allocations: 330.8 kB / 0.5227 GB, free: 0.9766 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.54e-05/0.1772, allocations: 27.98 kB / 0.5228 GB, free: 0.9492 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001167/0.1773, allocations: 68.27 kB / 0.5228 GB, free: 0.8672 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00022/0.1775, allocations: 104.4 kB / 0.5229 GB, free: 0.75 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.631e-06/0.1775, allocations: 3.984 kB / 0.5229 GB, free: 0.7461 MB / 398.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002957/0.1778, allocations: 141.4 kB / 0.5231 GB, free: 0.6016 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.144e-05/0.1778, allocations: 8 kB / 0.5231 GB, free: 0.5938 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.622e-06/0.1778, allocations: 0 / 0.5231 GB, free: 0.5938 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.587e-05/0.1779, allocations: 7.938 kB / 0.5231 GB, free: 0.5859 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001144/0.178, allocations: 19.98 kB / 0.5231 GB, free: 0.5664 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.057e-05/0.178, allocations: 4 kB / 0.5231 GB, free: 0.5625 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.432e-05/0.178, allocations: 19.83 kB / 0.5231 GB, free: 0.543 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.238e-05/0.1781, allocations: 4 kB / 0.5231 GB, free: 0.5391 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.0001407/0.1782, allocations: 130 kB / 0.5232 GB, free: 412 kB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.216e-05/0.1782, allocations: 15.91 kB / 0.5233 GB, free: 396 kB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003415/0.1786, allocations: 134.9 kB / 0.5234 GB, free: 252 kB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.412e-06/0.1786, allocations: 4 kB / 0.5234 GB, free: 248 kB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.609e-06/0.1786, allocations: 0 / 0.5234 GB, free: 248 kB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.429e-06/0.1786, allocations: 0 / 0.5234 GB, free: 248 kB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002117/0.1788, allocations: 164.7 kB / 0.5235 GB, free: 40 kB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.186e-06/0.1788, allocations: 3.984 kB / 0.5236 GB, free: 36 kB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.465e-05/0.1789, allocations: 16 kB / 0.5236 GB, free: 20 kB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.134e-06/0.1789, allocations: 4 kB / 0.5236 GB, free: 16 kB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.335e-05/0.1789, allocations: 11.94 kB / 0.5236 GB, free: 4 kB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.973e-06/0.1789, allocations: 0 / 0.5236 GB, free: 4 kB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.81e-07/0.1789, allocations: 0 / 0.5236 GB, free: 4 kB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004652/0.1794, allocations: 197 kB / 0.5238 GB, free: 15.79 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.537e-05/0.1794, allocations: 16 kB / 0.5238 GB, free: 15.78 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.082e-05/0.1794, allocations: 7.922 kB / 0.5238 GB, free: 15.77 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.178e-05/0.1795, allocations: 4 kB / 0.5238 GB, free: 15.77 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.613e-05/0.1796, allocations: 12.05 kB / 0.5238 GB, free: 15.75 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.003e-05/0.1796, allocations: 8 kB / 0.5238 GB, free: 15.75 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001539/0.1797, allocations: 145.1 kB / 0.524 GB, free: 15.61 MB / 414.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.1797, allocations: 0 / 0.524 GB, free: 15.61 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002483/0.18, allocations: 27.94 kB / 0.524 GB, free: 15.58 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 (10): * Single equations (assignments): 8 * 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.002305/0.1823, allocations: 1.06 MB / 0.525 GB, free: 14.54 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0003241/0.1826, allocations: 95.89 kB / 0.5251 GB, free: 14.45 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 4.008e-06/0.1826, allocations: 0 / 0.5251 GB, free: 14.45 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000119/0.1827, allocations: 39.97 kB / 0.5251 GB, free: 14.41 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000385/0.1831, allocations: 37 kB / 0.5252 GB, free: 14.37 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002353/0.1855, allocations: 1.745 MB / 0.5269 GB, free: 12.52 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001105/0.1856, allocations: 98.7 kB / 0.527 GB, free: 12.41 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 9.268e-05/0.1857, allocations: 25.05 kB / 0.527 GB, free: 12.38 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.619e-05/0.1858, allocations: 39.8 kB / 0.527 GB, free: 12.34 MB / 414.1 MB Notification: Performance of SimCode: time 7.21e-07/0.1858, allocations: 0 / 0.527 GB, free: 12.34 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02784/0.2136, allocations: 4.18 MB / 0.5311 GB, free: 8.051 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.52/11.73, allocations: 4.062 kB / 0.5311 GB, free: 8.047 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.545069967047311]