Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Dv.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.CombiTable1Dv.Test21,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Dv.Test21") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test21,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Dv.Test21") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001586/0.001586, 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.333/1.333, 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.0007771/0.0007771, allocations: 97.73 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.1864/0.1864, allocations: 44.84 MB / 392 MB, free: 9.324 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000251/0.000251, allocations: 8 kB / 464.7 MB, free: 49.77 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09305/0.09332, allocations: 62.96 MB / 0.5153 GB, free: 2.77 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test21): time 0.00178/0.09514, allocations: 1.288 MB / 0.5166 GB, free: 1.465 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001433/0.09659, allocations: 1.082 MB / 0.5176 GB, free: 384 kB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.448e-05/0.09667, allocations: 0 / 0.5176 GB, free: 384 kB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000181/0.09686, allocations: 19.92 kB / 0.5177 GB, free: 364 kB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002329/0.09711, allocations: 71.75 kB / 0.5177 GB, free: 292 kB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002772/0.09739, allocations: 83.83 kB / 0.5178 GB, free: 208 kB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001304/0.09753, allocations: 59.83 kB / 0.5179 GB, free: 148 kB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.368e-05/0.09762, allocations: 15.98 kB / 0.5179 GB, free: 132 kB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.805e-05/0.09768, allocations: 27.84 kB / 0.5179 GB, free: 104 kB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001242/0.09781, allocations: 23.86 kB / 0.5179 GB, free: 80 kB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 1.53e-05/0.09783, allocations: 0 / 0.5179 GB, free: 80 kB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.1801/0.2779, allocations: 85.83 kB / 0.518 GB, free: 9.91 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 5.716e-05/0.278, allocations: 8.578 kB / 0.518 GB, free: 9.91 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 2.863e-05/0.278, allocations: 32.92 kB / 0.5181 GB, free: 9.879 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002544/0.2783, allocations: 93.11 kB / 0.5181 GB, free: 9.879 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.787e-06/0.2783, allocations: 0 / 0.5181 GB, free: 9.879 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.182e-06/0.2783, allocations: 0.5938 kB / 0.5181 GB, free: 9.879 MB / 346.7 MB Notification: Performance of Transformations before backend: time 3.587e-06/0.2783, allocations: 0 / 0.5181 GB, free: 9.879 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.0003566/0.2787, allocations: 400.4 kB / 0.5185 GB, free: 9.5 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.27e-05/0.2787, allocations: 9.969 kB / 0.5185 GB, free: 9.5 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.806e-05/0.2788, allocations: 6.719 kB / 0.5185 GB, free: 9.496 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00016/0.2789, allocations: 186.9 kB / 0.5187 GB, free: 9.297 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.127e-06/0.2789, allocations: 1.188 kB / 0.5187 GB, free: 9.297 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.886e-05/0.279, allocations: 5.375 kB / 0.5187 GB, free: 9.297 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001416/0.2791, allocations: 65.52 kB / 0.5188 GB, free: 9.25 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.143e-05/0.2791, allocations: 3.938 kB / 0.5188 GB, free: 9.25 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.145e-05/0.2792, allocations: 1.656 kB / 0.5188 GB, free: 9.25 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.598e-06/0.2792, allocations: 0 / 0.5188 GB, free: 9.25 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001024/0.2793, allocations: 31.39 kB / 0.5188 GB, free: 9.25 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003314/0.2796, allocations: 292.4 kB / 0.5191 GB, free: 8.977 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001855/0.2798, allocations: 50.66 kB / 0.5192 GB, free: 8.953 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.365e-05/0.2799, allocations: 18.39 kB / 0.5192 GB, free: 8.945 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.821e-05/0.2799, allocations: 2.25 kB / 0.5192 GB, free: 8.945 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.365e-05/0.2799, allocations: 36.72 kB / 0.5192 GB, free: 8.902 MB / 346.7 MB Notification: Performance of pre-optimization done (n=3): time 1.072e-06/0.2799, allocations: 0 / 0.5192 GB, free: 8.902 MB / 346.7 MB Notification: Performance of matching and sorting (n=5): time 0.0005656/0.2805, allocations: 165.7 kB / 0.5194 GB, free: 8.855 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.835e-05/0.2805, allocations: 79.83 kB / 0.5194 GB, free: 8.762 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001356/0.2807, allocations: 148.1 kB / 0.5196 GB, free: 8.66 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 9.448e-06/0.2807, allocations: 27.97 kB / 0.5196 GB, free: 8.629 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.719e-05/0.2807, allocations: 93.64 kB / 0.5197 GB, free: 8.547 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.931e-05/0.2808, allocations: 17.89 kB / 0.5197 GB, free: 8.535 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.519e-06/0.2808, allocations: 3.156 kB / 0.5197 GB, free: 8.535 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 4.04e-05/0.2808, allocations: 320.1 kB / 0.52 GB, free: 8.223 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.087e-05/0.2809, allocations: 26.45 kB / 0.5201 GB, free: 8.219 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.864e-05/0.281, allocations: 42.22 kB / 0.5201 GB, free: 8.203 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.157e-05/0.2811, allocations: 27.12 kB / 0.5201 GB, free: 8.203 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.61e-07/0.2811, allocations: 4.578 kB / 0.5201 GB, free: 8.199 MB / 346.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001933/0.2813, allocations: 90.81 kB / 0.5202 GB, free: 8.164 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.254e-05/0.2813, allocations: 5.656 kB / 0.5202 GB, free: 8.164 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.388e-06/0.2813, allocations: 0.75 kB / 0.5202 GB, free: 8.164 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.598e-06/0.2813, allocations: 1.125 kB / 0.5202 GB, free: 8.164 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.475e-05/0.2814, allocations: 18.5 kB / 0.5202 GB, free: 8.16 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.34e-06/0.2814, allocations: 5 kB / 0.5202 GB, free: 8.156 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.064e-05/0.2815, allocations: 8.922 kB / 0.5202 GB, free: 8.156 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.963e-06/0.2815, allocations: 12.42 kB / 0.5203 GB, free: 8.152 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 (5): * Single equations (assignments): 5 * 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 5.85e-05/0.2815, allocations: 115 kB / 0.5204 GB, free: 8.039 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.025e-05/0.2816, allocations: 10.81 kB / 0.5204 GB, free: 8.035 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000242/0.2818, allocations: 104.7 kB / 0.5205 GB, free: 8 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.385e-06/0.2818, allocations: 1 kB / 0.5205 GB, free: 8 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.566e-06/0.2818, allocations: 0 / 0.5205 GB, free: 8 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.386e-06/0.2819, allocations: 1.531 kB / 0.5205 GB, free: 8 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000367/0.2822, allocations: 378.6 kB / 0.5208 GB, free: 7.699 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.333e-06/0.2822, allocations: 0 / 0.5208 GB, free: 7.699 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.609e-05/0.2823, allocations: 14.42 kB / 0.5209 GB, free: 7.699 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.984e-06/0.2823, allocations: 0 / 0.5209 GB, free: 7.699 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.813e-06/0.2823, allocations: 2.406 kB / 0.5209 GB, free: 7.699 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.102e-06/0.2823, allocations: 0 / 0.5209 GB, free: 7.699 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.552e-06/0.2823, allocations: 1.156 kB / 0.5209 GB, free: 7.699 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000197/0.2825, allocations: 197.1 kB / 0.521 GB, free: 7.559 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.897e-05/0.2826, allocations: 88.53 kB / 0.5211 GB, free: 7.461 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.712e-05/0.2826, allocations: 2.219 kB / 0.5211 GB, free: 7.461 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.327e-05/0.2827, allocations: 7.531 kB / 0.5211 GB, free: 7.461 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.289e-05/0.2827, allocations: 4.531 kB / 0.5211 GB, free: 7.461 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.419e-06/0.2827, allocations: 6.281 kB / 0.5212 GB, free: 7.457 MB / 346.7 MB Notification: Performance of sorting global known variables: time 8.259e-05/0.2828, allocations: 115.6 kB / 0.5213 GB, free: 7.379 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.2828, allocations: 0 / 0.5213 GB, free: 7.379 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0002549/0.2831, allocations: 35.97 kB / 0.5213 GB, free: 7.375 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 (5): * Single equations (assignments): 5 * 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.0009004/0.284, allocations: 0.491 MB / 0.5218 GB, free: 7.137 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.000203/0.2842, allocations: 63.92 kB / 0.5218 GB, free: 7.133 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 1.593e-06/0.2842, allocations: 0 / 0.5218 GB, free: 7.133 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 8.515e-05/0.2843, allocations: 31.84 kB / 0.5219 GB, free: 7.133 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002647/0.2846, allocations: 13.92 kB / 0.5219 GB, free: 7.133 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003165/0.2849, allocations: 225.2 kB / 0.5221 GB, free: 6.953 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001006/0.285, allocations: 0.6909 MB / 0.5228 GB, free: 6.258 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.339e-05/0.2851, allocations: 18.25 kB / 0.5228 GB, free: 6.25 MB / 346.7 MB Notification: Performance of SimCode: time 2.71e-07/0.2851, allocations: 0 / 0.5228 GB, free: 6.25 MB / 346.7 MB Notification: Performance of Templates: time 0.003921/0.289, allocations: 1.94 MB / 0.5247 GB, free: 6.039 MB / 346.7 MB make -j1 -f ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Dv.Test21.makefile (rm -f ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Dv.Test21.pipe ; mkfifo ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Dv.Test21.pipe ; head -c 1048576 < ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Dv.Test21.pipe >> ../files/ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Dv.Test21.sim & ./ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Dv.Test21 --alarm=480 -emit_protected > ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Dv.Test21.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Dv.Test21_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test21/Test21.csv","../files/ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Dv.Test21.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches