Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test46.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) 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.Test46,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test46") translateModel(ModelicaTest.Tables.CombiTimeTable.Test46,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test46") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001609/0.001609, allocations: 107.3 kB / 17.03 MB, free: 6.125 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001279/0.001279, allocations: 196.1 kB / 17.97 MB, free: 5.211 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.784/1.784, allocations: 205.1 MB / 223.8 MB, free: 12.3 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2631/0.2631, allocations: 43.52 MB / 314.7 MB, free: 484 kB / 254.1 MB 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.00145/0.00145, allocations: 69.27 kB / 384.2 MB, free: 56.44 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.165/0.1665, allocations: 57.79 MB / 442 MB, free: 6.145 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test46): time 0.004332/0.1709, allocations: 1.693 MB / 443.7 MB, free: 4.438 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001733/0.1726, allocations: 0.8039 MB / 444.5 MB, free: 3.625 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.585e-05/0.1728, allocations: 0 / 444.5 MB, free: 3.625 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004192/0.1732, allocations: 51.83 kB / 444.5 MB, free: 3.574 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002738/0.1735, allocations: 59.69 kB / 444.6 MB, free: 3.516 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003664/0.1739, allocations: 83.77 kB / 444.7 MB, free: 3.434 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001939/0.1741, allocations: 99.67 kB / 444.8 MB, free: 3.336 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001268/0.1742, allocations: 12.23 kB / 444.8 MB, free: 3.324 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.57e-05/0.1743, allocations: 39.78 kB / 444.8 MB, free: 3.285 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.758e-05/0.1744, allocations: 35.84 kB / 444.8 MB, free: 3.25 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 2.113e-05/0.1745, allocations: 0 / 444.8 MB, free: 3.25 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001197/0.1746, allocations: 47.92 kB / 444.9 MB, free: 3.203 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 7.17e-05/0.1747, allocations: 23.92 kB / 444.9 MB, free: 3.18 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 6.482e-05/0.1748, allocations: 35.69 kB / 445 MB, free: 3.145 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002688/0.175, allocations: 135.5 kB / 445.1 MB, free: 3.012 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.29e-06/0.1751, allocations: 0 / 445.1 MB, free: 3.012 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.533e-06/0.1751, allocations: 0 / 445.1 MB, free: 3.012 MB / 318.1 MB Notification: Performance of Transformations before backend: time 6.322e-06/0.1751, allocations: 4 kB / 445.1 MB, free: 3.008 MB / 318.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.0006035/0.1757, allocations: 440 kB / 445.5 MB, free: 2.531 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.062e-05/0.1758, allocations: 15.89 kB / 445.5 MB, free: 2.516 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.757e-05/0.1758, allocations: 8.844 kB / 445.5 MB, free: 2.508 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003077/0.1761, allocations: 223.7 kB / 445.8 MB, free: 2.25 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.704e-05/0.1762, allocations: 384 / 445.8 MB, free: 2.25 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.517e-05/0.1762, allocations: 12.03 kB / 445.8 MB, free: 2.238 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001798/0.1764, allocations: 57.67 kB / 445.8 MB, free: 2.176 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.449e-05/0.1764, allocations: 0 / 445.8 MB, free: 2.176 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.346e-05/0.1764, allocations: 7.922 kB / 445.8 MB, free: 2.168 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.671e-06/0.1765, allocations: 0 / 445.8 MB, free: 2.168 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.676e-05/0.1765, allocations: 19.98 kB / 445.9 MB, free: 2.148 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000405/0.177, allocations: 296.8 kB / 446.1 MB, free: 1.809 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001916/0.1772, allocations: 62.67 kB / 446.2 MB, free: 1.738 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.281e-05/0.1772, allocations: 16.86 kB / 446.2 MB, free: 1.719 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.96e-05/0.1773, allocations: 4 kB / 446.2 MB, free: 1.715 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001672/0.1775, allocations: 71.31 kB / 446.3 MB, free: 1.633 MB / 318.1 MB Notification: Performance of pre-optimization done (n=6): time 1.674e-06/0.1775, allocations: 0 / 446.3 MB, free: 1.633 MB / 318.1 MB Notification: Performance of matching and sorting (n=8): time 0.0006889/0.1782, allocations: 173.1 kB / 446.5 MB, free: 1.457 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.451e-05/0.1782, allocations: 59.34 kB / 446.5 MB, free: 1.387 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002592/0.1785, allocations: 262.5 kB / 446.8 MB, free: 1.113 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.621e-05/0.1785, allocations: 25.7 kB / 446.8 MB, free: 1.082 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.664e-05/0.1786, allocations: 116 kB / 446.9 MB, free: 0.9648 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.392e-05/0.1786, allocations: 23.73 kB / 446.9 MB, free: 0.9414 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.656e-05/0.1787, allocations: 21.72 kB / 447 MB, free: 0.9141 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 8.769e-05/0.1788, allocations: 334.8 kB / 447.3 MB, free: 0.5781 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.896e-05/0.1789, allocations: 20 kB / 447.3 MB, free: 0.5586 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.306e-05/0.1789, allocations: 42.02 kB / 447.3 MB, free: 0.5117 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001262/0.1791, allocations: 65.62 kB / 447.4 MB, free: 452 kB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.062e-06/0.1791, allocations: 0 / 447.4 MB, free: 452 kB / 318.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002027/0.1793, allocations: 101.6 kB / 447.5 MB, free: 344 kB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.02e-05/0.1793, allocations: 11.98 kB / 447.5 MB, free: 332 kB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.171e-06/0.1793, allocations: 80 / 447.5 MB, free: 332 kB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.956e-05/0.1794, allocations: 0 / 447.5 MB, free: 332 kB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001169/0.1795, allocations: 23.97 kB / 447.5 MB, free: 308 kB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.795e-06/0.1795, allocations: 3.984 kB / 447.6 MB, free: 304 kB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.987e-05/0.1796, allocations: 3.938 kB / 447.6 MB, free: 300 kB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.201e-05/0.1796, allocations: 7.984 kB / 447.6 MB, free: 292 kB / 318.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.000106/0.1797, allocations: 137.8 kB / 447.7 MB, free: 144 kB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.75e-05/0.1797, allocations: 15.81 kB / 447.7 MB, free: 128 kB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.564e-05/0.1798, allocations: 21.39 kB / 447.7 MB, free: 108 kB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.206e-06/0.1798, allocations: 4 kB / 447.7 MB, free: 104 kB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.849e-06/0.1798, allocations: 4 kB / 447.7 MB, free: 100 kB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.671e-06/0.1798, allocations: 7.922 kB / 447.7 MB, free: 92 kB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000579/0.1804, allocations: 399.2 kB / 448.1 MB, free: 15.64 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.094e-06/0.1804, allocations: 192 / 448.1 MB, free: 15.64 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.508e-05/0.1805, allocations: 11.98 kB / 448.2 MB, free: 15.63 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.475e-06/0.1805, allocations: 3.938 kB / 448.2 MB, free: 15.62 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.639e-05/0.1805, allocations: 7.938 kB / 448.2 MB, free: 15.62 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.068e-06/0.1806, allocations: 0 / 448.2 MB, free: 15.62 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.152e-06/0.1806, allocations: 3.938 kB / 448.2 MB, free: 15.61 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003056/0.1809, allocations: 200.3 kB / 448.4 MB, free: 15.4 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.73e-05/0.181, allocations: 88.92 kB / 448.4 MB, free: 15.29 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.039e-05/0.181, allocations: 11.94 kB / 448.5 MB, free: 15.28 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001056/0.1811, allocations: 3.984 kB / 448.5 MB, free: 15.28 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.647e-05/0.1812, allocations: 4 kB / 448.5 MB, free: 15.27 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.493e-05/0.1812, allocations: 4 kB / 448.5 MB, free: 15.27 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0002984/0.1815, allocations: 204.5 kB / 448.7 MB, free: 15.07 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.8e-07/0.1816, allocations: 0 / 448.7 MB, free: 15.07 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0004286/0.182, allocations: 24 kB / 448.7 MB, free: 15.05 MB / 334.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.001675/0.1837, allocations: 468.1 kB / 449.2 MB, free: 14.67 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0002616/0.184, allocations: 59.97 kB / 449.2 MB, free: 14.61 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.745e-06/0.184, allocations: 0 / 449.2 MB, free: 14.61 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001071/0.1841, allocations: 31.92 kB / 449.2 MB, free: 14.58 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005223/0.1846, allocations: 23.98 kB / 449.3 MB, free: 14.55 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008543/0.1855, allocations: 296.4 kB / 449.6 MB, free: 14.24 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004683/0.186, allocations: 0.7119 MB / 450.3 MB, free: 13.5 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 6.378e-05/0.186, allocations: 16.86 kB / 450.3 MB, free: 13.48 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.294e-05/0.1861, allocations: 19.44 kB / 450.3 MB, free: 13.46 MB / 334.1 MB Notification: Performance of SimCode: time 2.6e-07/0.1861, allocations: 3.938 kB / 450.3 MB, free: 13.46 MB / 334.1 MB Notification: Performance of Templates: time 0.006636/0.1928, allocations: 1.718 MB / 452 MB, free: 11.75 MB / 334.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test46.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test46.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test46.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test46.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test46.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test46 -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test46.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test46_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test46/Test46.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test46.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches