Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test10.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.CombiTable2Dv.Test10,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test10") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test10,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test10") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001254/0.001254, allocations: 180.5 kB / 14.15 MB, free: 1.176 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.308/1.308, allocations: 221.3 MB / 236 MB, free: 2.961 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.000779/0.0007791, allocations: 87.86 kB / 287 MB, free: 248 kB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.1667/0.1667, allocations: 44.15 MB / 382 MB, free: 14.68 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 2.015e-05/2.026e-05, allocations: 4.203 kB / 451.8 MB, free: 9.438 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1024/0.1024, allocations: 61.92 MB / 0.5017 GB, free: 11.46 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3493/0.4518, allocations: 89.11 MB / 0.5887 GB, free: 196 kB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002137/0.4521, allocations: 75.95 kB / 0.5888 GB, free: 120 kB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01115/0.4633, allocations: 4.537 MB / 0.5932 GB, free: 11.58 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.212e-06/0.4633, allocations: 3.938 kB / 0.5932 GB, free: 11.57 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.081e-05/0.4633, allocations: 8 kB / 0.5932 GB, free: 11.57 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0004224/0.4638, allocations: 374.3 kB / 0.5936 GB, free: 11.16 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.151e-05/0.4638, allocations: 8.031 kB / 0.5936 GB, free: 11.15 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.394e-05/0.4639, allocations: 4 kB / 0.5936 GB, free: 11.14 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002094/0.4641, allocations: 195.6 kB / 0.5938 GB, free: 10.91 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.59e-05/0.4641, allocations: 11.95 kB / 0.5938 GB, free: 10.9 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.216e-05/0.4641, allocations: 7.766 kB / 0.5938 GB, free: 10.9 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001562/0.4643, allocations: 67.41 kB / 0.5939 GB, free: 10.82 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.257e-05/0.4643, allocations: 0 / 0.5939 GB, free: 10.82 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.181e-05/0.4643, allocations: 0 / 0.5939 GB, free: 10.82 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.564e-06/0.4643, allocations: 0 / 0.5939 GB, free: 10.82 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.078e-05/0.4644, allocations: 27.98 kB / 0.5939 GB, free: 10.79 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004205/0.4648, allocations: 312.7 kB / 0.5942 GB, free: 10.44 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.435e-05/0.4649, allocations: 38.56 kB / 0.5942 GB, free: 10.39 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.221e-05/0.465, allocations: 16.86 kB / 0.5943 GB, free: 10.37 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.867e-05/0.465, allocations: 0 / 0.5943 GB, free: 10.37 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.496e-05/0.465, allocations: 34.56 kB / 0.5943 GB, free: 10.33 MB / 410.7 MB Notification: Performance of pre-optimization done (n=4): time 2.505e-06/0.465, allocations: 4 kB / 0.5943 GB, free: 10.32 MB / 410.7 MB Notification: Performance of matching and sorting (n=7): time 0.00047/0.4655, allocations: 157.5 kB / 0.5944 GB, free: 10.16 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.794e-05/0.4656, allocations: 81.09 kB / 0.5945 GB, free: 10.07 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001223/0.4657, allocations: 135.4 kB / 0.5946 GB, free: 9.926 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.665e-05/0.4657, allocations: 25.7 kB / 0.5947 GB, free: 9.895 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.825e-05/0.4658, allocations: 96.08 kB / 0.5948 GB, free: 9.797 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.395e-05/0.4658, allocations: 27.61 kB / 0.5948 GB, free: 9.77 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.388e-06/0.4658, allocations: 7.938 kB / 0.5948 GB, free: 9.762 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.000106/0.4659, allocations: 322.8 kB / 0.5951 GB, free: 9.438 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.916e-05/0.466, allocations: 20 kB / 0.5951 GB, free: 9.418 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.983e-05/0.466, allocations: 41.64 kB / 0.5952 GB, free: 9.371 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.475e-05/0.4661, allocations: 20.22 kB / 0.5952 GB, free: 9.352 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.72e-07/0.4661, allocations: 0 / 0.5952 GB, free: 9.352 MB / 410.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001239/0.4662, allocations: 85.58 kB / 0.5953 GB, free: 9.262 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.469e-05/0.4663, allocations: 12.03 kB / 0.5953 GB, free: 9.25 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.589e-06/0.4663, allocations: 0 / 0.5953 GB, free: 9.25 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.425e-05/0.4663, allocations: 0 / 0.5953 GB, free: 9.25 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001248/0.4664, allocations: 27.98 kB / 0.5953 GB, free: 9.223 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.971e-06/0.4664, allocations: 0 / 0.5953 GB, free: 9.223 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.839e-05/0.4665, allocations: 15.98 kB / 0.5953 GB, free: 9.207 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.747e-06/0.4665, allocations: 4 kB / 0.5953 GB, free: 9.203 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 7 * 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 6.567e-05/0.4666, allocations: 116.8 kB / 0.5954 GB, free: 9.082 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.994e-05/0.4666, allocations: 7.906 kB / 0.5954 GB, free: 9.074 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001892/0.4668, allocations: 106.3 kB / 0.5955 GB, free: 8.965 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.064e-06/0.4668, allocations: 3.938 kB / 0.5955 GB, free: 8.961 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.198e-06/0.4668, allocations: 0 / 0.5955 GB, free: 8.961 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.076e-06/0.4668, allocations: 0 / 0.5955 GB, free: 8.961 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003826/0.4672, allocations: 382.4 kB / 0.5959 GB, free: 8.531 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.162e-06/0.4672, allocations: 4 kB / 0.5959 GB, free: 8.527 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.291e-05/0.4673, allocations: 23.98 kB / 0.5959 GB, free: 8.504 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.853e-06/0.4674, allocations: 0 / 0.5959 GB, free: 8.504 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.326e-06/0.4674, allocations: 0 / 0.5959 GB, free: 8.504 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.796e-06/0.4674, allocations: 4 kB / 0.5959 GB, free: 8.5 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.92e-07/0.4674, allocations: 0 / 0.5959 GB, free: 8.5 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001817/0.4676, allocations: 191.3 kB / 0.5961 GB, free: 8.297 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.666e-05/0.4676, allocations: 89 kB / 0.5962 GB, free: 8.191 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.956e-05/0.4677, allocations: 8 kB / 0.5962 GB, free: 8.184 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.405e-05/0.4678, allocations: 12.12 kB / 0.5962 GB, free: 8.172 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.802e-05/0.4678, allocations: 11.97 kB / 0.5962 GB, free: 8.16 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.05e-06/0.4678, allocations: 0 / 0.5962 GB, free: 8.16 MB / 410.7 MB Notification: Performance of sorting global known variables: time 7.947e-05/0.4679, allocations: 112.7 kB / 0.5963 GB, free: 8.051 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.31e-07/0.4679, allocations: 0 / 0.5963 GB, free: 8.051 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0002519/0.4682, allocations: 31.95 kB / 0.5964 GB, free: 8.02 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 7 * 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 Backend phase and start with SimCode phase: time 0.0009208/0.4691, allocations: 419.2 kB / 0.5968 GB, free: 7.719 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001427/0.4693, allocations: 59.92 kB / 0.5968 GB, free: 7.66 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.234e-06/0.4693, allocations: 0 / 0.5968 GB, free: 7.66 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 4.69e-05/0.4693, allocations: 28 kB / 0.5969 GB, free: 7.633 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001936/0.4695, allocations: 15.98 kB / 0.5969 GB, free: 7.617 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003123/0.4698, allocations: 129.6 kB / 0.597 GB, free: 7.469 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000243/0.4701, allocations: 0.7121 MB / 0.5977 GB, free: 6.73 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 8.532e-05/0.4702, allocations: 20.66 kB / 0.5977 GB, free: 6.707 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.322e-05/0.4702, allocations: 19.42 kB / 0.5977 GB, free: 6.688 MB / 410.7 MB Notification: Performance of SimCode: time 2.3e-07/0.4702, allocations: 0 / 0.5977 GB, free: 6.688 MB / 410.7 MB Notification: Performance of Templates: time 0.003671/0.4739, allocations: 1.472 MB / 0.5992 GB, free: 5.227 MB / 410.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test10.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test10.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test10.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test10.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test10.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test10 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test10.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test10_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test10/Test10.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test10.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches