Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test18.conf.json 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/ModelicaServices 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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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) Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test18,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test18") translateModel(ModelicaTest.Tables.CombiTimeTable.Test18,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test18") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001285/0.001284, allocations: 169.2 kB / 8.742 MB, free: 344 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.417/1.417, allocations: 221.5 MB / 230.7 MB, free: 7.531 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008511/0.0008511, allocations: 100.2 kB / 281.6 MB, free: 5.27 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.1999/0.1999, allocations: 44.16 MB / 376.5 MB, free: 3.027 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 2.058e-05/2.061e-05, allocations: 8 kB / 444.6 MB, free: 15.21 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1194/0.1194, allocations: 61.91 MB / 0.4947 GB, free: 1.238 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3688/0.4883, allocations: 88.57 MB / 0.5812 GB, free: 7.957 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000214/0.4885, allocations: 67.97 kB / 0.5812 GB, free: 7.891 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01512/0.5037, allocations: 5.484 MB / 0.5866 GB, free: 2.418 MB / 394.7 MB Notification: Performance of FrontEnd: time 3.116e-06/0.5037, allocations: 0 / 0.5866 GB, free: 2.418 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.341e-05/0.5037, allocations: 7.938 kB / 0.5866 GB, free: 2.41 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.0004859/0.5042, allocations: 390.2 kB / 0.587 GB, free: 1.984 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.004e-05/0.5043, allocations: 15.92 kB / 0.587 GB, free: 1.969 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.266e-05/0.5043, allocations: 7.906 kB / 0.587 GB, free: 1.961 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002876/0.5046, allocations: 218.8 kB / 0.5872 GB, free: 1.707 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.854e-05/0.5047, allocations: 3.953 kB / 0.5872 GB, free: 1.703 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.3e-05/0.5047, allocations: 4 kB / 0.5872 GB, free: 1.699 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.552e-05/0.5048, allocations: 16 kB / 0.5872 GB, free: 1.684 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.62e-05/0.5049, allocations: 49.67 kB / 0.5873 GB, free: 1.629 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.19e-05/0.5049, allocations: 0 / 0.5873 GB, free: 1.629 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.089e-05/0.5049, allocations: 4 kB / 0.5873 GB, free: 1.625 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.687e-06/0.5049, allocations: 0 / 0.5873 GB, free: 1.625 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003606/0.5053, allocations: 273.4 kB / 0.5875 GB, free: 1.32 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.757e-05/0.5054, allocations: 50.62 kB / 0.5876 GB, free: 1.262 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.395e-05/0.5054, allocations: 16.98 kB / 0.5876 GB, free: 1.242 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.502e-05/0.5055, allocations: 0 / 0.5876 GB, free: 1.242 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001268/0.5056, allocations: 63.39 kB / 0.5877 GB, free: 1.168 MB / 394.7 MB Notification: Performance of pre-optimization done (n=6): time 1.253e-06/0.5056, allocations: 4 kB / 0.5877 GB, free: 1.164 MB / 394.7 MB Notification: Performance of matching and sorting (n=8): time 0.0004159/0.506, allocations: 149.2 kB / 0.5878 GB, free: 1.012 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.442e-05/0.5061, allocations: 55.39 kB / 0.5879 GB, free: 0.9453 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000155/0.5062, allocations: 154.3 kB / 0.588 GB, free: 0.793 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 2.119e-05/0.5063, allocations: 29.69 kB / 0.588 GB, free: 0.7578 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.835e-05/0.5063, allocations: 96.14 kB / 0.5881 GB, free: 0.6602 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.13e-05/0.5064, allocations: 27.64 kB / 0.5882 GB, free: 0.6328 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.97e-06/0.5064, allocations: 0 / 0.5882 GB, free: 0.6328 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001246/0.5065, allocations: 326.8 kB / 0.5885 GB, free: 312 kB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.292e-05/0.5066, allocations: 16 kB / 0.5885 GB, free: 296 kB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.665e-05/0.5066, allocations: 30.47 kB / 0.5885 GB, free: 260 kB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.567e-05/0.5067, allocations: 31.88 kB / 0.5885 GB, free: 228 kB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.31e-07/0.5067, allocations: 0 / 0.5885 GB, free: 228 kB / 394.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001358/0.5068, allocations: 89.58 kB / 0.5886 GB, free: 132 kB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.482e-05/0.5068, allocations: 5.594 kB / 0.5886 GB, free: 128 kB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.26e-06/0.5069, allocations: 0 / 0.5886 GB, free: 128 kB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.361e-05/0.5069, allocations: 7.969 kB / 0.5886 GB, free: 120 kB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.553e-05/0.507, allocations: 19.98 kB / 0.5887 GB, free: 100 kB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.318e-06/0.507, allocations: 7.875 kB / 0.5887 GB, free: 92 kB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.409e-05/0.507, allocations: 4.188 kB / 0.5887 GB, free: 88 kB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.748e-06/0.5071, allocations: 4 kB / 0.5887 GB, free: 84 kB / 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 () * 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.0001064/0.5072, allocations: 118.3 kB / 0.5888 GB, free: 15.96 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.828e-05/0.5072, allocations: 7.906 kB / 0.5888 GB, free: 15.95 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001901/0.5074, allocations: 106.1 kB / 0.5889 GB, free: 15.84 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.354e-06/0.5074, allocations: 4 kB / 0.5889 GB, free: 15.84 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.811e-06/0.5074, allocations: 4 kB / 0.5889 GB, free: 15.84 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.04e-06/0.5074, allocations: 3.984 kB / 0.5889 GB, free: 15.83 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003927/0.5078, allocations: 371.8 kB / 0.5893 GB, free: 15.42 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.523e-06/0.5078, allocations: 0 / 0.5893 GB, free: 15.42 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.059e-05/0.5079, allocations: 8 kB / 0.5893 GB, free: 15.41 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.605e-06/0.5079, allocations: 0 / 0.5893 GB, free: 15.41 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.201e-05/0.5079, allocations: 7.984 kB / 0.5893 GB, free: 15.41 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.563e-06/0.5079, allocations: 4.031 kB / 0.5893 GB, free: 15.4 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.984e-06/0.5079, allocations: 0 / 0.5893 GB, free: 15.4 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001876/0.5081, allocations: 214.1 kB / 0.5895 GB, free: 15.17 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.038e-05/0.5082, allocations: 92.91 kB / 0.5896 GB, free: 15.06 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.776e-05/0.5082, allocations: 8 kB / 0.5896 GB, free: 15.05 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.244e-05/0.5083, allocations: 3.984 kB / 0.5896 GB, free: 15.05 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.312e-05/0.5084, allocations: 8 kB / 0.5896 GB, free: 15.04 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.043e-05/0.5084, allocations: 4 kB / 0.5896 GB, free: 15.04 MB / 410.7 MB Notification: Performance of sorting global known variables: time 9.152e-05/0.5085, allocations: 127.2 kB / 0.5897 GB, free: 14.91 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.41e-07/0.5085, allocations: 0 / 0.5897 GB, free: 14.91 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0002547/0.5087, allocations: 27.94 kB / 0.5897 GB, free: 14.88 MB / 410.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) * 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.0008878/0.5096, allocations: 392.9 kB / 0.5901 GB, free: 14.57 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001291/0.5098, allocations: 51.92 kB / 0.5902 GB, free: 14.52 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.334e-06/0.5098, allocations: 4 kB / 0.5902 GB, free: 14.52 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 4.795e-05/0.5098, allocations: 28.06 kB / 0.5902 GB, free: 14.49 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002587/0.5101, allocations: 29.64 kB / 0.5902 GB, free: 14.46 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003547/0.5105, allocations: 150.2 kB / 0.5904 GB, free: 14.29 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003086/0.5108, allocations: 0.7041 MB / 0.5911 GB, free: 13.55 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 5.519e-05/0.5108, allocations: 20.47 kB / 0.5911 GB, free: 13.54 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.035e-05/0.5109, allocations: 19.38 kB / 0.5911 GB, free: 13.52 MB / 410.7 MB Notification: Performance of SimCode: time 2.61e-07/0.5109, allocations: 0 / 0.5911 GB, free: 13.52 MB / 410.7 MB Notification: Performance of Templates: time 0.003907/0.5148, allocations: 1.621 MB / 0.5927 GB, free: 11.91 MB / 410.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test18.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test18.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test18.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test18.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test18.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test18 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test18.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test18_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test18/Test18.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test18.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches