Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Ds.Test28.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.Test28,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|d_t_new.y|clock1.y|clock2.y|d2_t_new.y",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Ds.Test28") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test28,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|d_t_new.y|clock1.y|clock2.y|d2_t_new.y",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Ds.Test28") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009182/0.0009183, allocations: 199.6 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.305/1.305, 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.000724/0.000724, allocations: 96.31 kB / 295.1 MB, free: 10.07 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1857/0.1857, allocations: 44.84 MB / 392 MB, free: 9.336 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000297/0.0002972, allocations: 7.984 kB / 464.7 MB, free: 49.78 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09752/0.09784, allocations: 62.95 MB / 0.5153 GB, free: 2.785 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test28): time 0.002376/0.1003, allocations: 1.363 MB / 0.5167 GB, free: 1.402 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008811/0.1012, allocations: 0.4953 MB / 0.5171 GB, free: 0.9023 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.974e-05/0.1013, allocations: 0 / 0.5171 GB, free: 0.9023 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002491/0.1016, allocations: 59.8 kB / 0.5172 GB, free: 0.8438 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000315/0.1019, allocations: 83.78 kB / 0.5173 GB, free: 0.7617 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004172/0.1023, allocations: 110.8 kB / 0.5174 GB, free: 0.6562 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001669/0.1025, allocations: 71.75 kB / 0.5175 GB, free: 0.5859 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000103/0.1026, allocations: 16.22 kB / 0.5175 GB, free: 0.5664 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.726e-05/0.1027, allocations: 35.84 kB / 0.5175 GB, free: 0.5312 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001031/0.1028, allocations: 39.83 kB / 0.5175 GB, free: 0.4922 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 1.35e-05/0.1028, allocations: 0 / 0.5175 GB, free: 0.4922 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001362/0.103, allocations: 43.98 kB / 0.5176 GB, free: 460 kB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 7.338e-05/0.103, allocations: 19.92 kB / 0.5176 GB, free: 440 kB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 3.759e-05/0.1031, allocations: 37.64 kB / 0.5176 GB, free: 396 kB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001756/0.1033, allocations: 87.81 kB / 0.5177 GB, free: 308 kB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.27e-06/0.1033, allocations: 0 / 0.5177 GB, free: 308 kB / 346.7 MB Notification: Performance of FrontEnd: time 1.493e-06/0.1033, allocations: 0 / 0.5177 GB, free: 308 kB / 346.7 MB Notification: Performance of Transformations before backend: time 4.999e-06/0.1033, allocations: 0 / 0.5177 GB, free: 308 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.1858/0.2891, allocations: 400 kB / 0.5181 GB, free: 11.82 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.666e-05/0.2891, allocations: 8.031 kB / 0.5181 GB, free: 11.82 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.946e-05/0.2892, allocations: 9.094 kB / 0.5181 GB, free: 11.82 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001833/0.2894, allocations: 197.4 kB / 0.5183 GB, free: 11.61 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.245e-05/0.2894, allocations: 6.656 kB / 0.5183 GB, free: 11.61 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.221e-05/0.2894, allocations: 3.844 kB / 0.5183 GB, free: 11.61 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000191/0.2896, allocations: 63.55 kB / 0.5184 GB, free: 11.58 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.06e-05/0.2896, allocations: 4.625 kB / 0.5184 GB, free: 11.58 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.181e-05/0.2897, allocations: 1.906 kB / 0.5184 GB, free: 11.58 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.268e-06/0.2897, allocations: 0.8438 kB / 0.5184 GB, free: 11.58 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001776/0.2898, allocations: 46.2 kB / 0.5184 GB, free: 11.58 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003543/0.2902, allocations: 312.5 kB / 0.5187 GB, free: 11.31 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002285/0.2905, allocations: 60.25 kB / 0.5188 GB, free: 11.29 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.693e-05/0.2906, allocations: 31.62 kB / 0.5188 GB, free: 11.28 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.616e-05/0.2906, allocations: 1.188 kB / 0.5188 GB, free: 11.28 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.46e-05/0.2906, allocations: 33.27 kB / 0.5188 GB, free: 11.24 MB / 346.7 MB Notification: Performance of pre-optimization done (n=5): time 1.934e-06/0.2906, allocations: 0.6562 kB / 0.5188 GB, free: 11.24 MB / 346.7 MB Notification: Performance of matching and sorting (n=11): time 0.001702/0.2923, allocations: 473.5 kB / 0.5193 GB, free: 11.16 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.027e-05/0.2924, allocations: 58 kB / 0.5194 GB, free: 11.09 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002101/0.2926, allocations: 192.7 kB / 0.5195 GB, free: 10.99 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.189e-05/0.2926, allocations: 27.27 kB / 0.5196 GB, free: 10.96 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.221e-05/0.2927, allocations: 103.4 kB / 0.5197 GB, free: 10.88 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.34e-05/0.2927, allocations: 36.14 kB / 0.5197 GB, free: 10.86 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.961e-06/0.2927, allocations: 1.125 kB / 0.5197 GB, free: 10.86 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 6.222e-05/0.2928, allocations: 323.6 kB / 0.52 GB, free: 10.54 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001553/0.2929, allocations: 52.94 kB / 0.5201 GB, free: 10.54 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001409/0.2931, allocations: 51.06 kB / 0.5201 GB, free: 10.54 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00015/0.2933, allocations: 57.52 kB / 0.5202 GB, free: 10.54 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.22e-07/0.2933, allocations: 0 / 0.5202 GB, free: 10.54 MB / 346.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003506/0.2936, allocations: 165 kB / 0.5203 GB, free: 10.49 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.773e-05/0.2936, allocations: 8.562 kB / 0.5203 GB, free: 10.49 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.661e-06/0.2937, allocations: 1.75 kB / 0.5203 GB, free: 10.49 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.401e-05/0.2937, allocations: 3.953 kB / 0.5203 GB, free: 10.48 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000138/0.2938, allocations: 29.75 kB / 0.5204 GB, free: 10.48 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.983e-06/0.2938, allocations: 1 kB / 0.5204 GB, free: 10.48 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.393e-05/0.2939, allocations: 20.38 kB / 0.5204 GB, free: 10.48 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.118e-05/0.2939, allocations: 7.203 kB / 0.5204 GB, free: 10.48 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.592e-05/0.294, allocations: 125.7 kB / 0.5205 GB, free: 10.37 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.57e-05/0.2941, allocations: 9.859 kB / 0.5205 GB, free: 10.36 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004259/0.2945, allocations: 181.7 kB / 0.5207 GB, free: 10.31 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.729e-06/0.2945, allocations: 1.594 kB / 0.5207 GB, free: 10.31 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.652e-06/0.2945, allocations: 4.703 kB / 0.5207 GB, free: 10.31 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.909e-06/0.2945, allocations: 2.219 kB / 0.5207 GB, free: 10.31 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006479/0.2952, allocations: 492.1 kB / 0.5212 GB, free: 9.98 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.685e-06/0.2952, allocations: 0 / 0.5212 GB, free: 9.98 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001095/0.2953, allocations: 35 kB / 0.5212 GB, free: 9.977 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.19e-06/0.2953, allocations: 1.062 kB / 0.5212 GB, free: 9.977 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.3e-05/0.2953, allocations: 3.25 kB / 0.5212 GB, free: 9.977 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.326e-06/0.2954, allocations: 1.25 kB / 0.5212 GB, free: 9.977 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.675e-06/0.2954, allocations: 2.031 kB / 0.5212 GB, free: 9.977 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003665/0.2957, allocations: 269.7 kB / 0.5215 GB, free: 9.812 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.233e-05/0.2958, allocations: 91.02 kB / 0.5216 GB, free: 9.715 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.156e-05/0.2958, allocations: 8.203 kB / 0.5216 GB, free: 9.711 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.411e-05/0.2959, allocations: 13.78 kB / 0.5216 GB, free: 9.711 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.799e-05/0.296, allocations: 11.31 kB / 0.5216 GB, free: 9.711 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.173e-06/0.296, allocations: 2.656 kB / 0.5216 GB, free: 9.711 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0001193/0.2961, allocations: 151.9 kB / 0.5217 GB, free: 9.633 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.9e-07/0.2961, allocations: 4 kB / 0.5217 GB, free: 9.629 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0002588/0.2964, allocations: 26.2 kB / 0.5218 GB, free: 9.629 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.0008537/0.2972, allocations: 460.5 kB / 0.5222 GB, free: 9.418 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0003353/0.2976, allocations: 124 kB / 0.5223 GB, free: 9.41 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.235e-06/0.2976, allocations: 0 / 0.5223 GB, free: 9.41 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000151/0.2977, allocations: 71.56 kB / 0.5224 GB, free: 9.398 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003183/0.2981, allocations: 19.28 kB / 0.5224 GB, free: 9.391 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000455/0.2985, allocations: 322 kB / 0.5227 GB, free: 9.145 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001311/0.2987, allocations: 0.7098 MB / 0.5234 GB, free: 8.445 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.291e-05/0.2987, allocations: 21.38 kB / 0.5234 GB, free: 8.434 MB / 346.7 MB Notification: Performance of SimCode: time 3.11e-07/0.2987, allocations: 0 / 0.5234 GB, free: 8.434 MB / 346.7 MB Notification: Performance of Templates: time 0.00396/0.3027, allocations: 1.916 MB / 0.5253 GB, free: 8.219 MB / 346.7 MB make -j1 -f ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Ds.Test28.makefile (rm -f ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Ds.Test28.pipe ; mkfifo ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Ds.Test28.pipe ; head -c 1048576 < ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Ds.Test28.pipe >> ../files/ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Ds.Test28.sim & ./ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Ds.Test28 --alarm=480 -emit_protected > ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Ds.Test28.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Ds.Test28_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test28/Test28.csv","../files/ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Ds.Test28.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches