Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Dv.Test28.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.Test28,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|d2_t_new.y",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Dv.Test28") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test28,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|d2_t_new.y",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Dv.Test28") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009892/0.0009893, allocations: 199.8 kB / 16.1 MB, free: 5.582 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.265/1.265, allocations: 226.5 MB / 243.4 MB, free: 8.199 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.000826/0.000826, allocations: 96.84 kB / 295.5 MB, free: 6.875 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3599/0.3599, allocations: 44.82 MB / 392.3 MB, free: 35.73 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002789/0.000279, allocations: 8 kB / 465.3 MB, free: 12.64 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3011/0.3014, allocations: 62.96 MB / 0.5159 GB, free: 37 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test28): time 0.001508/0.3029, allocations: 1.306 MB / 0.5172 GB, free: 36.05 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006572/0.3036, allocations: 0.5001 MB / 0.5176 GB, free: 35.72 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.421e-05/0.3037, allocations: 3.938 kB / 0.5176 GB, free: 35.71 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002356/0.3039, allocations: 107.9 kB / 0.5177 GB, free: 35.7 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001885/0.3041, allocations: 103.5 kB / 0.5178 GB, free: 35.66 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000224/0.3044, allocations: 104.1 kB / 0.5179 GB, free: 35.61 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001133/0.3045, allocations: 70.89 kB / 0.518 GB, free: 35.58 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001108/0.3046, allocations: 28.23 kB / 0.518 GB, free: 35.57 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.513e-05/0.3046, allocations: 28.77 kB / 0.5181 GB, free: 35.56 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.846e-05/0.3047, allocations: 58.33 kB / 0.5181 GB, free: 35.55 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.216e-05/0.3048, allocations: 0 / 0.5181 GB, free: 35.55 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.059e-05/0.3048, allocations: 37.36 kB / 0.5182 GB, free: 35.54 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 4.161e-05/0.3049, allocations: 25.22 kB / 0.5182 GB, free: 35.53 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 4.206e-05/0.3049, allocations: 62.39 kB / 0.5182 GB, free: 35.47 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001067/0.305, allocations: 75.91 kB / 0.5183 GB, free: 35.45 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.438e-06/0.3051, allocations: 0 / 0.5183 GB, free: 35.45 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.734e-06/0.3051, allocations: 0 / 0.5183 GB, free: 35.45 MB / 378.7 MB Notification: Performance of Transformations before backend: time 3.988e-06/0.3051, allocations: 0 / 0.5183 GB, free: 35.45 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.0003548/0.3054, allocations: 418.1 kB / 0.5187 GB, free: 35.04 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.331e-05/0.3055, allocations: 9 kB / 0.5187 GB, free: 35.04 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.205e-05/0.3055, allocations: 14.84 kB / 0.5187 GB, free: 35.03 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001412/0.3057, allocations: 208.2 kB / 0.5189 GB, free: 34.8 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.538e-06/0.3057, allocations: 3.656 kB / 0.5189 GB, free: 34.8 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.859e-05/0.3057, allocations: 7.312 kB / 0.5189 GB, free: 34.8 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001226/0.3058, allocations: 62.91 kB / 0.519 GB, free: 34.75 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.045e-05/0.3058, allocations: 7.906 kB / 0.519 GB, free: 34.75 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.328e-06/0.3059, allocations: 4 kB / 0.519 GB, free: 34.74 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.378e-06/0.3059, allocations: 2.938 kB / 0.519 GB, free: 34.74 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.675e-05/0.306, allocations: 28.75 kB / 0.519 GB, free: 34.74 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003127/0.3063, allocations: 307.4 kB / 0.5193 GB, free: 34.45 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.18e-05/0.3064, allocations: 53.16 kB / 0.5194 GB, free: 34.41 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.416e-05/0.3064, allocations: 22.09 kB / 0.5194 GB, free: 34.4 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.998e-05/0.3065, allocations: 0 / 0.5194 GB, free: 34.4 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.225e-05/0.3065, allocations: 30.56 kB / 0.5194 GB, free: 34.36 MB / 378.7 MB Notification: Performance of pre-optimization done (n=4): time 1.714e-06/0.3065, allocations: 4 kB / 0.5194 GB, free: 34.36 MB / 378.7 MB Notification: Performance of matching and sorting (n=8): time 0.0008003/0.3073, allocations: 270.5 kB / 0.5197 GB, free: 34.26 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.032e-05/0.3073, allocations: 51.41 kB / 0.5198 GB, free: 34.2 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000172/0.3075, allocations: 253.9 kB / 0.52 GB, free: 34.06 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 8.065e-06/0.3075, allocations: 25.7 kB / 0.52 GB, free: 34.03 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.231e-05/0.3076, allocations: 121.1 kB / 0.5201 GB, free: 33.91 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.061e-05/0.3076, allocations: 28.62 kB / 0.5202 GB, free: 33.89 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.741e-06/0.3076, allocations: 4 kB / 0.5202 GB, free: 33.89 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 4.701e-05/0.3077, allocations: 321 kB / 0.5205 GB, free: 33.57 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.497e-05/0.3077, allocations: 38.84 kB / 0.5205 GB, free: 33.56 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.552e-05/0.3078, allocations: 35.36 kB / 0.5205 GB, free: 33.55 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001412/0.308, allocations: 82.72 kB / 0.5206 GB, free: 33.52 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.31e-07/0.308, allocations: 0 / 0.5206 GB, free: 33.52 MB / 378.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001854/0.3082, allocations: 118.3 kB / 0.5207 GB, free: 33.46 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.206e-05/0.3082, allocations: 7.781 kB / 0.5207 GB, free: 33.46 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.047e-06/0.3082, allocations: 0 / 0.5207 GB, free: 33.46 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.033e-05/0.3082, allocations: 2.594 kB / 0.5207 GB, free: 33.46 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.23e-05/0.3083, allocations: 23.73 kB / 0.5208 GB, free: 33.46 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.562e-06/0.3083, allocations: 4.062 kB / 0.5208 GB, free: 33.46 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.239e-05/0.3084, allocations: 17.02 kB / 0.5208 GB, free: 33.45 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.045e-06/0.3084, allocations: 4 kB / 0.5208 GB, free: 33.45 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 (8): * Single equations (assignments): 8 * 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.799e-05/0.3084, allocations: 131.7 kB / 0.5209 GB, free: 33.32 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.117e-05/0.3085, allocations: 17.66 kB / 0.5209 GB, free: 33.31 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002655/0.3088, allocations: 141.5 kB / 0.5211 GB, free: 33.25 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.705e-06/0.3088, allocations: 3.094 kB / 0.5211 GB, free: 33.25 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.768e-06/0.3088, allocations: 4 kB / 0.5211 GB, free: 33.25 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.697e-06/0.3088, allocations: 3.938 kB / 0.5211 GB, free: 33.24 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004006/0.3092, allocations: 428.1 kB / 0.5215 GB, free: 32.89 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.625e-06/0.3092, allocations: 5.953 kB / 0.5215 GB, free: 32.89 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.344e-05/0.3093, allocations: 21.25 kB / 0.5215 GB, free: 32.88 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.717e-06/0.3093, allocations: 7.438 kB / 0.5215 GB, free: 32.88 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.664e-06/0.3093, allocations: 0 / 0.5215 GB, free: 32.88 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.483e-06/0.3093, allocations: 0 / 0.5215 GB, free: 32.88 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.212e-06/0.3093, allocations: 0 / 0.5215 GB, free: 32.88 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002048/0.3095, allocations: 226.1 kB / 0.5217 GB, free: 32.71 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.09e-05/0.3096, allocations: 103.3 kB / 0.5218 GB, free: 32.59 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.58e-05/0.3096, allocations: 2.469 kB / 0.5218 GB, free: 32.59 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.923e-05/0.3097, allocations: 5.531 kB / 0.5218 GB, free: 32.59 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.475e-05/0.3097, allocations: 10.36 kB / 0.5218 GB, free: 32.59 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.691e-06/0.3097, allocations: 2.969 kB / 0.5219 GB, free: 32.59 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001124/0.3098, allocations: 203.1 kB / 0.522 GB, free: 32.48 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3098, allocations: 0 / 0.522 GB, free: 32.48 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002271/0.3101, allocations: 14.66 kB / 0.5221 GB, free: 32.48 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (8): * Single equations (assignments): 8 * 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.0008365/0.3109, allocations: 450.6 kB / 0.5225 GB, free: 32.26 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0001938/0.3111, allocations: 80.05 kB / 0.5226 GB, free: 32.24 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.663e-06/0.3111, allocations: 3.938 kB / 0.5226 GB, free: 32.23 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 8.219e-05/0.3112, allocations: 43.98 kB / 0.5226 GB, free: 32.23 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002951/0.3115, allocations: 25.14 kB / 0.5226 GB, free: 32.21 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004111/0.3119, allocations: 351.4 kB / 0.523 GB, free: 31.97 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000135/0.3121, allocations: 0.7167 MB / 0.5237 GB, free: 31.27 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.177e-05/0.3121, allocations: 13.16 kB / 0.5237 GB, free: 31.26 MB / 378.7 MB Notification: Performance of SimCode: time 3.7e-07/0.3121, allocations: 0 / 0.5237 GB, free: 31.26 MB / 378.7 MB Notification: Performance of Templates: time 0.002788/0.3149, allocations: 1.869 MB / 0.5255 GB, free: 31.04 MB / 378.7 MB make -j1 -f ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Dv.Test28.makefile (rm -f ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Dv.Test28.pipe ; mkfifo ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Dv.Test28.pipe ; head -c 1048576 < ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Dv.Test28.pipe >> ../files/ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Dv.Test28.sim & ./ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Dv.Test28 --alarm=480 -emit_protected > ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Dv.Test28.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Dv.Test28_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test28/Test28.csv","../files/ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Dv.Test28.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches