Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test2.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.Test2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|d_t_new.y|clock.y|const.y|d2_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test2") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|d_t_new.y|clock.y|const.y|d2_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001234/0.001233, allocations: 207.3 kB / 17.99 MB, free: 3.777 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.335/1.335, allocations: 226.7 MB / 245.5 MB, free: 6.977 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001023/0.001023, allocations: 106.7 kB / 296.7 MB, free: 6.465 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3253/0.3253, allocations: 44.83 MB / 392.7 MB, free: 34.73 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001147/0.001147, allocations: 67.89 kB / 465.5 MB, free: 12.09 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2795/0.2806, allocations: 62.01 MB / 0.5152 GB, free: 37.82 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test2): time 0.002522/0.2832, allocations: 1.729 MB / 0.5168 GB, free: 36.62 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007316/0.2839, allocations: 0.5469 MB / 0.5174 GB, free: 36.25 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.766e-05/0.284, allocations: 0 / 0.5174 GB, free: 36.25 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004013/0.2844, allocations: 452.6 kB / 0.5178 GB, free: 36.23 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003033/0.2847, allocations: 282.2 kB / 0.5181 GB, free: 36.19 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002606/0.285, allocations: 109.6 kB / 0.5182 GB, free: 36.14 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001574/0.2852, allocations: 173.9 kB / 0.5183 GB, free: 36.1 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.793e-05/0.2852, allocations: 24.2 kB / 0.5184 GB, free: 36.09 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.875e-05/0.2853, allocations: 103.8 kB / 0.5185 GB, free: 36.08 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001614/0.2855, allocations: 210.6 kB / 0.5187 GB, free: 36.05 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.691e-05/0.2855, allocations: 0 / 0.5187 GB, free: 36.05 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.717e-05/0.2856, allocations: 50.59 kB / 0.5187 GB, free: 36.04 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 8.287e-05/0.2857, allocations: 81.06 kB / 0.5188 GB, free: 36.01 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 5.266e-05/0.2858, allocations: 108.1 kB / 0.5189 GB, free: 35.92 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001949/0.286, allocations: 264.5 kB / 0.5191 GB, free: 35.8 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.326e-06/0.286, allocations: 3.938 kB / 0.5192 GB, free: 35.8 MB / 378.7 MB Notification: Performance of FrontEnd: time 6.81e-07/0.286, allocations: 0 / 0.5192 GB, free: 35.8 MB / 378.7 MB Notification: Performance of Transformations before backend: time 4.508e-06/0.286, allocations: 0 / 0.5192 GB, free: 35.8 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.000519/0.2865, allocations: 0.642 MB / 0.5198 GB, free: 35.23 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.187e-05/0.2866, allocations: 11.75 kB / 0.5198 GB, free: 35.23 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.737e-05/0.2866, allocations: 37.59 kB / 0.5198 GB, free: 35.21 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001994/0.2868, allocations: 295 kB / 0.5201 GB, free: 34.94 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.534e-06/0.2868, allocations: 7.062 kB / 0.5201 GB, free: 34.93 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.16e-05/0.2869, allocations: 7.094 kB / 0.5201 GB, free: 34.93 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001269/0.287, allocations: 62.41 kB / 0.5202 GB, free: 34.88 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.149e-05/0.287, allocations: 0 / 0.5202 GB, free: 34.88 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.687e-06/0.287, allocations: 0 / 0.5202 GB, free: 34.88 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.188e-06/0.287, allocations: 2.875 kB / 0.5202 GB, free: 34.88 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.551e-05/0.2871, allocations: 34.98 kB / 0.5202 GB, free: 34.87 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004101/0.2875, allocations: 399.4 kB / 0.5206 GB, free: 34.54 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.025e-05/0.2876, allocations: 46.3 kB / 0.5206 GB, free: 34.51 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.329e-05/0.2877, allocations: 17.66 kB / 0.5207 GB, free: 34.5 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.2e-05/0.2877, allocations: 2.781 kB / 0.5207 GB, free: 34.5 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.482e-05/0.2877, allocations: 30.56 kB / 0.5207 GB, free: 34.46 MB / 378.7 MB Notification: Performance of pre-optimization done (n=4): time 1.212e-06/0.2878, allocations: 0 / 0.5207 GB, free: 34.46 MB / 378.7 MB Notification: Performance of matching and sorting (n=8): time 0.0008077/0.2886, allocations: 309 kB / 0.521 GB, free: 34.31 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.402e-05/0.2886, allocations: 58.22 kB / 0.521 GB, free: 34.25 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006376/0.2893, allocations: 0.8632 MB / 0.5219 GB, free: 33.93 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 9.839e-06/0.2893, allocations: 29.7 kB / 0.5219 GB, free: 33.89 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001219/0.2894, allocations: 222.5 kB / 0.5221 GB, free: 33.71 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.24e-05/0.2894, allocations: 29.81 kB / 0.5222 GB, free: 33.69 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.416e-05/0.2895, allocations: 19.72 kB / 0.5222 GB, free: 33.67 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 8.271e-05/0.2896, allocations: 361.7 kB / 0.5225 GB, free: 33.34 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.251e-05/0.2896, allocations: 26.03 kB / 0.5225 GB, free: 33.34 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.242e-05/0.2897, allocations: 30.86 kB / 0.5226 GB, free: 33.32 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000127/0.2898, allocations: 66.62 kB / 0.5226 GB, free: 33.29 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.32e-07/0.2899, allocations: 0 / 0.5226 GB, free: 33.29 MB / 378.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.000193/0.29, allocations: 136.9 kB / 0.5228 GB, free: 33.22 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.402e-05/0.2901, allocations: 5.766 kB / 0.5228 GB, free: 33.22 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.881e-06/0.2901, allocations: 0 / 0.5228 GB, free: 33.22 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.412e-05/0.2901, allocations: 6.438 kB / 0.5228 GB, free: 33.21 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.512e-05/0.2902, allocations: 20.08 kB / 0.5228 GB, free: 33.21 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.825e-06/0.2902, allocations: 3.938 kB / 0.5228 GB, free: 33.21 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.262e-05/0.2903, allocations: 5.062 kB / 0.5228 GB, free: 33.21 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.257e-06/0.2903, allocations: 9.859 kB / 0.5228 GB, free: 33.2 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 (8): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001512/0.2904, allocations: 209.9 kB / 0.523 GB, free: 33.07 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.84e-05/0.2905, allocations: 43.94 kB / 0.5231 GB, free: 33.05 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002865/0.2908, allocations: 156.3 kB / 0.5232 GB, free: 32.97 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.916e-06/0.2908, allocations: 0 / 0.5232 GB, free: 32.97 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.21e-06/0.2908, allocations: 7.938 kB / 0.5232 GB, free: 32.96 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.849e-06/0.2908, allocations: 3.328 kB / 0.5232 GB, free: 32.96 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005145/0.2913, allocations: 0.4967 MB / 0.5237 GB, free: 32.59 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.326e-06/0.2914, allocations: 7.922 kB / 0.5237 GB, free: 32.58 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.826e-05/0.2914, allocations: 17.61 kB / 0.5237 GB, free: 32.58 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.964e-06/0.2914, allocations: 0 / 0.5237 GB, free: 32.58 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.446e-06/0.2914, allocations: 7 kB / 0.5237 GB, free: 32.57 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.423e-06/0.2915, allocations: 0 / 0.5237 GB, free: 32.57 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.2915, allocations: 0 / 0.5237 GB, free: 32.57 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004378/0.2919, allocations: 0.9018 MB / 0.5246 GB, free: 31.76 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.551e-05/0.292, allocations: 114.8 kB / 0.5247 GB, free: 31.64 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.372e-05/0.292, allocations: 4 kB / 0.5247 GB, free: 31.64 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.141e-05/0.2921, allocations: 12.47 kB / 0.5247 GB, free: 31.63 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.245e-05/0.2921, allocations: 2.719 kB / 0.5247 GB, free: 31.63 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.911e-06/0.2921, allocations: 2.719 kB / 0.5247 GB, free: 31.63 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0005054/0.2927, allocations: 0.6576 MB / 0.5254 GB, free: 31.38 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.2927, allocations: 0 / 0.5254 GB, free: 31.38 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003496/0.293, allocations: 31.17 kB / 0.5254 GB, free: 31.38 MB / 378.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 (8): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0008579/0.2939, allocations: 448.7 kB / 0.5258 GB, free: 31.16 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0001968/0.2941, allocations: 64.98 kB / 0.5259 GB, free: 31.14 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.786e-06/0.2941, allocations: 8 kB / 0.5259 GB, free: 31.14 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 7.639e-05/0.2942, allocations: 37.05 kB / 0.5259 GB, free: 31.13 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004027/0.2946, allocations: 29.05 kB / 0.526 GB, free: 31.12 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000936/0.2955, allocations: 1.023 MB / 0.527 GB, free: 30.53 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002244/0.2958, allocations: 0.8334 MB / 0.5278 GB, free: 29.81 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 5.671e-05/0.2958, allocations: 15.58 kB / 0.5278 GB, free: 29.8 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.027e-05/0.2959, allocations: 16.75 kB / 0.5278 GB, free: 29.79 MB / 378.7 MB Notification: Performance of SimCode: time 3.31e-07/0.2959, allocations: 0 / 0.5278 GB, free: 29.79 MB / 378.7 MB Notification: Performance of Templates: time 0.004161/0.3001, allocations: 1.685 MB / 0.5295 GB, free: 29.59 MB / 378.7 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test2.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test2.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test2.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test2.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test2.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test2.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test2/Test2.csv","../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches