Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Dv.Test31.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.Test31,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Dv.Test31") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test31,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Dv.Test31") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001598/0.001599, allocations: 198.2 kB / 16.1 MB, free: 5.578 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.428/1.428, allocations: 226.5 MB / 243.4 MB, free: 6.449 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007751/0.0007751, allocations: 87.94 kB / 295.5 MB, free: 6.676 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3529/0.3529, allocations: 44.82 MB / 392.3 MB, free: 35.68 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002644/0.0002645, allocations: 8 kB / 465.3 MB, free: 12.68 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2917/0.292, allocations: 62.96 MB / 0.5159 GB, free: 37.24 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test31): time 0.001555/0.2936, allocations: 1.341 MB / 0.5172 GB, free: 36.27 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.001204/0.2948, allocations: 1.127 MB / 0.5183 GB, free: 35.47 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.394e-05/0.2949, allocations: 7 kB / 0.5183 GB, free: 35.46 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002407/0.2951, allocations: 28.38 kB / 0.5183 GB, free: 35.45 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002332/0.2954, allocations: 59.16 kB / 0.5184 GB, free: 35.42 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003614/0.2958, allocations: 160.6 kB / 0.5185 GB, free: 35.34 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.000137/0.2959, allocations: 72.58 kB / 0.5186 GB, free: 35.31 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001136/0.296, allocations: 20.33 kB / 0.5186 GB, free: 35.3 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.486e-05/0.2961, allocations: 19.16 kB / 0.5186 GB, free: 35.29 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001219/0.2962, allocations: 35.59 kB / 0.5187 GB, free: 35.27 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.483e-05/0.2962, allocations: 2.844 kB / 0.5187 GB, free: 35.27 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001278/0.2964, allocations: 82.47 kB / 0.5188 GB, free: 35.25 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 4.689e-05/0.2964, allocations: 20.14 kB / 0.5188 GB, free: 35.24 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 3.983e-05/0.2965, allocations: 44.42 kB / 0.5188 GB, free: 35.2 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001541/0.2966, allocations: 112.2 kB / 0.5189 GB, free: 35.16 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.711e-06/0.2966, allocations: 6.812 kB / 0.5189 GB, free: 35.15 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.513e-06/0.2966, allocations: 0 / 0.5189 GB, free: 35.15 MB / 378.7 MB Notification: Performance of Transformations before backend: time 4.058e-06/0.2967, allocations: 0 / 0.5189 GB, free: 35.15 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0004151/0.2971, allocations: 392.5 kB / 0.5193 GB, free: 34.76 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.998e-05/0.2971, allocations: 14.72 kB / 0.5193 GB, free: 34.76 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.116e-05/0.2972, allocations: 8.312 kB / 0.5193 GB, free: 34.75 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001798/0.2974, allocations: 197.9 kB / 0.5195 GB, free: 34.54 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.048e-05/0.2974, allocations: 384 / 0.5195 GB, free: 34.54 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.853e-05/0.2974, allocations: 7.156 kB / 0.5195 GB, free: 34.54 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001757/0.2976, allocations: 92.8 kB / 0.5196 GB, free: 34.47 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.174e-05/0.2976, allocations: 0 / 0.5196 GB, free: 34.47 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.278e-05/0.2976, allocations: 10.84 kB / 0.5196 GB, free: 34.46 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.428e-06/0.2976, allocations: 0 / 0.5196 GB, free: 34.46 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000134/0.2978, allocations: 39.14 kB / 0.5197 GB, free: 34.46 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003656/0.2981, allocations: 321.7 kB / 0.52 GB, free: 34.16 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000117/0.2983, allocations: 53.5 kB / 0.52 GB, free: 34.12 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.606e-05/0.2984, allocations: 29.33 kB / 0.52 GB, free: 34.11 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.054e-05/0.2984, allocations: 4 kB / 0.52 GB, free: 34.11 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.547e-05/0.2984, allocations: 37.41 kB / 0.5201 GB, free: 34.06 MB / 378.7 MB Notification: Performance of pre-optimization done (n=4): time 1.242e-06/0.2984, allocations: 0 / 0.5201 GB, free: 34.06 MB / 378.7 MB Notification: Performance of matching and sorting (n=7): time 0.0007269/0.2991, allocations: 260.6 kB / 0.5203 GB, free: 33.97 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.933e-05/0.2992, allocations: 80.39 kB / 0.5204 GB, free: 33.88 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001143/0.2993, allocations: 146.9 kB / 0.5205 GB, free: 33.76 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.011e-05/0.2993, allocations: 28.33 kB / 0.5206 GB, free: 33.73 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.321e-05/0.2994, allocations: 97.95 kB / 0.5207 GB, free: 33.64 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.944e-05/0.2994, allocations: 25.55 kB / 0.5207 GB, free: 33.62 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.05e-06/0.2994, allocations: 0 / 0.5207 GB, free: 33.62 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 5.156e-05/0.2995, allocations: 320.8 kB / 0.521 GB, free: 33.3 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001115/0.2996, allocations: 49.42 kB / 0.521 GB, free: 33.29 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001083/0.2997, allocations: 64.59 kB / 0.5211 GB, free: 33.26 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002034/0.2999, allocations: 108.8 kB / 0.5212 GB, free: 33.23 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.81e-07/0.2999, allocations: 0 / 0.5212 GB, free: 33.23 MB / 378.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.000251/0.3002, allocations: 136.2 kB / 0.5213 GB, free: 33.17 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.387e-05/0.3002, allocations: 6.094 kB / 0.5213 GB, free: 33.17 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.087e-06/0.3002, allocations: 4 kB / 0.5214 GB, free: 33.17 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.177e-05/0.3002, allocations: 0 / 0.5214 GB, free: 33.17 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001076/0.3003, allocations: 24.03 kB / 0.5214 GB, free: 33.17 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.009e-06/0.3003, allocations: 0 / 0.5214 GB, free: 33.17 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.203e-05/0.3004, allocations: 16.08 kB / 0.5214 GB, free: 33.16 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.116e-06/0.3004, allocations: 2.906 kB / 0.5214 GB, free: 33.16 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 (7): * Single equations (assignments): 7 * 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.435e-05/0.3005, allocations: 130.8 kB / 0.5215 GB, free: 33.04 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.974e-05/0.3005, allocations: 6.938 kB / 0.5215 GB, free: 33.03 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003062/0.3008, allocations: 153 kB / 0.5217 GB, free: 32.97 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.647e-06/0.3008, allocations: 2.75 kB / 0.5217 GB, free: 32.97 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.947e-06/0.3009, allocations: 3.938 kB / 0.5217 GB, free: 32.96 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.487e-06/0.3009, allocations: 3.938 kB / 0.5217 GB, free: 32.96 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000459/0.3013, allocations: 431.2 kB / 0.5221 GB, free: 32.61 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.234e-06/0.3013, allocations: 4 kB / 0.5221 GB, free: 32.61 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.02e-05/0.3014, allocations: 23.06 kB / 0.5221 GB, free: 32.61 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.743e-06/0.3014, allocations: 0 / 0.5221 GB, free: 32.61 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.049e-05/0.3015, allocations: 6.875 kB / 0.5221 GB, free: 32.61 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.403e-06/0.3015, allocations: 4 kB / 0.5221 GB, free: 32.6 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.31e-07/0.3015, allocations: 0 / 0.5221 GB, free: 32.6 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002877/0.3018, allocations: 240.5 kB / 0.5224 GB, free: 32.44 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.544e-05/0.3018, allocations: 94.73 kB / 0.5224 GB, free: 32.33 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.058e-05/0.3018, allocations: 6.562 kB / 0.5225 GB, free: 32.33 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.146e-05/0.3019, allocations: 11.72 kB / 0.5225 GB, free: 32.33 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.05e-05/0.302, allocations: 10.31 kB / 0.5225 GB, free: 32.32 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.732e-06/0.302, allocations: 3 kB / 0.5225 GB, free: 32.32 MB / 378.7 MB Notification: Performance of sorting global known variables: time 7.628e-05/0.3021, allocations: 119.1 kB / 0.5226 GB, free: 32.23 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3021, allocations: 3.938 kB / 0.5226 GB, free: 32.23 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002776/0.3024, allocations: 42.94 kB / 0.5226 GB, free: 32.22 MB / 378.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 (7): * Single equations (assignments): 7 * 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.0009554/0.3033, allocations: 475.8 kB / 0.5231 GB, free: 31.99 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0002771/0.3036, allocations: 106 kB / 0.5232 GB, free: 31.97 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.863e-06/0.3036, allocations: 0 / 0.5232 GB, free: 31.97 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001211/0.3038, allocations: 60.09 kB / 0.5232 GB, free: 31.96 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002859/0.304, allocations: 24.98 kB / 0.5233 GB, free: 31.95 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003506/0.3044, allocations: 238.8 kB / 0.5235 GB, free: 31.75 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001144/0.3045, allocations: 0.7002 MB / 0.5242 GB, free: 31.05 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.432e-05/0.3046, allocations: 20.83 kB / 0.5242 GB, free: 31.04 MB / 378.7 MB Notification: Performance of SimCode: time 2.41e-07/0.3046, allocations: 0 / 0.5242 GB, free: 31.04 MB / 378.7 MB Notification: Performance of Templates: time 0.003131/0.3077, allocations: 2.154 MB / 0.5263 GB, free: 30.79 MB / 378.7 MB make -j1 -f ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Dv.Test31.makefile (rm -f ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Dv.Test31.pipe ; mkfifo ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Dv.Test31.pipe ; head -c 1048576 < ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Dv.Test31.pipe >> ../files/ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Dv.Test31.sim & ./ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Dv.Test31 --alarm=480 -emit_protected > ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Dv.Test31.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Dv.Test31_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test31/Test31.csv","../files/ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Dv.Test31.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches