Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Ds.Test20.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.Test20,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.Test20") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test20,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.Test20") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00105/0.00105, allocations: 201.2 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.245/1.245, allocations: 226.6 MB / 243.1 MB, free: 12.56 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007652/0.0007654, allocations: 105.2 kB / 295.1 MB, free: 4.469 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1831/0.1831, allocations: 44.84 MB / 392 MB, free: 11.37 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002455/0.0002455, allocations: 11.98 kB / 464.7 MB, free: 68.08 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08879/0.08905, allocations: 62.96 MB / 0.5153 GB, free: 5.117 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test20): time 0.001962/0.09105, allocations: 1.666 MB / 0.517 GB, free: 3.43 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001308/0.09239, allocations: 0.9319 MB / 0.5179 GB, free: 2.492 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001414/0.09256, allocations: 4 kB / 0.5179 GB, free: 2.488 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000358/0.09292, allocations: 251.4 kB / 0.5181 GB, free: 2.242 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003683/0.09331, allocations: 227.4 kB / 0.5183 GB, free: 2.02 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008623/0.09418, allocations: 450 kB / 0.5188 GB, free: 1.594 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003043/0.09449, allocations: 275.2 kB / 0.519 GB, free: 1.324 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001304/0.09463, allocations: 56.69 kB / 0.5191 GB, free: 1.27 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001298/0.09477, allocations: 115.5 kB / 0.5192 GB, free: 1.156 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001559/0.09493, allocations: 159.4 kB / 0.5193 GB, free: 1 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 2.669e-05/0.09496, allocations: 4 kB / 0.5193 GB, free: 0.9961 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001306/0.0951, allocations: 67.83 kB / 0.5194 GB, free: 0.9297 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 7.99e-05/0.09519, allocations: 83.73 kB / 0.5195 GB, free: 0.8477 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 3.934e-05/0.09523, allocations: 69.45 kB / 0.5195 GB, free: 0.7734 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002037/0.09544, allocations: 227.8 kB / 0.5198 GB, free: 0.5508 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.877e-06/0.09545, allocations: 4 kB / 0.5198 GB, free: 0.5469 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.262e-06/0.09546, allocations: 0 / 0.5198 GB, free: 0.5469 MB / 346.7 MB Notification: Performance of Transformations before backend: time 7.204e-06/0.09547, allocations: 0 / 0.5198 GB, free: 0.5469 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.0005627/0.09604, allocations: 0.5952 MB / 0.5204 GB, free: 15.9 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.243e-05/0.09608, allocations: 12.03 kB / 0.5204 GB, free: 15.89 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.008e-05/0.09616, allocations: 43.42 kB / 0.5204 GB, free: 15.85 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003258/0.09649, allocations: 313.1 kB / 0.5207 GB, free: 15.5 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.372e-05/0.09651, allocations: 8 kB / 0.5207 GB, free: 15.49 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.635e-05/0.09655, allocations: 12 kB / 0.5207 GB, free: 15.48 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002219/0.09677, allocations: 98.3 kB / 0.5208 GB, free: 15.38 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.113e-05/0.09679, allocations: 0 / 0.5208 GB, free: 15.38 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.412e-05/0.09681, allocations: 8 kB / 0.5208 GB, free: 15.37 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.118e-06/0.09682, allocations: 0 / 0.5208 GB, free: 15.37 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001674/0.097, allocations: 86.52 kB / 0.5209 GB, free: 15.29 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000597/0.0976, allocations: 488.3 kB / 0.5214 GB, free: 14.76 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001732/0.09779, allocations: 98.47 kB / 0.5215 GB, free: 14.66 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.987e-05/0.09787, allocations: 40.8 kB / 0.5215 GB, free: 14.61 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.404e-05/0.0979, allocations: 0 / 0.5215 GB, free: 14.61 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.506e-05/0.09793, allocations: 38.56 kB / 0.5215 GB, free: 14.57 MB / 362.7 MB Notification: Performance of pre-optimization done (n=11): time 1.022e-06/0.09793, allocations: 0 / 0.5215 GB, free: 14.57 MB / 362.7 MB Notification: Performance of matching and sorting (n=17): time 0.0008748/0.09881, allocations: 400.4 kB / 0.5219 GB, free: 14.17 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.417e-05/0.09886, allocations: 55.41 kB / 0.522 GB, free: 14.1 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005438/0.09941, allocations: 0.5487 MB / 0.5225 GB, free: 13.55 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.697e-05/0.09944, allocations: 29.7 kB / 0.5225 GB, free: 13.52 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001337/0.09958, allocations: 212.3 kB / 0.5227 GB, free: 13.3 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.596e-05/0.09963, allocations: 59.19 kB / 0.5228 GB, free: 13.25 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.771e-06/0.09964, allocations: 0 / 0.5228 GB, free: 13.25 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001374/0.09978, allocations: 354.8 kB / 0.5231 GB, free: 12.89 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001153/0.09991, allocations: 55.88 kB / 0.5232 GB, free: 12.84 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001038/0.1, allocations: 59.97 kB / 0.5232 GB, free: 12.78 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001138/0.1001, allocations: 57.86 kB / 0.5233 GB, free: 12.72 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.022e-06/0.1001, allocations: 0 / 0.5233 GB, free: 12.72 MB / 362.7 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0003256/0.1005, allocations: 201.1 kB / 0.5235 GB, free: 12.52 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.464e-05/0.1005, allocations: 8 kB / 0.5235 GB, free: 12.51 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.378e-06/0.1005, allocations: 3.938 kB / 0.5235 GB, free: 12.51 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.879e-06/0.1005, allocations: 0 / 0.5235 GB, free: 12.51 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001411/0.1007, allocations: 39.92 kB / 0.5235 GB, free: 12.47 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.474e-06/0.1007, allocations: 4 kB / 0.5235 GB, free: 12.46 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.885e-05/0.1008, allocations: 7.984 kB / 0.5236 GB, free: 12.46 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.374e-05/0.1008, allocations: 8 kB / 0.5236 GB, free: 12.45 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.0001525/0.1009, allocations: 177.8 kB / 0.5237 GB, free: 12.27 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.81e-05/0.101, allocations: 39.44 kB / 0.5238 GB, free: 12.23 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004408/0.1014, allocations: 251.6 kB / 0.524 GB, free: 11.97 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.975e-06/0.1015, allocations: 0 / 0.524 GB, free: 11.97 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.122e-06/0.1015, allocations: 4 kB / 0.524 GB, free: 11.96 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.18e-06/0.1015, allocations: 7.984 kB / 0.524 GB, free: 11.96 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007368/0.1022, allocations: 0.6348 MB / 0.5246 GB, free: 11.27 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.844e-06/0.1022, allocations: 4 kB / 0.5246 GB, free: 11.26 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001144/0.1024, allocations: 35.92 kB / 0.5247 GB, free: 11.23 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.106e-06/0.1024, allocations: 3.938 kB / 0.5247 GB, free: 11.22 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.348e-06/0.1024, allocations: 0 / 0.5247 GB, free: 11.22 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.306e-06/0.1024, allocations: 4 kB / 0.5247 GB, free: 11.22 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.12e-07/0.1024, allocations: 0 / 0.5247 GB, free: 11.22 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000364/0.1028, allocations: 312.6 kB / 0.525 GB, free: 10.9 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.353e-05/0.1029, allocations: 116.6 kB / 0.5251 GB, free: 10.77 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.887e-05/0.1029, allocations: 4 kB / 0.5251 GB, free: 10.76 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.338e-05/0.103, allocations: 7.984 kB / 0.5251 GB, free: 10.75 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.509e-05/0.103, allocations: 15.98 kB / 0.5251 GB, free: 10.74 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.478e-06/0.1031, allocations: 4 kB / 0.5251 GB, free: 10.73 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0004079/0.1035, allocations: 423.1 kB / 0.5255 GB, free: 10.32 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1035, allocations: 0 / 0.5255 GB, free: 10.32 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.000271/0.1038, allocations: 51.91 kB / 0.5256 GB, free: 10.27 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.001344/0.1051, allocations: 0.6862 MB / 0.5262 GB, free: 9.855 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0003007/0.1054, allocations: 146.4 kB / 0.5264 GB, free: 9.715 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.833e-06/0.1054, allocations: 3.938 kB / 0.5264 GB, free: 9.711 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001373/0.1056, allocations: 75.91 kB / 0.5265 GB, free: 9.637 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004522/0.106, allocations: 72.94 kB / 0.5265 GB, free: 9.57 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009973/0.107, allocations: 0.7611 MB / 0.5273 GB, free: 8.777 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003656/0.1074, allocations: 0.8067 MB / 0.5281 GB, free: 7.945 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.168e-05/0.1075, allocations: 35.42 kB / 0.5281 GB, free: 7.91 MB / 362.7 MB Notification: Performance of SimCode: time 2.31e-07/0.1075, allocations: 4 kB / 0.5281 GB, free: 7.906 MB / 362.7 MB Notification: Performance of Templates: time 0.006946/0.1145, allocations: 4.45 MB / 0.5324 GB, free: 3.461 MB / 362.7 MB make -j1 -f ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Ds.Test20.makefile (rm -f ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Ds.Test20.pipe ; mkfifo ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Ds.Test20.pipe ; head -c 1048576 < ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Ds.Test20.pipe >> ../files/ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Ds.Test20.sim & ./ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Ds.Test20 --alarm=480 -emit_protected > ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Ds.Test20.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Ds.Test20_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test20/Test20.csv","../files/ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Ds.Test20.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches