Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test21.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.Test21,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.Test21") translateModel(ModelicaTest.Tables.CombiTimeTable.Test21,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.Test21") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001506/0.001506, allocations: 172.7 kB / 8.742 MB, free: 348 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.361/1.361, allocations: 221.5 MB / 230.7 MB, free: 7.504 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.000939/0.0009391, allocations: 93.98 kB / 281.6 MB, free: 5.262 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.1816/0.1816, allocations: 44.14 MB / 376.5 MB, free: 3.035 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 2.846e-05/2.866e-05, allocations: 8 kB / 444.6 MB, free: 15.21 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1181/0.1181, allocations: 61.9 MB / 0.4947 GB, free: 1.246 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3766/0.4948, allocations: 88.57 MB / 0.5812 GB, free: 7.965 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002122/0.4951, allocations: 71.95 kB / 0.5812 GB, free: 7.895 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01503/0.5101, allocations: 5.531 MB / 0.5866 GB, free: 2.371 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.433e-06/0.5102, allocations: 3.938 kB / 0.5866 GB, free: 2.367 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.24e-05/0.5102, allocations: 0 / 0.5866 GB, free: 2.367 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.0004508/0.5106, allocations: 390.2 kB / 0.587 GB, free: 1.941 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.623e-05/0.5107, allocations: 11.98 kB / 0.587 GB, free: 1.93 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.288e-05/0.5107, allocations: 11.89 kB / 0.587 GB, free: 1.918 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002776/0.511, allocations: 218.7 kB / 0.5872 GB, free: 1.664 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.757e-05/0.511, allocations: 7.953 kB / 0.5873 GB, free: 1.656 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.96e-05/0.5111, allocations: 7.984 kB / 0.5873 GB, free: 1.648 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 6.863e-05/0.5112, allocations: 16 kB / 0.5873 GB, free: 1.633 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.937e-05/0.5112, allocations: 53.67 kB / 0.5873 GB, free: 1.574 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.949e-06/0.5113, allocations: 0 / 0.5873 GB, free: 1.574 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.095e-05/0.5113, allocations: 0 / 0.5873 GB, free: 1.574 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.358e-06/0.5113, allocations: 0 / 0.5873 GB, free: 1.574 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003344/0.5116, allocations: 265.5 kB / 0.5876 GB, free: 1.277 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001004/0.5117, allocations: 58.62 kB / 0.5876 GB, free: 1.211 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.183e-05/0.5118, allocations: 16.98 kB / 0.5877 GB, free: 1.191 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.494e-05/0.5118, allocations: 4 kB / 0.5877 GB, free: 1.188 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001087/0.5119, allocations: 59.39 kB / 0.5877 GB, free: 1.117 MB / 394.7 MB Notification: Performance of pre-optimization done (n=6): time 1.193e-06/0.5119, allocations: 0 / 0.5877 GB, free: 1.117 MB / 394.7 MB Notification: Performance of matching and sorting (n=8): time 0.0003998/0.5123, allocations: 145.2 kB / 0.5879 GB, free: 0.9688 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.044e-05/0.5124, allocations: 59.41 kB / 0.5879 GB, free: 0.8984 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001597/0.5125, allocations: 165.4 kB / 0.5881 GB, free: 0.7305 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.517e-05/0.5126, allocations: 25.7 kB / 0.5881 GB, free: 0.6992 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.297e-05/0.5126, allocations: 100.1 kB / 0.5882 GB, free: 0.5977 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.663e-05/0.5127, allocations: 23.7 kB / 0.5882 GB, free: 0.5742 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.308e-06/0.5127, allocations: 0.75 kB / 0.5882 GB, free: 0.5742 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001096/0.5128, allocations: 322.8 kB / 0.5885 GB, free: 256 kB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.214e-05/0.5128, allocations: 16 kB / 0.5885 GB, free: 240 kB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.294e-05/0.5129, allocations: 37.66 kB / 0.5886 GB, free: 196 kB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.825e-05/0.5129, allocations: 35.86 kB / 0.5886 GB, free: 160 kB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.735e-06/0.5129, allocations: 0 / 0.5886 GB, free: 160 kB / 394.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001353/0.5131, allocations: 89.44 kB / 0.5887 GB, free: 64 kB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.706e-05/0.5131, allocations: 11.98 kB / 0.5887 GB, free: 52 kB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.258e-06/0.5131, allocations: 0 / 0.5887 GB, free: 52 kB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.322e-05/0.5131, allocations: 0 / 0.5887 GB, free: 52 kB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.243e-05/0.5132, allocations: 15.94 kB / 0.5887 GB, free: 36 kB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.007e-06/0.5132, allocations: 4 kB / 0.5887 GB, free: 32 kB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.776e-05/0.5133, allocations: 12.14 kB / 0.5887 GB, free: 20 kB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.04e-05/0.5133, allocations: 8 kB / 0.5887 GB, free: 12 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.0001062/0.5134, allocations: 119.2 kB / 0.5888 GB, free: 15.89 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.984e-05/0.5135, allocations: 7.906 kB / 0.5889 GB, free: 15.88 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001964/0.5137, allocations: 106.2 kB / 0.589 GB, free: 15.77 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.935e-06/0.5137, allocations: 0 / 0.589 GB, free: 15.77 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.747e-06/0.5137, allocations: 0 / 0.589 GB, free: 15.77 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.499e-06/0.5137, allocations: 4 kB / 0.589 GB, free: 15.77 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003879/0.5141, allocations: 383.8 kB / 0.5893 GB, free: 15.35 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.492e-06/0.5141, allocations: 0 / 0.5893 GB, free: 15.35 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.356e-05/0.5141, allocations: 15.98 kB / 0.5893 GB, free: 15.33 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.796e-06/0.5142, allocations: 0 / 0.5893 GB, free: 15.33 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.248e-06/0.5142, allocations: 0 / 0.5893 GB, free: 15.33 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.363e-06/0.5142, allocations: 0 / 0.5893 GB, free: 15.33 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.638e-06/0.5142, allocations: 4.234 kB / 0.5893 GB, free: 15.33 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00018/0.5144, allocations: 214.1 kB / 0.5896 GB, free: 15.09 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.197e-05/0.5144, allocations: 93 kB / 0.5896 GB, free: 14.98 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.504e-05/0.5145, allocations: 4 kB / 0.5896 GB, free: 14.98 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.398e-05/0.5145, allocations: 0 / 0.5896 GB, free: 14.98 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.596e-05/0.5146, allocations: 7.984 kB / 0.5897 GB, free: 14.97 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.418e-06/0.5146, allocations: 4 kB / 0.5897 GB, free: 14.97 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0001004/0.5147, allocations: 141.4 kB / 0.5898 GB, free: 14.83 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.7e-07/0.5147, allocations: 0 / 0.5898 GB, free: 14.83 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0002604/0.515, allocations: 28 kB / 0.5898 GB, free: 14.8 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.0008098/0.5158, allocations: 393.3 kB / 0.5902 GB, free: 14.5 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001204/0.5159, allocations: 63.86 kB / 0.5903 GB, free: 14.43 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.593e-06/0.5159, allocations: 0 / 0.5903 GB, free: 14.43 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 4.616e-05/0.516, allocations: 20 kB / 0.5903 GB, free: 14.41 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002595/0.5163, allocations: 31.83 kB / 0.5903 GB, free: 14.38 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003212/0.5166, allocations: 165.5 kB / 0.5905 GB, free: 14.19 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002441/0.5168, allocations: 0.7196 MB / 0.5912 GB, free: 13.44 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 4.892e-05/0.5169, allocations: 16.36 kB / 0.5912 GB, free: 13.43 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.645e-05/0.5169, allocations: 19.42 kB / 0.5912 GB, free: 13.41 MB / 410.7 MB Notification: Performance of SimCode: time 2.6e-07/0.517, allocations: 0 / 0.5912 GB, free: 13.41 MB / 410.7 MB Notification: Performance of Templates: time 0.003887/0.5208, allocations: 1.616 MB / 0.5928 GB, free: 11.8 MB / 410.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test21.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test21.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test21.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test21.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test21.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test21 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test21.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test21_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test21/Test21.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test21.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches