Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test51.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001812/0.001812, allocations: 113.4 kB / 19.69 MB, free: 2.043 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001765/0.001765, allocations: 189.4 kB / 22.98 MB, free: 4.957 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.853/1.853, allocations: 207.6 MB / 233.7 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.2654/0.2654, allocations: 44.23 MB / 330.2 MB, free: 9.551 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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test51,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5014,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test51") translateModel(ModelicaTest.Tables.CombiTimeTable.Test51,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5014,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test51") [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.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.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002147/0.002147, allocations: 63.89 kB / 468 MB, free: 3.984 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1585/0.1607, allocations: 61.04 MB / 0.5166 GB, free: 6.805 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test51): time 0.003546/0.1642, allocations: 1.718 MB / 0.5183 GB, free: 5.078 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001498/0.1657, allocations: 0.8313 MB / 0.5191 GB, free: 4.238 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.04e-05/0.1658, allocations: 7.938 kB / 0.5191 GB, free: 4.23 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000349/0.1661, allocations: 39.83 kB / 0.5192 GB, free: 4.191 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002451/0.1664, allocations: 67.69 kB / 0.5192 GB, free: 4.125 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002705/0.1666, allocations: 95.7 kB / 0.5193 GB, free: 4.031 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001997/0.1668, allocations: 99.67 kB / 0.5194 GB, free: 3.934 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001081/0.1669, allocations: 8.219 kB / 0.5194 GB, free: 3.926 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001079/0.1671, allocations: 43.78 kB / 0.5195 GB, free: 3.883 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.284e-05/0.1671, allocations: 39.78 kB / 0.5195 GB, free: 3.844 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.521e-05/0.1672, allocations: 4 kB / 0.5195 GB, free: 3.84 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001025/0.1673, allocations: 35.98 kB / 0.5195 GB, free: 3.805 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.866e-05/0.1673, allocations: 27.86 kB / 0.5196 GB, free: 3.777 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 6.741e-05/0.1674, allocations: 35.75 kB / 0.5196 GB, free: 3.742 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002465/0.1677, allocations: 119.5 kB / 0.5197 GB, free: 3.625 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.464e-06/0.1677, allocations: 4 kB / 0.5197 GB, free: 3.621 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.944e-06/0.1677, allocations: 0 / 0.5197 GB, free: 3.621 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.362e-06/0.1677, allocations: 0 / 0.5197 GB, free: 3.621 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.0006459/0.1683, allocations: 357.4 kB / 0.5201 GB, free: 3.242 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.483e-05/0.1684, allocations: 16.02 kB / 0.5201 GB, free: 3.227 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.044e-05/0.1684, allocations: 12.84 kB / 0.5201 GB, free: 3.215 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002917/0.1687, allocations: 154.2 kB / 0.5202 GB, free: 3.039 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.748e-06/0.1687, allocations: 4.375 kB / 0.5202 GB, free: 3.035 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.077e-05/0.1687, allocations: 12.12 kB / 0.5203 GB, free: 3.023 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001695/0.1689, allocations: 49.67 kB / 0.5203 GB, free: 2.969 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.292e-05/0.1689, allocations: 0 / 0.5203 GB, free: 2.969 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.309e-05/0.1689, allocations: 4 kB / 0.5203 GB, free: 2.965 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.763e-06/0.169, allocations: 4 kB / 0.5203 GB, free: 2.961 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.745e-05/0.169, allocations: 19.92 kB / 0.5203 GB, free: 2.941 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004239/0.1695, allocations: 264 kB / 0.5206 GB, free: 2.641 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001994/0.1697, allocations: 58.67 kB / 0.5206 GB, free: 2.574 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.046e-05/0.1697, allocations: 20.84 kB / 0.5207 GB, free: 2.551 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.825e-05/0.1697, allocations: 3.938 kB / 0.5207 GB, free: 2.547 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001656/0.1699, allocations: 63.39 kB / 0.5207 GB, free: 2.473 MB / 398.1 MB Notification: Performance of pre-optimization done (n=6): time 1.402e-06/0.1699, allocations: 4 kB / 0.5207 GB, free: 2.469 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0006139/0.1705, allocations: 177.3 kB / 0.5209 GB, free: 2.289 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.83e-05/0.1706, allocations: 55.39 kB / 0.5209 GB, free: 2.223 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002473/0.1708, allocations: 218.7 kB / 0.5212 GB, free: 1.992 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.433e-05/0.1708, allocations: 29.7 kB / 0.5212 GB, free: 1.957 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.307e-05/0.1709, allocations: 112.1 kB / 0.5213 GB, free: 1.844 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.562e-05/0.1709, allocations: 23.84 kB / 0.5213 GB, free: 1.82 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.595e-05/0.171, allocations: 25.72 kB / 0.5213 GB, free: 1.789 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.00017/0.1712, allocations: 330.8 kB / 0.5217 GB, free: 1.457 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.617e-05/0.1712, allocations: 16.36 kB / 0.5217 GB, free: 1.441 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.457e-05/0.1713, allocations: 37.7 kB / 0.5217 GB, free: 1.398 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001306/0.1715, allocations: 65.7 kB / 0.5218 GB, free: 1.328 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.347e-06/0.1715, allocations: 4 kB / 0.5218 GB, free: 1.324 MB / 398.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002045/0.1717, allocations: 109.5 kB / 0.5219 GB, free: 1.211 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.492e-05/0.1717, allocations: 4 kB / 0.5219 GB, free: 1.207 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.209e-06/0.1717, allocations: 0 / 0.5219 GB, free: 1.207 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.019e-05/0.1717, allocations: 4 kB / 0.5219 GB, free: 1.203 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.616e-05/0.1718, allocations: 15.98 kB / 0.5219 GB, free: 1.188 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.06e-06/0.1718, allocations: 0 / 0.5219 GB, free: 1.188 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.509e-05/0.1719, allocations: 11.94 kB / 0.5219 GB, free: 1.176 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.344e-06/0.1719, allocations: 0 / 0.5219 GB, free: 1.176 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.0001205/0.172, allocations: 133.8 kB / 0.522 GB, free: 1.035 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.443e-05/0.172, allocations: 11.98 kB / 0.5221 GB, free: 1.023 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002744/0.1723, allocations: 123.1 kB / 0.5222 GB, free: 0.8945 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.395e-06/0.1723, allocations: 0 / 0.5222 GB, free: 0.8945 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.588e-06/0.1723, allocations: 3.938 kB / 0.5222 GB, free: 0.8906 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.322e-06/0.1723, allocations: 3.938 kB / 0.5222 GB, free: 0.8867 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004717/0.1728, allocations: 366.4 kB / 0.5225 GB, free: 488 kB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.903e-06/0.1728, allocations: 4 kB / 0.5225 GB, free: 484 kB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.678e-05/0.1728, allocations: 12.03 kB / 0.5225 GB, free: 472 kB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.107e-06/0.1728, allocations: 4 kB / 0.5225 GB, free: 468 kB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.15e-05/0.1728, allocations: 3.938 kB / 0.5225 GB, free: 464 kB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.493e-06/0.1728, allocations: 0 / 0.5225 GB, free: 464 kB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.206e-06/0.1728, allocations: 4 kB / 0.5226 GB, free: 460 kB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000265/0.1731, allocations: 204.2 kB / 0.5227 GB, free: 236 kB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.138e-05/0.1731, allocations: 11.94 kB / 0.5228 GB, free: 224 kB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.766e-05/0.1732, allocations: 7.938 kB / 0.5228 GB, free: 216 kB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.567e-05/0.1732, allocations: 7.984 kB / 0.5228 GB, free: 208 kB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.416e-05/0.1733, allocations: 7.922 kB / 0.5228 GB, free: 200 kB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.871e-05/0.1733, allocations: 8 kB / 0.5228 GB, free: 192 kB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001683/0.1735, allocations: 172.3 kB / 0.523 GB, free: 20 kB / 398.1 MB Notification: Performance of sort global known variables: time 9e-08/0.1735, allocations: 0 / 0.523 GB, free: 20 kB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002937/0.1738, allocations: 24.03 kB / 0.523 GB, free: 15.99 MB / 414.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.001837/0.1756, allocations: 457 kB / 0.5234 GB, free: 15.6 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002465/0.1758, allocations: 59.89 kB / 0.5235 GB, free: 15.54 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.703e-06/0.1758, allocations: 0 / 0.5235 GB, free: 15.54 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 8.141e-05/0.1759, allocations: 27.94 kB / 0.5235 GB, free: 15.52 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003773/0.1763, allocations: 39.89 kB / 0.5235 GB, free: 15.48 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005531/0.1768, allocations: 254.7 kB / 0.5238 GB, free: 15.2 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003863/0.1772, allocations: 0.708 MB / 0.5245 GB, free: 14.46 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 5.062e-05/0.1773, allocations: 12.98 kB / 0.5245 GB, free: 14.45 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.824e-05/0.1773, allocations: 23.42 kB / 0.5245 GB, free: 14.43 MB / 414.1 MB Notification: Performance of SimCode: time 3.31e-07/0.1773, allocations: 3.938 kB / 0.5245 GB, free: 14.43 MB / 414.1 MB Notification: Performance of Templates: time 0.005419/0.1828, allocations: 1.754 MB / 0.5262 GB, free: 12.68 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test51.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test51.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test51.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test51.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test51.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test51 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test51.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test51_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test51/Test51.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test51.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: 5.8588538551703095]