Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.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.CombiTable2Ds.Test25,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|d_t_new.y|clock1.y|clock2.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test25") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test25,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|d_t_new.y|clock1.y|clock2.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test25") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008262/0.0008263, allocations: 179.2 kB / 18.09 MB, free: 3.75 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.261/1.261, allocations: 223.3 MB / 242.1 MB, free: 11.67 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007355/0.0007354, allocations: 99.2 kB / 293.3 MB, free: 10.77 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.2767/0.2767, allocations: 44.15 MB / 388.5 MB, free: 38.98 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003295/0.0003295, allocations: 12 kB / 461.1 MB, free: 1.566 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2686/0.2689, allocations: 61.88 MB / 0.5107 GB, free: 37.99 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.09948/0.3684, allocations: 88.57 MB / 0.5972 GB, free: 6.559 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002134/0.3687, allocations: 79.94 kB / 0.5973 GB, free: 6.484 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01077/0.3795, allocations: 4.503 MB / 0.6017 GB, free: 1.973 MB / 410.7 MB Notification: Performance of FrontEnd: time 3.898e-06/0.3795, allocations: 0 / 0.6017 GB, free: 1.973 MB / 410.7 MB Notification: Performance of Transformations before backend: time 9.057e-06/0.3795, allocations: 3.938 kB / 0.6017 GB, free: 1.969 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.000383/0.3799, allocations: 415.1 kB / 0.6021 GB, free: 1.512 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.091e-05/0.38, allocations: 12.03 kB / 0.6021 GB, free: 1.5 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.557e-05/0.38, allocations: 16.75 kB / 0.6021 GB, free: 1.484 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001913/0.3802, allocations: 206.2 kB / 0.6023 GB, free: 1.246 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.869e-06/0.3802, allocations: 4.375 kB / 0.6023 GB, free: 1.242 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.717e-05/0.3802, allocations: 4.281 kB / 0.6023 GB, free: 1.238 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001471/0.3804, allocations: 73.8 kB / 0.6024 GB, free: 1.16 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.477e-06/0.3804, allocations: 0 / 0.6024 GB, free: 1.16 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.706e-06/0.3804, allocations: 0 / 0.6024 GB, free: 1.16 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.048e-06/0.3804, allocations: 0 / 0.6024 GB, free: 1.16 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001249/0.3806, allocations: 51.91 kB / 0.6024 GB, free: 1.109 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003567/0.3809, allocations: 304.8 kB / 0.6027 GB, free: 0.7617 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002003/0.3811, allocations: 62.64 kB / 0.6028 GB, free: 0.6914 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.084e-05/0.3812, allocations: 32.91 kB / 0.6028 GB, free: 0.6562 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.725e-05/0.3812, allocations: 3.984 kB / 0.6028 GB, free: 0.6523 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.672e-05/0.3813, allocations: 34.56 kB / 0.6029 GB, free: 0.6094 MB / 410.7 MB Notification: Performance of pre-optimization done (n=5): time 1.222e-06/0.3813, allocations: 4 kB / 0.6029 GB, free: 0.6055 MB / 410.7 MB Notification: Performance of matching and sorting (n=11): time 0.001284/0.3826, allocations: 462.1 kB / 0.6033 GB, free: 152 kB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.113e-05/0.3826, allocations: 59.34 kB / 0.6034 GB, free: 80 kB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001633/0.3828, allocations: 171.5 kB / 0.6035 GB, free: 15.89 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 2.057e-05/0.3828, allocations: 29.64 kB / 0.6036 GB, free: 15.86 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.034e-05/0.3829, allocations: 104.1 kB / 0.6037 GB, free: 15.75 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.931e-05/0.3829, allocations: 31.47 kB / 0.6037 GB, free: 15.72 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.108e-06/0.3829, allocations: 0 / 0.6037 GB, free: 15.72 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001048/0.383, allocations: 326.8 kB / 0.604 GB, free: 15.39 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001174/0.3832, allocations: 51.97 kB / 0.604 GB, free: 15.34 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001054/0.3833, allocations: 51.89 kB / 0.6041 GB, free: 15.29 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002267/0.3835, allocations: 120.8 kB / 0.6042 GB, free: 15.17 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.52e-07/0.3835, allocations: 0 / 0.6042 GB, free: 15.17 MB / 426.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002746/0.3838, allocations: 149.9 kB / 0.6044 GB, free: 15.02 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.186e-05/0.3838, allocations: 4 kB / 0.6044 GB, free: 15.02 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.182e-06/0.3838, allocations: 7.938 kB / 0.6044 GB, free: 15.01 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.407e-06/0.3838, allocations: 0.5625 kB / 0.6044 GB, free: 15.01 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001038/0.384, allocations: 43.91 kB / 0.6044 GB, free: 14.96 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.509e-06/0.384, allocations: 0 / 0.6044 GB, free: 14.96 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.95e-05/0.384, allocations: 11.98 kB / 0.6044 GB, free: 14.95 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.406e-06/0.384, allocations: 8 kB / 0.6044 GB, free: 14.95 MB / 426.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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (11): * Single equations (assignments): 11 * 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.849e-05/0.3841, allocations: 122.4 kB / 0.6045 GB, free: 14.82 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.212e-05/0.3842, allocations: 15.81 kB / 0.6046 GB, free: 14.8 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000346/0.3845, allocations: 186.2 kB / 0.6047 GB, free: 14.62 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.305e-06/0.3845, allocations: 0 / 0.6047 GB, free: 14.62 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.31e-06/0.3846, allocations: 0 / 0.6047 GB, free: 14.62 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.136e-06/0.3846, allocations: 3.938 kB / 0.6047 GB, free: 14.61 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005942/0.3852, allocations: 492 kB / 0.6052 GB, free: 14.07 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.587e-06/0.3852, allocations: 4 kB / 0.6052 GB, free: 14.07 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001003/0.3853, allocations: 31.92 kB / 0.6052 GB, free: 14.04 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.365e-06/0.3853, allocations: 0 / 0.6052 GB, free: 14.04 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.009e-05/0.3853, allocations: 8.062 kB / 0.6053 GB, free: 14.03 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.128e-06/0.3853, allocations: 7.984 kB / 0.6053 GB, free: 14.02 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.3853, allocations: 0 / 0.6053 GB, free: 14.02 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00034/0.3857, allocations: 268.8 kB / 0.6055 GB, free: 13.73 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.069e-05/0.3857, allocations: 93 kB / 0.6056 GB, free: 13.62 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.893e-05/0.3858, allocations: 4 kB / 0.6056 GB, free: 13.62 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.176e-05/0.3859, allocations: 19.98 kB / 0.6056 GB, free: 13.6 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.553e-05/0.3859, allocations: 12.08 kB / 0.6056 GB, free: 13.59 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.491e-06/0.3859, allocations: 3.938 kB / 0.6056 GB, free: 13.59 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0001059/0.386, allocations: 137.2 kB / 0.6058 GB, free: 13.45 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.386, allocations: 0 / 0.6058 GB, free: 13.45 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0002465/0.3863, allocations: 35.92 kB / 0.6058 GB, free: 13.42 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (11): * Single equations (assignments): 11 * 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.0008768/0.3872, allocations: 466.9 kB / 0.6063 GB, free: 13.14 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0002871/0.3875, allocations: 123.9 kB / 0.6064 GB, free: 13.02 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.823e-06/0.3875, allocations: 0 / 0.6064 GB, free: 13.02 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001284/0.3876, allocations: 67.91 kB / 0.6064 GB, free: 12.95 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002741/0.3879, allocations: 20.11 kB / 0.6065 GB, free: 12.93 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004377/0.3883, allocations: 283.1 kB / 0.6067 GB, free: 12.62 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002455/0.3886, allocations: 0.716 MB / 0.6074 GB, free: 11.88 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 6.396e-05/0.3887, allocations: 12.55 kB / 0.6074 GB, free: 11.87 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.723e-05/0.3887, allocations: 15.44 kB / 0.6075 GB, free: 11.85 MB / 426.7 MB Notification: Performance of SimCode: time 2.2e-07/0.3887, allocations: 4 kB / 0.6075 GB, free: 11.85 MB / 426.7 MB Notification: Performance of Templates: time 0.003425/0.3922, allocations: 1.5 MB / 0.6089 GB, free: 10.36 MB / 426.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test25.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test25.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test25.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test25.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test25.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test25 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test25.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test25_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test25/Test25.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test25.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches