Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Dv.Test29.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.Test29,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock1.y|clock2.y|d2_t_new.y",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Dv.Test29") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test29,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock1.y|clock2.y|d2_t_new.y",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Dv.Test29") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001053/0.001053, allocations: 195.7 kB / 16.1 MB, free: 5.707 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.332/1.332, 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.0007899/0.00079, allocations: 92.66 kB / 295.5 MB, free: 6.668 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2961/0.2961, allocations: 44.82 MB / 392.3 MB, free: 35.7 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000264/0.0002643, allocations: 8 kB / 465.3 MB, free: 12.66 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2901/0.2904, allocations: 62.95 MB / 0.5159 GB, free: 37.27 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test29): time 0.001832/0.2923, allocations: 1.36 MB / 0.5172 GB, free: 36.29 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008419/0.2932, allocations: 0.536 MB / 0.5177 GB, free: 35.93 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.965e-05/0.2932, allocations: 0 / 0.5177 GB, free: 35.93 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002636/0.2935, allocations: 67.17 kB / 0.5178 GB, free: 35.91 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002252/0.2938, allocations: 85.67 kB / 0.5179 GB, free: 35.88 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003526/0.2941, allocations: 160.1 kB / 0.518 GB, free: 35.8 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001395/0.2943, allocations: 76.8 kB / 0.5181 GB, free: 35.77 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001144/0.2944, allocations: 27.14 kB / 0.5181 GB, free: 35.75 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.741e-05/0.2945, allocations: 36.81 kB / 0.5182 GB, free: 35.74 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.372e-05/0.2946, allocations: 41.77 kB / 0.5182 GB, free: 35.73 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.515e-05/0.2946, allocations: 3.938 kB / 0.5182 GB, free: 35.72 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.564e-05/0.2947, allocations: 42.83 kB / 0.5182 GB, free: 35.71 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 5.645e-05/0.2947, allocations: 21.25 kB / 0.5183 GB, free: 35.71 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 4.447e-05/0.2948, allocations: 55.45 kB / 0.5183 GB, free: 35.65 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001296/0.2949, allocations: 94.3 kB / 0.5184 GB, free: 35.62 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.122e-06/0.2949, allocations: 3.422 kB / 0.5184 GB, free: 35.62 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.683e-06/0.295, allocations: 0 / 0.5184 GB, free: 35.62 MB / 378.7 MB Notification: Performance of Transformations before backend: time 3.957e-06/0.295, allocations: 0 / 0.5184 GB, free: 35.62 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.0004382/0.2954, allocations: 402.6 kB / 0.5188 GB, free: 35.22 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.846e-05/0.2954, allocations: 9.5 kB / 0.5188 GB, free: 35.22 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.699e-05/0.2955, allocations: 17.73 kB / 0.5188 GB, free: 35.21 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001671/0.2957, allocations: 208.6 kB / 0.519 GB, free: 34.99 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.954e-06/0.2957, allocations: 384 / 0.519 GB, free: 34.99 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.482e-05/0.2957, allocations: 11.33 kB / 0.519 GB, free: 34.98 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001749/0.2959, allocations: 71.42 kB / 0.5191 GB, free: 34.94 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.131e-05/0.2959, allocations: 0 / 0.5191 GB, free: 34.94 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.003e-05/0.2959, allocations: 0 / 0.5191 GB, free: 34.94 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.188e-06/0.2959, allocations: 2.844 kB / 0.5191 GB, free: 34.94 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001457/0.2961, allocations: 57.34 kB / 0.5192 GB, free: 34.93 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004076/0.2965, allocations: 329.5 kB / 0.5195 GB, free: 34.62 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000222/0.2968, allocations: 69.25 kB / 0.5195 GB, free: 34.59 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.627e-05/0.2968, allocations: 29.67 kB / 0.5196 GB, free: 34.57 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.153e-05/0.2969, allocations: 3.625 kB / 0.5196 GB, free: 34.57 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.636e-05/0.2969, allocations: 38.56 kB / 0.5196 GB, free: 34.53 MB / 378.7 MB Notification: Performance of pre-optimization done (n=5): time 1.142e-06/0.2969, allocations: 0 / 0.5196 GB, free: 34.53 MB / 378.7 MB Notification: Performance of matching and sorting (n=11): time 0.00151/0.2984, allocations: 0.4944 MB / 0.5201 GB, free: 34.39 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.377e-05/0.2985, allocations: 55.34 kB / 0.5201 GB, free: 34.32 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001821/0.2986, allocations: 212 kB / 0.5203 GB, free: 34.19 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.432e-05/0.2987, allocations: 29.03 kB / 0.5204 GB, free: 34.16 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.477e-05/0.2987, allocations: 113.2 kB / 0.5205 GB, free: 34.05 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.201e-05/0.2988, allocations: 44.45 kB / 0.5205 GB, free: 34.02 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.354e-06/0.2988, allocations: 4 kB / 0.5205 GB, free: 34.02 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 7.467e-05/0.2989, allocations: 321 kB / 0.5208 GB, free: 33.7 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001352/0.299, allocations: 63.12 kB / 0.5209 GB, free: 33.68 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001301/0.2991, allocations: 63.23 kB / 0.5209 GB, free: 33.67 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000273/0.2994, allocations: 141.4 kB / 0.5211 GB, free: 33.62 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.71e-07/0.2994, allocations: 7.875 kB / 0.5211 GB, free: 33.61 MB / 378.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003198/0.2998, allocations: 176.2 kB / 0.5213 GB, free: 33.54 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.539e-05/0.2998, allocations: 5.375 kB / 0.5213 GB, free: 33.54 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.599e-06/0.2998, allocations: 0 / 0.5213 GB, free: 33.54 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.377e-05/0.2998, allocations: 6.844 kB / 0.5213 GB, free: 33.54 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001082/0.2999, allocations: 40.44 kB / 0.5213 GB, free: 33.53 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.552e-06/0.2999, allocations: 3.375 kB / 0.5213 GB, free: 33.53 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.897e-05/0.3, allocations: 8.125 kB / 0.5213 GB, free: 33.53 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.056e-05/0.3, allocations: 6.156 kB / 0.5213 GB, free: 33.53 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 8.541e-05/0.3001, allocations: 135.5 kB / 0.5215 GB, free: 33.4 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.391e-05/0.3002, allocations: 13.72 kB / 0.5215 GB, free: 33.39 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003895/0.3005, allocations: 209.3 kB / 0.5217 GB, free: 33.31 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.907e-06/0.3006, allocations: 3.938 kB / 0.5217 GB, free: 33.3 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.83e-06/0.3006, allocations: 3.469 kB / 0.5217 GB, free: 33.3 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.128e-06/0.3006, allocations: 0 / 0.5217 GB, free: 33.3 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006571/0.3012, allocations: 0.513 MB / 0.5222 GB, free: 32.91 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.747e-06/0.3013, allocations: 3.938 kB / 0.5222 GB, free: 32.91 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.771e-05/0.3014, allocations: 27.09 kB / 0.5222 GB, free: 32.91 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.926e-06/0.3014, allocations: 6.938 kB / 0.5222 GB, free: 32.91 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.083e-05/0.3014, allocations: 0 / 0.5222 GB, free: 32.91 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.398e-06/0.3014, allocations: 6.875 kB / 0.5222 GB, free: 32.9 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.693e-06/0.3014, allocations: 0 / 0.5222 GB, free: 32.9 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003597/0.3018, allocations: 297.7 kB / 0.5225 GB, free: 32.7 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.481e-05/0.3018, allocations: 90.48 kB / 0.5226 GB, free: 32.6 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.04e-05/0.3019, allocations: 0 / 0.5226 GB, free: 32.6 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.3e-05/0.302, allocations: 22.91 kB / 0.5226 GB, free: 32.59 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.829e-05/0.302, allocations: 6.328 kB / 0.5226 GB, free: 32.59 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.027e-06/0.302, allocations: 5.844 kB / 0.5226 GB, free: 32.59 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001195/0.3022, allocations: 160.9 kB / 0.5228 GB, free: 32.5 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3022, allocations: 0 / 0.5228 GB, free: 32.5 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002464/0.3024, allocations: 24.69 kB / 0.5228 GB, free: 32.49 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.0009789/0.3034, allocations: 459.5 kB / 0.5232 GB, free: 32.26 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0003273/0.3037, allocations: 137.8 kB / 0.5234 GB, free: 32.23 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.214e-06/0.3037, allocations: 0 / 0.5234 GB, free: 32.23 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001475/0.3039, allocations: 86.36 kB / 0.5235 GB, free: 32.2 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003559/0.3043, allocations: 21.61 kB / 0.5235 GB, free: 32.19 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000602/0.3049, allocations: 371.6 kB / 0.5238 GB, free: 31.92 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001987/0.3051, allocations: 0.7186 MB / 0.5245 GB, free: 31.22 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.172e-05/0.3052, allocations: 15.19 kB / 0.5245 GB, free: 31.21 MB / 378.7 MB Notification: Performance of SimCode: time 2.51e-07/0.3052, allocations: 0 / 0.5245 GB, free: 31.21 MB / 378.7 MB Notification: Performance of Templates: time 0.003562/0.3087, allocations: 2.088 MB / 0.5266 GB, free: 30.98 MB / 378.7 MB make -j1 -f ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Dv.Test29.makefile (rm -f ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Dv.Test29.pipe ; mkfifo ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Dv.Test29.pipe ; head -c 1048576 < ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Dv.Test29.pipe >> ../files/ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Dv.Test29.sim & ./ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Dv.Test29 --alarm=480 -emit_protected > ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Dv.Test29.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Dv.Test29_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test29/Test29.csv","../files/ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Dv.Test29.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches