Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test49.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.Test49,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.Test49") translateModel(ModelicaTest.Tables.CombiTimeTable.Test49,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.Test49") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008845/0.0008847, allocations: 88.19 kB / 15.7 MB, free: 460 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.001132/0.001132, allocations: 183.5 kB / 16.59 MB, free: 6.84 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.09/2.09, allocations: 205.4 MB / 222.8 MB, free: 5.652 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.5493/0.5493, allocations: 43.58 MB / 314.6 MB, free: 8.785 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.0006329/0.0006332, allocations: 18.97 kB / 384 MB, free: 8.012 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1666/0.1673, allocations: 58.87 MB / 442.8 MB, free: 13.04 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test49): time 0.002687/0.1701, allocations: 1.391 MB / 444.2 MB, free: 11.63 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001508/0.1716, allocations: 0.746 MB / 445 MB, free: 10.88 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001244/0.1718, allocations: 0 / 445 MB, free: 10.88 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003953/0.1722, allocations: 55.81 kB / 445 MB, free: 10.82 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002313/0.1724, allocations: 51.81 kB / 445.1 MB, free: 10.77 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002531/0.1727, allocations: 75.84 kB / 445.1 MB, free: 10.7 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001664/0.1728, allocations: 83.75 kB / 445.2 MB, free: 10.62 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001002/0.173, allocations: 12.2 kB / 445.2 MB, free: 10.61 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.604e-05/0.1731, allocations: 47.78 kB / 445.3 MB, free: 10.56 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.532e-05/0.1732, allocations: 27.86 kB / 445.3 MB, free: 10.53 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.595e-05/0.1732, allocations: 0 / 445.3 MB, free: 10.53 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.541e-05/0.1733, allocations: 39.97 kB / 445.4 MB, free: 10.49 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 5.541e-05/0.1733, allocations: 27.86 kB / 445.4 MB, free: 10.46 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 4.681e-05/0.1734, allocations: 37.64 kB / 445.4 MB, free: 10.42 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001726/0.1736, allocations: 104 kB / 445.5 MB, free: 10.32 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.733e-06/0.1736, allocations: 0 / 445.5 MB, free: 10.32 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.844e-06/0.1736, allocations: 4 kB / 445.5 MB, free: 10.32 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.222e-06/0.1736, allocations: 0 / 445.5 MB, free: 10.32 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.0005864/0.1742, allocations: 422.7 kB / 445.9 MB, free: 9.855 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.971e-05/0.1743, allocations: 12.03 kB / 445.9 MB, free: 9.844 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.288e-05/0.1743, allocations: 11.81 kB / 446 MB, free: 9.832 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002634/0.1746, allocations: 210.9 kB / 446.2 MB, free: 9.586 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.902e-05/0.1746, allocations: 0 / 446.2 MB, free: 9.586 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.023e-05/0.1746, allocations: 7.938 kB / 446.2 MB, free: 9.578 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001619/0.1748, allocations: 53.67 kB / 446.2 MB, free: 9.52 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.406e-05/0.1748, allocations: 3.906 kB / 446.2 MB, free: 9.516 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.08e-05/0.1749, allocations: 4 kB / 446.2 MB, free: 9.512 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.875e-06/0.1749, allocations: 3.953 kB / 446.2 MB, free: 9.508 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.269e-05/0.1749, allocations: 19.98 kB / 446.3 MB, free: 9.488 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000405/0.1754, allocations: 292.9 kB / 446.5 MB, free: 9.152 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002027/0.1756, allocations: 66.61 kB / 446.6 MB, free: 9.078 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.195e-05/0.1756, allocations: 20.86 kB / 446.6 MB, free: 9.055 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.019e-05/0.1757, allocations: 0 / 446.6 MB, free: 9.055 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002107/0.1759, allocations: 75.33 kB / 446.7 MB, free: 8.969 MB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 2.594e-06/0.1759, allocations: 3.938 kB / 446.7 MB, free: 8.965 MB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005759/0.1765, allocations: 177 kB / 446.9 MB, free: 8.785 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.895e-05/0.1765, allocations: 55.41 kB / 446.9 MB, free: 8.719 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002777/0.1768, allocations: 262.5 kB / 447.2 MB, free: 8.449 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.868e-05/0.1769, allocations: 33.69 kB / 447.2 MB, free: 8.41 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.694e-05/0.1769, allocations: 112 kB / 447.3 MB, free: 8.297 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3e-05/0.177, allocations: 23.73 kB / 447.4 MB, free: 8.273 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.422e-06/0.177, allocations: 4 kB / 447.4 MB, free: 8.27 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001497/0.1771, allocations: 326.8 kB / 447.7 MB, free: 7.941 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.617e-05/0.1772, allocations: 23.92 kB / 447.7 MB, free: 7.918 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.568e-05/0.1773, allocations: 41.7 kB / 447.7 MB, free: 7.871 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.642e-05/0.1773, allocations: 20 kB / 447.8 MB, free: 7.852 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.01e-07/0.1773, allocations: 0 / 447.8 MB, free: 7.852 MB / 382.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001883/0.1775, allocations: 109.5 kB / 447.9 MB, free: 7.738 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.714e-05/0.1776, allocations: 4 kB / 447.9 MB, free: 7.734 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.392e-06/0.1776, allocations: 80 / 447.9 MB, free: 7.734 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.52e-05/0.1776, allocations: 0 / 447.9 MB, free: 7.734 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001041/0.1777, allocations: 16 kB / 447.9 MB, free: 7.719 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.878e-06/0.1777, allocations: 7.969 kB / 447.9 MB, free: 7.711 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.462e-05/0.1778, allocations: 8.031 kB / 447.9 MB, free: 7.703 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.093e-06/0.1778, allocations: 4 kB / 447.9 MB, free: 7.699 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 ($whenCondition1,$PRE.t_new.nextTimeEvent,t_new.nextTimeEvent,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEventScaled) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000135/0.1779, allocations: 137.8 kB / 448 MB, free: 7.555 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.546e-05/0.178, allocations: 19.77 kB / 448.1 MB, free: 7.535 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.399e-05/0.178, allocations: 21.39 kB / 448.1 MB, free: 7.516 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.749e-06/0.178, allocations: 0 / 448.1 MB, free: 7.516 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.751e-06/0.178, allocations: 3.938 kB / 448.1 MB, free: 7.512 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.22e-06/0.1781, allocations: 0 / 448.1 MB, free: 7.512 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004857/0.1785, allocations: 407.2 kB / 448.5 MB, free: 7.055 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.38e-06/0.1786, allocations: 3.984 kB / 448.5 MB, free: 7.051 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.068e-05/0.1786, allocations: 11.94 kB / 448.5 MB, free: 7.039 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.154e-06/0.1786, allocations: 0 / 448.5 MB, free: 7.039 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.145e-05/0.1786, allocations: 4 kB / 448.5 MB, free: 7.035 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.302e-06/0.1786, allocations: 0 / 448.5 MB, free: 7.035 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.323e-06/0.1786, allocations: 0 / 448.5 MB, free: 7.035 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002476/0.1789, allocations: 200.3 kB / 448.7 MB, free: 6.82 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.591e-05/0.179, allocations: 100.9 kB / 448.8 MB, free: 6.703 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.544e-05/0.179, allocations: 0.5625 kB / 448.8 MB, free: 6.703 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.144e-05/0.1791, allocations: 11.94 kB / 448.8 MB, free: 6.691 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.307e-05/0.1791, allocations: 15.86 kB / 448.8 MB, free: 6.676 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.773e-05/0.1792, allocations: 4 kB / 448.8 MB, free: 6.672 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0002124/0.1794, allocations: 208 kB / 449 MB, free: 6.469 MB / 382.1 MB Notification: Performance of sort global known variables: time 6.21e-07/0.1794, allocations: 4 kB / 449 MB, free: 6.465 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002684/0.1797, allocations: 20 kB / 449.1 MB, free: 6.445 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001276/0.181, allocations: 448.2 kB / 449.5 MB, free: 6.043 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002093/0.1812, allocations: 63.91 kB / 449.6 MB, free: 5.98 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.275e-06/0.1812, allocations: 0 / 449.6 MB, free: 5.98 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 7.551e-05/0.1813, allocations: 27.98 kB / 449.6 MB, free: 5.953 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003463/0.1816, allocations: 31.91 kB / 449.6 MB, free: 5.922 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005771/0.1822, allocations: 314.8 kB / 449.9 MB, free: 5.586 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000386/0.1826, allocations: 0.716 MB / 450.6 MB, free: 4.844 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 5.734e-05/0.1827, allocations: 17.19 kB / 450.7 MB, free: 4.824 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.918e-05/0.1827, allocations: 19.42 kB / 450.7 MB, free: 4.805 MB / 382.1 MB Notification: Performance of SimCode: time 3.21e-07/0.1827, allocations: 0 / 450.7 MB, free: 4.805 MB / 382.1 MB Notification: Performance of Templates: time 0.004673/0.1874, allocations: 1.61 MB / 452.3 MB, free: 3.195 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test49.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test49.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test49.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test49.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test49.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test49 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test49.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test49_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test49/Test49.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test49.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches