Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Dv.Test29.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.Test29,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock1.y|clock2.y|d2_t_new.y",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Dv.Test29") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test29,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock1.y|clock2.y|d2_t_new.y",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Dv.Test29") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009576/0.0009577, allocations: 197.7 kB / 15.8 MB, free: 5.961 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.267/1.267, allocations: 226.6 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.000743/0.0007433, allocations: 100.1 kB / 295.1 MB, free: 10.05 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2008/0.2008, allocations: 44.83 MB / 392 MB, free: 9.316 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002432/0.0002432, allocations: 11.98 kB / 464.7 MB, free: 49.76 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09209/0.09235, allocations: 62.96 MB / 0.5153 GB, free: 2.754 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test29): time 0.001706/0.0941, allocations: 1.354 MB / 0.5167 GB, free: 1.383 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007622/0.09487, allocations: 0.5304 MB / 0.5172 GB, free: 0.8477 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.603e-05/0.09493, allocations: 0 / 0.5172 GB, free: 0.8477 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002212/0.09516, allocations: 67.83 kB / 0.5172 GB, free: 0.7812 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001863/0.09536, allocations: 83.73 kB / 0.5173 GB, free: 0.6992 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000355/0.09572, allocations: 162.3 kB / 0.5175 GB, free: 0.543 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001242/0.09586, allocations: 75.81 kB / 0.5175 GB, free: 480 kB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.818e-05/0.09595, allocations: 20.2 kB / 0.5176 GB, free: 456 kB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.08e-05/0.09601, allocations: 35.84 kB / 0.5176 GB, free: 420 kB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.188e-05/0.0961, allocations: 43.83 kB / 0.5176 GB, free: 376 kB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 1.228e-05/0.09612, allocations: 0 / 0.5176 GB, free: 376 kB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.835e-05/0.09621, allocations: 47.97 kB / 0.5177 GB, free: 328 kB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 4.753e-05/0.09627, allocations: 27.86 kB / 0.5177 GB, free: 300 kB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 2.593e-05/0.0963, allocations: 33.7 kB / 0.5177 GB, free: 260 kB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001262/0.09643, allocations: 87.73 kB / 0.5178 GB, free: 172 kB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.739e-06/0.09644, allocations: 4 kB / 0.5178 GB, free: 168 kB / 346.7 MB Notification: Performance of FrontEnd: time 1.854e-06/0.09645, allocations: 0 / 0.5178 GB, free: 168 kB / 346.7 MB Notification: Performance of Transformations before backend: time 3.687e-06/0.09646, allocations: 0 / 0.5178 GB, free: 168 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.1829/0.2793, allocations: 407.5 kB / 0.5182 GB, free: 11.78 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.313e-05/0.2794, allocations: 10.06 kB / 0.5182 GB, free: 11.78 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.616e-05/0.2794, allocations: 13.09 kB / 0.5182 GB, free: 11.77 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001844/0.2796, allocations: 200.4 kB / 0.5184 GB, free: 11.56 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.287e-05/0.2797, allocations: 3.031 kB / 0.5184 GB, free: 11.56 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.629e-05/0.2797, allocations: 4.609 kB / 0.5184 GB, free: 11.56 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000244/0.2799, allocations: 70.45 kB / 0.5185 GB, free: 11.53 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.099e-05/0.28, allocations: 4.328 kB / 0.5185 GB, free: 11.53 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.839e-06/0.28, allocations: 1.188 kB / 0.5185 GB, free: 11.53 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.621e-06/0.28, allocations: 1.406 kB / 0.5185 GB, free: 11.53 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001674/0.2802, allocations: 56.81 kB / 0.5186 GB, free: 11.53 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004312/0.2806, allocations: 326.6 kB / 0.5189 GB, free: 11.26 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002338/0.2808, allocations: 67.72 kB / 0.5189 GB, free: 11.24 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.735e-05/0.2809, allocations: 30.75 kB / 0.519 GB, free: 11.23 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.919e-05/0.281, allocations: 2.469 kB / 0.519 GB, free: 11.23 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.348e-05/0.281, allocations: 36.39 kB / 0.519 GB, free: 11.19 MB / 346.7 MB Notification: Performance of pre-optimization done (n=5): time 1.392e-06/0.281, allocations: 3.266 kB / 0.519 GB, free: 11.19 MB / 346.7 MB Notification: Performance of matching and sorting (n=11): time 0.001595/0.2826, allocations: 0.492 MB / 0.5195 GB, free: 11.12 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.078e-05/0.2826, allocations: 57.66 kB / 0.5195 GB, free: 11.05 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001998/0.2828, allocations: 213.1 kB / 0.5197 GB, free: 10.95 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.191e-05/0.2828, allocations: 27.8 kB / 0.5198 GB, free: 10.92 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.072e-05/0.2829, allocations: 108.9 kB / 0.5199 GB, free: 10.83 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.399e-05/0.2829, allocations: 42.28 kB / 0.5199 GB, free: 10.8 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.322e-06/0.283, allocations: 1.25 kB / 0.5199 GB, free: 10.8 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 5.623e-05/0.283, allocations: 325.2 kB / 0.5202 GB, free: 10.49 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001705/0.2832, allocations: 63.08 kB / 0.5203 GB, free: 10.49 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001364/0.2833, allocations: 63.88 kB / 0.5204 GB, free: 10.49 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001515/0.2835, allocations: 69.14 kB / 0.5204 GB, free: 10.48 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.22e-07/0.2835, allocations: 0 / 0.5204 GB, free: 10.48 MB / 346.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0004146/0.2839, allocations: 180 kB / 0.5206 GB, free: 10.45 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.752e-05/0.284, allocations: 5.984 kB / 0.5206 GB, free: 10.45 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.618e-06/0.284, allocations: 3.938 kB / 0.5206 GB, free: 10.44 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.443e-05/0.284, allocations: 5.516 kB / 0.5206 GB, free: 10.44 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001276/0.2841, allocations: 28.72 kB / 0.5206 GB, free: 10.44 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.576e-06/0.2841, allocations: 1.531 kB / 0.5206 GB, free: 10.44 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.104e-05/0.2842, allocations: 20.52 kB / 0.5207 GB, free: 10.43 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.14e-05/0.2842, allocations: 4.672 kB / 0.5207 GB, free: 10.43 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 8.554e-05/0.2843, allocations: 129.7 kB / 0.5208 GB, free: 10.32 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.315e-05/0.2844, allocations: 14.06 kB / 0.5208 GB, free: 10.31 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004272/0.2848, allocations: 206.3 kB / 0.521 GB, free: 10.27 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.035e-06/0.2848, allocations: 6.062 kB / 0.521 GB, free: 10.26 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.717e-06/0.2848, allocations: 3.953 kB / 0.521 GB, free: 10.26 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.3e-06/0.2848, allocations: 2.188 kB / 0.521 GB, free: 10.26 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006466/0.2855, allocations: 0.5168 MB / 0.5215 GB, free: 9.93 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.194e-06/0.2855, allocations: 0 / 0.5215 GB, free: 9.93 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001033/0.2856, allocations: 36.92 kB / 0.5215 GB, free: 9.926 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.308e-06/0.2856, allocations: 7.859 kB / 0.5216 GB, free: 9.922 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.084e-05/0.2856, allocations: 3.922 kB / 0.5216 GB, free: 9.922 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.305e-06/0.2856, allocations: 1.062 kB / 0.5216 GB, free: 9.922 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.873e-06/0.2856, allocations: 1.031 kB / 0.5216 GB, free: 9.922 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003447/0.286, allocations: 288.4 kB / 0.5218 GB, free: 9.762 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.016e-05/0.286, allocations: 93.44 kB / 0.5219 GB, free: 9.66 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.084e-05/0.286, allocations: 7.156 kB / 0.5219 GB, free: 9.656 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.819e-05/0.2861, allocations: 18.55 kB / 0.5219 GB, free: 9.652 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.618e-05/0.2862, allocations: 12.62 kB / 0.522 GB, free: 9.648 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.155e-06/0.2862, allocations: 2.938 kB / 0.522 GB, free: 9.648 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.000109/0.2863, allocations: 159.5 kB / 0.5221 GB, free: 9.555 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.2863, allocations: 4 kB / 0.5221 GB, free: 9.551 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.000234/0.2866, allocations: 31.22 kB / 0.5221 GB, free: 9.543 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.0008392/0.2874, allocations: 456.8 kB / 0.5226 GB, free: 9.324 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0003494/0.2878, allocations: 136.9 kB / 0.5227 GB, free: 9.297 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.715e-06/0.2878, allocations: 11.88 kB / 0.5227 GB, free: 9.285 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001534/0.2879, allocations: 78.02 kB / 0.5228 GB, free: 9.266 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002897/0.2882, allocations: 15.98 kB / 0.5228 GB, free: 9.262 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004691/0.2887, allocations: 366.9 kB / 0.5232 GB, free: 9 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001429/0.2889, allocations: 0.7223 MB / 0.5239 GB, free: 8.297 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.023e-05/0.2889, allocations: 15.34 kB / 0.5239 GB, free: 8.289 MB / 346.7 MB Notification: Performance of SimCode: time 2.5e-07/0.2889, allocations: 1 kB / 0.5239 GB, free: 8.289 MB / 346.7 MB Notification: Performance of Templates: time 0.004293/0.2932, allocations: 2.083 MB / 0.5259 GB, free: 8.07 MB / 346.7 MB make -j1 -f ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Dv.Test29.makefile (rm -f ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Dv.Test29.pipe ; mkfifo ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Dv.Test29.pipe ; head -c 1048576 < ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Dv.Test29.pipe >> ../files/ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Dv.Test29.sim & ./ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Dv.Test29 --alarm=480 -emit_protected > ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Dv.Test29.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Dv.Test29_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test29/Test29.csv","../files/ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Dv.Test29.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches