Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test26.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.Test26,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.Test26") translateModel(ModelicaTest.Tables.CombiTimeTable.Test26,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.Test26") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009365/0.0009364, allocations: 180.7 kB / 14.15 MB, free: 1.176 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.27/1.27, allocations: 221.3 MB / 236 MB, free: 2.961 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.0007868/0.0007867, allocations: 87.81 kB / 287 MB, free: 268 kB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.1754/0.1754, allocations: 44.14 MB / 382 MB, free: 14.71 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 3.932e-05/3.98e-05, allocations: 4.219 kB / 451.8 MB, free: 9.445 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1296/0.1297, allocations: 61.91 MB / 0.5017 GB, free: 11.47 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3613/0.491, allocations: 89.22 MB / 0.5888 GB, free: 120 kB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002039/0.4913, allocations: 79.89 kB / 0.5889 GB, free: 40 kB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01465/0.5059, allocations: 5.599 MB / 0.5944 GB, free: 10.45 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.523e-06/0.506, allocations: 0 / 0.5944 GB, free: 10.45 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.159e-05/0.506, allocations: 0 / 0.5944 GB, free: 10.45 MB / 410.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.0004328/0.5064, allocations: 414.2 kB / 0.5948 GB, free: 10 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.262e-05/0.5065, allocations: 12.03 kB / 0.5948 GB, free: 9.988 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.252e-05/0.5065, allocations: 7.906 kB / 0.5948 GB, free: 9.98 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002763/0.5068, allocations: 215.5 kB / 0.595 GB, free: 9.727 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.962e-05/0.5069, allocations: 7.953 kB / 0.595 GB, free: 9.719 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.45e-05/0.5069, allocations: 4 kB / 0.595 GB, free: 9.715 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001121/0.507, allocations: 53.61 kB / 0.5951 GB, free: 9.656 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.269e-05/0.507, allocations: 4 kB / 0.5951 GB, free: 9.652 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.357e-05/0.507, allocations: 8 kB / 0.5951 GB, free: 9.645 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.926e-06/0.5071, allocations: 0 / 0.5951 GB, free: 9.645 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.698e-05/0.5071, allocations: 19.94 kB / 0.5951 GB, free: 9.625 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003759/0.5075, allocations: 292.9 kB / 0.5954 GB, free: 9.289 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001194/0.5076, allocations: 54.62 kB / 0.5954 GB, free: 9.227 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.378e-05/0.5077, allocations: 24.98 kB / 0.5955 GB, free: 9.199 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.719e-05/0.5077, allocations: 0 / 0.5955 GB, free: 9.199 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001575/0.5079, allocations: 63.39 kB / 0.5955 GB, free: 9.125 MB / 410.7 MB Notification: Performance of pre-optimization done (n=6): time 1.162e-06/0.5079, allocations: 0 / 0.5955 GB, free: 9.125 MB / 410.7 MB Notification: Performance of matching and sorting (n=8): time 0.0004562/0.5083, allocations: 157.2 kB / 0.5957 GB, free: 8.965 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.412e-05/0.5084, allocations: 59.41 kB / 0.5957 GB, free: 8.895 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001906/0.5086, allocations: 187.6 kB / 0.5959 GB, free: 8.699 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.617e-05/0.5086, allocations: 29.7 kB / 0.5959 GB, free: 8.664 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.967e-05/0.5087, allocations: 108.1 kB / 0.596 GB, free: 8.555 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.441e-05/0.5087, allocations: 15.66 kB / 0.596 GB, free: 8.539 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.156e-06/0.5087, allocations: 8 kB / 0.5961 GB, free: 8.531 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001357/0.5089, allocations: 326.8 kB / 0.5964 GB, free: 8.203 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.967e-05/0.5089, allocations: 19.98 kB / 0.5964 GB, free: 8.184 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.807e-05/0.509, allocations: 41.59 kB / 0.5964 GB, free: 8.137 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.986e-05/0.509, allocations: 27.98 kB / 0.5964 GB, free: 8.109 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.01e-07/0.5091, allocations: 0 / 0.5964 GB, free: 8.109 MB / 410.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001455/0.5092, allocations: 93.59 kB / 0.5965 GB, free: 8.012 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.477e-05/0.5092, allocations: 4 kB / 0.5965 GB, free: 8.008 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.38e-06/0.5092, allocations: 0 / 0.5965 GB, free: 8.008 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.304e-05/0.5093, allocations: 0 / 0.5965 GB, free: 8.008 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.763e-05/0.5094, allocations: 23.92 kB / 0.5966 GB, free: 7.984 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.364e-06/0.5094, allocations: 0 / 0.5966 GB, free: 7.984 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.516e-05/0.5094, allocations: 4.188 kB / 0.5966 GB, free: 7.98 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.337e-06/0.5094, allocations: 4 kB / 0.5966 GB, free: 7.977 MB / 410.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 8.38e-05/0.5095, allocations: 117 kB / 0.5967 GB, free: 7.855 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.05e-05/0.5096, allocations: 11.81 kB / 0.5967 GB, free: 7.844 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002187/0.5098, allocations: 119.1 kB / 0.5968 GB, free: 7.723 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.787e-06/0.5098, allocations: 4 kB / 0.5968 GB, free: 7.719 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.1e-06/0.5098, allocations: 0 / 0.5968 GB, free: 7.719 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.72e-06/0.5098, allocations: 3.984 kB / 0.5968 GB, free: 7.715 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004233/0.5103, allocations: 411.3 kB / 0.5972 GB, free: 7.254 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.035e-06/0.5103, allocations: 4 kB / 0.5972 GB, free: 7.25 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.834e-05/0.5103, allocations: 8 kB / 0.5972 GB, free: 7.242 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.024e-06/0.5103, allocations: 3.938 kB / 0.5972 GB, free: 7.238 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.149e-05/0.5103, allocations: 0 / 0.5972 GB, free: 7.238 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.146e-06/0.5103, allocations: 7.938 kB / 0.5972 GB, free: 7.23 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.41e-07/0.5103, allocations: 0 / 0.5972 GB, free: 7.23 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002165/0.5106, allocations: 229.8 kB / 0.5975 GB, free: 6.98 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.013e-05/0.5106, allocations: 89.02 kB / 0.5975 GB, free: 6.875 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.331e-05/0.5107, allocations: 4 kB / 0.5975 GB, free: 6.871 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.471e-05/0.5107, allocations: 7.984 kB / 0.5975 GB, free: 6.863 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.255e-05/0.5108, allocations: 11.94 kB / 0.5976 GB, free: 6.852 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.895e-06/0.5108, allocations: 4 kB / 0.5976 GB, free: 6.848 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0001323/0.511, allocations: 149.3 kB / 0.5977 GB, free: 6.703 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.61e-07/0.511, allocations: 0 / 0.5977 GB, free: 6.703 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0002451/0.5112, allocations: 39.92 kB / 0.5977 GB, free: 6.664 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.0009727/0.5122, allocations: 427.8 kB / 0.5982 GB, free: 6.359 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001396/0.5123, allocations: 55.92 kB / 0.5982 GB, free: 6.305 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.954e-06/0.5124, allocations: 4.062 kB / 0.5982 GB, free: 6.301 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 5.904e-05/0.5124, allocations: 35.92 kB / 0.5982 GB, free: 6.266 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002334/0.5127, allocations: 23.92 kB / 0.5983 GB, free: 6.242 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003588/0.513, allocations: 175.4 kB / 0.5984 GB, free: 6.051 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002393/0.5133, allocations: 0.7083 MB / 0.5991 GB, free: 5.316 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 5.394e-05/0.5133, allocations: 28.41 kB / 0.5992 GB, free: 5.289 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.706e-05/0.5134, allocations: 15.44 kB / 0.5992 GB, free: 5.273 MB / 410.7 MB Notification: Performance of SimCode: time 2.3e-07/0.5134, allocations: 0 / 0.5992 GB, free: 5.273 MB / 410.7 MB Notification: Performance of Templates: time 0.003736/0.5171, allocations: 1.712 MB / 0.6008 GB, free: 3.574 MB / 410.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test26.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test26.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test26.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test26.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test26.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test26 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test26.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test26_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test26/Test26.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test26.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches