Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Dv.Test1.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.Test1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|const.y|d2_t_new.y",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Dv.Test1") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|const.y|d2_t_new.y",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Dv.Test1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001113/0.001113, allocations: 201.5 kB / 15.8 MB, free: 6.309 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.293/1.293, allocations: 226.5 MB / 243.1 MB, free: 14.27 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008591/0.0008591, allocations: 106.5 kB / 295.1 MB, free: 10.03 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1838/0.1838, allocations: 44.84 MB / 392 MB, free: 9.301 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002513/0.0002514, allocations: 11.98 kB / 464.7 MB, free: 49.73 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09553/0.0958, allocations: 62.96 MB / 0.5153 GB, free: 2.738 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test1): time 0.002021/0.09786, allocations: 1.35 MB / 0.5166 GB, free: 1.371 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008947/0.09878, allocations: 0.5304 MB / 0.5172 GB, free: 0.8359 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.456e-05/0.09887, allocations: 0 / 0.5172 GB, free: 0.8359 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004953/0.09938, allocations: 439.2 kB / 0.5176 GB, free: 416 kB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004063/0.0998, allocations: 275.4 kB / 0.5178 GB, free: 140 kB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.1938/0.2936, allocations: 151.5 kB / 0.518 GB, free: 10.22 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003626/0.294, allocations: 139.6 kB / 0.5181 GB, free: 10.22 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001208/0.2942, allocations: 21.38 kB / 0.5181 GB, free: 10.21 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001511/0.2943, allocations: 107.6 kB / 0.5182 GB, free: 10.21 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002668/0.2946, allocations: 168.8 kB / 0.5184 GB, free: 10.21 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 1.923e-05/0.2946, allocations: 1.156 kB / 0.5184 GB, free: 10.21 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001629/0.2948, allocations: 46.75 kB / 0.5185 GB, free: 10.21 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001219/0.2949, allocations: 83.38 kB / 0.5185 GB, free: 10.21 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 5.84e-05/0.295, allocations: 66.77 kB / 0.5186 GB, free: 10.18 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002937/0.2953, allocations: 198.2 kB / 0.5188 GB, free: 10.18 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.859e-06/0.2953, allocations: 1.625 kB / 0.5188 GB, free: 10.18 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.843e-06/0.2953, allocations: 0 / 0.5188 GB, free: 10.18 MB / 346.7 MB Notification: Performance of Transformations before backend: time 6.512e-06/0.2953, allocations: 2.25 kB / 0.5188 GB, free: 10.18 MB / 346.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.0006108/0.2959, allocations: 0.6019 MB / 0.5194 GB, free: 9.676 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.868e-05/0.296, allocations: 9.969 kB / 0.5194 GB, free: 9.676 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.884e-05/0.296, allocations: 43.55 kB / 0.5194 GB, free: 9.652 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002325/0.2963, allocations: 287.6 kB / 0.5197 GB, free: 9.402 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.325e-05/0.2963, allocations: 3.344 kB / 0.5197 GB, free: 9.402 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.245e-05/0.2963, allocations: 3.688 kB / 0.5197 GB, free: 9.402 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001553/0.2965, allocations: 64.39 kB / 0.5198 GB, free: 9.371 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.174e-05/0.2965, allocations: 2.031 kB / 0.5198 GB, free: 9.371 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.048e-05/0.2965, allocations: 2.438 kB / 0.5198 GB, free: 9.371 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.008e-06/0.2965, allocations: 1.625 kB / 0.5198 GB, free: 9.371 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001138/0.2967, allocations: 37.86 kB / 0.5198 GB, free: 9.371 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005388/0.2972, allocations: 408.7 kB / 0.5202 GB, free: 9.102 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001156/0.2973, allocations: 47.78 kB / 0.5203 GB, free: 9.078 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.856e-05/0.2974, allocations: 24.66 kB / 0.5203 GB, free: 9.07 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.465e-05/0.2974, allocations: 0.9688 kB / 0.5203 GB, free: 9.07 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.962e-05/0.2975, allocations: 37.7 kB / 0.5203 GB, free: 9.027 MB / 346.7 MB Notification: Performance of pre-optimization done (n=4): time 1.042e-06/0.2975, allocations: 0 / 0.5203 GB, free: 9.027 MB / 346.7 MB Notification: Performance of matching and sorting (n=8): time 0.00101/0.2985, allocations: 356.8 kB / 0.5207 GB, free: 8.91 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.129e-05/0.2985, allocations: 51.92 kB / 0.5207 GB, free: 8.848 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001023/0.2995, allocations: 0.8744 MB / 0.5216 GB, free: 8.727 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.086e-05/0.2996, allocations: 29.64 kB / 0.5216 GB, free: 8.691 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001479/0.2997, allocations: 223.8 kB / 0.5218 GB, free: 8.609 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.614e-05/0.2997, allocations: 31.92 kB / 0.5218 GB, free: 8.59 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.519e-06/0.2998, allocations: 1.188 kB / 0.5218 GB, free: 8.59 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 9.327e-05/0.2999, allocations: 359.8 kB / 0.5222 GB, free: 8.277 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.938e-05/0.3, allocations: 37.05 kB / 0.5222 GB, free: 8.277 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.406e-05/0.3001, allocations: 39.8 kB / 0.5222 GB, free: 8.273 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.84e-05/0.3002, allocations: 36.06 kB / 0.5223 GB, free: 8.273 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.515e-06/0.3002, allocations: 1.094 kB / 0.5223 GB, free: 8.273 MB / 346.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002596/0.3004, allocations: 155 kB / 0.5224 GB, free: 8.215 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.554e-05/0.3005, allocations: 4.625 kB / 0.5224 GB, free: 8.215 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.033e-06/0.3005, allocations: 1.906 kB / 0.5224 GB, free: 8.215 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.378e-05/0.3005, allocations: 3.953 kB / 0.5224 GB, free: 8.211 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001064/0.3006, allocations: 23.38 kB / 0.5225 GB, free: 8.211 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.561e-06/0.3006, allocations: 4.969 kB / 0.5225 GB, free: 8.207 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.865e-05/0.3007, allocations: 6.078 kB / 0.5225 GB, free: 8.207 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.906e-06/0.3007, allocations: 3.312 kB / 0.5225 GB, free: 8.207 MB / 346.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 0.0001907/0.3009, allocations: 217.4 kB / 0.5227 GB, free: 8.09 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.32e-05/0.301, allocations: 43.06 kB / 0.5227 GB, free: 8.066 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003674/0.3013, allocations: 185.6 kB / 0.5229 GB, free: 8.02 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.817e-06/0.3013, allocations: 5.188 kB / 0.5229 GB, free: 8.016 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.012e-06/0.3014, allocations: 3.953 kB / 0.5229 GB, free: 8.012 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.41e-06/0.3014, allocations: 4.781 kB / 0.5229 GB, free: 8.012 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006585/0.302, allocations: 0.5203 MB / 0.5234 GB, free: 7.703 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.563e-06/0.302, allocations: 0 / 0.5234 GB, free: 7.703 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.568e-05/0.3021, allocations: 23.61 kB / 0.5234 GB, free: 7.699 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.187e-06/0.3021, allocations: 4.703 kB / 0.5234 GB, free: 7.695 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.628e-06/0.3022, allocations: 5.688 kB / 0.5235 GB, free: 7.695 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.894e-06/0.3022, allocations: 0.9688 kB / 0.5235 GB, free: 7.695 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.625e-06/0.3022, allocations: 1.938 kB / 0.5235 GB, free: 7.695 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002641/0.3024, allocations: 252 kB / 0.5237 GB, free: 7.531 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.52e-05/0.3025, allocations: 112.9 kB / 0.5238 GB, free: 7.414 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.675e-05/0.3025, allocations: 9.453 kB / 0.5238 GB, free: 7.41 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.695e-05/0.3026, allocations: 7.797 kB / 0.5238 GB, free: 7.41 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.656e-05/0.3027, allocations: 13.05 kB / 0.5238 GB, free: 7.402 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.464e-06/0.3027, allocations: 3.516 kB / 0.5238 GB, free: 7.402 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0007349/0.3034, allocations: 0.6576 MB / 0.5245 GB, free: 7.316 MB / 346.7 MB Notification: Performance of sort global known variables: time 2.41e-07/0.3034, allocations: 0.9688 kB / 0.5245 GB, free: 7.316 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0002536/0.3037, allocations: 25.84 kB / 0.5245 GB, free: 7.316 MB / 346.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.0009693/0.3047, allocations: 453 kB / 0.5249 GB, free: 7.102 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0002508/0.3049, allocations: 79.31 kB / 0.525 GB, free: 7.102 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 3.366e-06/0.305, allocations: 5.656 kB / 0.525 GB, free: 7.098 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001082/0.3051, allocations: 46.11 kB / 0.5251 GB, free: 7.094 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003584/0.3054, allocations: 25.45 kB / 0.5251 GB, free: 7.086 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001223/0.3067, allocations: 0.9063 MB / 0.526 GB, free: 6.629 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003378/0.307, allocations: 0.8321 MB / 0.5268 GB, free: 5.914 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.698e-05/0.3071, allocations: 16.02 kB / 0.5268 GB, free: 5.906 MB / 346.7 MB Notification: Performance of SimCode: time 1.002e-06/0.3071, allocations: 3.938 kB / 0.5268 GB, free: 5.902 MB / 346.7 MB Notification: Performance of Templates: time 0.009678/0.3167, allocations: 3.993 MB / 0.5307 GB, free: 5.059 MB / 346.7 MB make -j1 -f ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Dv.Test1.makefile (rm -f ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Dv.Test1.pipe ; mkfifo ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Dv.Test1.pipe ; head -c 1048576 < ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Dv.Test1.pipe >> ../files/ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Dv.Test1.sim & ./ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Dv.Test1 --alarm=480 -emit_protected > ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Dv.Test1.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Dv.Test1_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test1/Test1.csv","../files/ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Dv.Test1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches