Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Ds.Test15.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.Test15,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Ds.Test15") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test15,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Ds.Test15") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009303/0.0009304, allocations: 200.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.313/1.313, allocations: 226.5 MB / 243.1 MB, free: 14.28 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008099/0.0008099, allocations: 102.6 kB / 295.1 MB, free: 10.05 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1906/0.1906, allocations: 44.84 MB / 392 MB, free: 9.316 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002595/0.0002595, allocations: 8 kB / 464.7 MB, free: 49.76 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09581/0.09609, allocations: 62.96 MB / 0.5153 GB, free: 2.758 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test15): time 0.001729/0.09785, allocations: 1.331 MB / 0.5166 GB, free: 1.41 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006566/0.09852, allocations: 0.6409 MB / 0.5173 GB, free: 0.7656 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.824e-05/0.09856, allocations: 0 / 0.5173 GB, free: 0.7656 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001542/0.09872, allocations: 27.91 kB / 0.5173 GB, free: 0.7383 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001673/0.0989, allocations: 35.89 kB / 0.5173 GB, free: 0.7031 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 5.56e-06/0.09891, allocations: 0 / 0.5173 GB, free: 0.7031 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001157/0.09904, allocations: 47.77 kB / 0.5174 GB, free: 0.6562 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.27e-05/0.09908, allocations: 4 kB / 0.5174 GB, free: 0.6523 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 2.321e-05/0.09911, allocations: 11.92 kB / 0.5174 GB, free: 0.6406 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.354e-05/0.09918, allocations: 19.92 kB / 0.5174 GB, free: 0.6211 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 1.025e-05/0.09919, allocations: 0 / 0.5174 GB, free: 0.6211 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.081e-05/0.09924, allocations: 8 kB / 0.5174 GB, free: 0.6133 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 3.391e-05/0.09928, allocations: 23.92 kB / 0.5174 GB, free: 0.5898 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 2.131e-05/0.09931, allocations: 33.7 kB / 0.5175 GB, free: 0.5508 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 9.88e-05/0.09941, allocations: 51.91 kB / 0.5175 GB, free: 0.5 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.687e-06/0.09942, allocations: 0 / 0.5175 GB, free: 0.5 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.183e-06/0.09943, allocations: 0 / 0.5175 GB, free: 0.5 MB / 346.7 MB Notification: Performance of Transformations before backend: time 7.834e-06/0.09944, allocations: 3.938 kB / 0.5175 GB, free: 0.4961 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: 20 * Number of variables: 20 Notification: Performance of Generate backend data structure: time 0.0002883/0.09974, allocations: 351.5 kB / 0.5178 GB, free: 108 kB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.381e-05/0.09978, allocations: 16.02 kB / 0.5179 GB, free: 92 kB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.701e-05/0.09981, allocations: 3.906 kB / 0.5179 GB, free: 88 kB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.1769/0.2767, allocations: 167.8 kB / 0.518 GB, free: 11.87 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.246e-05/0.2768, allocations: 2.812 kB / 0.518 GB, free: 11.87 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.49e-05/0.2768, allocations: 6.297 kB / 0.518 GB, free: 11.87 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001801/0.277, allocations: 124.4 kB / 0.5182 GB, free: 11.79 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.815e-06/0.277, allocations: 4.719 kB / 0.5182 GB, free: 11.79 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.157e-06/0.277, allocations: 0.625 kB / 0.5182 GB, free: 11.79 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.779e-05/0.277, allocations: 24.62 kB / 0.5182 GB, free: 11.79 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.13e-05/0.2771, allocations: 44.5 kB / 0.5182 GB, free: 11.79 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004179/0.2776, allocations: 0.8995 MB / 0.5191 GB, free: 10.95 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 3.659e-05/0.2776, allocations: 173.7 kB / 0.5193 GB, free: 10.77 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.369e-05/0.2776, allocations: 81.47 kB / 0.5193 GB, free: 10.69 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.466e-06/0.2776, allocations: 75.28 kB / 0.5194 GB, free: 10.62 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.694e-05/0.2777, allocations: 108.9 kB / 0.5195 GB, free: 10.5 MB / 346.7 MB Notification: Performance of pre-optimization done (n=0): time 1.673e-06/0.2777, allocations: 1.188 kB / 0.5195 GB, free: 10.5 MB / 346.7 MB Notification: Performance of matching and sorting (n=0): time 6.002e-05/0.2777, allocations: 39.38 kB / 0.5196 GB, free: 10.46 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.34e-05/0.2778, allocations: 127.4 kB / 0.5197 GB, free: 10.33 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001641/0.2779, allocations: 190.1 kB / 0.5199 GB, free: 10.22 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 4.328e-06/0.2779, allocations: 30.52 kB / 0.5199 GB, free: 10.18 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.881e-05/0.278, allocations: 147.4 kB / 0.52 GB, free: 10.06 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.488e-06/0.278, allocations: 3.422 kB / 0.52 GB, free: 10.06 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.191e-06/0.278, allocations: 2.812 kB / 0.52 GB, free: 10.06 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 4.183e-05/0.2781, allocations: 321.5 kB / 0.5203 GB, free: 9.746 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.359e-05/0.2781, allocations: 34.88 kB / 0.5204 GB, free: 9.742 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.567e-05/0.2782, allocations: 153.1 kB / 0.5205 GB, free: 9.582 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.557e-05/0.2783, allocations: 69.53 kB / 0.5206 GB, free: 9.57 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.459e-06/0.2783, allocations: 1.656 kB / 0.5206 GB, free: 9.57 MB / 346.7 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0002794/0.2786, allocations: 196.5 kB / 0.5208 GB, free: 9.504 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.487e-05/0.2786, allocations: 7.422 kB / 0.5208 GB, free: 9.504 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.955e-06/0.2787, allocations: 5.094 kB / 0.5208 GB, free: 9.504 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.48e-05/0.2787, allocations: 5.656 kB / 0.5208 GB, free: 9.504 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001199/0.2788, allocations: 39.02 kB / 0.5208 GB, free: 9.5 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.038e-05/0.2788, allocations: 10.77 kB / 0.5208 GB, free: 9.496 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.693e-05/0.2789, allocations: 27.98 kB / 0.5209 GB, free: 9.48 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.475e-05/0.2789, allocations: 10.33 kB / 0.5209 GB, free: 9.48 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 20 * 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 (20): * Single equations (assignments): 20 * 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 9.812e-05/0.279, allocations: 218.4 kB / 0.5211 GB, free: 9.281 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.846e-05/0.2791, allocations: 110.7 kB / 0.5212 GB, free: 9.172 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.883e-05/0.2791, allocations: 118 kB / 0.5213 GB, free: 9.059 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.996e-05/0.2791, allocations: 184.3 kB / 0.5215 GB, free: 8.879 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.016e-05/0.2791, allocations: 178.1 kB / 0.5217 GB, free: 8.699 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.909e-05/0.2792, allocations: 182 kB / 0.5218 GB, free: 8.516 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001227/0.2793, allocations: 426.9 kB / 0.5222 GB, free: 8.066 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.238e-05/0.2793, allocations: 107.1 kB / 0.5223 GB, free: 7.957 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.138e-05/0.2793, allocations: 106.7 kB / 0.5224 GB, free: 7.848 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.803e-05/0.2794, allocations: 181.2 kB / 0.5226 GB, free: 7.668 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.037e-05/0.2794, allocations: 181.9 kB / 0.5228 GB, free: 7.484 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.03e-05/0.2794, allocations: 183.2 kB / 0.523 GB, free: 7.301 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.926e-05/0.2794, allocations: 181.7 kB / 0.5231 GB, free: 7.117 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.505e-05/0.2795, allocations: 311 kB / 0.5234 GB, free: 6.801 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.272e-05/0.2795, allocations: 189.9 kB / 0.5236 GB, free: 6.594 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.388e-05/0.2796, allocations: 183.9 kB / 0.5238 GB, free: 6.41 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.531e-05/0.2796, allocations: 109.6 kB / 0.5239 GB, free: 6.301 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.756e-05/0.2797, allocations: 180 kB / 0.5241 GB, free: 6.121 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.246e-05/0.2797, allocations: 106.3 kB / 0.5242 GB, free: 6.016 MB / 346.7 MB Notification: Performance of sorting global known variables: time 8.302e-05/0.2798, allocations: 128.4 kB / 0.5243 GB, free: 5.941 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.2798, allocations: 3.938 kB / 0.5243 GB, free: 5.938 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0002545/0.28, allocations: 14.34 kB / 0.5243 GB, free: 5.938 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 (0): * Single equations (assignments): 0 * 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.0003605/0.2804, allocations: 273 kB / 0.5246 GB, free: 5.742 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0001306/0.2805, allocations: 72.28 kB / 0.5246 GB, free: 5.73 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 1.794e-06/0.2806, allocations: 1.25 kB / 0.5246 GB, free: 5.73 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 2.083e-06/0.2806, allocations: 1.156 kB / 0.5246 GB, free: 5.73 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002288/0.2808, allocations: 0.5311 MB / 0.5252 GB, free: 5.203 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000336/0.2811, allocations: 304.8 kB / 0.5254 GB, free: 4.953 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001209/0.2813, allocations: 0.6978 MB / 0.5261 GB, free: 4.258 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.94e-05/0.2813, allocations: 16.56 kB / 0.5261 GB, free: 4.254 MB / 346.7 MB Notification: Performance of SimCode: time 2.41e-07/0.2813, allocations: 1.062 kB / 0.5261 GB, free: 4.254 MB / 346.7 MB Notification: Performance of Templates: time 0.00265/0.284, allocations: 1.277 MB / 0.5274 GB, free: 4.156 MB / 346.7 MB make -j1 -f ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Ds.Test15.makefile (rm -f ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Ds.Test15.pipe ; mkfifo ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Ds.Test15.pipe ; head -c 1048576 < ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Ds.Test15.pipe >> ../files/ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Ds.Test15.sim & ./ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Ds.Test15 --alarm=480 -emit_protected > ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Ds.Test15.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Ds.Test15_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test15/Test15.csv","../files/ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Ds.Test15.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches