Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test47.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.Test47,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.Test47") translateModel(ModelicaTest.Tables.CombiTimeTable.Test47,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.Test47") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001334/0.001335, allocations: 102.6 kB / 16.02 MB, free: 76 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001474/0.001474, allocations: 182.5 kB / 16.92 MB, free: 6.688 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.096/2.096, allocations: 205.4 MB / 223.1 MB, free: 5.57 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.4895/0.4895, allocations: 43.58 MB / 315 MB, free: 9.082 MB / 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.0005895/0.0005893, allocations: 20 kB / 384.6 MB, free: 7.859 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1694/0.17, allocations: 58.86 MB / 443.4 MB, free: 12.9 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test47): time 0.002296/0.1724, allocations: 1.414 MB / 444.9 MB, free: 11.47 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001397/0.1738, allocations: 0.7885 MB / 445.6 MB, free: 10.68 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.792e-05/0.1739, allocations: 0 / 445.6 MB, free: 10.68 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003476/0.1742, allocations: 51.8 kB / 445.7 MB, free: 10.62 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001808/0.1744, allocations: 51.83 kB / 445.8 MB, free: 10.57 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002418/0.1747, allocations: 83.83 kB / 445.8 MB, free: 10.49 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002206/0.1749, allocations: 91.7 kB / 445.9 MB, free: 10.4 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001575/0.1751, allocations: 8.219 kB / 445.9 MB, free: 10.39 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001405/0.1752, allocations: 43.78 kB / 446 MB, free: 10.35 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001215/0.1754, allocations: 31.84 kB / 446 MB, free: 10.32 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.152e-05/0.1754, allocations: 4 kB / 446 MB, free: 10.32 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001415/0.1756, allocations: 39.92 kB / 446 MB, free: 10.28 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001003/0.1757, allocations: 35.83 kB / 446.1 MB, free: 10.24 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001101/0.1758, allocations: 61.45 kB / 446.1 MB, free: 10.18 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002919/0.1761, allocations: 123.8 kB / 446.3 MB, free: 10.05 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.47e-06/0.1761, allocations: 0 / 446.3 MB, free: 10.05 MB / 382.1 MB Notification: Performance of FrontEnd: time 4.339e-06/0.1761, allocations: 3.984 kB / 446.3 MB, free: 10.05 MB / 382.1 MB Notification: Performance of Transformations before backend: time 8.446e-06/0.1761, allocations: 0 / 446.3 MB, free: 10.05 MB / 382.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.0007733/0.1769, allocations: 418.9 kB / 446.7 MB, free: 9.594 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.195e-05/0.177, allocations: 12.03 kB / 446.7 MB, free: 9.582 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.136e-05/0.177, allocations: 16.69 kB / 446.7 MB, free: 9.566 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000287/0.1773, allocations: 223.7 kB / 446.9 MB, free: 9.309 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.188e-05/0.1774, allocations: 384 / 446.9 MB, free: 9.309 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.06e-05/0.1774, allocations: 12.11 kB / 446.9 MB, free: 9.297 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001891/0.1776, allocations: 53.67 kB / 447 MB, free: 9.238 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.621e-05/0.1776, allocations: 4 kB / 447 MB, free: 9.234 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.429e-05/0.1777, allocations: 3.984 kB / 447 MB, free: 9.23 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.545e-06/0.1777, allocations: 0 / 447 MB, free: 9.23 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.209e-05/0.1778, allocations: 23.98 kB / 447 MB, free: 9.207 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005699/0.1783, allocations: 296.8 kB / 447.3 MB, free: 8.867 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000191/0.1785, allocations: 54.67 kB / 447.4 MB, free: 8.805 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.816e-05/0.1786, allocations: 20.86 kB / 447.4 MB, free: 8.781 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.222e-05/0.1786, allocations: 7.984 kB / 447.4 MB, free: 8.773 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002352/0.1789, allocations: 67.33 kB / 447.5 MB, free: 8.695 MB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 1.683e-06/0.1789, allocations: 0 / 447.5 MB, free: 8.695 MB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0007071/0.1796, allocations: 181 kB / 447.6 MB, free: 8.512 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.756e-05/0.1797, allocations: 55.39 kB / 447.7 MB, free: 8.445 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003805/0.1801, allocations: 250.8 kB / 447.9 MB, free: 8.188 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 3.364e-05/0.1801, allocations: 41.62 kB / 448 MB, free: 8.141 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001067/0.1802, allocations: 112.1 kB / 448.1 MB, free: 8.027 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.824e-05/0.1803, allocations: 31.62 kB / 448.1 MB, free: 7.996 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.566e-05/0.1804, allocations: 13.72 kB / 448.1 MB, free: 7.977 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001809/0.1805, allocations: 334.8 kB / 448.5 MB, free: 7.641 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.402e-05/0.1806, allocations: 20 kB / 448.5 MB, free: 7.621 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.221e-05/0.1807, allocations: 33.7 kB / 448.5 MB, free: 7.582 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001498/0.1809, allocations: 65.64 kB / 448.6 MB, free: 7.512 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.263e-06/0.1809, allocations: 0 / 448.6 MB, free: 7.512 MB / 382.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002494/0.1812, allocations: 101.5 kB / 448.7 MB, free: 7.406 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.154e-05/0.1812, allocations: 4 kB / 448.7 MB, free: 7.402 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.128e-05/0.1812, allocations: 3.984 kB / 448.7 MB, free: 7.398 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.056e-05/0.1812, allocations: 0 / 448.7 MB, free: 7.398 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001345/0.1814, allocations: 19.94 kB / 448.7 MB, free: 7.379 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.958e-06/0.1814, allocations: 0 / 448.7 MB, free: 7.379 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.853e-05/0.1815, allocations: 7.938 kB / 448.7 MB, free: 7.371 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.04e-05/0.1815, allocations: 4.188 kB / 448.7 MB, free: 7.367 MB / 382.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.0001819/0.1817, allocations: 141.8 kB / 448.8 MB, free: 7.219 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.046e-05/0.1817, allocations: 15.81 kB / 448.9 MB, free: 7.203 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001761/0.1819, allocations: 25.39 kB / 448.9 MB, free: 7.176 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.876e-06/0.1819, allocations: 0 / 448.9 MB, free: 7.176 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.027e-06/0.1819, allocations: 0 / 448.9 MB, free: 7.176 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.092e-05/0.182, allocations: 3.938 kB / 448.9 MB, free: 7.172 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007262/0.1827, allocations: 403.3 kB / 449.3 MB, free: 6.719 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.104e-06/0.1827, allocations: 0 / 449.3 MB, free: 6.719 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.381e-05/0.1828, allocations: 8 kB / 449.3 MB, free: 6.711 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.985e-06/0.1828, allocations: 7.984 kB / 449.3 MB, free: 6.703 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.746e-05/0.1828, allocations: 4.312 kB / 449.3 MB, free: 6.699 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.141e-06/0.1828, allocations: 3.938 kB / 449.3 MB, free: 6.695 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.897e-06/0.1828, allocations: 4 kB / 449.3 MB, free: 6.691 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000362/0.1832, allocations: 212.2 kB / 449.5 MB, free: 6.465 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.612e-05/0.1833, allocations: 92.92 kB / 449.6 MB, free: 6.355 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.052e-05/0.1833, allocations: 7.922 kB / 449.6 MB, free: 6.348 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.388e-05/0.1834, allocations: 4 kB / 449.6 MB, free: 6.344 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.007e-05/0.1835, allocations: 4 kB / 449.6 MB, free: 6.34 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.387e-05/0.1835, allocations: 7.984 kB / 449.6 MB, free: 6.332 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.000213/0.1837, allocations: 200.2 kB / 449.8 MB, free: 6.137 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.1837, allocations: 3.938 kB / 449.8 MB, free: 6.133 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002642/0.184, allocations: 35.94 kB / 449.9 MB, free: 6.098 MB / 382.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.001266/0.1853, allocations: 464.5 kB / 450.3 MB, free: 5.68 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002043/0.1855, allocations: 55.97 kB / 450.4 MB, free: 5.625 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.675e-06/0.1855, allocations: 0 / 450.4 MB, free: 5.625 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 7.766e-05/0.1856, allocations: 31.92 kB / 450.4 MB, free: 5.594 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003765/0.186, allocations: 23.98 kB / 450.4 MB, free: 5.57 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007216/0.1867, allocations: 319 kB / 450.7 MB, free: 5.23 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004327/0.1872, allocations: 0.7121 MB / 451.5 MB, free: 4.492 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 6.453e-05/0.1872, allocations: 25.16 kB / 451.5 MB, free: 4.465 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.554e-05/0.1873, allocations: 19.44 kB / 451.5 MB, free: 4.445 MB / 382.1 MB Notification: Performance of SimCode: time 2.1e-07/0.1873, allocations: 0 / 451.5 MB, free: 4.445 MB / 382.1 MB Notification: Performance of Templates: time 0.005072/0.1924, allocations: 1.631 MB / 453.1 MB, free: 2.816 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test47.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test47.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test47.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test47.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test47.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test47 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test47.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test47_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test47/Test47.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test47.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches