Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Dv.Test11.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.CombiTable2Dv.Test11,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Dv.Test11") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test11,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Dv.Test11") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00131/0.00131, allocations: 197 kB / 15.8 MB, free: 6.309 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.277/1.277, allocations: 226.5 MB / 243.1 MB, free: 14.29 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007368/0.0007369, allocations: 93.06 kB / 295.1 MB, free: 10.03 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1809/0.1809, allocations: 44.84 MB / 392 MB, free: 9.309 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002382/0.0002382, allocations: 11.98 kB / 464.7 MB, free: 49.75 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09658/0.09683, allocations: 62.94 MB / 0.5153 GB, free: 2.762 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test11): time 0.001776/0.09866, allocations: 1.358 MB / 0.5166 GB, free: 1.387 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001411/0.1001, allocations: 1.097 MB / 0.5177 GB, free: 288 kB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.727e-05/0.1002, allocations: 7.875 kB / 0.5177 GB, free: 280 kB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001869/0.1003, allocations: 23.91 kB / 0.5177 GB, free: 256 kB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000222/0.1006, allocations: 71.77 kB / 0.5178 GB, free: 184 kB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003774/0.101, allocations: 153.9 kB / 0.518 GB, free: 36 kB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.1924/0.2934, allocations: 65.02 kB / 0.518 GB, free: 9.922 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000137/0.2936, allocations: 15.66 kB / 0.518 GB, free: 9.922 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.208e-05/0.2936, allocations: 23.86 kB / 0.5181 GB, free: 9.922 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001604/0.2938, allocations: 30.48 kB / 0.5181 GB, free: 9.922 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 1.717e-05/0.2938, allocations: 1.719 kB / 0.5181 GB, free: 9.922 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002573/0.2941, allocations: 83.86 kB / 0.5182 GB, free: 9.922 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 5.871e-05/0.2942, allocations: 18.73 kB / 0.5182 GB, free: 9.922 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 2.979e-05/0.2942, allocations: 31.73 kB / 0.5182 GB, free: 9.891 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002293/0.2944, allocations: 110.9 kB / 0.5183 GB, free: 9.891 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.869e-06/0.2944, allocations: 0 / 0.5183 GB, free: 9.891 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.773e-06/0.2945, allocations: 0.8438 kB / 0.5183 GB, free: 9.891 MB / 346.7 MB Notification: Performance of Transformations before backend: time 3.968e-06/0.2945, allocations: 0 / 0.5183 GB, free: 9.891 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0004624/0.2949, allocations: 400.6 kB / 0.5187 GB, free: 9.512 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.031e-05/0.295, allocations: 13.09 kB / 0.5187 GB, free: 9.508 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.056e-05/0.295, allocations: 8.484 kB / 0.5187 GB, free: 9.504 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001732/0.2952, allocations: 198 kB / 0.5189 GB, free: 9.297 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.05e-05/0.2952, allocations: 3.062 kB / 0.5189 GB, free: 9.297 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.099e-05/0.2953, allocations: 3.375 kB / 0.5189 GB, free: 9.297 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002179/0.2955, allocations: 82.22 kB / 0.519 GB, free: 9.25 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.698e-06/0.2955, allocations: 0 / 0.519 GB, free: 9.25 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.24e-05/0.2955, allocations: 7.703 kB / 0.519 GB, free: 9.246 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.039e-06/0.2955, allocations: 0.75 kB / 0.519 GB, free: 9.246 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001617/0.2957, allocations: 44.91 kB / 0.519 GB, free: 9.246 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003864/0.2961, allocations: 312.3 kB / 0.5193 GB, free: 8.977 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001218/0.2962, allocations: 50.88 kB / 0.5194 GB, free: 8.953 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.185e-05/0.2963, allocations: 33.12 kB / 0.5194 GB, free: 8.941 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.361e-05/0.2963, allocations: 6.094 kB / 0.5194 GB, free: 8.938 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.421e-05/0.2964, allocations: 33.72 kB / 0.5195 GB, free: 8.898 MB / 346.7 MB Notification: Performance of pre-optimization done (n=4): time 1.032e-06/0.2964, allocations: 0.7188 kB / 0.5195 GB, free: 8.898 MB / 346.7 MB Notification: Performance of matching and sorting (n=7): time 0.0008336/0.2972, allocations: 264.5 kB / 0.5197 GB, free: 8.844 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.922e-05/0.2972, allocations: 83.44 kB / 0.5198 GB, free: 8.746 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001404/0.2974, allocations: 148.5 kB / 0.5199 GB, free: 8.645 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.16e-05/0.2974, allocations: 28.42 kB / 0.52 GB, free: 8.613 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.236e-05/0.2975, allocations: 93.91 kB / 0.5201 GB, free: 8.531 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.26e-05/0.2975, allocations: 22.86 kB / 0.5201 GB, free: 8.52 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.769e-06/0.2975, allocations: 1.188 kB / 0.5201 GB, free: 8.52 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 4.826e-05/0.2975, allocations: 319.8 kB / 0.5204 GB, free: 8.207 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001324/0.2977, allocations: 48.92 kB / 0.5204 GB, free: 8.203 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001378/0.2978, allocations: 68.7 kB / 0.5205 GB, free: 8.184 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001423/0.298, allocations: 46.78 kB / 0.5205 GB, free: 8.184 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.543e-06/0.298, allocations: 0.9688 kB / 0.5205 GB, free: 8.184 MB / 346.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003175/0.2983, allocations: 139.2 kB / 0.5207 GB, free: 8.145 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.72e-05/0.2983, allocations: 6.484 kB / 0.5207 GB, free: 8.145 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.508e-06/0.2984, allocations: 0 / 0.5207 GB, free: 8.145 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.385e-05/0.2984, allocations: 1.125 kB / 0.5207 GB, free: 8.145 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001269/0.2985, allocations: 30.31 kB / 0.5207 GB, free: 8.141 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.72e-06/0.2985, allocations: 0 / 0.5207 GB, free: 8.141 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.452e-05/0.2986, allocations: 22.47 kB / 0.5207 GB, free: 8.133 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.031e-05/0.2986, allocations: 3.406 kB / 0.5207 GB, free: 8.133 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 (7): * Single equations (assignments): 7 * 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.76e-05/0.2987, allocations: 119.3 kB / 0.5208 GB, free: 8.02 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.093e-05/0.2987, allocations: 7.156 kB / 0.5209 GB, free: 8.016 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003716/0.2991, allocations: 167.8 kB / 0.521 GB, free: 7.969 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.525e-06/0.2991, allocations: 0.8438 kB / 0.521 GB, free: 7.969 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.15e-06/0.2991, allocations: 0 / 0.521 GB, free: 7.969 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.507e-06/0.2991, allocations: 5.578 kB / 0.521 GB, free: 7.965 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005337/0.2997, allocations: 427.9 kB / 0.5214 GB, free: 7.664 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.443e-06/0.2997, allocations: 0 / 0.5214 GB, free: 7.664 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.585e-05/0.2998, allocations: 26.28 kB / 0.5215 GB, free: 7.664 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.435e-06/0.2998, allocations: 1.094 kB / 0.5215 GB, free: 7.664 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.007e-05/0.2998, allocations: 2.078 kB / 0.5215 GB, free: 7.664 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.242e-06/0.2998, allocations: 3.938 kB / 0.5215 GB, free: 7.66 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.293e-06/0.2998, allocations: 3.953 kB / 0.5215 GB, free: 7.656 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003001/0.3001, allocations: 236.2 kB / 0.5217 GB, free: 7.52 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.969e-05/0.3002, allocations: 89.34 kB / 0.5218 GB, free: 7.422 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.988e-05/0.3002, allocations: 9.703 kB / 0.5218 GB, free: 7.418 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.262e-05/0.3003, allocations: 14.14 kB / 0.5218 GB, free: 7.418 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.224e-05/0.3003, allocations: 12.98 kB / 0.5218 GB, free: 7.414 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.453e-06/0.3003, allocations: 6.484 kB / 0.5218 GB, free: 7.414 MB / 346.7 MB Notification: Performance of sorting global known variables: time 7.011e-05/0.3004, allocations: 109 kB / 0.5219 GB, free: 7.34 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.91e-07/0.3004, allocations: 0 / 0.5219 GB, free: 7.34 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0002562/0.3007, allocations: 41.81 kB / 0.522 GB, free: 7.332 MB / 346.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 (7): * Single equations (assignments): 7 * 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.0009339/0.3016, allocations: 497.9 kB / 0.5224 GB, free: 7.102 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0003148/0.3019, allocations: 102.4 kB / 0.5225 GB, free: 7.102 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.945e-06/0.302, allocations: 4 kB / 0.5225 GB, free: 7.098 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001354/0.3021, allocations: 57.56 kB / 0.5226 GB, free: 7.098 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002893/0.3024, allocations: 15.64 kB / 0.5226 GB, free: 7.098 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003846/0.3028, allocations: 237.5 kB / 0.5228 GB, free: 6.922 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001114/0.3029, allocations: 0.6994 MB / 0.5235 GB, free: 6.227 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.361e-05/0.303, allocations: 20.34 kB / 0.5235 GB, free: 6.219 MB / 346.7 MB Notification: Performance of SimCode: time 2.1e-07/0.303, allocations: 0 / 0.5235 GB, free: 6.219 MB / 346.7 MB Notification: Performance of Templates: time 0.004026/0.307, allocations: 2.158 MB / 0.5256 GB, free: 5.984 MB / 346.7 MB make -j1 -f ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Dv.Test11.makefile (rm -f ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Dv.Test11.pipe ; mkfifo ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Dv.Test11.pipe ; head -c 1048576 < ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Dv.Test11.pipe >> ../files/ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Dv.Test11.sim & ./ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Dv.Test11 --alarm=480 -emit_protected > ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Dv.Test11.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Dv.Test11_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test11/Test11.csv","../files/ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Dv.Test11.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches