Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test26.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) 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/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 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) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTable2Dv.Test26,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_ModelicaTest.Tables.CombiTable2Dv.Test26") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test26,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_ModelicaTest.Tables.CombiTable2Dv.Test26") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.00114/0.00114, allocations: 115.7 kB / 17.78 MB, free: 5.129 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001303/0.001303, allocations: 201.2 kB / 18.73 MB, free: 4.184 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.464/1.464, allocations: 227.4 MB / 246.9 MB, free: 10.48 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2517/0.2517, allocations: 46.1 MB / 344.3 MB, free: 11.52 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00201/0.00201, allocations: 75.88 kB / 481.3 MB, free: 4.074 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4945/0.4966, allocations: 62.44 MB / 0.531 GB, free: 13.61 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test26): time 0.0036/0.5002, allocations: 1.68 MB / 0.5327 GB, free: 12.3 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001182/0.5014, allocations: 0.5756 MB / 0.5332 GB, free: 11.86 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.692e-05/0.5015, allocations: 1.375 kB / 0.5332 GB, free: 11.86 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000333/0.5019, allocations: 59.17 kB / 0.5333 GB, free: 11.82 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004459/0.5024, allocations: 97.97 kB / 0.5334 GB, free: 11.76 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005897/0.503, allocations: 180.4 kB / 0.5336 GB, free: 11.64 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002094/0.5032, allocations: 92.86 kB / 0.5336 GB, free: 11.59 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001372/0.5033, allocations: 23.22 kB / 0.5337 GB, free: 11.57 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.198e-05/0.5034, allocations: 29.61 kB / 0.5337 GB, free: 11.56 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001198/0.5035, allocations: 51.02 kB / 0.5337 GB, free: 11.53 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.969e-05/0.5035, allocations: 8.062 kB / 0.5337 GB, free: 11.52 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001402/0.5037, allocations: 48.98 kB / 0.5338 GB, free: 11.51 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 7.937e-05/0.5038, allocations: 29.53 kB / 0.5338 GB, free: 11.49 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.609e-05/0.5038, allocations: 34.61 kB / 0.5339 GB, free: 11.46 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002318/0.5041, allocations: 114.7 kB / 0.534 GB, free: 11.39 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.406e-06/0.5041, allocations: 2.094 kB / 0.534 GB, free: 11.39 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.222e-06/0.5041, allocations: 0 / 0.534 GB, free: 11.39 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.831e-06/0.5041, allocations: 0 / 0.534 GB, free: 11.39 MB / 398.1 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.0006303/0.5047, allocations: 421.5 kB / 0.5344 GB, free: 10.96 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.953e-05/0.5048, allocations: 10.16 kB / 0.5344 GB, free: 10.96 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.483e-05/0.5048, allocations: 21.53 kB / 0.5344 GB, free: 10.95 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002114/0.5051, allocations: 204.6 kB / 0.5346 GB, free: 10.72 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.213e-05/0.5051, allocations: 5.625 kB / 0.5346 GB, free: 10.71 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.18e-05/0.5051, allocations: 2.656 kB / 0.5346 GB, free: 10.71 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001952/0.5053, allocations: 73.94 kB / 0.5347 GB, free: 10.66 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.35e-05/0.5053, allocations: 0 / 0.5347 GB, free: 10.66 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.319e-05/0.5054, allocations: 5.312 kB / 0.5347 GB, free: 10.65 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.065e-06/0.5054, allocations: 3.984 kB / 0.5347 GB, free: 10.65 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001444/0.5055, allocations: 46.3 kB / 0.5347 GB, free: 10.63 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005058/0.506, allocations: 323.8 kB / 0.535 GB, free: 10.3 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002536/0.5063, allocations: 59.77 kB / 0.5351 GB, free: 10.26 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.743e-05/0.5064, allocations: 26.38 kB / 0.5351 GB, free: 10.24 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.514e-05/0.5064, allocations: 9.094 kB / 0.5351 GB, free: 10.23 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.918e-05/0.5065, allocations: 35.81 kB / 0.5352 GB, free: 10.19 MB / 398.1 MB Notification: Performance of pre-optimization done (n=5): time 1.052e-06/0.5065, allocations: 0 / 0.5352 GB, free: 10.19 MB / 398.1 MB Notification: Performance of matching and sorting (n=11): time 0.001808/0.5083, allocations: 421.4 kB / 0.5356 GB, free: 9.984 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.553e-05/0.5084, allocations: 60.72 kB / 0.5356 GB, free: 9.914 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002241/0.5086, allocations: 183.4 kB / 0.5358 GB, free: 9.777 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.148e-05/0.5086, allocations: 29.7 kB / 0.5358 GB, free: 9.742 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.365e-05/0.5087, allocations: 101.9 kB / 0.5359 GB, free: 9.645 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.78e-05/0.5087, allocations: 40.33 kB / 0.536 GB, free: 9.609 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.778e-05/0.5088, allocations: 29.73 kB / 0.536 GB, free: 9.582 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001306/0.509, allocations: 323 kB / 0.5363 GB, free: 9.262 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001515/0.5091, allocations: 55.73 kB / 0.5363 GB, free: 9.234 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001348/0.5093, allocations: 58.17 kB / 0.5364 GB, free: 9.207 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002913/0.5096, allocations: 128.2 kB / 0.5365 GB, free: 9.141 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.152e-06/0.5096, allocations: 3.938 kB / 0.5365 GB, free: 9.137 MB / 398.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003781/0.51, allocations: 165.1 kB / 0.5367 GB, free: 9.043 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.777e-05/0.51, allocations: 5.406 kB / 0.5367 GB, free: 9.043 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.791e-06/0.51, allocations: 0 / 0.5367 GB, free: 9.043 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.629e-05/0.51, allocations: 1.125 kB / 0.5367 GB, free: 9.043 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001207/0.5101, allocations: 36.09 kB / 0.5367 GB, free: 9.027 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.241e-06/0.5101, allocations: 1.094 kB / 0.5367 GB, free: 9.027 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.015e-05/0.5102, allocations: 13.52 kB / 0.5367 GB, free: 9.02 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.197e-05/0.5102, allocations: 3.281 kB / 0.5367 GB, free: 9.02 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 (11): * Single equations (assignments): 11 * 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.0001202/0.5104, allocations: 132.9 kB / 0.5369 GB, free: 8.891 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.147e-05/0.5104, allocations: 12.75 kB / 0.5369 GB, free: 8.883 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004424/0.5109, allocations: 198.4 kB / 0.5371 GB, free: 8.762 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.582e-06/0.5109, allocations: 5.219 kB / 0.5371 GB, free: 8.758 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.791e-06/0.5109, allocations: 1.188 kB / 0.5371 GB, free: 8.758 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.709e-06/0.5109, allocations: 0 / 0.5371 GB, free: 8.758 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007789/0.5117, allocations: 0.5012 MB / 0.5376 GB, free: 8.305 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.454e-06/0.5117, allocations: 0 / 0.5376 GB, free: 8.305 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001063/0.5118, allocations: 25.11 kB / 0.5376 GB, free: 8.301 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.127e-06/0.5118, allocations: 1.281 kB / 0.5376 GB, free: 8.301 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.267e-05/0.5118, allocations: 5.875 kB / 0.5376 GB, free: 8.297 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.256e-06/0.5119, allocations: 1.125 kB / 0.5376 GB, free: 8.297 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.288e-06/0.5119, allocations: 5.203 kB / 0.5376 GB, free: 8.293 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004445/0.5123, allocations: 277 kB / 0.5379 GB, free: 8.074 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.359e-05/0.5124, allocations: 88.55 kB / 0.538 GB, free: 7.973 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.463e-05/0.5124, allocations: 5.156 kB / 0.538 GB, free: 7.969 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.572e-05/0.5125, allocations: 10.89 kB / 0.538 GB, free: 7.965 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.405e-05/0.5126, allocations: 4.719 kB / 0.538 GB, free: 7.965 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.429e-05/0.5126, allocations: 7.359 kB / 0.538 GB, free: 7.961 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001427/0.5127, allocations: 148.4 kB / 0.5381 GB, free: 7.855 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.5128, allocations: 0 / 0.5381 GB, free: 7.855 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002869/0.513, allocations: 26.89 kB / 0.5381 GB, free: 7.848 MB / 398.1 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 (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.001144/0.5142, allocations: 466.3 kB / 0.5386 GB, free: 7.602 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0003981/0.5146, allocations: 129.1 kB / 0.5387 GB, free: 7.547 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.295e-06/0.5146, allocations: 0 / 0.5387 GB, free: 7.547 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001662/0.5148, allocations: 70.7 kB / 0.5388 GB, free: 7.516 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003442/0.5151, allocations: 24.67 kB / 0.5388 GB, free: 7.5 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007674/0.5159, allocations: 306.7 kB / 0.5391 GB, free: 7.273 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003583/0.5163, allocations: 0.7119 MB / 0.5398 GB, free: 6.562 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0001109/0.5164, allocations: 42.22 kB / 0.5398 GB, free: 6.539 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.225e-05/0.5165, allocations: 19.62 kB / 0.5399 GB, free: 6.527 MB / 398.1 MB Notification: Performance of SimCode: time 2.41e-07/0.5165, allocations: 0 / 0.5399 GB, free: 6.527 MB / 398.1 MB Notification: Performance of Templates: time 0.00519/0.5217, allocations: 1.636 MB / 0.5415 GB, free: 5.695 MB / 398.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test26.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test26.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test26.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test26.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test26.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test26 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test26.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test26_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test26/Test26.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test26.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches