Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Dv.Test31.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.Test31,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.Test31") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test31,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.Test31") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009831/0.000983, allocations: 200.9 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.262/1.262, allocations: 226.6 MB / 243.1 MB, free: 14.3 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0006972/0.0006973, allocations: 95.17 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.1744/0.1744, allocations: 44.84 MB / 392 MB, free: 9.34 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002473/0.0002474, allocations: 8 kB / 464.7 MB, free: 49.78 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09964/0.0999, allocations: 62.96 MB / 0.5153 GB, free: 2.781 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test31): time 0.001704/0.1016, allocations: 1.35 MB / 0.5166 GB, free: 1.414 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.00132/0.103, allocations: 1.097 MB / 0.5177 GB, free: 316 kB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.189e-05/0.103, allocations: 0 / 0.5177 GB, free: 316 kB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001665/0.1032, allocations: 19.92 kB / 0.5177 GB, free: 296 kB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001911/0.1034, allocations: 75.73 kB / 0.5178 GB, free: 220 kB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003337/0.1037, allocations: 157.2 kB / 0.518 GB, free: 68 kB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.000109/0.1039, allocations: 67.77 kB / 0.518 GB, free: 0 / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.1835/0.2873, allocations: 11.77 kB / 0.518 GB, free: 9.945 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.392e-05/0.2874, allocations: 21.78 kB / 0.518 GB, free: 9.945 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001481/0.2876, allocations: 30.45 kB / 0.5181 GB, free: 9.945 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 1.726e-05/0.2876, allocations: 6.312 kB / 0.5181 GB, free: 9.945 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002451/0.2879, allocations: 82.95 kB / 0.5182 GB, free: 9.945 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 5.402e-05/0.2879, allocations: 17.89 kB / 0.5182 GB, free: 9.945 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 2.853e-05/0.288, allocations: 31.42 kB / 0.5182 GB, free: 9.914 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002067/0.2882, allocations: 104.3 kB / 0.5183 GB, free: 9.914 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.717e-06/0.2882, allocations: 0.6875 kB / 0.5183 GB, free: 9.914 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.034e-06/0.2882, allocations: 0 / 0.5183 GB, free: 9.914 MB / 346.7 MB Notification: Performance of Transformations before backend: time 3.917e-06/0.2882, allocations: 4.5 kB / 0.5183 GB, free: 9.914 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.0004407/0.2887, allocations: 403.2 kB / 0.5187 GB, free: 9.535 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.022e-05/0.2887, allocations: 9.031 kB / 0.5187 GB, free: 9.535 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.152e-05/0.2887, allocations: 7.781 kB / 0.5187 GB, free: 9.531 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001781/0.2889, allocations: 200.1 kB / 0.5189 GB, free: 9.324 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.124e-05/0.289, allocations: 2.875 kB / 0.5189 GB, free: 9.324 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.238e-05/0.289, allocations: 3.219 kB / 0.5189 GB, free: 9.324 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001942/0.2892, allocations: 82.42 kB / 0.519 GB, free: 9.277 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.037e-05/0.2892, allocations: 0 / 0.519 GB, free: 9.277 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.152e-05/0.2892, allocations: 1.562 kB / 0.519 GB, free: 9.277 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.859e-06/0.2892, allocations: 4.781 kB / 0.519 GB, free: 9.273 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001627/0.2894, allocations: 47.48 kB / 0.519 GB, free: 9.273 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004169/0.2898, allocations: 312.9 kB / 0.5193 GB, free: 9.004 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001325/0.29, allocations: 53.27 kB / 0.5194 GB, free: 8.98 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.505e-05/0.2901, allocations: 28.89 kB / 0.5194 GB, free: 8.973 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.411e-05/0.2901, allocations: 6.672 kB / 0.5194 GB, free: 8.969 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.048e-05/0.2901, allocations: 36.77 kB / 0.5195 GB, free: 8.93 MB / 346.7 MB Notification: Performance of pre-optimization done (n=4): time 2.094e-06/0.2901, allocations: 0 / 0.5195 GB, free: 8.93 MB / 346.7 MB Notification: Performance of matching and sorting (n=7): time 0.0008385/0.291, allocations: 270.6 kB / 0.5197 GB, free: 8.867 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.8e-05/0.291, allocations: 84.25 kB / 0.5198 GB, free: 8.77 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001351/0.2911, allocations: 150.1 kB / 0.5199 GB, free: 8.668 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 9.889e-06/0.2912, allocations: 26.64 kB / 0.52 GB, free: 8.637 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.823e-05/0.2912, allocations: 93.94 kB / 0.5201 GB, free: 8.555 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.255e-05/0.2912, allocations: 20.17 kB / 0.5201 GB, free: 8.543 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.042e-06/0.2912, allocations: 3.031 kB / 0.5201 GB, free: 8.543 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 4.565e-05/0.2913, allocations: 318.6 kB / 0.5204 GB, free: 8.23 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001366/0.2914, allocations: 51.62 kB / 0.5204 GB, free: 8.227 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001349/0.2916, allocations: 62.84 kB / 0.5205 GB, free: 8.211 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001328/0.2917, allocations: 50.88 kB / 0.5205 GB, free: 8.207 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.92e-07/0.2917, allocations: 0 / 0.5205 GB, free: 8.207 MB / 346.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002922/0.292, allocations: 138.4 kB / 0.5207 GB, free: 8.168 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.32e-05/0.292, allocations: 5.938 kB / 0.5207 GB, free: 8.168 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.849e-06/0.2921, allocations: 0 / 0.5207 GB, free: 8.168 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.628e-06/0.2921, allocations: 0 / 0.5207 GB, free: 8.168 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001194/0.2922, allocations: 27.7 kB / 0.5207 GB, free: 8.168 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.989e-06/0.2922, allocations: 4.844 kB / 0.5207 GB, free: 8.164 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.922e-05/0.2923, allocations: 21.14 kB / 0.5207 GB, free: 8.156 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.316e-06/0.2923, allocations: 3.375 kB / 0.5207 GB, free: 8.156 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.059e-05/0.2924, allocations: 121 kB / 0.5208 GB, free: 8.043 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.019e-05/0.2924, allocations: 7.984 kB / 0.5209 GB, free: 8.039 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003666/0.2928, allocations: 162.5 kB / 0.521 GB, free: 7.996 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.954e-06/0.2928, allocations: 3.562 kB / 0.521 GB, free: 7.996 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.949e-06/0.2928, allocations: 1.188 kB / 0.521 GB, free: 7.996 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.787e-06/0.2928, allocations: 0.8438 kB / 0.521 GB, free: 7.996 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005029/0.2933, allocations: 427.8 kB / 0.5214 GB, free: 7.695 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.463e-06/0.2933, allocations: 4 kB / 0.5214 GB, free: 7.691 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.594e-05/0.2934, allocations: 25.11 kB / 0.5215 GB, free: 7.691 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.475e-06/0.2934, allocations: 0 / 0.5215 GB, free: 7.691 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.007e-06/0.2934, allocations: 8.219 kB / 0.5215 GB, free: 7.691 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.232e-06/0.2935, allocations: 0 / 0.5215 GB, free: 7.691 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.555e-06/0.2935, allocations: 5.328 kB / 0.5215 GB, free: 7.688 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002958/0.2938, allocations: 235.4 kB / 0.5217 GB, free: 7.547 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.144e-05/0.2938, allocations: 89.03 kB / 0.5218 GB, free: 7.449 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.895e-05/0.2938, allocations: 6.078 kB / 0.5218 GB, free: 7.445 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.269e-05/0.2939, allocations: 20.02 kB / 0.5218 GB, free: 7.441 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.354e-05/0.294, allocations: 15.25 kB / 0.5218 GB, free: 7.438 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.471e-06/0.294, allocations: 5.406 kB / 0.5218 GB, free: 7.434 MB / 346.7 MB Notification: Performance of sorting global known variables: time 6.755e-05/0.2941, allocations: 111.7 kB / 0.5219 GB, free: 7.359 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.2941, allocations: 1.125 kB / 0.5219 GB, free: 7.359 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0002514/0.2943, allocations: 43.88 kB / 0.522 GB, free: 7.352 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.0008762/0.2952, allocations: 489.6 kB / 0.5224 GB, free: 7.125 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0003035/0.2955, allocations: 102.9 kB / 0.5225 GB, free: 7.125 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.725e-06/0.2955, allocations: 4.906 kB / 0.5225 GB, free: 7.121 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001351/0.2957, allocations: 57.89 kB / 0.5226 GB, free: 7.121 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002739/0.296, allocations: 13.23 kB / 0.5226 GB, free: 7.121 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003648/0.2963, allocations: 240.7 kB / 0.5228 GB, free: 6.945 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001207/0.2965, allocations: 0.6968 MB / 0.5235 GB, free: 6.25 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.527e-05/0.2965, allocations: 19.61 kB / 0.5235 GB, free: 6.242 MB / 346.7 MB Notification: Performance of SimCode: time 2.3e-07/0.2965, allocations: 0 / 0.5235 GB, free: 6.242 MB / 346.7 MB Notification: Performance of Templates: time 0.003937/0.3005, allocations: 2.167 MB / 0.5257 GB, free: 6.004 MB / 346.7 MB make -j1 -f ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Dv.Test31.makefile (rm -f ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Dv.Test31.pipe ; mkfifo ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Dv.Test31.pipe ; head -c 1048576 < ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Dv.Test31.pipe >> ../files/ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Dv.Test31.sim & ./ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Dv.Test31 --alarm=480 -emit_protected > ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Dv.Test31.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Dv.Test31_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test31/Test31.csv","../files/ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Dv.Test31.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches