Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Ds.Test21.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.Test21,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|clock1.y|combiTable2D1D.y|combiTable2D1DT.y|combiTable1D.y.1.|combiTable2D.y|combiTable2DT.y|der1.y|der2.y|der3.y|der4.y|der5.y",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Ds.Test21") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test21,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|clock1.y|combiTable2D1D.y|combiTable2D1DT.y|combiTable1D.y.1.|combiTable2D.y|combiTable2DT.y|der1.y|der2.y|der3.y|der4.y|der5.y",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Ds.Test21") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009728/0.0009728, allocations: 202.1 kB / 15.8 MB, free: 6.332 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.266/1.266, allocations: 226.5 MB / 243.1 MB, free: 12.54 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008119/0.0008116, allocations: 97.44 kB / 295.1 MB, free: 4.461 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1944/0.1944, allocations: 44.83 MB / 391.9 MB, free: 11.37 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002403/0.0002404, allocations: 8 kB / 464.7 MB, free: 68.08 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09183/0.09209, allocations: 62.95 MB / 0.5153 GB, free: 5.117 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test21): time 0.001752/0.09387, allocations: 1.682 MB / 0.517 GB, free: 3.414 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001214/0.09511, allocations: 0.9357 MB / 0.5179 GB, free: 2.473 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001211/0.09525, allocations: 0 / 0.5179 GB, free: 2.473 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003452/0.09561, allocations: 251.4 kB / 0.5181 GB, free: 2.227 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003535/0.09597, allocations: 223.3 kB / 0.5183 GB, free: 2.008 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008578/0.09684, allocations: 446.8 kB / 0.5188 GB, free: 1.582 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002947/0.09714, allocations: 267.2 kB / 0.519 GB, free: 1.32 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001282/0.09728, allocations: 56.7 kB / 0.5191 GB, free: 1.266 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001228/0.09741, allocations: 123.4 kB / 0.5192 GB, free: 1.145 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001571/0.09757, allocations: 159.4 kB / 0.5193 GB, free: 0.9883 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 2.641e-05/0.09761, allocations: 4 kB / 0.5193 GB, free: 0.9844 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001554/0.09777, allocations: 95.89 kB / 0.5194 GB, free: 0.8906 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 8.098e-05/0.09786, allocations: 75.73 kB / 0.5195 GB, free: 0.8164 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 3.46e-05/0.0979, allocations: 73.45 kB / 0.5196 GB, free: 0.7383 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000215/0.09812, allocations: 239.8 kB / 0.5198 GB, free: 0.5039 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.998e-06/0.09813, allocations: 0 / 0.5198 GB, free: 0.5039 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.252e-06/0.09813, allocations: 0 / 0.5198 GB, free: 0.5039 MB / 346.7 MB Notification: Performance of Transformations before backend: time 7.765e-06/0.09815, allocations: 0 / 0.5198 GB, free: 0.5039 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: 25 * Number of variables: 25 Notification: Performance of Generate backend data structure: time 0.0005622/0.09871, allocations: 0.6068 MB / 0.5204 GB, free: 15.85 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.212e-05/0.09875, allocations: 12.03 kB / 0.5204 GB, free: 15.84 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.831e-05/0.09883, allocations: 43.44 kB / 0.5204 GB, free: 15.79 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003457/0.09918, allocations: 305.1 kB / 0.5207 GB, free: 15.45 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.36e-05/0.0992, allocations: 8 kB / 0.5207 GB, free: 15.45 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.756e-05/0.09924, allocations: 15.98 kB / 0.5208 GB, free: 15.43 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002206/0.09946, allocations: 98.31 kB / 0.5209 GB, free: 15.33 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.393e-05/0.09949, allocations: 4 kB / 0.5209 GB, free: 15.32 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.305e-05/0.09951, allocations: 7.922 kB / 0.5209 GB, free: 15.32 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.72e-06/0.09952, allocations: 4 kB / 0.5209 GB, free: 15.31 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001615/0.09968, allocations: 82.52 kB / 0.5209 GB, free: 15.23 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005914/0.1003, allocations: 492.2 kB / 0.5214 GB, free: 14.7 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001593/0.1005, allocations: 94.55 kB / 0.5215 GB, free: 14.6 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.03e-05/0.1005, allocations: 36.8 kB / 0.5215 GB, free: 14.56 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.01e-05/0.1006, allocations: 4 kB / 0.5215 GB, free: 14.56 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.498e-05/0.1006, allocations: 34.56 kB / 0.5216 GB, free: 14.52 MB / 362.7 MB Notification: Performance of pre-optimization done (n=11): time 1.473e-06/0.1006, allocations: 0 / 0.5216 GB, free: 14.52 MB / 362.7 MB Notification: Performance of matching and sorting (n=17): time 0.0008503/0.1015, allocations: 406.1 kB / 0.522 GB, free: 14.11 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.137e-05/0.1015, allocations: 51.41 kB / 0.522 GB, free: 14.05 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005659/0.1021, allocations: 0.5604 MB / 0.5226 GB, free: 13.49 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.689e-05/0.1021, allocations: 25.7 kB / 0.5226 GB, free: 13.46 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001371/0.1023, allocations: 212.3 kB / 0.5228 GB, free: 13.25 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.288e-05/0.1023, allocations: 51.2 kB / 0.5228 GB, free: 13.2 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.891e-06/0.1023, allocations: 0 / 0.5228 GB, free: 13.2 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001398/0.1025, allocations: 354.8 kB / 0.5232 GB, free: 12.84 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001219/0.1026, allocations: 59.88 kB / 0.5232 GB, free: 12.78 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001048/0.1027, allocations: 59.97 kB / 0.5233 GB, free: 12.72 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001203/0.1028, allocations: 58.17 kB / 0.5233 GB, free: 12.67 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.001e-06/0.1028, allocations: 0 / 0.5233 GB, free: 12.67 MB / 362.7 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0003279/0.1032, allocations: 205.1 kB / 0.5235 GB, free: 12.46 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.598e-05/0.1032, allocations: 4 kB / 0.5235 GB, free: 12.46 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.599e-06/0.1032, allocations: 0 / 0.5235 GB, free: 12.46 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.314e-05/0.1032, allocations: 7.984 kB / 0.5236 GB, free: 12.45 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001319/0.1034, allocations: 35.92 kB / 0.5236 GB, free: 12.41 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.58e-06/0.1034, allocations: 0 / 0.5236 GB, free: 12.41 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.626e-05/0.1035, allocations: 8 kB / 0.5236 GB, free: 12.41 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.585e-05/0.1035, allocations: 15.98 kB / 0.5236 GB, free: 12.39 MB / 362.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 (17): * Single equations (assignments): 17 * 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 0.0001497/0.1036, allocations: 173.8 kB / 0.5238 GB, free: 12.21 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.939e-05/0.1037, allocations: 51.31 kB / 0.5238 GB, free: 12.16 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004287/0.1041, allocations: 243.7 kB / 0.5241 GB, free: 11.91 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.197e-06/0.1042, allocations: 8 kB / 0.5241 GB, free: 11.9 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.586e-06/0.1042, allocations: 0 / 0.5241 GB, free: 11.9 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.307e-06/0.1042, allocations: 0 / 0.5241 GB, free: 11.9 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007203/0.1049, allocations: 0.6386 MB / 0.5247 GB, free: 11.21 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.653e-06/0.1049, allocations: 0 / 0.5247 GB, free: 11.21 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001076/0.105, allocations: 35.92 kB / 0.5247 GB, free: 11.17 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.638e-06/0.105, allocations: 4 kB / 0.5247 GB, free: 11.17 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.237e-06/0.105, allocations: 0 / 0.5247 GB, free: 11.17 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.803e-06/0.1051, allocations: 0 / 0.5247 GB, free: 11.17 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.51e-07/0.1051, allocations: 0 / 0.5247 GB, free: 11.17 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003565/0.1054, allocations: 313.1 kB / 0.525 GB, free: 10.85 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.156e-05/0.1055, allocations: 116.6 kB / 0.5251 GB, free: 10.71 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.054e-05/0.1055, allocations: 8 kB / 0.5251 GB, free: 10.71 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.141e-05/0.1056, allocations: 11.98 kB / 0.5252 GB, free: 10.7 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.448e-05/0.1057, allocations: 11.98 kB / 0.5252 GB, free: 10.68 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.947e-06/0.1057, allocations: 8 kB / 0.5252 GB, free: 10.68 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0003911/0.1061, allocations: 419.1 kB / 0.5256 GB, free: 10.27 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.61e-07/0.1061, allocations: 0 / 0.5256 GB, free: 10.27 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002644/0.1064, allocations: 51.91 kB / 0.5256 GB, free: 10.22 MB / 362.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 (17): * Single equations (assignments): 17 * 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.00133/0.1077, allocations: 0.6952 MB / 0.5263 GB, free: 9.793 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0002955/0.108, allocations: 139.9 kB / 0.5264 GB, free: 9.656 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.953e-06/0.108, allocations: 0 / 0.5264 GB, free: 9.656 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001303/0.1082, allocations: 74.41 kB / 0.5265 GB, free: 9.586 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004572/0.1086, allocations: 63.33 kB / 0.5266 GB, free: 9.527 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009712/0.1096, allocations: 0.765 MB / 0.5273 GB, free: 8.73 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003412/0.11, allocations: 0.8106 MB / 0.5281 GB, free: 7.895 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.189e-05/0.11, allocations: 39.36 kB / 0.5281 GB, free: 7.855 MB / 362.7 MB Notification: Performance of SimCode: time 2.41e-07/0.1101, allocations: 0 / 0.5281 GB, free: 7.855 MB / 362.7 MB Notification: Performance of Templates: time 0.006567/0.1166, allocations: 4.46 MB / 0.5325 GB, free: 3.402 MB / 362.7 MB make -j1 -f ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Ds.Test21.makefile (rm -f ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Ds.Test21.pipe ; mkfifo ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Ds.Test21.pipe ; head -c 1048576 < ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Ds.Test21.pipe >> ../files/ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Ds.Test21.sim & ./ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Ds.Test21 --alarm=480 -emit_protected > ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Ds.Test21.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Ds.Test21_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test21/Test21.csv","../files/ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Ds.Test21.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches