Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Ds.Test3.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.Test3,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.Test3") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test3,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.Test3") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009487/0.0009488, allocations: 203.5 kB / 15.8 MB, free: 6.332 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.259/1.259, allocations: 226.6 MB / 243.1 MB, free: 14.28 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007121/0.0007121, allocations: 99.66 kB / 295.1 MB, free: 10.06 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1917/0.1917, allocations: 44.84 MB / 392 MB, free: 9.336 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003336/0.0003338, allocations: 8 kB / 464.7 MB, free: 49.77 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09914/0.09949, allocations: 62.96 MB / 0.5153 GB, free: 2.77 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test3): time 0.00187/0.1014, allocations: 1.355 MB / 0.5167 GB, free: 1.395 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008351/0.1023, allocations: 0.4992 MB / 0.5171 GB, free: 0.8906 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.28e-05/0.1023, allocations: 0 / 0.5171 GB, free: 0.8906 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005566/0.1029, allocations: 459.1 kB / 0.5176 GB, free: 452 kB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003462/0.1032, allocations: 271.5 kB / 0.5178 GB, free: 180 kB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003192/0.1036, allocations: 110.4 kB / 0.5179 GB, free: 72 kB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.1754/0.279, allocations: 135.7 kB / 0.5181 GB, free: 10.25 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001028/0.2792, allocations: 16.44 kB / 0.5181 GB, free: 10.24 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001932/0.2794, allocations: 107.2 kB / 0.5182 GB, free: 10.24 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002417/0.2796, allocations: 170.1 kB / 0.5184 GB, free: 10.24 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 1.971e-05/0.2796, allocations: 1.5 kB / 0.5184 GB, free: 10.24 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001418/0.2798, allocations: 44.64 kB / 0.5184 GB, free: 10.24 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001126/0.2799, allocations: 84.22 kB / 0.5185 GB, free: 10.24 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 4.347e-05/0.28, allocations: 68.95 kB / 0.5185 GB, free: 10.21 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002566/0.2802, allocations: 199.8 kB / 0.5187 GB, free: 10.2 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.118e-06/0.2802, allocations: 0 / 0.5187 GB, free: 10.2 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.413e-06/0.2802, allocations: 0.7188 kB / 0.5187 GB, free: 10.2 MB / 346.7 MB Notification: Performance of Transformations before backend: time 5.911e-06/0.2803, allocations: 0 / 0.5187 GB, free: 10.2 MB / 346.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.0005647/0.2808, allocations: 0.6103 MB / 0.5193 GB, free: 9.695 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.329e-05/0.2809, allocations: 9.906 kB / 0.5193 GB, free: 9.695 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.322e-05/0.2809, allocations: 42.25 kB / 0.5194 GB, free: 9.672 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002143/0.2811, allocations: 281.5 kB / 0.5196 GB, free: 9.422 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.085e-05/0.2812, allocations: 1.938 kB / 0.5196 GB, free: 9.422 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.258e-05/0.2812, allocations: 4.844 kB / 0.5197 GB, free: 9.422 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001614/0.2814, allocations: 71.39 kB / 0.5197 GB, free: 9.391 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.959e-06/0.2814, allocations: 0 / 0.5197 GB, free: 9.391 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.082e-05/0.2814, allocations: 3.359 kB / 0.5197 GB, free: 9.391 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.552e-06/0.2814, allocations: 2.812 kB / 0.5197 GB, free: 9.391 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001441/0.2816, allocations: 47.52 kB / 0.5198 GB, free: 9.391 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004166/0.282, allocations: 402.9 kB / 0.5202 GB, free: 9.121 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002388/0.2822, allocations: 65.52 kB / 0.5202 GB, free: 9.094 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.643e-05/0.2823, allocations: 29.25 kB / 0.5202 GB, free: 9.086 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.059e-05/0.2823, allocations: 1.562 kB / 0.5202 GB, free: 9.086 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.25e-05/0.2824, allocations: 36.42 kB / 0.5203 GB, free: 9.043 MB / 346.7 MB Notification: Performance of pre-optimization done (n=5): time 1.042e-06/0.2824, allocations: 0 / 0.5203 GB, free: 9.043 MB / 346.7 MB Notification: Performance of matching and sorting (n=11): time 0.00149/0.2839, allocations: 0.5301 MB / 0.5208 GB, free: 8.918 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.939e-05/0.2839, allocations: 56.03 kB / 0.5209 GB, free: 8.855 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007953/0.2847, allocations: 0.8643 MB / 0.5217 GB, free: 8.734 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.038e-05/0.2847, allocations: 30.2 kB / 0.5217 GB, free: 8.703 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001194/0.2848, allocations: 212.1 kB / 0.5219 GB, free: 8.621 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.723e-05/0.2849, allocations: 36.03 kB / 0.522 GB, free: 8.598 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.46e-06/0.2849, allocations: 3.812 kB / 0.522 GB, free: 8.598 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 7.764e-05/0.285, allocations: 361.6 kB / 0.5223 GB, free: 8.285 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001347/0.2851, allocations: 51.25 kB / 0.5224 GB, free: 8.281 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001195/0.2852, allocations: 50.81 kB / 0.5224 GB, free: 8.281 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001297/0.2854, allocations: 56.59 kB / 0.5225 GB, free: 8.277 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.51e-07/0.2854, allocations: 1.594 kB / 0.5225 GB, free: 8.277 MB / 346.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003227/0.2857, allocations: 193.1 kB / 0.5227 GB, free: 8.215 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.316e-05/0.2857, allocations: 5.078 kB / 0.5227 GB, free: 8.215 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.398e-06/0.2857, allocations: 0 / 0.5227 GB, free: 8.215 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.158e-05/0.2858, allocations: 8.062 kB / 0.5227 GB, free: 8.211 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001114/0.2859, allocations: 28.7 kB / 0.5227 GB, free: 8.211 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.45e-06/0.2859, allocations: 1.156 kB / 0.5227 GB, free: 8.211 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.688e-05/0.286, allocations: 22.88 kB / 0.5227 GB, free: 8.207 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.578e-06/0.286, allocations: 3.438 kB / 0.5227 GB, free: 8.207 MB / 346.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 0.00017/0.2862, allocations: 217.9 kB / 0.5229 GB, free: 8.09 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.937e-05/0.2862, allocations: 43.14 kB / 0.523 GB, free: 8.066 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003991/0.2866, allocations: 220.6 kB / 0.5232 GB, free: 8.012 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.006e-06/0.2866, allocations: 1.531 kB / 0.5232 GB, free: 8.012 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.908e-06/0.2866, allocations: 3.953 kB / 0.5232 GB, free: 8.008 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.887e-06/0.2866, allocations: 4.203 kB / 0.5232 GB, free: 8.008 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000669/0.2873, allocations: 0.5889 MB / 0.5238 GB, free: 7.672 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.134e-06/0.2873, allocations: 1.062 kB / 0.5238 GB, free: 7.672 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001048/0.2874, allocations: 33.19 kB / 0.5238 GB, free: 7.668 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.086e-06/0.2874, allocations: 5.25 kB / 0.5238 GB, free: 7.664 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.178e-06/0.2875, allocations: 5.109 kB / 0.5238 GB, free: 7.664 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.873e-06/0.2875, allocations: 1.094 kB / 0.5238 GB, free: 7.664 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.644e-06/0.2875, allocations: 1.797 kB / 0.5238 GB, free: 7.664 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003304/0.2878, allocations: 297.2 kB / 0.5241 GB, free: 7.488 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.767e-05/0.2879, allocations: 113.7 kB / 0.5242 GB, free: 7.371 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.851e-05/0.2879, allocations: 8 kB / 0.5242 GB, free: 7.367 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001077/0.288, allocations: 12.53 kB / 0.5242 GB, free: 7.367 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.671e-05/0.2881, allocations: 16.88 kB / 0.5242 GB, free: 7.363 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.664e-06/0.2881, allocations: 3.406 kB / 0.5242 GB, free: 7.363 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0006245/0.2887, allocations: 0.6576 MB / 0.5249 GB, free: 7.254 MB / 346.7 MB Notification: Performance of sort global known variables: time 6.31e-07/0.2887, allocations: 0 / 0.5249 GB, free: 7.254 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0002461/0.289, allocations: 35.09 kB / 0.5249 GB, free: 7.246 MB / 346.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.0007982/0.2898, allocations: 451 kB / 0.5253 GB, free: 7.027 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0003457/0.2901, allocations: 124.6 kB / 0.5255 GB, free: 6.996 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 1.673e-06/0.2901, allocations: 1.125 kB / 0.5255 GB, free: 6.996 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001435/0.2903, allocations: 66.2 kB / 0.5255 GB, free: 6.98 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003288/0.2906, allocations: 25.89 kB / 0.5256 GB, free: 6.969 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001036/0.2917, allocations: 0.9286 MB / 0.5265 GB, free: 6.492 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002639/0.2919, allocations: 0.8274 MB / 0.5273 GB, free: 5.781 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.111e-05/0.292, allocations: 16.52 kB / 0.5273 GB, free: 5.773 MB / 346.7 MB Notification: Performance of SimCode: time 2.01e-07/0.292, allocations: 0 / 0.5273 GB, free: 5.773 MB / 346.7 MB Notification: Performance of Templates: time 0.007516/0.2995, allocations: 4.041 MB / 0.5312 GB, free: 4.93 MB / 346.7 MB make -j1 -f ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Ds.Test3.makefile (rm -f ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Ds.Test3.pipe ; mkfifo ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Ds.Test3.pipe ; head -c 1048576 < ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Ds.Test3.pipe >> ../files/ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Ds.Test3.sim & ./ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Ds.Test3 --alarm=480 -emit_protected > ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Ds.Test3.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Ds.Test3_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test3/Test3.csv","../files/ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Ds.Test3.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches