Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test54.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.Test54,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.Test54") translateModel(ModelicaTest.Tables.CombiTimeTable.Test54,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.Test54") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009074/0.0009075, allocations: 173.7 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.447/1.447, allocations: 221.5 MB / 230.7 MB, free: 7.547 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.0008718/0.0008717, allocations: 96.34 kB / 281.6 MB, free: 5.273 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.2046/0.2046, allocations: 44.15 MB / 376.5 MB, free: 3.051 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 2.133e-05/2.13e-05, allocations: 4.219 kB / 444.6 MB, free: 15.25 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1261/0.1261, allocations: 61.92 MB / 0.4947 GB, free: 1.262 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4004/0.5265, allocations: 88.56 MB / 0.5812 GB, free: 7.988 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002726/0.5269, allocations: 75.95 kB / 0.5812 GB, free: 7.914 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01541/0.5423, allocations: 5.709 MB / 0.5868 GB, free: 2.215 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.845e-06/0.5424, allocations: 0 / 0.5868 GB, free: 2.215 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.285e-05/0.5424, allocations: 10.89 kB / 0.5868 GB, free: 2.207 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.0004802/0.5429, allocations: 402.2 kB / 0.5872 GB, free: 1.77 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.78e-05/0.5429, allocations: 11.98 kB / 0.5872 GB, free: 1.758 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.487e-05/0.543, allocations: 11.81 kB / 0.5872 GB, free: 1.746 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003082/0.5433, allocations: 218.8 kB / 0.5874 GB, free: 1.492 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.902e-05/0.5433, allocations: 7.953 kB / 0.5874 GB, free: 1.484 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.348e-05/0.5433, allocations: 0 / 0.5874 GB, free: 1.484 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.477e-05/0.5434, allocations: 19.98 kB / 0.5875 GB, free: 1.465 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.922e-05/0.5436, allocations: 53.67 kB / 0.5875 GB, free: 1.406 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.459e-05/0.5436, allocations: 0 / 0.5875 GB, free: 1.406 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.234e-05/0.5436, allocations: 3.938 kB / 0.5875 GB, free: 1.402 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.28e-06/0.5436, allocations: 0 / 0.5875 GB, free: 1.402 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004019/0.544, allocations: 277.4 kB / 0.5878 GB, free: 1.094 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001055/0.5441, allocations: 50.62 kB / 0.5878 GB, free: 1.035 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.732e-05/0.5442, allocations: 20.98 kB / 0.5879 GB, free: 1.012 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.637e-05/0.5442, allocations: 0 / 0.5879 GB, free: 1.012 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001277/0.5443, allocations: 67.39 kB / 0.5879 GB, free: 0.9336 MB / 394.7 MB Notification: Performance of pre-optimization done (n=6): time 1.463e-06/0.5443, allocations: 0 / 0.5879 GB, free: 0.9336 MB / 394.7 MB Notification: Performance of matching and sorting (n=8): time 0.0005015/0.5449, allocations: 153.2 kB / 0.5881 GB, free: 0.7773 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.285e-05/0.5449, allocations: 55.39 kB / 0.5881 GB, free: 0.7109 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001965/0.5451, allocations: 205.7 kB / 0.5883 GB, free: 0.4961 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.83e-05/0.5451, allocations: 29.7 kB / 0.5883 GB, free: 472 kB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.234e-05/0.5452, allocations: 108.8 kB / 0.5884 GB, free: 360 kB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.513e-05/0.5452, allocations: 19.72 kB / 0.5885 GB, free: 340 kB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.248e-06/0.5452, allocations: 0 / 0.5885 GB, free: 340 kB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001078/0.5454, allocations: 322.8 kB / 0.5888 GB, free: 8 kB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.14e-05/0.5454, allocations: 20.05 kB / 0.5888 GB, free: 15.98 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.923e-05/0.5455, allocations: 37.59 kB / 0.5888 GB, free: 15.95 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.616e-05/0.5455, allocations: 31.88 kB / 0.5889 GB, free: 15.91 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.32e-07/0.5455, allocations: 0 / 0.5889 GB, free: 15.91 MB / 410.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001309/0.5457, allocations: 85.59 kB / 0.5889 GB, free: 15.82 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.446e-05/0.5457, allocations: 4 kB / 0.5889 GB, free: 15.82 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.13e-06/0.5457, allocations: 4 kB / 0.5889 GB, free: 15.82 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.425e-05/0.5457, allocations: 0 / 0.5889 GB, free: 15.82 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.286e-05/0.5458, allocations: 15.98 kB / 0.589 GB, free: 15.8 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.342e-06/0.5458, allocations: 3.938 kB / 0.589 GB, free: 15.8 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.548e-05/0.5459, allocations: 4 kB / 0.589 GB, free: 15.79 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.079e-05/0.5459, allocations: 8.031 kB / 0.589 GB, free: 15.79 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 7.996e-05/0.546, allocations: 113.7 kB / 0.5891 GB, free: 15.67 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.257e-05/0.546, allocations: 15.81 kB / 0.5891 GB, free: 15.66 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001959/0.5462, allocations: 107.4 kB / 0.5892 GB, free: 15.55 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.348e-06/0.5462, allocations: 4 kB / 0.5892 GB, free: 15.54 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.647e-06/0.5463, allocations: 0 / 0.5892 GB, free: 15.54 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.777e-06/0.5463, allocations: 0 / 0.5892 GB, free: 15.54 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003869/0.5467, allocations: 395.8 kB / 0.5896 GB, free: 15.11 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.226e-06/0.5467, allocations: 0 / 0.5896 GB, free: 15.11 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.274e-05/0.5467, allocations: 15.94 kB / 0.5896 GB, free: 15.09 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.234e-06/0.5467, allocations: 0 / 0.5896 GB, free: 15.09 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.201e-05/0.5467, allocations: 4 kB / 0.5896 GB, free: 15.09 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.453e-06/0.5467, allocations: 0 / 0.5896 GB, free: 15.09 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.154e-06/0.5468, allocations: 4 kB / 0.5896 GB, free: 15.09 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001887/0.547, allocations: 218 kB / 0.5898 GB, free: 14.85 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.845e-05/0.547, allocations: 100.9 kB / 0.5899 GB, free: 14.73 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.529e-05/0.5471, allocations: 0 / 0.5899 GB, free: 14.73 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.615e-05/0.5471, allocations: 7.984 kB / 0.5899 GB, free: 14.72 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.452e-05/0.5472, allocations: 4.375 kB / 0.5899 GB, free: 14.72 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.057e-05/0.5472, allocations: 7.984 kB / 0.5899 GB, free: 14.71 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0001312/0.5473, allocations: 163.2 kB / 0.5901 GB, free: 14.55 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.5473, allocations: 0 / 0.5901 GB, free: 14.55 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0002622/0.5476, allocations: 35.88 kB / 0.5901 GB, free: 14.52 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.0009136/0.5485, allocations: 395 kB / 0.5905 GB, free: 14.21 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001297/0.5487, allocations: 55.91 kB / 0.5906 GB, free: 14.15 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.693e-06/0.5487, allocations: 4 kB / 0.5906 GB, free: 14.15 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 4.961e-05/0.5487, allocations: 24 kB / 0.5906 GB, free: 14.12 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002718/0.549, allocations: 25.53 kB / 0.5906 GB, free: 14.1 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003782/0.5494, allocations: 206.1 kB / 0.5908 GB, free: 13.87 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002693/0.5497, allocations: 0.708 MB / 0.5915 GB, free: 13.13 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 5.402e-05/0.5498, allocations: 16.55 kB / 0.5915 GB, free: 13.12 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.783e-05/0.5498, allocations: 19.44 kB / 0.5915 GB, free: 13.1 MB / 410.7 MB Notification: Performance of SimCode: time 2.7e-07/0.5498, allocations: 7.875 kB / 0.5915 GB, free: 13.09 MB / 410.7 MB Notification: Performance of Templates: time 0.003969/0.5538, allocations: 1.685 MB / 0.5932 GB, free: 11.41 MB / 410.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test54.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test54.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test54.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test54.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test54.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test54 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test54.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test54_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test54/Test54.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test54.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches