Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test25.conf.json 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 4.0.0+maint.om/package.mo", uses=false) 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/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 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) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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) Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test25,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test25") translateModel(ModelicaTest.Tables.CombiTimeTable.Test25,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test25") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009543/0.0009543, allocations: 175.1 kB / 8.74 MB, free: 348 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.363/1.363, allocations: 221.5 MB / 230.7 MB, free: 7.562 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008744/0.0008744, allocations: 88.2 kB / 281.6 MB, free: 5.312 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2042/0.2042, allocations: 44.15 MB / 376.5 MB, free: 3.035 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 1.81e-05/1.813e-05, allocations: 8.219 kB / 444.6 MB, free: 15.21 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1218/0.1219, allocations: 61.91 MB / 0.4947 GB, free: 1.234 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4219/0.5439, allocations: 88.56 MB / 0.5812 GB, free: 7.945 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002325/0.5441, allocations: 71.97 kB / 0.5812 GB, free: 7.875 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01507/0.5592, allocations: 5.576 MB / 0.5867 GB, free: 2.309 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.222e-06/0.5593, allocations: 0 / 0.5867 GB, free: 2.309 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.331e-05/0.5593, allocations: 2.953 kB / 0.5867 GB, free: 2.309 MB / 394.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.0005342/0.5598, allocations: 406.2 kB / 0.5871 GB, free: 1.867 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.132e-05/0.5599, allocations: 15.98 kB / 0.5871 GB, free: 1.852 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.095e-05/0.5599, allocations: 7.906 kB / 0.5871 GB, free: 1.844 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003405/0.5603, allocations: 211.5 kB / 0.5873 GB, free: 1.594 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.222e-05/0.5603, allocations: 11.89 kB / 0.5873 GB, free: 1.582 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.815e-05/0.5603, allocations: 0 / 0.5873 GB, free: 1.582 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.538e-05/0.5604, allocations: 19.98 kB / 0.5873 GB, free: 1.562 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001068/0.5606, allocations: 57.61 kB / 0.5874 GB, free: 1.5 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.141e-05/0.5606, allocations: 4 kB / 0.5874 GB, free: 1.496 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.32e-05/0.5606, allocations: 0 / 0.5874 GB, free: 1.496 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.809e-06/0.5606, allocations: 3.938 kB / 0.5874 GB, free: 1.492 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003707/0.561, allocations: 265.5 kB / 0.5876 GB, free: 1.195 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.935e-05/0.5611, allocations: 50.69 kB / 0.5877 GB, free: 1.137 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.647e-05/0.5611, allocations: 16.98 kB / 0.5877 GB, free: 1.117 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.523e-05/0.5612, allocations: 4 kB / 0.5877 GB, free: 1.113 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001265/0.5613, allocations: 67.33 kB / 0.5878 GB, free: 1.035 MB / 394.7 MB Notification: Performance of pre-optimization done (n=6): time 1.152e-06/0.5613, allocations: 0 / 0.5878 GB, free: 1.035 MB / 394.7 MB Notification: Performance of matching and sorting (n=8): time 0.0004258/0.5617, allocations: 149.3 kB / 0.5879 GB, free: 0.8828 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.676e-05/0.5618, allocations: 55.34 kB / 0.588 GB, free: 0.8164 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001852/0.562, allocations: 183.6 kB / 0.5881 GB, free: 0.625 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.909e-05/0.562, allocations: 25.7 kB / 0.5882 GB, free: 0.5938 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.458e-05/0.5621, allocations: 112.1 kB / 0.5883 GB, free: 492 kB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.882e-05/0.5621, allocations: 23.66 kB / 0.5883 GB, free: 468 kB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.628e-06/0.5621, allocations: 0 / 0.5883 GB, free: 468 kB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001044/0.5622, allocations: 322.8 kB / 0.5886 GB, free: 136 kB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.855e-05/0.5623, allocations: 16 kB / 0.5886 GB, free: 120 kB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.479e-05/0.5623, allocations: 33.7 kB / 0.5887 GB, free: 80 kB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.285e-05/0.5624, allocations: 23.95 kB / 0.5887 GB, free: 56 kB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.72e-07/0.5624, allocations: 4 kB / 0.5887 GB, free: 52 kB / 394.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.000149/0.5625, allocations: 93.52 kB / 0.5888 GB, free: 15.95 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.406e-05/0.5626, allocations: 4 kB / 0.5888 GB, free: 15.95 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.45e-06/0.5626, allocations: 0 / 0.5888 GB, free: 15.95 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.715e-05/0.5626, allocations: 0 / 0.5888 GB, free: 15.95 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.611e-05/0.5627, allocations: 19.98 kB / 0.5888 GB, free: 15.93 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.305e-06/0.5627, allocations: 0 / 0.5888 GB, free: 15.93 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.558e-05/0.5628, allocations: 0 / 0.5888 GB, free: 15.93 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.414e-06/0.5628, allocations: 4 kB / 0.5888 GB, free: 15.93 MB / 410.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 () * 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 8.386e-05/0.5629, allocations: 118.3 kB / 0.5889 GB, free: 15.8 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.485e-05/0.5629, allocations: 15.81 kB / 0.5889 GB, free: 15.79 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001945/0.5631, allocations: 107.6 kB / 0.589 GB, free: 15.68 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.566e-06/0.5631, allocations: 4 kB / 0.589 GB, free: 15.68 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.018e-06/0.5631, allocations: 0 / 0.589 GB, free: 15.68 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.436e-06/0.5631, allocations: 0 / 0.589 GB, free: 15.68 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003862/0.5635, allocations: 383.8 kB / 0.5894 GB, free: 15.25 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.603e-06/0.5635, allocations: 4.031 kB / 0.5894 GB, free: 15.25 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.466e-05/0.5636, allocations: 11.94 kB / 0.5894 GB, free: 15.24 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.18e-06/0.5636, allocations: 11.92 kB / 0.5894 GB, free: 15.23 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.213e-05/0.5636, allocations: 3.984 kB / 0.5894 GB, free: 15.22 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.623e-06/0.5636, allocations: 0 / 0.5894 GB, free: 15.22 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.707e-06/0.5636, allocations: 4 kB / 0.5894 GB, free: 15.22 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001906/0.5638, allocations: 218 kB / 0.5896 GB, free: 14.98 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.89e-05/0.5639, allocations: 89.02 kB / 0.5897 GB, free: 14.88 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.843e-05/0.5639, allocations: 7.984 kB / 0.5897 GB, free: 14.87 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.21e-05/0.564, allocations: 0 / 0.5897 GB, free: 14.87 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.926e-05/0.5641, allocations: 4 kB / 0.5897 GB, free: 14.86 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.136e-05/0.5641, allocations: 7.984 kB / 0.5897 GB, free: 14.86 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.000118/0.5642, allocations: 148 kB / 0.5899 GB, free: 14.71 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.31e-07/0.5642, allocations: 0 / 0.5899 GB, free: 14.71 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0002614/0.5645, allocations: 27.94 kB / 0.5899 GB, free: 14.68 MB / 410.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) * 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.0008489/0.5653, allocations: 405.6 kB / 0.5903 GB, free: 14.36 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001245/0.5655, allocations: 51.92 kB / 0.5903 GB, free: 14.31 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.5655, allocations: 0 / 0.5903 GB, free: 14.31 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 5.345e-05/0.5655, allocations: 31.94 kB / 0.5904 GB, free: 14.28 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002667/0.5658, allocations: 23.94 kB / 0.5904 GB, free: 14.26 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004286/0.5662, allocations: 166 kB / 0.5906 GB, free: 14.07 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003241/0.5666, allocations: 0.7197 MB / 0.5913 GB, free: 13.33 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 6.366e-05/0.5667, allocations: 20.41 kB / 0.5913 GB, free: 13.31 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.327e-05/0.5667, allocations: 15.44 kB / 0.5913 GB, free: 13.29 MB / 410.7 MB Notification: Performance of SimCode: time 1.853e-06/0.5667, allocations: 0 / 0.5913 GB, free: 13.29 MB / 410.7 MB Notification: Performance of Templates: time 0.004832/0.5715, allocations: 1.655 MB / 0.5929 GB, free: 11.65 MB / 410.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test25.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test25.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test25.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test25.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test25.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test25 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test25.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test25_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test25/Test25.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test25.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches