Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test17.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.Test17,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.Test17") translateModel(ModelicaTest.Tables.CombiTimeTable.Test17,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.Test17") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009283/0.0009282, allocations: 170.4 kB / 8.74 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.5/1.5, allocations: 221.5 MB / 230.7 MB, free: 7.578 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.0008602/0.0008601, allocations: 85.38 kB / 281.6 MB, free: 5.32 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.1897/0.1897, allocations: 44.14 MB / 376.5 MB, free: 3.035 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 2.176e-05/2.178e-05, allocations: 8.219 kB / 444.6 MB, free: 15.22 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1199/0.12, allocations: 61.92 MB / 0.4947 GB, free: 1.242 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3772/0.4972, allocations: 88.56 MB / 0.5812 GB, free: 7.969 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002034/0.4975, allocations: 71.97 kB / 0.5812 GB, free: 7.898 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0146/0.5121, allocations: 5.5 MB / 0.5866 GB, free: 2.41 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.022e-06/0.5121, allocations: 0 / 0.5866 GB, free: 2.41 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.061e-05/0.5121, allocations: 4.75 kB / 0.5866 GB, free: 2.406 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.0003959/0.5125, allocations: 386.2 kB / 0.587 GB, free: 1.984 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.907e-05/0.5126, allocations: 11.98 kB / 0.587 GB, free: 1.973 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.054e-05/0.5126, allocations: 15.83 kB / 0.587 GB, free: 1.957 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002612/0.5129, allocations: 210.9 kB / 0.5872 GB, free: 1.711 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.787e-05/0.5129, allocations: 3.953 kB / 0.5872 GB, free: 1.707 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.466e-05/0.513, allocations: 7.984 kB / 0.5872 GB, free: 1.699 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.538e-05/0.513, allocations: 16 kB / 0.5872 GB, free: 1.684 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.362e-05/0.5131, allocations: 53.61 kB / 0.5873 GB, free: 1.625 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.062e-05/0.5132, allocations: 3.938 kB / 0.5873 GB, free: 1.621 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.688e-06/0.5132, allocations: 0 / 0.5873 GB, free: 1.621 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.507e-06/0.5132, allocations: 0 / 0.5873 GB, free: 1.621 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003256/0.5135, allocations: 277.3 kB / 0.5876 GB, free: 1.312 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.06e-05/0.5136, allocations: 50.69 kB / 0.5876 GB, free: 1.254 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.377e-05/0.5137, allocations: 16.98 kB / 0.5876 GB, free: 1.234 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.249e-05/0.5137, allocations: 0 / 0.5876 GB, free: 1.234 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001162/0.5138, allocations: 63.39 kB / 0.5877 GB, free: 1.16 MB / 394.7 MB Notification: Performance of pre-optimization done (n=6): time 1.212e-06/0.5138, allocations: 0 / 0.5877 GB, free: 1.16 MB / 394.7 MB Notification: Performance of matching and sorting (n=8): time 0.0003849/0.5142, allocations: 153.2 kB / 0.5878 GB, free: 1.004 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.559e-05/0.5142, allocations: 55.41 kB / 0.5879 GB, free: 0.9375 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001332/0.5144, allocations: 151.8 kB / 0.588 GB, free: 0.7852 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.366e-05/0.5144, allocations: 29.7 kB / 0.588 GB, free: 0.75 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.319e-05/0.5145, allocations: 100.1 kB / 0.5881 GB, free: 0.6484 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.765e-05/0.5145, allocations: 23.66 kB / 0.5882 GB, free: 0.625 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.238e-06/0.5145, allocations: 0 / 0.5882 GB, free: 0.625 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 9.619e-05/0.5146, allocations: 322.8 kB / 0.5885 GB, free: 308 kB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.573e-05/0.5147, allocations: 23.98 kB / 0.5885 GB, free: 284 kB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.583e-05/0.5147, allocations: 33.66 kB / 0.5885 GB, free: 244 kB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.305e-05/0.5148, allocations: 27.94 kB / 0.5886 GB, free: 216 kB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.72e-07/0.5148, allocations: 0 / 0.5886 GB, free: 216 kB / 394.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001261/0.5149, allocations: 85.58 kB / 0.5886 GB, free: 124 kB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.364e-05/0.5149, allocations: 8 kB / 0.5886 GB, free: 116 kB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.817e-06/0.5149, allocations: 0 / 0.5886 GB, free: 116 kB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.019e-05/0.5149, allocations: 0 / 0.5886 GB, free: 116 kB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.243e-05/0.515, allocations: 23.95 kB / 0.5887 GB, free: 92 kB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.932e-06/0.5151, allocations: 4 kB / 0.5887 GB, free: 88 kB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.243e-05/0.5151, allocations: 0 / 0.5887 GB, free: 88 kB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.021e-05/0.5151, allocations: 8 kB / 0.5887 GB, free: 80 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 9.104e-05/0.5152, allocations: 108.9 kB / 0.5888 GB, free: 15.96 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.839e-05/0.5152, allocations: 7.906 kB / 0.5888 GB, free: 15.96 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000184/0.5154, allocations: 114.3 kB / 0.5889 GB, free: 15.84 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.944e-06/0.5154, allocations: 96 / 0.5889 GB, free: 15.84 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.516e-06/0.5155, allocations: 7.938 kB / 0.5889 GB, free: 15.83 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.735e-06/0.5155, allocations: 0 / 0.5889 GB, free: 15.83 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003601/0.5158, allocations: 375.8 kB / 0.5893 GB, free: 15.42 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.403e-06/0.5158, allocations: 3.938 kB / 0.5893 GB, free: 15.41 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.185e-05/0.5159, allocations: 16 kB / 0.5893 GB, free: 15.4 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.324e-06/0.5159, allocations: 0 / 0.5893 GB, free: 15.4 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.526e-06/0.5159, allocations: 0 / 0.5893 GB, free: 15.4 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.967e-06/0.5159, allocations: 4 kB / 0.5893 GB, free: 15.39 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.693e-06/0.5159, allocations: 0 / 0.5893 GB, free: 15.39 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001855/0.5161, allocations: 214.1 kB / 0.5895 GB, free: 15.16 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.887e-05/0.5162, allocations: 96.91 kB / 0.5896 GB, free: 15.05 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.17e-05/0.5162, allocations: 0 / 0.5896 GB, free: 15.05 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.086e-05/0.5163, allocations: 4 kB / 0.5896 GB, free: 15.04 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.858e-05/0.5163, allocations: 7.984 kB / 0.5896 GB, free: 15.04 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.877e-06/0.5164, allocations: 8 kB / 0.5896 GB, free: 15.03 MB / 410.7 MB Notification: Performance of sorting global known variables: time 9.209e-05/0.5164, allocations: 134.6 kB / 0.5897 GB, free: 14.9 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.61e-07/0.5165, allocations: 0 / 0.5897 GB, free: 14.9 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0002462/0.5167, allocations: 31.94 kB / 0.5898 GB, free: 14.87 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.0007936/0.5175, allocations: 389.6 kB / 0.5901 GB, free: 14.56 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001255/0.5176, allocations: 59.91 kB / 0.5902 GB, free: 14.5 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.623e-06/0.5177, allocations: 0 / 0.5902 GB, free: 14.5 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 4.718e-05/0.5177, allocations: 24 kB / 0.5902 GB, free: 14.48 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002332/0.5179, allocations: 28.06 kB / 0.5902 GB, free: 14.45 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003048/0.5183, allocations: 154.2 kB / 0.5904 GB, free: 14.27 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000246/0.5185, allocations: 0.7002 MB / 0.5911 GB, free: 13.54 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 5.248e-05/0.5186, allocations: 24.39 kB / 0.5911 GB, free: 13.52 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.548e-05/0.5186, allocations: 23.38 kB / 0.5911 GB, free: 13.5 MB / 410.7 MB Notification: Performance of SimCode: time 2.5e-07/0.5186, allocations: 4 kB / 0.5911 GB, free: 13.49 MB / 410.7 MB Notification: Performance of Templates: time 0.003907/0.5225, allocations: 1.604 MB / 0.5927 GB, free: 11.9 MB / 410.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test17.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test17.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test17.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test17.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test17.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test17 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test17.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test17_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test17/Test17.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test17.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches