Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test45.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.Test45,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.Test45") translateModel(ModelicaTest.Tables.CombiTimeTable.Test45,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.Test45") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001492/0.001492, allocations: 184.9 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.886/1.886, 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.0009624/0.0009622, allocations: 78.88 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.2298/0.2298, allocations: 43.55 MB / 362.1 MB, free: 11.3 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005571/0.0005572, allocations: 12 kB / 431.4 MB, free: 19.58 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1816/0.1822, allocations: 58.85 MB / 490.3 MB, free: 8.656 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.533/0.7153, allocations: 87.72 MB / 0.5644 GB, free: 12.07 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002473/0.7156, allocations: 74.59 kB / 0.5645 GB, free: 12.04 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01536/0.731, allocations: 5.448 MB / 0.5698 GB, free: 7.434 MB / 378.7 MB Notification: Performance of FrontEnd: time 3.136e-06/0.731, allocations: 0 / 0.5698 GB, free: 7.434 MB / 378.7 MB Notification: Performance of Transformations before backend: time 2.023e-05/0.7311, allocations: 8 kB / 0.5698 GB, free: 7.426 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.0006415/0.7317, allocations: 418.1 kB / 0.5702 GB, free: 6.977 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.964e-05/0.7318, allocations: 8.031 kB / 0.5702 GB, free: 6.969 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.014e-05/0.7318, allocations: 19.5 kB / 0.5703 GB, free: 6.953 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003427/0.7322, allocations: 226.6 kB / 0.5705 GB, free: 6.695 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.05e-05/0.7322, allocations: 0 / 0.5705 GB, free: 6.695 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.589e-05/0.7323, allocations: 4 kB / 0.5705 GB, free: 6.691 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001488/0.7324, allocations: 53.11 kB / 0.5705 GB, free: 6.641 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.875e-05/0.7324, allocations: 7.969 kB / 0.5705 GB, free: 6.633 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.289e-05/0.7325, allocations: 0 / 0.5705 GB, free: 6.633 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.306e-05/0.7325, allocations: 0 / 0.5705 GB, free: 6.633 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.591e-05/0.7326, allocations: 27.36 kB / 0.5706 GB, free: 6.613 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004527/0.733, allocations: 298.2 kB / 0.5708 GB, free: 6.293 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001651/0.7332, allocations: 57.55 kB / 0.5709 GB, free: 6.238 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.677e-05/0.7332, allocations: 0 / 0.5709 GB, free: 6.238 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001618/0.7334, allocations: 70.45 kB / 0.571 GB, free: 6.164 MB / 378.7 MB Notification: Performance of pre-optimization done (n=6): time 4.057e-06/0.7334, allocations: 8 kB / 0.571 GB, free: 6.156 MB / 378.7 MB Notification: Performance of matching and sorting (n=8): time 0.0006076/0.734, allocations: 181.5 kB / 0.5711 GB, free: 6.008 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.798e-05/0.7341, allocations: 59.34 kB / 0.5712 GB, free: 5.938 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001927/0.7343, allocations: 179.1 kB / 0.5714 GB, free: 5.773 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.011e-05/0.7343, allocations: 25.7 kB / 0.5714 GB, free: 5.742 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.791e-05/0.7344, allocations: 105.4 kB / 0.5715 GB, free: 5.648 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.154e-05/0.7344, allocations: 27.27 kB / 0.5715 GB, free: 5.625 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.511e-06/0.7345, allocations: 3.438 kB / 0.5715 GB, free: 5.625 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001297/0.7346, allocations: 326.2 kB / 0.5718 GB, free: 5.301 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.902e-05/0.7347, allocations: 22.8 kB / 0.5719 GB, free: 5.285 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.335e-05/0.7347, allocations: 39.83 kB / 0.5719 GB, free: 5.25 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.394e-05/0.7348, allocations: 20.38 kB / 0.5719 GB, free: 5.238 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.71e-07/0.7348, allocations: 0 / 0.5719 GB, free: 5.238 MB / 378.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001859/0.735, allocations: 104.2 kB / 0.572 GB, free: 5.148 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.997e-05/0.735, allocations: 11.44 kB / 0.572 GB, free: 5.141 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.743e-06/0.7351, allocations: 4.031 kB / 0.572 GB, free: 5.137 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.393e-05/0.7351, allocations: 0 / 0.572 GB, free: 5.137 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.596e-05/0.7352, allocations: 15.94 kB / 0.572 GB, free: 5.121 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.684e-06/0.7352, allocations: 4 kB / 0.572 GB, free: 5.117 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.993e-05/0.7352, allocations: 10.69 kB / 0.5721 GB, free: 5.109 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.097e-05/0.7353, allocations: 4 kB / 0.5721 GB, free: 5.105 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.0001217/0.7354, allocations: 128.2 kB / 0.5722 GB, free: 4.977 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.41e-05/0.7354, allocations: 15.8 kB / 0.5722 GB, free: 4.961 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002945/0.7357, allocations: 123.1 kB / 0.5723 GB, free: 4.848 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.645e-06/0.7357, allocations: 0 / 0.5723 GB, free: 4.848 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.105e-06/0.7358, allocations: 4 kB / 0.5723 GB, free: 4.844 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.827e-06/0.7358, allocations: 0 / 0.5723 GB, free: 4.844 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005142/0.7363, allocations: 413.6 kB / 0.5727 GB, free: 4.426 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.813e-06/0.7363, allocations: 0 / 0.5727 GB, free: 4.426 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.391e-05/0.7363, allocations: 19.98 kB / 0.5727 GB, free: 4.406 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.365e-06/0.7364, allocations: 0 / 0.5727 GB, free: 4.406 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.032e-05/0.7364, allocations: 4.312 kB / 0.5727 GB, free: 4.402 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.226e-06/0.7364, allocations: 3.953 kB / 0.5727 GB, free: 4.398 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.32e-07/0.7364, allocations: 4 kB / 0.5727 GB, free: 4.395 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000269/0.7367, allocations: 226.1 kB / 0.573 GB, free: 4.168 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.886e-05/0.7367, allocations: 91.08 kB / 0.573 GB, free: 4.062 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.295e-05/0.7368, allocations: 13.14 kB / 0.5731 GB, free: 4.051 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.404e-05/0.7369, allocations: 5.297 kB / 0.5731 GB, free: 4.047 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.03e-05/0.7369, allocations: 9.062 kB / 0.5731 GB, free: 4.039 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.062e-05/0.7369, allocations: 4.562 kB / 0.5731 GB, free: 4.035 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001441/0.7371, allocations: 158.4 kB / 0.5732 GB, free: 3.902 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.7371, allocations: 0 / 0.5732 GB, free: 3.902 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002635/0.7374, allocations: 31.88 kB / 0.5733 GB, free: 3.875 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.001067/0.7384, allocations: 467 kB / 0.5737 GB, free: 3.477 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0002086/0.7386, allocations: 63.91 kB / 0.5738 GB, free: 3.43 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.024e-06/0.7387, allocations: 3.938 kB / 0.5738 GB, free: 3.426 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 7.635e-05/0.7387, allocations: 31.05 kB / 0.5738 GB, free: 3.402 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002949/0.739, allocations: 36.02 kB / 0.5738 GB, free: 3.375 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005727/0.7396, allocations: 254.1 kB / 0.5741 GB, free: 3.117 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003549/0.74, allocations: 0.7197 MB / 0.5748 GB, free: 2.375 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 6.527e-05/0.7401, allocations: 20.53 kB / 0.5748 GB, free: 2.355 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.861e-05/0.7401, allocations: 15.44 kB / 0.5748 GB, free: 2.34 MB / 378.7 MB Notification: Performance of SimCode: time 3.7e-07/0.7401, allocations: 0 / 0.5748 GB, free: 2.34 MB / 378.7 MB Notification: Performance of Templates: time 0.004777/0.7449, allocations: 1.696 MB / 0.5765 GB, free: 0.6562 MB / 378.7 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test45.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test45.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test45.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test45.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test45.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test45 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test45.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test45_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test45/Test45.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test45.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches