Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Ds.Test24.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTable2Ds.Test24,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_trunk_cpp_ModelicaTest.Tables.CombiTable2Ds.Test24") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test24,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_trunk_cpp_ModelicaTest.Tables.CombiTable2Ds.Test24") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001015/0.001015, allocations: 193.1 kB / 16.09 MB, free: 5.68 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.386/1.386, allocations: 226.6 MB / 243.4 MB, free: 8.102 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007678/0.0007676, allocations: 98.2 kB / 295.5 MB, free: 6.898 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3322/0.3322, allocations: 44.81 MB / 392.3 MB, free: 35.7 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002808/0.0002809, allocations: 8 kB / 465.3 MB, free: 12.68 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3612/0.3615, allocations: 62.96 MB / 0.5159 GB, free: 37.1 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test24): time 0.001766/0.3633, allocations: 1.367 MB / 0.5172 GB, free: 36.11 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007173/0.364, allocations: 0.511 MB / 0.5177 GB, free: 35.75 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.469e-05/0.3641, allocations: 0 / 0.5177 GB, free: 35.75 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002213/0.3643, allocations: 41.48 kB / 0.5177 GB, free: 35.75 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001956/0.3645, allocations: 72.92 kB / 0.5178 GB, free: 35.71 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000265/0.3648, allocations: 115.2 kB / 0.5179 GB, free: 35.66 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.000124/0.3649, allocations: 71.81 kB / 0.518 GB, free: 35.62 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001034/0.365, allocations: 20.72 kB / 0.518 GB, free: 35.61 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.515e-05/0.3651, allocations: 20.67 kB / 0.518 GB, free: 35.61 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.178e-05/0.3652, allocations: 40.52 kB / 0.5181 GB, free: 35.59 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.228e-05/0.3652, allocations: 2.875 kB / 0.5181 GB, free: 35.59 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.05e-05/0.3653, allocations: 40.52 kB / 0.5181 GB, free: 35.58 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 5.51e-05/0.3654, allocations: 20.84 kB / 0.5181 GB, free: 35.57 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 3.757e-05/0.3654, allocations: 58.67 kB / 0.5182 GB, free: 35.52 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001177/0.3655, allocations: 72.41 kB / 0.5183 GB, free: 35.49 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.681e-06/0.3655, allocations: 0 / 0.5183 GB, free: 35.49 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.914e-06/0.3655, allocations: 3.906 kB / 0.5183 GB, free: 35.49 MB / 378.7 MB Notification: Performance of Transformations before backend: time 5e-06/0.3656, allocations: 0 / 0.5183 GB, free: 35.49 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0004075/0.366, allocations: 399.4 kB / 0.5186 GB, free: 35.1 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.65e-05/0.366, allocations: 9.562 kB / 0.5187 GB, free: 35.1 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.364e-05/0.3661, allocations: 14.75 kB / 0.5187 GB, free: 35.09 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001563/0.3662, allocations: 202.9 kB / 0.5189 GB, free: 34.87 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.188e-05/0.3662, allocations: 3.188 kB / 0.5189 GB, free: 34.87 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.153e-05/0.3663, allocations: 10.97 kB / 0.5189 GB, free: 34.86 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001495/0.3664, allocations: 67.84 kB / 0.5189 GB, free: 34.82 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.08e-05/0.3664, allocations: 0 / 0.5189 GB, free: 34.82 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.007e-05/0.3665, allocations: 0 / 0.5189 GB, free: 34.82 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.381e-06/0.3665, allocations: 2.406 kB / 0.5189 GB, free: 34.82 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001295/0.3666, allocations: 46.38 kB / 0.519 GB, free: 34.81 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003047/0.3669, allocations: 304.4 kB / 0.5193 GB, free: 34.51 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002073/0.3671, allocations: 61.09 kB / 0.5193 GB, free: 34.48 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.392e-05/0.3672, allocations: 33.95 kB / 0.5194 GB, free: 34.46 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.284e-05/0.3673, allocations: 2.812 kB / 0.5194 GB, free: 34.46 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.396e-05/0.3673, allocations: 34.56 kB / 0.5194 GB, free: 34.42 MB / 378.7 MB Notification: Performance of pre-optimization done (n=5): time 1.092e-06/0.3673, allocations: 0 / 0.5194 GB, free: 34.42 MB / 378.7 MB Notification: Performance of matching and sorting (n=11): time 0.001274/0.3686, allocations: 476.2 kB / 0.5199 GB, free: 34.29 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.411e-05/0.3686, allocations: 51.41 kB / 0.5199 GB, free: 34.22 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001368/0.3687, allocations: 175.4 kB / 0.5201 GB, free: 34.1 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 9.327e-06/0.3688, allocations: 28.48 kB / 0.5201 GB, free: 34.07 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.645e-05/0.3688, allocations: 98.5 kB / 0.5202 GB, free: 33.98 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.455e-05/0.3688, allocations: 36.59 kB / 0.5202 GB, free: 33.95 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.29e-06/0.3688, allocations: 0 / 0.5202 GB, free: 33.95 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 5.706e-05/0.3689, allocations: 325.1 kB / 0.5205 GB, free: 33.63 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001117/0.369, allocations: 54.94 kB / 0.5206 GB, free: 33.62 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001/0.3691, allocations: 43.75 kB / 0.5206 GB, free: 33.61 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000209/0.3693, allocations: 120.1 kB / 0.5207 GB, free: 33.57 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.31e-07/0.3694, allocations: 0 / 0.5207 GB, free: 33.57 MB / 378.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002618/0.3696, allocations: 162.5 kB / 0.5209 GB, free: 33.49 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.406e-05/0.3696, allocations: 5.531 kB / 0.5209 GB, free: 33.49 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.839e-06/0.3697, allocations: 3.938 kB / 0.5209 GB, free: 33.49 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.344e-05/0.3697, allocations: 6.234 kB / 0.5209 GB, free: 33.49 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001005/0.3698, allocations: 29.03 kB / 0.5209 GB, free: 33.48 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.534e-06/0.3698, allocations: 6.969 kB / 0.521 GB, free: 33.48 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.513e-05/0.3699, allocations: 12.36 kB / 0.521 GB, free: 33.48 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.486e-06/0.3699, allocations: 2.969 kB / 0.521 GB, free: 33.48 MB / 378.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 7.156e-05/0.3699, allocations: 126.2 kB / 0.5211 GB, free: 33.36 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.811e-05/0.37, allocations: 10.88 kB / 0.5211 GB, free: 33.35 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003229/0.3703, allocations: 180.1 kB / 0.5213 GB, free: 33.28 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.984e-06/0.3703, allocations: 4 kB / 0.5213 GB, free: 33.27 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.318e-06/0.3703, allocations: 0 / 0.5213 GB, free: 33.27 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.206e-06/0.3703, allocations: 0 / 0.5213 GB, free: 33.27 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005029/0.3708, allocations: 496.9 kB / 0.5217 GB, free: 32.88 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.703e-06/0.3709, allocations: 0 / 0.5217 GB, free: 32.88 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.248e-05/0.371, allocations: 40.44 kB / 0.5218 GB, free: 32.87 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.304e-06/0.371, allocations: 0 / 0.5218 GB, free: 32.87 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.018e-05/0.371, allocations: 7.125 kB / 0.5218 GB, free: 32.87 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.804e-06/0.371, allocations: 0 / 0.5218 GB, free: 32.87 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.371, allocations: 0 / 0.5218 GB, free: 32.87 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000303/0.3713, allocations: 273.8 kB / 0.5221 GB, free: 32.68 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3e-05/0.3713, allocations: 87.86 kB / 0.5221 GB, free: 32.57 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.828e-05/0.3714, allocations: 7.125 kB / 0.5221 GB, free: 32.57 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.659e-05/0.3715, allocations: 12.48 kB / 0.5222 GB, free: 32.57 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.854e-05/0.3715, allocations: 13.5 kB / 0.5222 GB, free: 32.57 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.225e-06/0.3715, allocations: 6.969 kB / 0.5222 GB, free: 32.56 MB / 378.7 MB Notification: Performance of sorting global known variables: time 7.519e-05/0.3716, allocations: 130.1 kB / 0.5223 GB, free: 32.48 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3716, allocations: 0 / 0.5223 GB, free: 32.48 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002349/0.3719, allocations: 29.03 kB / 0.5223 GB, free: 32.47 MB / 378.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.0008625/0.3727, allocations: 463.5 kB / 0.5228 GB, free: 32.24 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0002743/0.373, allocations: 123.4 kB / 0.5229 GB, free: 32.21 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.893e-06/0.373, allocations: 0 / 0.5229 GB, free: 32.21 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001233/0.3731, allocations: 68.03 kB / 0.523 GB, free: 32.19 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003121/0.3735, allocations: 19.66 kB / 0.523 GB, free: 32.18 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000415/0.3739, allocations: 306.1 kB / 0.5233 GB, free: 31.95 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000128/0.374, allocations: 0.7077 MB / 0.524 GB, free: 31.25 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.032e-05/0.3741, allocations: 15.5 kB / 0.524 GB, free: 31.24 MB / 378.7 MB Notification: Performance of SimCode: time 2.61e-07/0.3741, allocations: 0 / 0.524 GB, free: 31.24 MB / 378.7 MB Notification: Performance of Templates: time 0.002934/0.377, allocations: 1.866 MB / 0.5258 GB, free: 31.04 MB / 378.7 MB make -j1 -f ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Ds.Test24.makefile (rm -f ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Ds.Test24.pipe ; mkfifo ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Ds.Test24.pipe ; head -c 1048576 < ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Ds.Test24.pipe >> ../files/ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Ds.Test24.sim & ./ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Ds.Test24 --alarm=480 -emit_protected > ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Ds.Test24.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Ds.Test24_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test24/Test24.csv","../files/ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Ds.Test24.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches