Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test6.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTable2Dv.Test6,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test6") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test6,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test6") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001414/0.001414, allocations: 110 kB / 18.45 MB, free: 4.602 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00158/0.00158, allocations: 186.3 kB / 19.38 MB, free: 3.68 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.345/1.345, allocations: 222.9 MB / 243.1 MB, free: 15.07 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2158/0.2158, allocations: 44.18 MB / 337.4 MB, free: 2.688 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00128/0.00128, allocations: 63.91 kB / 471.2 MB, free: 13.16 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3899/0.3912, allocations: 60.82 MB / 0.5196 GB, free: 3.609 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test6): time 0.003074/0.3943, allocations: 1.632 MB / 0.5212 GB, free: 2.48 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.000796/0.3952, allocations: 448.5 kB / 0.5216 GB, free: 2.191 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.6e-05/0.3952, allocations: 1.125 kB / 0.5216 GB, free: 2.191 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007471/0.396, allocations: 458.5 kB / 0.522 GB, free: 2.16 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000465/0.3965, allocations: 249.4 kB / 0.5223 GB, free: 2.137 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004958/0.397, allocations: 179.2 kB / 0.5224 GB, free: 2.047 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003259/0.3973, allocations: 173.5 kB / 0.5226 GB, free: 2.012 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001242/0.3975, allocations: 15.78 kB / 0.5226 GB, free: 2.008 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001579/0.3976, allocations: 109 kB / 0.5227 GB, free: 1.996 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002966/0.3979, allocations: 212.2 kB / 0.5229 GB, free: 1.973 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.513e-05/0.398, allocations: 3.375 kB / 0.5229 GB, free: 1.973 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001097/0.3981, allocations: 35 kB / 0.523 GB, free: 1.961 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000117/0.3982, allocations: 90.81 kB / 0.5231 GB, free: 1.926 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 7.069e-05/0.3983, allocations: 100.2 kB / 0.5232 GB, free: 1.844 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003244/0.3986, allocations: 255.8 kB / 0.5234 GB, free: 1.734 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.42e-06/0.3986, allocations: 0.7969 kB / 0.5234 GB, free: 1.734 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.024e-06/0.3986, allocations: 1.656 kB / 0.5234 GB, free: 1.734 MB / 382.1 MB Notification: Performance of Transformations before backend: time 7.294e-06/0.3986, allocations: 4 kB / 0.5234 GB, free: 1.73 MB / 382.1 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.0006577/0.3993, allocations: 0.6395 MB / 0.524 GB, free: 1.172 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.639e-05/0.3993, allocations: 10.47 kB / 0.524 GB, free: 1.172 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.332e-05/0.3994, allocations: 43.48 kB / 0.5241 GB, free: 1.148 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002311/0.3996, allocations: 298.2 kB / 0.5244 GB, free: 0.8633 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.125e-06/0.3997, allocations: 1.906 kB / 0.5244 GB, free: 0.8633 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.717e-05/0.3997, allocations: 6.312 kB / 0.5244 GB, free: 0.8594 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001708/0.3999, allocations: 66.91 kB / 0.5244 GB, free: 0.8125 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.346e-05/0.3999, allocations: 1.406 kB / 0.5244 GB, free: 0.8125 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.168e-05/0.3999, allocations: 4 kB / 0.5244 GB, free: 0.8086 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.969e-06/0.3999, allocations: 1.75 kB / 0.5244 GB, free: 0.8086 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001505/0.4001, allocations: 38.62 kB / 0.5245 GB, free: 0.8008 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004812/0.4006, allocations: 401.9 kB / 0.5249 GB, free: 492 kB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001234/0.4007, allocations: 46.55 kB / 0.5249 GB, free: 460 kB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.508e-05/0.4008, allocations: 30.06 kB / 0.5249 GB, free: 444 kB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.897e-05/0.4008, allocations: 3.938 kB / 0.5249 GB, free: 440 kB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.561e-05/0.4008, allocations: 32.64 kB / 0.525 GB, free: 400 kB / 382.1 MB Notification: Performance of pre-optimization done (n=4): time 1.272e-06/0.4008, allocations: 0 / 0.525 GB, free: 400 kB / 382.1 MB Notification: Performance of matching and sorting (n=7): time 0.0008298/0.4017, allocations: 310.4 kB / 0.5253 GB, free: 252 kB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.229e-05/0.4017, allocations: 52.78 kB / 0.5253 GB, free: 188 kB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009401/0.4027, allocations: 0.8537 MB / 0.5262 GB, free: 15.85 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.858e-05/0.4027, allocations: 29.7 kB / 0.5262 GB, free: 15.81 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001632/0.4029, allocations: 211.2 kB / 0.5264 GB, free: 15.63 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.014e-05/0.4029, allocations: 26.59 kB / 0.5264 GB, free: 15.61 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.473e-05/0.4029, allocations: 23.73 kB / 0.5264 GB, free: 15.59 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001525/0.4031, allocations: 359.1 kB / 0.5268 GB, free: 15.24 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001211/0.4032, allocations: 41.84 kB / 0.5268 GB, free: 15.22 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001126/0.4033, allocations: 41.95 kB / 0.5269 GB, free: 15.2 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002352/0.4036, allocations: 90.17 kB / 0.5269 GB, free: 15.16 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.062e-06/0.4036, allocations: 3.938 kB / 0.5269 GB, free: 15.15 MB / 398.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003275/0.4039, allocations: 149.8 kB / 0.5271 GB, free: 15.07 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.805e-05/0.404, allocations: 5.5 kB / 0.5271 GB, free: 15.07 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.206e-06/0.404, allocations: 3.984 kB / 0.5271 GB, free: 15.06 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.898e-05/0.404, allocations: 0 / 0.5271 GB, free: 15.06 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001242/0.4041, allocations: 27.05 kB / 0.5271 GB, free: 15.05 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.212e-06/0.4041, allocations: 1.375 kB / 0.5271 GB, free: 15.05 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.737e-05/0.4042, allocations: 13.42 kB / 0.5271 GB, free: 15.04 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.185e-06/0.4042, allocations: 1.375 kB / 0.5271 GB, free: 15.04 MB / 398.1 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000193/0.4044, allocations: 214.6 kB / 0.5273 GB, free: 14.89 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.992e-05/0.4045, allocations: 42.69 kB / 0.5274 GB, free: 14.87 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000385/0.4049, allocations: 186.6 kB / 0.5276 GB, free: 14.75 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.697e-06/0.4049, allocations: 0.8438 kB / 0.5276 GB, free: 14.75 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.258e-06/0.4049, allocations: 0 / 0.5276 GB, free: 14.75 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.15e-06/0.4049, allocations: 5.312 kB / 0.5276 GB, free: 14.75 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006847/0.4056, allocations: 0.4957 MB / 0.528 GB, free: 14.33 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.537e-06/0.4056, allocations: 4 kB / 0.5281 GB, free: 14.32 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.413e-05/0.4057, allocations: 22.42 kB / 0.5281 GB, free: 14.32 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.206e-06/0.4057, allocations: 1.188 kB / 0.5281 GB, free: 14.32 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.195e-05/0.4057, allocations: 7.938 kB / 0.5281 GB, free: 14.31 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.413e-06/0.4058, allocations: 1.062 kB / 0.5281 GB, free: 14.31 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.934e-06/0.4058, allocations: 0 / 0.5281 GB, free: 14.31 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003632/0.4061, allocations: 266 kB / 0.5283 GB, free: 14.1 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.613e-05/0.4062, allocations: 105.1 kB / 0.5284 GB, free: 13.99 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.651e-05/0.4063, allocations: 9.203 kB / 0.5284 GB, free: 13.98 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.741e-05/0.4064, allocations: 5.656 kB / 0.5285 GB, free: 13.98 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.086e-05/0.4064, allocations: 8.203 kB / 0.5285 GB, free: 13.98 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.374e-06/0.4064, allocations: 5.344 kB / 0.5285 GB, free: 13.97 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0006365/0.4071, allocations: 0.6451 MB / 0.5291 GB, free: 13.66 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.4071, allocations: 0 / 0.5291 GB, free: 13.66 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002706/0.4073, allocations: 28.98 kB / 0.5291 GB, free: 13.65 MB / 398.1 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0009665/0.4083, allocations: 393.4 kB / 0.5295 GB, free: 13.46 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.00033/0.4087, allocations: 92.45 kB / 0.5296 GB, free: 13.43 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.925e-06/0.4087, allocations: 0 / 0.5296 GB, free: 13.43 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001409/0.4088, allocations: 56.77 kB / 0.5296 GB, free: 13.4 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004468/0.4093, allocations: 26.39 kB / 0.5297 GB, free: 13.38 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001269/0.4106, allocations: 0.8375 MB / 0.5305 GB, free: 12.92 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004267/0.411, allocations: 0.8321 MB / 0.5313 GB, free: 12.14 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.801e-05/0.4111, allocations: 21.19 kB / 0.5313 GB, free: 12.13 MB / 398.1 MB Notification: Performance of SimCode: time 6.21e-07/0.4111, allocations: 0 / 0.5313 GB, free: 12.13 MB / 398.1 MB Notification: Performance of Templates: time 0.008319/0.4194, allocations: 3.872 MB / 0.5351 GB, free: 10.08 MB / 398.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test6.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test6.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test6.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test6.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test6.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test6 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test6.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test6_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test6/Test6.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test6.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches