Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Ds.Test30.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.Test30,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.Test30") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test30,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.Test30") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001616/0.001616, allocations: 190.6 kB / 16.09 MB, free: 5.68 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.251/1.251, allocations: 226.5 MB / 243.4 MB, free: 8.223 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007908/0.0007908, allocations: 97.28 kB / 295.5 MB, free: 6.898 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2967/0.2967, allocations: 44.82 MB / 392.3 MB, free: 35.74 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002614/0.0002615, allocations: 8 kB / 465.3 MB, free: 12.68 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2933/0.2936, allocations: 62.96 MB / 0.5159 GB, free: 37.12 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test30): time 0.001516/0.2951, allocations: 1.357 MB / 0.5172 GB, free: 36.13 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006888/0.2958, allocations: 0.511 MB / 0.5177 GB, free: 35.78 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.292e-05/0.2959, allocations: 2.906 kB / 0.5177 GB, free: 35.78 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002137/0.2961, allocations: 67.95 kB / 0.5178 GB, free: 35.77 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001975/0.2963, allocations: 82.22 kB / 0.5179 GB, free: 35.73 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002579/0.2966, allocations: 115.7 kB / 0.518 GB, free: 35.68 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001089/0.2967, allocations: 77.81 kB / 0.518 GB, free: 35.64 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.809e-05/0.2968, allocations: 21.11 kB / 0.5181 GB, free: 35.63 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.491e-05/0.2968, allocations: 25.27 kB / 0.5181 GB, free: 35.63 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.644e-05/0.2969, allocations: 45.36 kB / 0.5181 GB, free: 35.61 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.156e-05/0.2969, allocations: 3.938 kB / 0.5181 GB, free: 35.61 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.46e-05/0.297, allocations: 41 kB / 0.5182 GB, free: 35.6 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 4.789e-05/0.2971, allocations: 27.09 kB / 0.5182 GB, free: 35.59 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 3.333e-05/0.2971, allocations: 58.66 kB / 0.5182 GB, free: 35.54 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001057/0.2972, allocations: 85.92 kB / 0.5183 GB, free: 35.5 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.607e-06/0.2972, allocations: 3.906 kB / 0.5183 GB, free: 35.5 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.613e-06/0.2972, allocations: 0 / 0.5183 GB, free: 35.5 MB / 378.7 MB Notification: Performance of Transformations before backend: time 6.663e-06/0.2973, allocations: 0 / 0.5183 GB, free: 35.5 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.0003627/0.2976, allocations: 411.7 kB / 0.5187 GB, free: 35.1 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.65e-05/0.2977, allocations: 9.906 kB / 0.5187 GB, free: 35.1 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.624e-05/0.2977, allocations: 17.88 kB / 0.5188 GB, free: 35.09 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001274/0.2978, allocations: 198.1 kB / 0.5189 GB, free: 34.88 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.408e-06/0.2979, allocations: 2.719 kB / 0.5189 GB, free: 34.88 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.926e-05/0.2979, allocations: 3.344 kB / 0.5189 GB, free: 34.88 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001387/0.298, allocations: 72.25 kB / 0.519 GB, free: 34.82 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.728e-06/0.298, allocations: 0 / 0.519 GB, free: 34.82 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.277e-06/0.2981, allocations: 6.781 kB / 0.519 GB, free: 34.82 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.898e-06/0.2981, allocations: 0 / 0.519 GB, free: 34.82 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001256/0.2982, allocations: 48.88 kB / 0.5191 GB, free: 34.81 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002835/0.2985, allocations: 312.3 kB / 0.5194 GB, free: 34.51 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001928/0.2987, allocations: 64.11 kB / 0.5194 GB, free: 34.47 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.809e-05/0.2988, allocations: 32.97 kB / 0.5195 GB, free: 34.46 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.045e-05/0.2988, allocations: 3.984 kB / 0.5195 GB, free: 34.45 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.382e-05/0.2988, allocations: 34.56 kB / 0.5195 GB, free: 34.41 MB / 378.7 MB Notification: Performance of pre-optimization done (n=5): time 1.192e-06/0.2988, allocations: 0 / 0.5195 GB, free: 34.41 MB / 378.7 MB Notification: Performance of matching and sorting (n=11): time 0.001282/0.3001, allocations: 469 kB / 0.5199 GB, free: 34.28 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.993e-05/0.3001, allocations: 57.91 kB / 0.52 GB, free: 34.21 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001536/0.3003, allocations: 216.5 kB / 0.5202 GB, free: 34.09 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 8.947e-06/0.3003, allocations: 25.7 kB / 0.5202 GB, free: 34.05 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.741e-05/0.3004, allocations: 111 kB / 0.5203 GB, free: 33.95 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.255e-05/0.3004, allocations: 32.62 kB / 0.5204 GB, free: 33.93 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.242e-06/0.3004, allocations: 4 kB / 0.5204 GB, free: 33.92 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 5.449e-05/0.3005, allocations: 320.9 kB / 0.5207 GB, free: 33.61 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001158/0.3006, allocations: 53.09 kB / 0.5207 GB, free: 33.59 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000103/0.3007, allocations: 50.98 kB / 0.5208 GB, free: 33.58 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002197/0.3009, allocations: 117.7 kB / 0.5209 GB, free: 33.54 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.22e-07/0.3009, allocations: 0 / 0.5209 GB, free: 33.54 MB / 378.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002789/0.3012, allocations: 167.2 kB / 0.521 GB, free: 33.47 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.491e-05/0.3012, allocations: 5.719 kB / 0.5211 GB, free: 33.47 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.058e-06/0.3013, allocations: 0 / 0.5211 GB, free: 33.47 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.256e-05/0.3013, allocations: 0 / 0.5211 GB, free: 33.47 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001018/0.3014, allocations: 39.84 kB / 0.5211 GB, free: 33.46 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.909e-06/0.3014, allocations: 0 / 0.5211 GB, free: 33.46 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.654e-05/0.3014, allocations: 13.92 kB / 0.5211 GB, free: 33.46 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.435e-06/0.3015, allocations: 6.875 kB / 0.5211 GB, free: 33.46 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 6.569e-05/0.3015, allocations: 128.7 kB / 0.5212 GB, free: 33.34 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.155e-05/0.3016, allocations: 21.84 kB / 0.5213 GB, free: 33.32 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003169/0.3019, allocations: 172.9 kB / 0.5214 GB, free: 33.25 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.136e-06/0.3019, allocations: 7.938 kB / 0.5214 GB, free: 33.25 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.397e-06/0.3019, allocations: 0 / 0.5214 GB, free: 33.25 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.048e-06/0.3019, allocations: 3.375 kB / 0.5214 GB, free: 33.25 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005099/0.3024, allocations: 495.3 kB / 0.5219 GB, free: 32.86 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.823e-06/0.3025, allocations: 0 / 0.5219 GB, free: 32.86 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.312e-05/0.3026, allocations: 32.25 kB / 0.5219 GB, free: 32.86 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.545e-06/0.3026, allocations: 0 / 0.5219 GB, free: 32.86 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.548e-06/0.3026, allocations: 6.938 kB / 0.5219 GB, free: 32.85 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.675e-06/0.3026, allocations: 3.938 kB / 0.5219 GB, free: 32.85 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.473e-06/0.3026, allocations: 2.875 kB / 0.5219 GB, free: 32.85 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002742/0.3029, allocations: 272.1 kB / 0.5222 GB, free: 32.66 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.016e-05/0.3029, allocations: 88.05 kB / 0.5223 GB, free: 32.55 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.989e-05/0.3029, allocations: 11.12 kB / 0.5223 GB, free: 32.55 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.81e-05/0.303, allocations: 16.08 kB / 0.5223 GB, free: 32.54 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.93e-05/0.3031, allocations: 16.45 kB / 0.5223 GB, free: 32.54 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.737e-06/0.3031, allocations: 7 kB / 0.5223 GB, free: 32.54 MB / 378.7 MB Notification: Performance of sorting global known variables: time 9.333e-05/0.3032, allocations: 157.3 kB / 0.5225 GB, free: 32.44 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3032, allocations: 0 / 0.5225 GB, free: 32.44 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002297/0.3034, allocations: 26.88 kB / 0.5225 GB, free: 32.43 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.0008352/0.3043, allocations: 453.4 kB / 0.5229 GB, free: 32.21 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0002754/0.3046, allocations: 128.3 kB / 0.5231 GB, free: 32.17 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.823e-06/0.3046, allocations: 0 / 0.5231 GB, free: 32.17 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001233/0.3047, allocations: 68.38 kB / 0.5231 GB, free: 32.16 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002964/0.305, allocations: 28.09 kB / 0.5232 GB, free: 32.14 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000387/0.3054, allocations: 333.3 kB / 0.5235 GB, free: 31.89 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001207/0.3055, allocations: 0.7109 MB / 0.5242 GB, free: 31.2 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.941e-05/0.3056, allocations: 24.75 kB / 0.5242 GB, free: 31.18 MB / 378.7 MB Notification: Performance of SimCode: time 3.41e-07/0.3056, allocations: 0 / 0.5242 GB, free: 31.18 MB / 378.7 MB Notification: Performance of Templates: time 0.002866/0.3084, allocations: 1.938 MB / 0.5261 GB, free: 30.96 MB / 378.7 MB make -j1 -f ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Ds.Test30.makefile (rm -f ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Ds.Test30.pipe ; mkfifo ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Ds.Test30.pipe ; head -c 1048576 < ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Ds.Test30.pipe >> ../files/ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Ds.Test30.sim & ./ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Ds.Test30 --alarm=480 -emit_protected > ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Ds.Test30.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Ds.Test30_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test30/Test30.csv","../files/ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Ds.Test30.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches