Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test41.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.Test41,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.Test41") translateModel(ModelicaTest.Tables.CombiTimeTable.Test41,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.Test41") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009673/0.0009673, allocations: 169 kB / 8.742 MB, free: 344 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.43/1.43, 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.0008444/0.0008443, allocations: 88.75 kB / 281.6 MB, free: 5.332 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.1947/0.1947, allocations: 44.15 MB / 376.5 MB, free: 3.043 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 3.095e-05/3.098e-05, allocations: 8.219 kB / 444.6 MB, free: 15.22 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1274/0.1274, allocations: 61.91 MB / 0.4947 GB, free: 1.246 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3994/0.5269, allocations: 88.56 MB / 0.5812 GB, free: 7.973 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002234/0.5272, allocations: 75.95 kB / 0.5812 GB, free: 7.898 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01508/0.5423, allocations: 5.658 MB / 0.5868 GB, free: 2.254 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.483e-06/0.5423, allocations: 0 / 0.5868 GB, free: 2.254 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.226e-05/0.5423, allocations: 3.984 kB / 0.5868 GB, free: 2.25 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.0004631/0.5428, allocations: 394.2 kB / 0.5871 GB, free: 1.82 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.304e-05/0.5428, allocations: 15.98 kB / 0.5872 GB, free: 1.805 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.257e-05/0.5429, allocations: 11.81 kB / 0.5872 GB, free: 1.793 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003077/0.5432, allocations: 224.6 kB / 0.5874 GB, free: 1.535 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.865e-05/0.5432, allocations: 3.953 kB / 0.5874 GB, free: 1.531 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.432e-05/0.5433, allocations: 4 kB / 0.5874 GB, free: 1.527 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.313e-05/0.5434, allocations: 27.86 kB / 0.5874 GB, free: 1.5 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.955e-05/0.5435, allocations: 49.67 kB / 0.5875 GB, free: 1.445 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.152e-05/0.5435, allocations: 0 / 0.5875 GB, free: 1.445 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.075e-05/0.5435, allocations: 0 / 0.5875 GB, free: 1.445 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.626e-06/0.5435, allocations: 0 / 0.5875 GB, free: 1.445 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003468/0.5439, allocations: 277.4 kB / 0.5877 GB, free: 1.137 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.739e-05/0.544, allocations: 54.62 kB / 0.5878 GB, free: 1.074 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.357e-05/0.544, allocations: 16.98 kB / 0.5878 GB, free: 1.055 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.607e-05/0.544, allocations: 4 kB / 0.5878 GB, free: 1.051 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001433/0.5442, allocations: 63.39 kB / 0.5879 GB, free: 0.9766 MB / 394.7 MB Notification: Performance of pre-optimization done (n=6): time 3.066e-06/0.5442, allocations: 4 kB / 0.5879 GB, free: 0.9727 MB / 394.7 MB Notification: Performance of matching and sorting (n=8): time 0.000431/0.5446, allocations: 153.1 kB / 0.588 GB, free: 0.8164 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.166e-05/0.5447, allocations: 51.41 kB / 0.5881 GB, free: 0.7539 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000186/0.5449, allocations: 193.4 kB / 0.5882 GB, free: 0.5547 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.55e-05/0.5449, allocations: 25.7 kB / 0.5883 GB, free: 0.5234 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.896e-05/0.5449, allocations: 100.1 kB / 0.5884 GB, free: 432 kB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.926e-05/0.545, allocations: 27.64 kB / 0.5884 GB, free: 404 kB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.539e-06/0.545, allocations: 0.75 kB / 0.5884 GB, free: 404 kB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001115/0.5451, allocations: 326.8 kB / 0.5887 GB, free: 68 kB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.224e-05/0.5452, allocations: 20 kB / 0.5887 GB, free: 48 kB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.338e-05/0.5452, allocations: 33.66 kB / 0.5888 GB, free: 8 kB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.869e-05/0.5453, allocations: 23.98 kB / 0.5888 GB, free: 15.98 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.41e-07/0.5453, allocations: 4 kB / 0.5888 GB, free: 15.98 MB / 410.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001326/0.5454, allocations: 97.38 kB / 0.5889 GB, free: 15.88 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.543e-05/0.5454, allocations: 9.406 kB / 0.5889 GB, free: 15.87 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.448e-06/0.5455, allocations: 0 / 0.5889 GB, free: 15.87 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.548e-05/0.5455, allocations: 3.984 kB / 0.5889 GB, free: 15.87 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.558e-05/0.5456, allocations: 16.03 kB / 0.5889 GB, free: 15.85 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.59e-06/0.5456, allocations: 4 kB / 0.5889 GB, free: 15.85 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.292e-05/0.5456, allocations: 0 / 0.5889 GB, free: 15.85 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.217e-06/0.5457, allocations: 4 kB / 0.5889 GB, free: 15.84 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 9.045e-05/0.5457, allocations: 118.7 kB / 0.589 GB, free: 15.72 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.96e-05/0.5458, allocations: 7.906 kB / 0.589 GB, free: 15.71 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001962/0.546, allocations: 111.4 kB / 0.5891 GB, free: 15.6 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.988e-06/0.546, allocations: 4.188 kB / 0.5891 GB, free: 15.6 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.292e-06/0.546, allocations: 8 kB / 0.5892 GB, free: 15.59 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.537e-06/0.546, allocations: 3.938 kB / 0.5892 GB, free: 15.59 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004055/0.5464, allocations: 387.8 kB / 0.5895 GB, free: 15.16 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.453e-06/0.5464, allocations: 3.938 kB / 0.5895 GB, free: 15.16 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.113e-05/0.5465, allocations: 8 kB / 0.5895 GB, free: 15.15 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.124e-06/0.5465, allocations: 0 / 0.5895 GB, free: 15.15 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.583e-05/0.5465, allocations: 11.97 kB / 0.5895 GB, free: 15.14 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.372e-06/0.5465, allocations: 0 / 0.5895 GB, free: 15.14 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.414e-06/0.5465, allocations: 4.031 kB / 0.5896 GB, free: 15.13 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001982/0.5467, allocations: 210.1 kB / 0.5898 GB, free: 14.9 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.657e-05/0.5468, allocations: 96.92 kB / 0.5898 GB, free: 14.79 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.463e-05/0.5468, allocations: 0 / 0.5898 GB, free: 14.79 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.363e-05/0.5469, allocations: 7.984 kB / 0.5899 GB, free: 14.78 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.442e-05/0.547, allocations: 8 kB / 0.5899 GB, free: 14.77 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.039e-05/0.547, allocations: 7.984 kB / 0.5899 GB, free: 14.77 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0001205/0.5471, allocations: 152.6 kB / 0.59 GB, free: 14.62 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.6e-07/0.5471, allocations: 0 / 0.59 GB, free: 14.62 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0002669/0.5474, allocations: 31.94 kB / 0.59 GB, free: 14.59 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.0008541/0.5482, allocations: 383 kB / 0.5904 GB, free: 14.29 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001303/0.5484, allocations: 55.97 kB / 0.5905 GB, free: 14.23 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.034e-06/0.5484, allocations: 0 / 0.5905 GB, free: 14.23 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 5.33e-05/0.5485, allocations: 31.94 kB / 0.5905 GB, free: 14.2 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002714/0.5487, allocations: 29.78 kB / 0.5905 GB, free: 14.17 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004044/0.5491, allocations: 185.8 kB / 0.5907 GB, free: 13.96 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003262/0.5495, allocations: 0.7235 MB / 0.5914 GB, free: 13.21 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 5.304e-05/0.5495, allocations: 12.56 kB / 0.5914 GB, free: 13.2 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.161e-05/0.5496, allocations: 23.42 kB / 0.5914 GB, free: 13.18 MB / 410.7 MB Notification: Performance of SimCode: time 3.01e-07/0.5496, allocations: 0 / 0.5914 GB, free: 13.18 MB / 410.7 MB Notification: Performance of Templates: time 0.004026/0.5536, allocations: 1.671 MB / 0.5931 GB, free: 11.52 MB / 410.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test41.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test41.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test41.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test41.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test41.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test41 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test41.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test41_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test41/Test41.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test41.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches