Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Dv.Test6.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.CombiTable1Dv.Test6,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y|clock.y|d_t_new2.y|d2_t_new.y|d2_t_new2.y",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Dv.Test6") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test6,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y|clock.y|d_t_new2.y|d2_t_new.y|d2_t_new2.y",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Dv.Test6") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009784/0.0009784, allocations: 200.2 kB / 15.8 MB, free: 6.328 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.288/1.288, allocations: 226.6 MB / 243.1 MB, free: 14.31 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007783/0.0007783, allocations: 96.23 kB / 295.1 MB, free: 10.09 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1893/0.1893, allocations: 44.83 MB / 392 MB, free: 9.363 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002483/0.0002484, allocations: 8 kB / 464.7 MB, free: 49.79 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08791/0.08817, allocations: 62.95 MB / 0.5153 GB, free: 2.805 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test6): time 0.001663/0.08987, allocations: 1.331 MB / 0.5166 GB, free: 1.457 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007069/0.09059, allocations: 0.4992 MB / 0.5171 GB, free: 0.9531 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.31e-05/0.09065, allocations: 4 kB / 0.5171 GB, free: 0.9492 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002241/0.09088, allocations: 87.8 kB / 0.5172 GB, free: 0.8633 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001843/0.09107, allocations: 91.66 kB / 0.5173 GB, free: 0.7734 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002387/0.09132, allocations: 99.81 kB / 0.5174 GB, free: 0.6758 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001203/0.09145, allocations: 87.8 kB / 0.5175 GB, free: 0.5898 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.929e-05/0.09155, allocations: 27.95 kB / 0.5175 GB, free: 0.5625 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.936e-05/0.09161, allocations: 39.83 kB / 0.5175 GB, free: 0.5234 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.896e-05/0.09169, allocations: 47.83 kB / 0.5176 GB, free: 488 kB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 1.4e-05/0.09171, allocations: 4 kB / 0.5176 GB, free: 484 kB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.601e-05/0.0918, allocations: 39.98 kB / 0.5176 GB, free: 444 kB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 3.745e-05/0.09184, allocations: 27.86 kB / 0.5176 GB, free: 416 kB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 2.578e-05/0.09187, allocations: 37.64 kB / 0.5177 GB, free: 372 kB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001211/0.092, allocations: 95.84 kB / 0.5178 GB, free: 276 kB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.627e-06/0.09201, allocations: 4 kB / 0.5178 GB, free: 272 kB / 346.7 MB Notification: Performance of FrontEnd: time 1.272e-06/0.09202, allocations: 0 / 0.5178 GB, free: 272 kB / 346.7 MB Notification: Performance of Transformations before backend: time 4.959e-06/0.09203, allocations: 0 / 0.5178 GB, free: 272 kB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.1848/0.2769, allocations: 414.9 kB / 0.5182 GB, free: 11.81 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.343e-05/0.2769, allocations: 9.656 kB / 0.5182 GB, free: 11.81 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.848e-05/0.277, allocations: 21.28 kB / 0.5182 GB, free: 11.8 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001916/0.2772, allocations: 202.1 kB / 0.5184 GB, free: 11.6 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.411e-05/0.2772, allocations: 4.656 kB / 0.5184 GB, free: 11.6 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.851e-05/0.2772, allocations: 6.094 kB / 0.5184 GB, free: 11.6 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002163/0.2775, allocations: 73.17 kB / 0.5185 GB, free: 11.57 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.361e-05/0.2775, allocations: 1.719 kB / 0.5185 GB, free: 11.57 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.283e-05/0.2775, allocations: 2.094 kB / 0.5185 GB, free: 11.57 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.564e-06/0.2775, allocations: 5.156 kB / 0.5185 GB, free: 11.57 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001437/0.2777, allocations: 45.64 kB / 0.5185 GB, free: 11.57 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004892/0.2782, allocations: 351.8 kB / 0.5189 GB, free: 11.29 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001438/0.2783, allocations: 68.06 kB / 0.5189 GB, free: 11.27 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.85e-05/0.2784, allocations: 26.33 kB / 0.5189 GB, free: 11.26 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.784e-05/0.2784, allocations: 3.219 kB / 0.519 GB, free: 11.26 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.155e-05/0.2784, allocations: 36.62 kB / 0.519 GB, free: 11.22 MB / 346.7 MB Notification: Performance of pre-optimization done (n=7): time 1.332e-06/0.2785, allocations: 1.688 kB / 0.519 GB, free: 11.22 MB / 346.7 MB Notification: Performance of matching and sorting (n=13): time 0.001118/0.2796, allocations: 367.7 kB / 0.5193 GB, free: 11.15 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.575e-05/0.2796, allocations: 57.81 kB / 0.5194 GB, free: 11.09 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002445/0.2799, allocations: 242.6 kB / 0.5196 GB, free: 10.97 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.154e-05/0.2799, allocations: 27.58 kB / 0.5197 GB, free: 10.94 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.343e-05/0.2799, allocations: 114.2 kB / 0.5198 GB, free: 10.86 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.413e-05/0.28, allocations: 47.97 kB / 0.5198 GB, free: 10.82 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.31e-06/0.28, allocations: 0 / 0.5198 GB, free: 10.82 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 5.081e-05/0.2801, allocations: 326.4 kB / 0.5201 GB, free: 10.51 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001197/0.2802, allocations: 46.41 kB / 0.5202 GB, free: 10.51 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001115/0.2803, allocations: 53.22 kB / 0.5202 GB, free: 10.51 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001189/0.2804, allocations: 54.73 kB / 0.5203 GB, free: 10.51 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.51e-07/0.2804, allocations: 3.75 kB / 0.5203 GB, free: 10.51 MB / 346.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.000321/0.2808, allocations: 165.3 kB / 0.5204 GB, free: 10.46 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.495e-05/0.2808, allocations: 6.125 kB / 0.5204 GB, free: 10.46 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.513e-06/0.2808, allocations: 5.297 kB / 0.5204 GB, free: 10.46 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.191e-05/0.2808, allocations: 0 / 0.5204 GB, free: 10.46 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00013/0.2809, allocations: 32.86 kB / 0.5205 GB, free: 10.46 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.232e-06/0.281, allocations: 1.188 kB / 0.5205 GB, free: 10.46 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.038e-05/0.281, allocations: 8.141 kB / 0.5205 GB, free: 10.46 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.018e-05/0.281, allocations: 4.094 kB / 0.5205 GB, free: 10.46 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 (13): * Single equations (assignments): 13 * 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.935e-05/0.2811, allocations: 141.3 kB / 0.5206 GB, free: 10.34 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.374e-05/0.2812, allocations: 14.69 kB / 0.5206 GB, free: 10.33 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004096/0.2816, allocations: 193 kB / 0.5208 GB, free: 10.29 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.598e-06/0.2816, allocations: 2.719 kB / 0.5208 GB, free: 10.29 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.14e-06/0.2816, allocations: 6.938 kB / 0.5208 GB, free: 10.28 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.767e-06/0.2816, allocations: 1.141 kB / 0.5208 GB, free: 10.28 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006236/0.2822, allocations: 0.5054 MB / 0.5213 GB, free: 9.965 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.613e-06/0.2823, allocations: 0 / 0.5213 GB, free: 9.965 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.396e-05/0.2824, allocations: 31.2 kB / 0.5213 GB, free: 9.961 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.806e-06/0.2824, allocations: 1.312 kB / 0.5213 GB, free: 9.961 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.22e-05/0.2824, allocations: 5.094 kB / 0.5214 GB, free: 9.961 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.653e-06/0.2824, allocations: 0 / 0.5214 GB, free: 9.961 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.543e-06/0.2824, allocations: 1.125 kB / 0.5214 GB, free: 9.961 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002786/0.2827, allocations: 265.8 kB / 0.5216 GB, free: 9.777 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.253e-05/0.2827, allocations: 90.52 kB / 0.5217 GB, free: 9.676 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.962e-05/0.2827, allocations: 1.656 kB / 0.5217 GB, free: 9.676 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.639e-05/0.2828, allocations: 12.19 kB / 0.5217 GB, free: 9.672 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.004e-05/0.2829, allocations: 15.7 kB / 0.5217 GB, free: 9.668 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.726e-06/0.2829, allocations: 4.312 kB / 0.5217 GB, free: 9.668 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0001314/0.283, allocations: 181 kB / 0.5219 GB, free: 9.566 MB / 346.7 MB Notification: Performance of sort global known variables: time 8.81e-07/0.283, allocations: 0 / 0.5219 GB, free: 9.566 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0002404/0.2833, allocations: 34.73 kB / 0.5219 GB, free: 9.555 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (13): * Single equations (assignments): 13 * 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.0008417/0.2841, allocations: 463.9 kB / 0.5224 GB, free: 9.336 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0002917/0.2844, allocations: 116 kB / 0.5225 GB, free: 9.309 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 1.894e-06/0.2844, allocations: 0 / 0.5225 GB, free: 9.309 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001239/0.2846, allocations: 63.86 kB / 0.5225 GB, free: 9.293 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003485/0.2849, allocations: 24.53 kB / 0.5226 GB, free: 9.277 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005427/0.2855, allocations: 395.6 kB / 0.5229 GB, free: 9.008 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001692/0.2857, allocations: 0.7179 MB / 0.5236 GB, free: 8.312 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.24e-05/0.2857, allocations: 21.53 kB / 0.5237 GB, free: 8.301 MB / 346.7 MB Notification: Performance of SimCode: time 2.21e-07/0.2857, allocations: 1.406 kB / 0.5237 GB, free: 8.301 MB / 346.7 MB Notification: Performance of Templates: time 0.004235/0.29, allocations: 2.139 MB / 0.5258 GB, free: 8.066 MB / 346.7 MB make -j1 -f ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Dv.Test6.makefile (rm -f ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Dv.Test6.pipe ; mkfifo ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Dv.Test6.pipe ; head -c 1048576 < ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Dv.Test6.pipe >> ../files/ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Dv.Test6.sim & ./ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Dv.Test6 --alarm=480 -emit_protected > ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Dv.Test6.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Dv.Test6_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test6/Test6.csv","../files/ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Dv.Test6.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches