Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test74.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.001738/0.001738, 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.002144/0.002144, allocations: 217.7 kB / 23.79 MB, free: 4.684 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.734/1.734, allocations: 207.6 MB / 234.5 MB, free: 10 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.2527/0.2527, allocations: 44.25 MB / 331.1 MB, free: 9.523 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.Test74,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test74",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test74,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test74",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.002213/0.002213, allocations: 70.72 kB / 468.3 MB, free: 4.469 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1577/0.1599, allocations: 61.05 MB / 0.517 GB, free: 7.273 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test74): time 0.004081/0.164, allocations: 1.87 MB / 0.5188 GB, free: 5.391 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001843/0.1658, allocations: 0.9092 MB / 0.5197 GB, free: 4.473 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001664/0.166, allocations: 7.938 kB / 0.5197 GB, free: 4.465 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005612/0.1665, allocations: 251.4 kB / 0.5199 GB, free: 4.219 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004435/0.167, allocations: 195.4 kB / 0.5201 GB, free: 4.027 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004695/0.1675, allocations: 147.7 kB / 0.5203 GB, free: 3.883 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004472/0.1679, allocations: 247.2 kB / 0.5205 GB, free: 3.641 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001159/0.168, allocations: 17.73 kB / 0.5205 GB, free: 3.621 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002579/0.1683, allocations: 131.5 kB / 0.5206 GB, free: 3.492 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003246/0.1686, allocations: 199.5 kB / 0.5208 GB, free: 3.297 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 3.763e-05/0.1686, allocations: 8 kB / 0.5208 GB, free: 3.289 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001487/0.1688, allocations: 51.97 kB / 0.5209 GB, free: 3.238 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001133/0.1689, allocations: 63.64 kB / 0.521 GB, free: 3.176 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001101/0.169, allocations: 83.3 kB / 0.521 GB, free: 3.094 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003973/0.1694, allocations: 226.9 kB / 0.5212 GB, free: 2.871 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.398e-06/0.1694, allocations: 0 / 0.5212 GB, free: 2.871 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.343e-06/0.1694, allocations: 0 / 0.5212 GB, free: 2.871 MB / 398.1 MB Notification: Performance of Transformations before backend: time 7.735e-06/0.1694, allocations: 4 kB / 0.5213 GB, free: 2.867 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: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.0009333/0.1704, allocations: 0.4925 MB / 0.5217 GB, free: 2.344 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.114e-05/0.1704, allocations: 12.03 kB / 0.5217 GB, free: 2.332 MB / 398.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.712e-05/0.1704, allocations: 192 / 0.5217 GB, free: 2.332 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.967e-05/0.1705, allocations: 38.75 kB / 0.5218 GB, free: 2.285 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.671e-05/0.1706, allocations: 28.75 kB / 0.5218 GB, free: 2.258 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004619/0.171, allocations: 222.5 kB / 0.522 GB, free: 2.02 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.018e-05/0.171, allocations: 12.12 kB / 0.522 GB, free: 2.008 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.164e-05/0.1711, allocations: 7.938 kB / 0.522 GB, free: 2 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002732/0.1713, allocations: 95.3 kB / 0.5221 GB, free: 1.895 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.826e-05/0.1714, allocations: 4 kB / 0.5221 GB, free: 1.891 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.841e-05/0.1714, allocations: 4 kB / 0.5221 GB, free: 1.887 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.671e-06/0.1714, allocations: 0 / 0.5221 GB, free: 1.887 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001342/0.1715, allocations: 35.97 kB / 0.5222 GB, free: 1.852 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006821/0.1722, allocations: 435.9 kB / 0.5226 GB, free: 1.379 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003055/0.1725, allocations: 113.3 kB / 0.5227 GB, free: 1.25 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.916e-05/0.1726, allocations: 41.7 kB / 0.5227 GB, free: 1.203 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.91e-05/0.1726, allocations: 0 / 0.5227 GB, free: 1.203 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002781/0.1729, allocations: 116.9 kB / 0.5228 GB, free: 1.07 MB / 398.1 MB Notification: Performance of pre-optimization done (n=12): time 1.242e-06/0.1729, allocations: 0 / 0.5228 GB, free: 1.07 MB / 398.1 MB Notification: Performance of matching and sorting (n=16): time 0.001052/0.174, allocations: 389.1 kB / 0.5232 GB, free: 0.6836 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.984e-05/0.1741, allocations: 85.11 kB / 0.5233 GB, free: 0.582 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005419/0.1746, allocations: 477.6 kB / 0.5238 GB, free: 108 kB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 3.441e-05/0.1746, allocations: 33.7 kB / 0.5238 GB, free: 68 kB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001648/0.1748, allocations: 164.3 kB / 0.5239 GB, free: 15.9 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.194e-05/0.1749, allocations: 51.62 kB / 0.524 GB, free: 15.85 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.131e-05/0.1749, allocations: 33.7 kB / 0.524 GB, free: 15.81 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001805/0.1751, allocations: 350.8 kB / 0.5244 GB, free: 15.46 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001057/0.1752, allocations: 39.98 kB / 0.5244 GB, free: 15.42 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001262/0.1753, allocations: 67.53 kB / 0.5245 GB, free: 15.34 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002444/0.1756, allocations: 127.5 kB / 0.5246 GB, free: 15.21 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.503e-06/0.1756, allocations: 0 / 0.5246 GB, free: 15.21 MB / 414.1 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0003645/0.1759, allocations: 193.3 kB / 0.5248 GB, free: 15.01 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.96e-05/0.176, allocations: 4 kB / 0.5248 GB, free: 15.01 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.963e-06/0.176, allocations: 0 / 0.5248 GB, free: 15.01 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.298e-05/0.176, allocations: 11.92 kB / 0.5248 GB, free: 15 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001456/0.1761, allocations: 31.92 kB / 0.5248 GB, free: 14.96 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.388e-06/0.1762, allocations: 7.938 kB / 0.5248 GB, free: 14.96 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.946e-05/0.1762, allocations: 16.05 kB / 0.5248 GB, free: 14.94 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.293e-05/0.1763, allocations: 4 kB / 0.5248 GB, free: 14.94 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 10 ($PRE.t_new.nextTimeEvent,$whenCondition2,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,$PRE.t_new_2.nextTimeEvent,$whenCondition1,t_new_2.nextTimeEventScaled,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (20): * Single equations (assignments): 20 * 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.0001865/0.1764, allocations: 173.7 kB / 0.525 GB, free: 14.76 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.045e-05/0.1765, allocations: 27.81 kB / 0.525 GB, free: 14.73 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004469/0.1769, allocations: 220.4 kB / 0.5252 GB, free: 14.51 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.075e-06/0.1769, allocations: 7.938 kB / 0.5253 GB, free: 14.5 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.7e-06/0.177, allocations: 0 / 0.5253 GB, free: 14.5 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.725e-06/0.177, allocations: 3.984 kB / 0.5253 GB, free: 14.5 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008595/0.1778, allocations: 0.5882 MB / 0.5258 GB, free: 13.85 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.679e-06/0.1778, allocations: 7.938 kB / 0.5258 GB, free: 13.84 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.894e-05/0.1779, allocations: 15.98 kB / 0.5259 GB, free: 13.83 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.771e-06/0.1779, allocations: 4 kB / 0.5259 GB, free: 13.82 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.95e-05/0.1779, allocations: 8 kB / 0.5259 GB, free: 13.82 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.184e-06/0.1779, allocations: 0 / 0.5259 GB, free: 13.82 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.803e-06/0.1779, allocations: 0 / 0.5259 GB, free: 13.82 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004725/0.1784, allocations: 376.2 kB / 0.5262 GB, free: 13.43 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.512e-05/0.1784, allocations: 27.8 kB / 0.5262 GB, free: 13.4 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.838e-05/0.1785, allocations: 8 kB / 0.5263 GB, free: 13.39 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001269/0.1786, allocations: 0 / 0.5263 GB, free: 13.39 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.957e-05/0.1787, allocations: 23.97 kB / 0.5263 GB, free: 13.37 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.621e-05/0.1787, allocations: 8 kB / 0.5263 GB, free: 13.36 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.000378/0.1791, allocations: 359.1 kB / 0.5266 GB, free: 13.01 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1791, allocations: 0 / 0.5266 GB, free: 13.01 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003607/0.1794, allocations: 39.94 kB / 0.5267 GB, free: 12.97 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition2,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 4 (t_new.nextTimeEvent,t_new.nextTimeEventScaled,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (16): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.002466/0.1819, allocations: 1.266 MB / 0.5279 GB, free: 11.73 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0003196/0.1822, allocations: 119.9 kB / 0.528 GB, free: 11.61 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.585e-06/0.1822, allocations: 0 / 0.528 GB, free: 11.61 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001292/0.1823, allocations: 51.92 kB / 0.5281 GB, free: 11.56 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005634/0.1829, allocations: 57.33 kB / 0.5281 GB, free: 11.5 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00381/0.1867, allocations: 2.749 MB / 0.5308 GB, free: 8.633 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005661/0.1873, allocations: 0.771 MB / 0.5316 GB, free: 7.836 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001126/0.1874, allocations: 30.39 kB / 0.5316 GB, free: 7.809 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001527/0.1876, allocations: 91.39 kB / 0.5317 GB, free: 7.723 MB / 414.1 MB Notification: Performance of SimCode: time 7.81e-07/0.1876, allocations: 0 / 0.5317 GB, free: 7.723 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02868/0.2162, allocations: 6.247 MB / 0.5378 GB, free: 1.375 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.39/11.61, allocations: 12.08 kB / 0.5378 GB, free: 1.363 MB / 414.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test74.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test74.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test74.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test74.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test74_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test74_fmu --startTime=0 --stopTime=15 --stepSize=0.0029988 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test74.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test74.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test74_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test74/Test74.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test74.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.448277250980027]