Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Ds.Test26.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.Test26,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|d_t_new.y|clock1.y|clock2.y|d2_t_new.y",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Ds.Test26") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test26,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|d_t_new.y|clock1.y|clock2.y|d2_t_new.y",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Ds.Test26") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001164/0.001164, allocations: 199.4 kB / 16.1 MB, free: 5.703 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.458/1.458, allocations: 226.5 MB / 243.4 MB, free: 6.453 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008096/0.0008096, allocations: 100.4 kB / 295.5 MB, free: 6.66 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3503/0.3503, allocations: 44.83 MB / 392.3 MB, free: 35.64 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002818/0.0002818, allocations: 8 kB / 465.3 MB, free: 12.68 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2942/0.2945, allocations: 62.96 MB / 0.5159 GB, free: 37.16 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test26): time 0.001633/0.2961, allocations: 1.358 MB / 0.5172 GB, free: 36.18 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006704/0.2968, allocations: 0.51 MB / 0.5177 GB, free: 35.82 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.342e-05/0.2969, allocations: 2.812 kB / 0.5177 GB, free: 35.82 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002085/0.2971, allocations: 51.88 kB / 0.5177 GB, free: 35.81 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001908/0.2973, allocations: 78.42 kB / 0.5178 GB, free: 35.78 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002667/0.2976, allocations: 122.4 kB / 0.5179 GB, free: 35.72 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001156/0.2977, allocations: 68.7 kB / 0.518 GB, free: 35.69 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.205e-05/0.2978, allocations: 25.17 kB / 0.518 GB, free: 35.68 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.848e-05/0.2979, allocations: 30 kB / 0.5181 GB, free: 35.66 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.187e-05/0.2979, allocations: 29.55 kB / 0.5181 GB, free: 35.66 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.203e-05/0.298, allocations: 3.938 kB / 0.5181 GB, free: 35.65 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.319e-05/0.298, allocations: 51.23 kB / 0.5181 GB, free: 35.64 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 5.27e-05/0.2981, allocations: 17.08 kB / 0.5182 GB, free: 35.63 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 3.673e-05/0.2981, allocations: 48.14 kB / 0.5182 GB, free: 35.58 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001192/0.2983, allocations: 87.7 kB / 0.5183 GB, free: 35.55 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.779e-06/0.2983, allocations: 0 / 0.5183 GB, free: 35.55 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.753e-06/0.2983, allocations: 4 kB / 0.5183 GB, free: 35.55 MB / 378.7 MB Notification: Performance of Transformations before backend: time 3.847e-06/0.2983, allocations: 0 / 0.5183 GB, free: 35.55 MB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0003911/0.2987, allocations: 395 kB / 0.5187 GB, free: 35.16 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.485e-05/0.2987, allocations: 12.7 kB / 0.5187 GB, free: 35.16 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.514e-05/0.2988, allocations: 10.47 kB / 0.5187 GB, free: 35.15 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001601/0.2989, allocations: 200.3 kB / 0.5189 GB, free: 34.93 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.148e-05/0.299, allocations: 7.25 kB / 0.5189 GB, free: 34.93 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.06e-05/0.299, allocations: 3.219 kB / 0.5189 GB, free: 34.93 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001508/0.2992, allocations: 69.2 kB / 0.519 GB, free: 34.88 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.044e-05/0.2992, allocations: 0 / 0.519 GB, free: 34.88 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.097e-05/0.2992, allocations: 10.88 kB / 0.519 GB, free: 34.88 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.919e-06/0.2992, allocations: 0 / 0.519 GB, free: 34.88 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001225/0.2993, allocations: 51.05 kB / 0.519 GB, free: 34.86 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003019/0.2996, allocations: 306 kB / 0.5193 GB, free: 34.57 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000208/0.2999, allocations: 60.11 kB / 0.5194 GB, free: 34.53 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.69e-05/0.2999, allocations: 31.28 kB / 0.5194 GB, free: 34.52 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.916e-05/0.3, allocations: 2.875 kB / 0.5194 GB, free: 34.52 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.452e-05/0.3, allocations: 37.8 kB / 0.5194 GB, free: 34.47 MB / 378.7 MB Notification: Performance of pre-optimization done (n=5): time 1.102e-06/0.3, allocations: 0 / 0.5194 GB, free: 34.47 MB / 378.7 MB Notification: Performance of matching and sorting (n=11): time 0.001244/0.3012, allocations: 464.3 kB / 0.5199 GB, free: 34.35 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.512e-05/0.3013, allocations: 58.41 kB / 0.5199 GB, free: 34.28 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001387/0.3014, allocations: 183.1 kB / 0.5201 GB, free: 34.16 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 9.127e-06/0.3014, allocations: 29.7 kB / 0.5201 GB, free: 34.12 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.787e-05/0.3015, allocations: 105.2 kB / 0.5202 GB, free: 34.03 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.654e-05/0.3015, allocations: 33.78 kB / 0.5203 GB, free: 34 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.36e-06/0.3015, allocations: 3.938 kB / 0.5203 GB, free: 34 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 5.344e-05/0.3016, allocations: 323.7 kB / 0.5206 GB, free: 33.68 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000108/0.3017, allocations: 51 kB / 0.5206 GB, free: 33.67 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.607e-05/0.3018, allocations: 51.59 kB / 0.5207 GB, free: 33.66 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002019/0.302, allocations: 115.5 kB / 0.5208 GB, free: 33.62 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.61e-07/0.302, allocations: 0 / 0.5208 GB, free: 33.62 MB / 378.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002532/0.3023, allocations: 160.2 kB / 0.5209 GB, free: 33.55 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.347e-05/0.3023, allocations: 5.812 kB / 0.5209 GB, free: 33.55 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.43e-06/0.3023, allocations: 0 / 0.5209 GB, free: 33.55 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.24e-05/0.3023, allocations: 0 / 0.5209 GB, free: 33.55 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000101/0.3024, allocations: 43.89 kB / 0.521 GB, free: 33.54 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.071e-06/0.3024, allocations: 0 / 0.521 GB, free: 33.54 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.39e-05/0.3025, allocations: 16 kB / 0.521 GB, free: 33.54 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.285e-06/0.3025, allocations: 2.969 kB / 0.521 GB, free: 33.54 MB / 378.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 (11): * Single equations (assignments): 11 * 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 7.099e-05/0.3026, allocations: 129.5 kB / 0.5211 GB, free: 33.41 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.853e-05/0.3026, allocations: 10.62 kB / 0.5211 GB, free: 33.4 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003258/0.303, allocations: 185.4 kB / 0.5213 GB, free: 33.32 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.256e-06/0.303, allocations: 3.938 kB / 0.5213 GB, free: 33.32 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.737e-06/0.303, allocations: 0 / 0.5213 GB, free: 33.32 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.057e-06/0.303, allocations: 6.875 kB / 0.5213 GB, free: 33.32 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004971/0.3035, allocations: 499.4 kB / 0.5218 GB, free: 32.92 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.743e-06/0.3035, allocations: 0 / 0.5218 GB, free: 32.92 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.98e-05/0.3036, allocations: 27.75 kB / 0.5218 GB, free: 32.92 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.935e-06/0.3036, allocations: 2.812 kB / 0.5218 GB, free: 32.92 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.044e-05/0.3036, allocations: 3.188 kB / 0.5218 GB, free: 32.92 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.304e-06/0.3036, allocations: 3.125 kB / 0.5218 GB, free: 32.92 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.293e-06/0.3036, allocations: 0 / 0.5218 GB, free: 32.92 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002731/0.3039, allocations: 274.3 kB / 0.5221 GB, free: 32.72 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.06e-05/0.304, allocations: 91.02 kB / 0.5222 GB, free: 32.62 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.782e-05/0.304, allocations: 6.812 kB / 0.5222 GB, free: 32.62 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.395e-05/0.3041, allocations: 11.77 kB / 0.5222 GB, free: 32.62 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.441e-05/0.3041, allocations: 12.73 kB / 0.5222 GB, free: 32.61 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.764e-06/0.3041, allocations: 6.812 kB / 0.5222 GB, free: 32.61 MB / 378.7 MB Notification: Performance of sorting global known variables: time 7.954e-05/0.3042, allocations: 147.6 kB / 0.5224 GB, free: 32.52 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3042, allocations: 0 / 0.5224 GB, free: 32.52 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002354/0.3045, allocations: 27.69 kB / 0.5224 GB, free: 32.51 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (11): * Single equations (assignments): 11 * 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.0009031/0.3054, allocations: 451.5 kB / 0.5228 GB, free: 32.29 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0002744/0.3057, allocations: 120.7 kB / 0.5229 GB, free: 32.26 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.853e-06/0.3057, allocations: 6.844 kB / 0.5229 GB, free: 32.25 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00012/0.3058, allocations: 66.7 kB / 0.523 GB, free: 32.24 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000315/0.3061, allocations: 19.97 kB / 0.523 GB, free: 32.23 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004204/0.3065, allocations: 315.3 kB / 0.5233 GB, free: 31.99 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001262/0.3067, allocations: 0.7103 MB / 0.524 GB, free: 31.29 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.925e-05/0.3067, allocations: 19.78 kB / 0.524 GB, free: 31.28 MB / 378.7 MB Notification: Performance of SimCode: time 2.4e-07/0.3067, allocations: 0 / 0.524 GB, free: 31.28 MB / 378.7 MB Notification: Performance of Templates: time 0.00288/0.3096, allocations: 1.898 MB / 0.5259 GB, free: 31.07 MB / 378.7 MB make -j1 -f ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Ds.Test26.makefile (rm -f ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Ds.Test26.pipe ; mkfifo ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Ds.Test26.pipe ; head -c 1048576 < ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Ds.Test26.pipe >> ../files/ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Ds.Test26.sim & ./ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Ds.Test26 --alarm=480 -emit_protected > ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Ds.Test26.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Ds.Test26_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test26/Test26.csv","../files/ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Ds.Test26.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches