Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Ds.Test4.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.Test4,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|d_t_new.y|clock.y|const.y",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Ds.Test4") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test4,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|d_t_new.y|clock.y|const.y",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Ds.Test4") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001749/0.001749, allocations: 198.1 kB / 16.1 MB, free: 5.703 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.317/1.317, allocations: 226.6 MB / 243.4 MB, free: 8.176 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008143/0.0008143, allocations: 93.09 kB / 295.5 MB, free: 6.891 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.319/0.319, allocations: 44.83 MB / 392.3 MB, free: 35.7 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000304/0.000304, allocations: 8 kB / 465.3 MB, free: 12.66 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3002/0.3005, allocations: 62.96 MB / 0.5159 GB, free: 37.11 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test4): time 0.001599/0.3022, allocations: 1.337 MB / 0.5172 GB, free: 36.14 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006269/0.3028, allocations: 0.511 MB / 0.5177 GB, free: 35.79 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.041e-05/0.3029, allocations: 0 / 0.5177 GB, free: 35.79 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003964/0.3033, allocations: 446.2 kB / 0.5181 GB, free: 35.77 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002827/0.3036, allocations: 268.1 kB / 0.5184 GB, free: 35.73 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002524/0.3038, allocations: 118.6 kB / 0.5185 GB, free: 35.68 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001463/0.304, allocations: 131.4 kB / 0.5186 GB, free: 35.65 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.827e-05/0.3041, allocations: 15.55 kB / 0.5186 GB, free: 35.64 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.954e-05/0.3042, allocations: 102.7 kB / 0.5187 GB, free: 35.63 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001476/0.3043, allocations: 165.1 kB / 0.5189 GB, free: 35.62 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.512e-05/0.3043, allocations: 0 / 0.5189 GB, free: 35.62 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.65e-05/0.3044, allocations: 36.06 kB / 0.5189 GB, free: 35.61 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 7.669e-05/0.3045, allocations: 81.03 kB / 0.519 GB, free: 35.58 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 5.666e-05/0.3046, allocations: 118.9 kB / 0.5191 GB, free: 35.48 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001513/0.3047, allocations: 181.9 kB / 0.5193 GB, free: 35.43 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.319e-06/0.3047, allocations: 4 kB / 0.5193 GB, free: 35.42 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.162e-06/0.3047, allocations: 0 / 0.5193 GB, free: 35.42 MB / 378.7 MB Notification: Performance of Transformations before backend: time 5.12e-06/0.3047, allocations: 0 / 0.5193 GB, free: 35.42 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0004755/0.3052, allocations: 0.595 MB / 0.5198 GB, free: 34.89 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.149e-05/0.3053, allocations: 8.75 kB / 0.5199 GB, free: 34.89 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.13e-05/0.3053, allocations: 40.72 kB / 0.5199 GB, free: 34.87 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001849/0.3055, allocations: 299.2 kB / 0.5202 GB, free: 34.59 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.815e-06/0.3055, allocations: 3.219 kB / 0.5202 GB, free: 34.59 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.016e-05/0.3055, allocations: 11.19 kB / 0.5202 GB, free: 34.58 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001134/0.3057, allocations: 61.02 kB / 0.5203 GB, free: 34.53 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.118e-06/0.3057, allocations: 0 / 0.5203 GB, free: 34.53 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.696e-06/0.3057, allocations: 3.938 kB / 0.5203 GB, free: 34.53 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.967e-06/0.3057, allocations: 0 / 0.5203 GB, free: 34.53 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.885e-05/0.3058, allocations: 28.02 kB / 0.5203 GB, free: 34.52 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003295/0.3061, allocations: 383 kB / 0.5206 GB, free: 34.21 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001645/0.3063, allocations: 46.98 kB / 0.5207 GB, free: 34.18 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.361e-05/0.3064, allocations: 17.64 kB / 0.5207 GB, free: 34.16 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.613e-05/0.3064, allocations: 0 / 0.5207 GB, free: 34.16 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.408e-05/0.3064, allocations: 44.77 kB / 0.5208 GB, free: 34.12 MB / 378.7 MB Notification: Performance of pre-optimization done (n=3): time 8.02e-07/0.3064, allocations: 0 / 0.5208 GB, free: 34.12 MB / 378.7 MB Notification: Performance of matching and sorting (n=5): time 0.0004743/0.3069, allocations: 236.8 kB / 0.521 GB, free: 33.99 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.245e-05/0.3069, allocations: 54.78 kB / 0.521 GB, free: 33.93 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005826/0.3075, allocations: 0.8669 MB / 0.5219 GB, free: 33.61 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 7.174e-06/0.3075, allocations: 25.7 kB / 0.5219 GB, free: 33.58 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001028/0.3076, allocations: 221.8 kB / 0.5221 GB, free: 33.4 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.452e-05/0.3076, allocations: 18.66 kB / 0.5221 GB, free: 33.39 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.577e-06/0.3077, allocations: 0 / 0.5221 GB, free: 33.39 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 6.013e-05/0.3077, allocations: 363 kB / 0.5225 GB, free: 33.05 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.139e-05/0.3078, allocations: 27.77 kB / 0.5225 GB, free: 33.05 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.242e-05/0.3078, allocations: 20.52 kB / 0.5225 GB, free: 33.04 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001084/0.308, allocations: 64.28 kB / 0.5226 GB, free: 33.02 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.11e-07/0.308, allocations: 0 / 0.5226 GB, free: 33.02 MB / 378.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001624/0.3081, allocations: 115.9 kB / 0.5227 GB, free: 32.95 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.231e-05/0.3082, allocations: 8.75 kB / 0.5227 GB, free: 32.95 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.569e-06/0.3082, allocations: 288 / 0.5227 GB, free: 32.95 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.133e-05/0.3082, allocations: 2.75 kB / 0.5227 GB, free: 32.95 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.529e-05/0.3082, allocations: 14.91 kB / 0.5227 GB, free: 32.95 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.335e-06/0.3083, allocations: 7.359 kB / 0.5227 GB, free: 32.95 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.96e-05/0.3083, allocations: 13.25 kB / 0.5227 GB, free: 32.94 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.4e-06/0.3083, allocations: 0 / 0.5227 GB, free: 32.94 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 (5): * Single equations (assignments): 5 * 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.0001228/0.3085, allocations: 218.2 kB / 0.5229 GB, free: 32.8 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.174e-05/0.3085, allocations: 47.67 kB / 0.523 GB, free: 32.77 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002171/0.3087, allocations: 141.9 kB / 0.5231 GB, free: 32.71 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.663e-06/0.3087, allocations: 0 / 0.5231 GB, free: 32.71 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.016e-06/0.3087, allocations: 0 / 0.5231 GB, free: 32.71 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.065e-06/0.3088, allocations: 3.938 kB / 0.5231 GB, free: 32.7 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00037/0.3091, allocations: 474.5 kB / 0.5236 GB, free: 32.34 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.423e-06/0.3091, allocations: 384 / 0.5236 GB, free: 32.34 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.704e-05/0.3092, allocations: 12 kB / 0.5236 GB, free: 32.34 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.314e-06/0.3092, allocations: 3.328 kB / 0.5236 GB, free: 32.34 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.123e-06/0.3092, allocations: 7.938 kB / 0.5236 GB, free: 32.34 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.263e-06/0.3092, allocations: 3.938 kB / 0.5236 GB, free: 32.33 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.41e-07/0.3092, allocations: 0 / 0.5236 GB, free: 32.33 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001712/0.3094, allocations: 221.8 kB / 0.5238 GB, free: 32.16 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.661e-05/0.3095, allocations: 108.8 kB / 0.5239 GB, free: 32.05 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.193e-05/0.3095, allocations: 10.69 kB / 0.5239 GB, free: 32.04 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.589e-05/0.3096, allocations: 5.953 kB / 0.5239 GB, free: 32.04 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.993e-05/0.3096, allocations: 7.031 kB / 0.524 GB, free: 32.04 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.29e-06/0.3096, allocations: 6.062 kB / 0.524 GB, free: 32.04 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0004563/0.3101, allocations: 0.6554 MB / 0.5246 GB, free: 31.79 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3101, allocations: 0 / 0.5246 GB, free: 31.79 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002244/0.3103, allocations: 22.31 kB / 0.5246 GB, free: 31.79 MB / 378.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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 5 * 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.0006974/0.311, allocations: 389 kB / 0.525 GB, free: 31.59 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.000159/0.3112, allocations: 58.02 kB / 0.525 GB, free: 31.58 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.432e-06/0.3112, allocations: 0 / 0.525 GB, free: 31.58 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 6.14e-05/0.3113, allocations: 30.53 kB / 0.5251 GB, free: 31.57 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003083/0.3116, allocations: 28.83 kB / 0.5251 GB, free: 31.56 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007812/0.3124, allocations: 0.8697 MB / 0.526 GB, free: 31.12 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002048/0.3126, allocations: 0.8188 MB / 0.5268 GB, free: 30.41 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.713e-05/0.3126, allocations: 16.33 kB / 0.5268 GB, free: 30.41 MB / 378.7 MB Notification: Performance of SimCode: time 3e-07/0.3126, allocations: 0 / 0.5268 GB, free: 30.41 MB / 378.7 MB Notification: Performance of Templates: time 0.005164/0.3178, allocations: 3.627 MB / 0.5303 GB, free: 29.61 MB / 378.7 MB make -j1 -f ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Ds.Test4.makefile (rm -f ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Ds.Test4.pipe ; mkfifo ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Ds.Test4.pipe ; head -c 1048576 < ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Ds.Test4.pipe >> ../files/ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Ds.Test4.sim & ./ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Ds.Test4 --alarm=480 -emit_protected > ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Ds.Test4.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Ds.Test4_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test4/Test4.csv","../files/ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Ds.Test4.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches