Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test6.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test6,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test6") translateModel(ModelicaTest.Tables.CombiTimeTable.Test6,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test6") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001361/0.001361, allocations: 175.9 kB / 16.76 MB, free: 5.027 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.708/1.708, allocations: 205.4 MB / 222.9 MB, free: 8.949 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008483/0.0008484, allocations: 78.42 kB / 271.2 MB, free: 8.25 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3731/0.3731, allocations: 43.56 MB / 363.1 MB, free: 52.1 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003657/0.0003657, allocations: 16 kB / 432.6 MB, free: 5.211 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1335/0.1339, allocations: 58.86 MB / 491.5 MB, free: 10.27 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3529/0.4869, allocations: 87.75 MB / 0.5657 GB, free: 14.25 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002572/0.4872, allocations: 83.94 kB / 0.5657 GB, free: 14.17 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01586/0.5031, allocations: 5.726 MB / 0.5713 GB, free: 8.492 MB / 394.7 MB Notification: Performance of FrontEnd: time 3.015e-06/0.5031, allocations: 0 / 0.5713 GB, free: 8.492 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.638e-05/0.5032, allocations: 4 kB / 0.5713 GB, free: 8.488 MB / 394.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.000627/0.5038, allocations: 457.6 kB / 0.5718 GB, free: 7.992 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.037e-05/0.5038, allocations: 12.03 kB / 0.5718 GB, free: 7.98 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.661e-05/0.5039, allocations: 20.83 kB / 0.5718 GB, free: 7.961 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003088/0.5042, allocations: 232.8 kB / 0.572 GB, free: 7.691 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.525e-05/0.5042, allocations: 4.375 kB / 0.572 GB, free: 7.688 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.844e-05/0.5043, allocations: 3.281 kB / 0.572 GB, free: 7.688 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001431/0.5044, allocations: 62.23 kB / 0.5721 GB, free: 7.621 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.209e-05/0.5044, allocations: 192 / 0.5721 GB, free: 7.621 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.074e-05/0.5045, allocations: 7.875 kB / 0.5721 GB, free: 7.613 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.601e-06/0.5045, allocations: 3.984 kB / 0.5721 GB, free: 7.609 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.428e-05/0.5046, allocations: 23.92 kB / 0.5721 GB, free: 7.586 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004372/0.505, allocations: 308.9 kB / 0.5724 GB, free: 7.234 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001673/0.5052, allocations: 66.59 kB / 0.5725 GB, free: 7.16 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.232e-05/0.5052, allocations: 16.86 kB / 0.5725 GB, free: 7.141 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.221e-05/0.5053, allocations: 0 / 0.5725 GB, free: 7.141 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001566/0.5054, allocations: 79.31 kB / 0.5726 GB, free: 7.051 MB / 394.7 MB Notification: Performance of pre-optimization done (n=6): time 1.523e-06/0.5054, allocations: 0 / 0.5726 GB, free: 7.051 MB / 394.7 MB Notification: Performance of matching and sorting (n=8): time 0.0005501/0.506, allocations: 185 kB / 0.5728 GB, free: 6.863 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.298e-05/0.5061, allocations: 51.41 kB / 0.5728 GB, free: 6.801 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002846/0.5063, allocations: 268.8 kB / 0.5731 GB, free: 6.531 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.757e-05/0.5064, allocations: 29.7 kB / 0.5731 GB, free: 6.496 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.514e-05/0.5064, allocations: 120.1 kB / 0.5732 GB, free: 6.375 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.981e-05/0.5065, allocations: 23.69 kB / 0.5732 GB, free: 6.352 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.889e-06/0.5065, allocations: 4 kB / 0.5732 GB, free: 6.348 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001149/0.5066, allocations: 326.8 kB / 0.5735 GB, free: 6.02 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.066e-05/0.5067, allocations: 23.98 kB / 0.5736 GB, free: 5.996 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.24e-05/0.5068, allocations: 33.7 kB / 0.5736 GB, free: 5.957 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001255/0.5069, allocations: 69.64 kB / 0.5737 GB, free: 5.883 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.01e-07/0.5069, allocations: 0 / 0.5737 GB, free: 5.883 MB / 394.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001889/0.5071, allocations: 105.6 kB / 0.5738 GB, free: 5.773 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.451e-05/0.5071, allocations: 5.031 kB / 0.5738 GB, free: 5.77 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.759e-06/0.5071, allocations: 0 / 0.5738 GB, free: 5.77 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.403e-05/0.5071, allocations: 4 kB / 0.5738 GB, free: 5.766 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.564e-05/0.5072, allocations: 19.92 kB / 0.5738 GB, free: 5.746 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.919e-06/0.5072, allocations: 0 / 0.5738 GB, free: 5.746 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.027e-05/0.5073, allocations: 4 kB / 0.5738 GB, free: 5.742 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.558e-06/0.5073, allocations: 4 kB / 0.5738 GB, free: 5.738 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition1,$PRE.t_new.nextTimeEvent,t_new.nextTimeEvent,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEventScaled) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (10): * Single equations (assignments): 10 * 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.0001543/0.5075, allocations: 149.7 kB / 0.5739 GB, free: 5.582 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.633e-05/0.5075, allocations: 15.81 kB / 0.574 GB, free: 5.566 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002466/0.5078, allocations: 127.1 kB / 0.5741 GB, free: 5.438 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.348e-06/0.5078, allocations: 4 kB / 0.5741 GB, free: 5.434 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.717e-06/0.5078, allocations: 0 / 0.5741 GB, free: 5.434 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.176e-06/0.5078, allocations: 0 / 0.5741 GB, free: 5.434 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005129/0.5083, allocations: 447.1 kB / 0.5745 GB, free: 4.938 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.663e-06/0.5083, allocations: 3.938 kB / 0.5745 GB, free: 4.934 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.985e-05/0.5084, allocations: 11.98 kB / 0.5745 GB, free: 4.922 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.539e-06/0.5084, allocations: 384 / 0.5745 GB, free: 4.922 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.042e-05/0.5084, allocations: 7.938 kB / 0.5745 GB, free: 4.914 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.759e-06/0.5084, allocations: 4 kB / 0.5745 GB, free: 4.91 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.376e-06/0.5084, allocations: 3.938 kB / 0.5745 GB, free: 4.906 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002462/0.5087, allocations: 220.2 kB / 0.5747 GB, free: 4.672 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.907e-05/0.5088, allocations: 96.91 kB / 0.5748 GB, free: 4.559 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.803e-05/0.5088, allocations: 8 kB / 0.5748 GB, free: 4.551 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.515e-05/0.5089, allocations: 7.984 kB / 0.5749 GB, free: 4.543 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.591e-05/0.5089, allocations: 7.938 kB / 0.5749 GB, free: 4.535 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.665e-06/0.5089, allocations: 0 / 0.5749 GB, free: 4.535 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0001927/0.5091, allocations: 208.5 kB / 0.5751 GB, free: 4.332 MB / 394.7 MB Notification: Performance of sort global known variables: time 2.4e-07/0.5091, allocations: 4 kB / 0.5751 GB, free: 4.328 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0002709/0.5094, allocations: 39.98 kB / 0.5751 GB, free: 4.289 MB / 394.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: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.001044/0.5105, allocations: 478 kB / 0.5756 GB, free: 3.922 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0001921/0.5107, allocations: 67.91 kB / 0.5756 GB, free: 3.855 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.254e-06/0.5107, allocations: 0 / 0.5756 GB, free: 3.855 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 7.623e-05/0.5108, allocations: 35.92 kB / 0.5757 GB, free: 3.82 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003772/0.5111, allocations: 21.72 kB / 0.5757 GB, free: 3.801 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005959/0.5117, allocations: 337.3 kB / 0.576 GB, free: 3.449 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003015/0.5121, allocations: 0.7199 MB / 0.5767 GB, free: 2.703 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 6.749e-05/0.5121, allocations: 24.55 kB / 0.5767 GB, free: 2.68 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.181e-05/0.5122, allocations: 19.42 kB / 0.5767 GB, free: 2.66 MB / 394.7 MB Notification: Performance of SimCode: time 3.21e-07/0.5122, allocations: 0 / 0.5767 GB, free: 2.66 MB / 394.7 MB Notification: Performance of Templates: time 0.004594/0.5168, allocations: 1.86 MB / 0.5786 GB, free: 0.8086 MB / 394.7 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test6.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test6.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test6.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test6.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test6.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test6 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test6.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test6_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test6/Test6.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test6.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches