Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test43.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 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 ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test43,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.Test43") translateModel(ModelicaTest.Tables.CombiTimeTable.Test43,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.Test43") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001082/0.001082, allocations: 183.6 kB / 15.76 MB, free: 6.367 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.799/1.799, allocations: 205.4 MB / 221.9 MB, free: 13.84 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008872/0.000887, allocations: 94.86 kB / 270.2 MB, free: 13.37 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.242/0.242, allocations: 43.56 MB / 362 MB, free: 11.31 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003456/0.0003457, allocations: 11.98 kB / 431.4 MB, free: 19.59 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1507/0.151, allocations: 58.86 MB / 490.3 MB, free: 8.66 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4864/0.6375, allocations: 87.72 MB / 0.5644 GB, free: 12.11 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002302/0.6378, allocations: 79.45 kB / 0.5645 GB, free: 12.07 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01489/0.6527, allocations: 5.45 MB / 0.5698 GB, free: 7.465 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.835e-06/0.6528, allocations: 0 / 0.5698 GB, free: 7.465 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.509e-05/0.6528, allocations: 4 kB / 0.5698 GB, free: 7.461 MB / 378.7 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.0005858/0.6534, allocations: 421.8 kB / 0.5702 GB, free: 7.008 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.567e-05/0.6534, allocations: 11.97 kB / 0.5702 GB, free: 6.996 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.102e-05/0.6535, allocations: 11.81 kB / 0.5703 GB, free: 6.984 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003672/0.6539, allocations: 226.6 kB / 0.5705 GB, free: 6.727 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.712e-05/0.6539, allocations: 7.438 kB / 0.5705 GB, free: 6.723 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.604e-05/0.6539, allocations: 0 / 0.5705 GB, free: 6.723 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000165/0.6541, allocations: 52.42 kB / 0.5705 GB, free: 6.672 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.481e-05/0.6541, allocations: 0 / 0.5705 GB, free: 6.672 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.623e-05/0.6542, allocations: 4 kB / 0.5705 GB, free: 6.668 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.521e-06/0.6542, allocations: 0 / 0.5705 GB, free: 6.668 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.579e-05/0.6543, allocations: 26.86 kB / 0.5706 GB, free: 6.648 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005236/0.6548, allocations: 305.8 kB / 0.5709 GB, free: 6.32 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002057/0.655, allocations: 57.05 kB / 0.5709 GB, free: 6.266 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.343e-05/0.655, allocations: 0 / 0.5709 GB, free: 6.266 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001774/0.6552, allocations: 74.45 kB / 0.571 GB, free: 6.188 MB / 378.7 MB Notification: Performance of pre-optimization done (n=6): time 1.603e-06/0.6552, allocations: 4 kB / 0.571 GB, free: 6.184 MB / 378.7 MB Notification: Performance of matching and sorting (n=8): time 0.0006182/0.6559, allocations: 181.5 kB / 0.5712 GB, free: 6.035 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.675e-05/0.6559, allocations: 55.36 kB / 0.5712 GB, free: 5.969 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002242/0.6562, allocations: 178.7 kB / 0.5714 GB, free: 5.805 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.038e-05/0.6562, allocations: 29.7 kB / 0.5714 GB, free: 5.77 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.019e-05/0.6563, allocations: 102.2 kB / 0.5715 GB, free: 5.68 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.69e-05/0.6563, allocations: 27.27 kB / 0.5715 GB, free: 5.656 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.01e-06/0.6563, allocations: 1.125 kB / 0.5715 GB, free: 5.656 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001435/0.6565, allocations: 328.3 kB / 0.5718 GB, free: 5.332 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.956e-05/0.6565, allocations: 22.73 kB / 0.5719 GB, free: 5.316 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.086e-05/0.6566, allocations: 34.14 kB / 0.5719 GB, free: 5.285 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.152e-05/0.6567, allocations: 21.69 kB / 0.5719 GB, free: 5.273 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.42e-07/0.6567, allocations: 0 / 0.5719 GB, free: 5.273 MB / 378.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002018/0.6569, allocations: 105.1 kB / 0.572 GB, free: 5.184 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.906e-05/0.657, allocations: 4 kB / 0.572 GB, free: 5.18 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.663e-06/0.657, allocations: 4.031 kB / 0.572 GB, free: 5.176 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.572e-05/0.657, allocations: 4 kB / 0.572 GB, free: 5.172 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.637e-05/0.6571, allocations: 15.98 kB / 0.572 GB, free: 5.156 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.198e-05/0.6571, allocations: 3.938 kB / 0.572 GB, free: 5.152 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.853e-05/0.6572, allocations: 11.77 kB / 0.5721 GB, free: 5.145 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.127e-05/0.6572, allocations: 4 kB / 0.5721 GB, free: 5.141 MB / 378.7 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.000118/0.6573, allocations: 125.5 kB / 0.5722 GB, free: 5.012 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.491e-05/0.6573, allocations: 16 kB / 0.5722 GB, free: 4.996 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002826/0.6576, allocations: 129.4 kB / 0.5723 GB, free: 4.879 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.056e-06/0.6576, allocations: 0 / 0.5723 GB, free: 4.879 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.173e-06/0.6577, allocations: 0 / 0.5723 GB, free: 4.879 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.379e-06/0.6577, allocations: 0 / 0.5723 GB, free: 4.879 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005166/0.6582, allocations: 417.9 kB / 0.5727 GB, free: 4.453 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.543e-06/0.6582, allocations: 0 / 0.5727 GB, free: 4.453 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.89e-05/0.6582, allocations: 11.75 kB / 0.5727 GB, free: 4.445 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.063e-06/0.6583, allocations: 4.031 kB / 0.5727 GB, free: 4.441 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.394e-05/0.6583, allocations: 7.984 kB / 0.5727 GB, free: 4.434 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.226e-06/0.6583, allocations: 3.953 kB / 0.5727 GB, free: 4.43 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.6583, allocations: 0 / 0.5727 GB, free: 4.43 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002729/0.6586, allocations: 219.9 kB / 0.573 GB, free: 4.211 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.56e-05/0.6587, allocations: 96.94 kB / 0.573 GB, free: 4.098 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.339e-05/0.6587, allocations: 9.766 kB / 0.5731 GB, free: 4.09 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.49e-05/0.6588, allocations: 8.875 kB / 0.5731 GB, free: 4.082 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.58e-05/0.6588, allocations: 8.984 kB / 0.5731 GB, free: 4.074 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.408e-05/0.6589, allocations: 4.688 kB / 0.5731 GB, free: 4.07 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001737/0.6591, allocations: 158.3 kB / 0.5732 GB, free: 3.938 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.11e-07/0.6591, allocations: 0 / 0.5732 GB, free: 3.938 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002839/0.6594, allocations: 31.38 kB / 0.5733 GB, free: 3.91 MB / 378.7 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 (9): * Single equations (assignments): 7 * 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.0012/0.6606, allocations: 476.5 kB / 0.5737 GB, free: 3.508 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0002037/0.6608, allocations: 59.17 kB / 0.5738 GB, free: 3.465 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.294e-06/0.6608, allocations: 3.938 kB / 0.5738 GB, free: 3.461 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 7.386e-05/0.6609, allocations: 30.8 kB / 0.5738 GB, free: 3.438 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002743/0.6611, allocations: 37.56 kB / 0.5738 GB, free: 3.406 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004907/0.6616, allocations: 259.4 kB / 0.5741 GB, free: 3.148 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003121/0.662, allocations: 0.7082 MB / 0.5748 GB, free: 2.414 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 4.992e-05/0.662, allocations: 8.562 kB / 0.5748 GB, free: 2.406 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.357e-05/0.6621, allocations: 22.42 kB / 0.5748 GB, free: 2.387 MB / 378.7 MB Notification: Performance of SimCode: time 2.4e-07/0.6621, allocations: 0 / 0.5748 GB, free: 2.387 MB / 378.7 MB Notification: Performance of Templates: time 0.004876/0.667, allocations: 1.697 MB / 0.5765 GB, free: 0.6992 MB / 378.7 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test43.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test43.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test43.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test43.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test43.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test43 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test43.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test43_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test43/Test43.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test43.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches