Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Dv.Test8.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.Test8,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|const.y|clock.y",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Dv.Test8") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test8,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|const.y|clock.y",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Dv.Test8") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00115/0.00115, allocations: 197.7 kB / 15.8 MB, free: 5.961 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.296/1.296, allocations: 226.6 MB / 243.1 MB, free: 14.29 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007679/0.0007679, allocations: 96.16 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.1805/0.1805, allocations: 44.83 MB / 392 MB, free: 9.309 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002701/0.0002701, allocations: 8 kB / 464.7 MB, free: 49.76 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09794/0.09823, allocations: 62.96 MB / 0.5153 GB, free: 2.754 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test8): time 0.001646/0.09991, allocations: 1.307 MB / 0.5166 GB, free: 1.43 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007451/0.1007, allocations: 0.5031 MB / 0.5171 GB, free: 0.9219 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.267e-05/0.1007, allocations: 0 / 0.5171 GB, free: 0.9219 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000464/0.1012, allocations: 439.2 kB / 0.5175 GB, free: 0.4922 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003148/0.1015, allocations: 283.4 kB / 0.5178 GB, free: 220 kB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003264/0.1019, allocations: 149.8 kB / 0.5179 GB, free: 76 kB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.174/0.2758, allocations: 130.1 kB / 0.518 GB, free: 10.26 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001004/0.276, allocations: 14.5 kB / 0.5181 GB, free: 10.26 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001611/0.2761, allocations: 101.6 kB / 0.5182 GB, free: 10.26 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002214/0.2764, allocations: 163 kB / 0.5183 GB, free: 10.26 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 1.838e-05/0.2764, allocations: 1.438 kB / 0.5183 GB, free: 10.26 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.102e-05/0.2765, allocations: 23.88 kB / 0.5183 GB, free: 10.26 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001028/0.2766, allocations: 83.31 kB / 0.5184 GB, free: 10.26 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 4.38e-05/0.2766, allocations: 62.98 kB / 0.5185 GB, free: 10.23 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002187/0.2769, allocations: 181.2 kB / 0.5186 GB, free: 10.22 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.629e-06/0.2769, allocations: 1 kB / 0.5187 GB, free: 10.22 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.044e-06/0.2769, allocations: 0 / 0.5187 GB, free: 10.22 MB / 346.7 MB Notification: Performance of Transformations before backend: time 5.391e-06/0.2769, allocations: 3.375 kB / 0.5187 GB, free: 10.22 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0005207/0.2774, allocations: 0.5889 MB / 0.5192 GB, free: 9.723 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.155e-05/0.2775, allocations: 11.48 kB / 0.5192 GB, free: 9.723 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.33e-05/0.2775, allocations: 42.38 kB / 0.5193 GB, free: 9.699 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002092/0.2777, allocations: 276.9 kB / 0.5195 GB, free: 9.453 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.578e-06/0.2777, allocations: 2.406 kB / 0.5195 GB, free: 9.453 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.1e-05/0.2778, allocations: 2.469 kB / 0.5195 GB, free: 9.453 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001241/0.2779, allocations: 51.78 kB / 0.5196 GB, free: 9.422 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.041e-06/0.2779, allocations: 4.688 kB / 0.5196 GB, free: 9.422 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.266e-06/0.2779, allocations: 4.75 kB / 0.5196 GB, free: 9.422 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.898e-06/0.2779, allocations: 0.7031 kB / 0.5196 GB, free: 9.422 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.941e-05/0.278, allocations: 28.31 kB / 0.5196 GB, free: 9.422 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000414/0.2784, allocations: 389.6 kB / 0.52 GB, free: 9.152 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.682e-05/0.2785, allocations: 37.8 kB / 0.52 GB, free: 9.129 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.582e-05/0.2786, allocations: 20.47 kB / 0.5201 GB, free: 9.117 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.786e-05/0.2786, allocations: 0 / 0.5201 GB, free: 9.117 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.115e-05/0.2786, allocations: 36.05 kB / 0.5201 GB, free: 9.078 MB / 346.7 MB Notification: Performance of pre-optimization done (n=2): time 8.31e-07/0.2786, allocations: 2.438 kB / 0.5201 GB, free: 9.078 MB / 346.7 MB Notification: Performance of matching and sorting (n=2): time 0.0002499/0.2789, allocations: 112.2 kB / 0.5202 GB, free: 9.023 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.912e-05/0.2789, allocations: 55.53 kB / 0.5203 GB, free: 8.957 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008498/0.2798, allocations: 0.8746 MB / 0.5211 GB, free: 8.836 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 7.845e-06/0.2798, allocations: 25.7 kB / 0.5211 GB, free: 8.805 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001216/0.2799, allocations: 221.9 kB / 0.5213 GB, free: 8.723 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.218e-05/0.2799, allocations: 7.844 kB / 0.5214 GB, free: 8.719 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.725e-06/0.2799, allocations: 1.438 kB / 0.5214 GB, free: 8.719 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 6.841e-05/0.28, allocations: 363.1 kB / 0.5217 GB, free: 8.402 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.467e-05/0.2801, allocations: 17.97 kB / 0.5217 GB, free: 8.398 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.517e-05/0.2801, allocations: 10.02 kB / 0.5217 GB, free: 8.398 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.281e-05/0.2802, allocations: 13.89 kB / 0.5217 GB, free: 8.398 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.342e-06/0.2802, allocations: 0 / 0.5217 GB, free: 8.398 MB / 346.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001308/0.2803, allocations: 95.33 kB / 0.5218 GB, free: 8.348 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.208e-05/0.2803, allocations: 5.062 kB / 0.5218 GB, free: 8.348 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.478e-06/0.2803, allocations: 6.016 kB / 0.5218 GB, free: 8.344 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.181e-05/0.2803, allocations: 0 / 0.5218 GB, free: 8.344 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.786e-05/0.2804, allocations: 6.562 kB / 0.5219 GB, free: 8.344 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.629e-06/0.2804, allocations: 0 / 0.5219 GB, free: 8.344 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.474e-05/0.2805, allocations: 8.094 kB / 0.5219 GB, free: 8.34 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.272e-06/0.2805, allocations: 1.875 kB / 0.5219 GB, free: 8.34 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 (2): * Single equations (assignments): 2 * 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.0001486/0.2806, allocations: 215 kB / 0.5221 GB, free: 8.223 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.565e-05/0.2807, allocations: 41.97 kB / 0.5221 GB, free: 8.199 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001843/0.2809, allocations: 119.5 kB / 0.5222 GB, free: 8.152 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.934e-06/0.2809, allocations: 0 / 0.5222 GB, free: 8.152 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.318e-06/0.2809, allocations: 0.5156 kB / 0.5222 GB, free: 8.152 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.023e-06/0.2809, allocations: 4.875 kB / 0.5222 GB, free: 8.148 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002257/0.2811, allocations: 285.6 kB / 0.5225 GB, free: 7.957 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.684e-06/0.2811, allocations: 0.6094 kB / 0.5225 GB, free: 7.957 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.482e-05/0.2812, allocations: 7.703 kB / 0.5225 GB, free: 7.957 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.693e-06/0.2812, allocations: 4.031 kB / 0.5225 GB, free: 7.953 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.432e-06/0.2812, allocations: 1.734 kB / 0.5225 GB, free: 7.953 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.392e-06/0.2812, allocations: 0 / 0.5225 GB, free: 7.953 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.72e-07/0.2812, allocations: 1.562 kB / 0.5225 GB, free: 7.953 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001442/0.2814, allocations: 198.8 kB / 0.5227 GB, free: 7.793 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.421e-05/0.2814, allocations: 119.4 kB / 0.5228 GB, free: 7.672 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.269e-05/0.2814, allocations: 3.812 kB / 0.5228 GB, free: 7.672 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.122e-05/0.2815, allocations: 4.703 kB / 0.5228 GB, free: 7.672 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.76e-05/0.2816, allocations: 2.031 kB / 0.5228 GB, free: 7.672 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.507e-06/0.2816, allocations: 0.5625 kB / 0.5228 GB, free: 7.672 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0005748/0.2821, allocations: 0.6573 MB / 0.5235 GB, free: 7.586 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.2822, allocations: 0 / 0.5235 GB, free: 7.586 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0002169/0.2824, allocations: 16.91 kB / 0.5235 GB, free: 7.586 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 (2): * Single equations (assignments): 2 * 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.0006493/0.283, allocations: 343.5 kB / 0.5238 GB, free: 7.414 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0001291/0.2832, allocations: 29.62 kB / 0.5238 GB, free: 7.414 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 1.894e-06/0.2832, allocations: 5.25 kB / 0.5238 GB, free: 7.41 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 4.666e-05/0.2832, allocations: 16.16 kB / 0.5239 GB, free: 7.406 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003188/0.2836, allocations: 33.69 kB / 0.5239 GB, free: 7.398 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009724/0.2845, allocations: 0.843 MB / 0.5247 GB, free: 7.039 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002576/0.2848, allocations: 0.8239 MB / 0.5255 GB, free: 6.34 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.391e-05/0.2848, allocations: 11.27 kB / 0.5255 GB, free: 6.336 MB / 346.7 MB Notification: Performance of SimCode: time 2.5e-07/0.2848, allocations: 1.219 kB / 0.5255 GB, free: 6.336 MB / 346.7 MB Notification: Performance of Templates: time 0.006005/0.2909, allocations: 3.468 MB / 0.5289 GB, free: 5.59 MB / 346.7 MB make -j1 -f ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Dv.Test8.makefile (rm -f ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Dv.Test8.pipe ; mkfifo ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Dv.Test8.pipe ; head -c 1048576 < ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Dv.Test8.pipe >> ../files/ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Dv.Test8.sim & ./ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Dv.Test8 --alarm=480 -emit_protected > ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Dv.Test8.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Dv.Test8_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test8/Test8.csv","../files/ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Dv.Test8.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches