Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test20.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.Test20,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.Test20") translateModel(ModelicaTest.Tables.CombiTimeTable.Test20,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.Test20") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009692/0.0009692, allocations: 174.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.313/1.313, allocations: 221.5 MB / 230.7 MB, free: 7.57 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.00101/0.001011, allocations: 86.97 kB / 281.6 MB, free: 5.328 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.2458/0.2458, allocations: 44.15 MB / 376.5 MB, free: 3.039 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 2.296e-05/2.299e-05, allocations: 8.219 kB / 444.6 MB, free: 15.22 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1158/0.1158, allocations: 61.92 MB / 0.4947 GB, free: 1.238 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3963/0.5122, allocations: 88.52 MB / 0.5811 GB, free: 7.984 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002751/0.5125, allocations: 71.97 kB / 0.5812 GB, free: 7.914 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02251/0.5351, allocations: 5.43 MB / 0.5865 GB, free: 2.5 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.736e-06/0.5351, allocations: 0 / 0.5865 GB, free: 2.5 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.759e-05/0.5352, allocations: 3.938 kB / 0.5865 GB, free: 2.496 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.0005478/0.5357, allocations: 395.5 kB / 0.5869 GB, free: 2.066 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.505e-05/0.5358, allocations: 11.98 kB / 0.5869 GB, free: 2.055 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.634e-05/0.5358, allocations: 11.91 kB / 0.5869 GB, free: 2.043 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003672/0.5362, allocations: 218.7 kB / 0.5871 GB, free: 1.789 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.556e-05/0.5363, allocations: 3.953 kB / 0.5871 GB, free: 1.785 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.403e-05/0.5363, allocations: 0 / 0.5871 GB, free: 1.785 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 9.367e-05/0.5364, allocations: 19.98 kB / 0.5871 GB, free: 1.766 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001097/0.5365, allocations: 53.67 kB / 0.5872 GB, free: 1.707 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.728e-05/0.5365, allocations: 0 / 0.5872 GB, free: 1.707 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.272e-05/0.5366, allocations: 7.875 kB / 0.5872 GB, free: 1.699 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.278e-06/0.5366, allocations: 4 kB / 0.5872 GB, free: 1.695 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004424/0.537, allocations: 265.5 kB / 0.5874 GB, free: 1.398 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001473/0.5372, allocations: 46.69 kB / 0.5875 GB, free: 1.344 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.363e-05/0.5373, allocations: 16.98 kB / 0.5875 GB, free: 1.324 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.714e-05/0.5373, allocations: 4 kB / 0.5875 GB, free: 1.32 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001576/0.5375, allocations: 71.33 kB / 0.5876 GB, free: 1.238 MB / 394.7 MB Notification: Performance of pre-optimization done (n=6): time 2.124e-06/0.5375, allocations: 0 / 0.5876 GB, free: 1.238 MB / 394.7 MB Notification: Performance of matching and sorting (n=8): time 0.0006002/0.5381, allocations: 149.2 kB / 0.5877 GB, free: 1.086 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.324e-05/0.5382, allocations: 51.41 kB / 0.5878 GB, free: 1.023 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002657/0.5384, allocations: 165.4 kB / 0.5879 GB, free: 0.8555 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 2.616e-05/0.5385, allocations: 29.7 kB / 0.588 GB, free: 0.8203 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.756e-05/0.5386, allocations: 96.14 kB / 0.5881 GB, free: 0.7227 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.461e-05/0.5386, allocations: 27.7 kB / 0.5881 GB, free: 0.6953 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.277e-06/0.5386, allocations: 0 / 0.5881 GB, free: 0.6953 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001454/0.5388, allocations: 326.8 kB / 0.5884 GB, free: 376 kB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.107e-05/0.5389, allocations: 16 kB / 0.5884 GB, free: 360 kB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.125e-05/0.539, allocations: 29.72 kB / 0.5884 GB, free: 324 kB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.447e-05/0.5391, allocations: 28 kB / 0.5885 GB, free: 296 kB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.472e-06/0.5391, allocations: 0 / 0.5885 GB, free: 296 kB / 394.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002447/0.5393, allocations: 101.4 kB / 0.5886 GB, free: 188 kB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.808e-05/0.5394, allocations: 4 kB / 0.5886 GB, free: 184 kB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.069e-05/0.5394, allocations: 7.969 kB / 0.5886 GB, free: 176 kB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.745e-05/0.5394, allocations: 0 / 0.5886 GB, free: 176 kB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001372/0.5396, allocations: 16 kB / 0.5886 GB, free: 160 kB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.9e-06/0.5396, allocations: 0 / 0.5886 GB, free: 160 kB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.628e-05/0.5397, allocations: 4.125 kB / 0.5886 GB, free: 156 kB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.709e-05/0.5397, allocations: 8.172 kB / 0.5886 GB, free: 148 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.602e-05/0.5398, allocations: 108.9 kB / 0.5887 GB, free: 32 kB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.395e-05/0.5399, allocations: 19.88 kB / 0.5887 GB, free: 12 kB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003314/0.5402, allocations: 110.2 kB / 0.5888 GB, free: 15.9 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.898e-06/0.5402, allocations: 0 / 0.5888 GB, free: 15.9 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.714e-06/0.5402, allocations: 4 kB / 0.5888 GB, free: 15.89 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.03e-06/0.5403, allocations: 0 / 0.5888 GB, free: 15.89 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000605/0.5409, allocations: 375.8 kB / 0.5892 GB, free: 15.48 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.009e-06/0.5409, allocations: 0 / 0.5892 GB, free: 15.48 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.205e-05/0.541, allocations: 19.92 kB / 0.5892 GB, free: 15.46 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.218e-06/0.541, allocations: 4.031 kB / 0.5892 GB, free: 15.46 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.579e-05/0.541, allocations: 4 kB / 0.5892 GB, free: 15.45 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.699e-06/0.541, allocations: 4 kB / 0.5892 GB, free: 15.45 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.669e-06/0.5411, allocations: 3.938 kB / 0.5892 GB, free: 15.45 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003113/0.5414, allocations: 206 kB / 0.5894 GB, free: 15.22 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.802e-05/0.5415, allocations: 89 kB / 0.5895 GB, free: 15.11 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.297e-05/0.5415, allocations: 12 kB / 0.5895 GB, free: 15.1 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000129/0.5417, allocations: 0 / 0.5895 GB, free: 15.1 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.548e-05/0.5417, allocations: 11.92 kB / 0.5895 GB, free: 15.09 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.669e-05/0.5418, allocations: 4 kB / 0.5895 GB, free: 15.09 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0001824/0.542, allocations: 137 kB / 0.5897 GB, free: 14.95 MB / 410.7 MB Notification: Performance of sort global known variables: time 4.11e-07/0.542, allocations: 0 / 0.5897 GB, free: 14.95 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0004887/0.5425, allocations: 24 kB / 0.5897 GB, free: 14.93 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.00124/0.5437, allocations: 394.7 kB / 0.5901 GB, free: 14.62 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001909/0.544, allocations: 63.91 kB / 0.5901 GB, free: 14.56 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.595e-06/0.544, allocations: 0 / 0.5901 GB, free: 14.56 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 7.979e-05/0.5441, allocations: 27.94 kB / 0.5901 GB, free: 14.53 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003752/0.5445, allocations: 32.14 kB / 0.5902 GB, free: 14.5 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005111/0.545, allocations: 153.4 kB / 0.5903 GB, free: 14.32 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003947/0.5454, allocations: 0.7159 MB / 0.591 GB, free: 13.57 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 7.751e-05/0.5455, allocations: 12.42 kB / 0.591 GB, free: 13.56 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.975e-05/0.5456, allocations: 23.42 kB / 0.5911 GB, free: 13.54 MB / 410.7 MB Notification: Performance of SimCode: time 3.41e-07/0.5456, allocations: 3.938 kB / 0.5911 GB, free: 13.54 MB / 410.7 MB Notification: Performance of Templates: time 0.005908/0.5515, allocations: 1.617 MB / 0.5926 GB, free: 11.93 MB / 410.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test20.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test20.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test20.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test20.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test20.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test20 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test20.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test20_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test20/Test20.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test20.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches