Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test46.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.Test46,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.Test46") translateModel(ModelicaTest.Tables.CombiTimeTable.Test46,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.Test46") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001929/0.00193, allocations: 169.8 kB / 8.739 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.394/1.394, allocations: 221.5 MB / 230.7 MB, free: 7.512 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.0009603/0.0009604, allocations: 98.06 kB / 281.6 MB, free: 5.27 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.178/0.178, allocations: 44.15 MB / 376.5 MB, free: 3.039 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 2.452e-05/2.459e-05, allocations: 4.219 kB / 444.6 MB, free: 15.23 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1383/0.1384, allocations: 61.92 MB / 0.4947 GB, free: 1.246 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4478/0.5862, allocations: 88.56 MB / 0.5812 GB, free: 7.957 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002753/0.5865, allocations: 75.95 kB / 0.5812 GB, free: 7.883 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01561/0.6022, allocations: 5.841 MB / 0.5869 GB, free: 2.055 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.082e-06/0.6022, allocations: 0 / 0.5869 GB, free: 2.055 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.306e-05/0.6022, allocations: 4 kB / 0.5869 GB, free: 2.051 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.0004089/0.6026, allocations: 410.1 kB / 0.5873 GB, free: 1.605 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.074e-05/0.6027, allocations: 11.98 kB / 0.5873 GB, free: 1.594 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.548e-05/0.6027, allocations: 15.91 kB / 0.5874 GB, free: 1.578 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002869/0.603, allocations: 238.2 kB / 0.5876 GB, free: 1.305 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.718e-05/0.6031, allocations: 3.953 kB / 0.5876 GB, free: 1.301 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.101e-05/0.6031, allocations: 4 kB / 0.5876 GB, free: 1.297 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 6.825e-05/0.6032, allocations: 15.98 kB / 0.5876 GB, free: 1.281 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.09e-05/0.6033, allocations: 49.62 kB / 0.5877 GB, free: 1.227 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.037e-05/0.6033, allocations: 0 / 0.5877 GB, free: 1.227 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.198e-05/0.6033, allocations: 4 kB / 0.5877 GB, free: 1.223 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.829e-06/0.6033, allocations: 7.938 kB / 0.5877 GB, free: 1.215 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003306/0.6036, allocations: 281.5 kB / 0.5879 GB, free: 0.9023 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.374e-05/0.6038, allocations: 50.69 kB / 0.588 GB, free: 0.8438 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.162e-05/0.6038, allocations: 16.98 kB / 0.588 GB, free: 0.8242 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.276e-05/0.6038, allocations: 0 / 0.588 GB, free: 0.8242 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001115/0.6039, allocations: 71.23 kB / 0.5881 GB, free: 0.7422 MB / 394.7 MB Notification: Performance of pre-optimization done (n=6): time 1.222e-06/0.6039, allocations: 4 kB / 0.5881 GB, free: 0.7383 MB / 394.7 MB Notification: Performance of matching and sorting (n=8): time 0.000401/0.6043, allocations: 157.2 kB / 0.5882 GB, free: 0.5781 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.169e-05/0.6044, allocations: 55.34 kB / 0.5883 GB, free: 0.5117 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002245/0.6046, allocations: 222.1 kB / 0.5885 GB, free: 292 kB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.869e-05/0.6046, allocations: 25.7 kB / 0.5885 GB, free: 260 kB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.388e-05/0.6047, allocations: 112.1 kB / 0.5886 GB, free: 144 kB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.641e-05/0.6047, allocations: 23.66 kB / 0.5886 GB, free: 120 kB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.158e-06/0.6048, allocations: 0 / 0.5886 GB, free: 120 kB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001187/0.6049, allocations: 334.8 kB / 0.589 GB, free: 15.78 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.271e-05/0.6049, allocations: 16 kB / 0.589 GB, free: 15.77 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.135e-05/0.605, allocations: 34.47 kB / 0.589 GB, free: 15.73 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.059e-05/0.605, allocations: 19.94 kB / 0.589 GB, free: 15.71 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.184e-06/0.605, allocations: 4 kB / 0.589 GB, free: 15.7 MB / 410.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001373/0.6052, allocations: 101.7 kB / 0.5891 GB, free: 15.6 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.184e-05/0.6052, allocations: 4 kB / 0.5891 GB, free: 15.59 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.58e-06/0.6052, allocations: 7.922 kB / 0.5891 GB, free: 15.59 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.044e-05/0.6052, allocations: 4.031 kB / 0.5891 GB, free: 15.58 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.395e-05/0.6053, allocations: 20.17 kB / 0.5892 GB, free: 15.56 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.04e-06/0.6053, allocations: 4 kB / 0.5892 GB, free: 15.56 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.629e-05/0.6054, allocations: 0 / 0.5892 GB, free: 15.56 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.113e-06/0.6054, allocations: 4 kB / 0.5892 GB, free: 15.55 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 6.555e-05/0.6055, allocations: 108.9 kB / 0.5893 GB, free: 15.44 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.557e-05/0.6055, allocations: 23.73 kB / 0.5893 GB, free: 15.42 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001935/0.6057, allocations: 103.5 kB / 0.5894 GB, free: 15.31 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.481e-06/0.6057, allocations: 11.98 kB / 0.5894 GB, free: 15.3 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.637e-06/0.6057, allocations: 0 / 0.5894 GB, free: 15.3 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.025e-06/0.6057, allocations: 0 / 0.5894 GB, free: 15.3 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003851/0.6061, allocations: 403.8 kB / 0.5898 GB, free: 14.86 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.643e-06/0.6061, allocations: 0 / 0.5898 GB, free: 14.86 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.315e-05/0.6062, allocations: 11.94 kB / 0.5898 GB, free: 14.84 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.235e-06/0.6062, allocations: 3.938 kB / 0.5898 GB, free: 14.84 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.526e-06/0.6062, allocations: 4 kB / 0.5898 GB, free: 14.84 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.605e-06/0.6062, allocations: 8.016 kB / 0.5898 GB, free: 14.83 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.294e-06/0.6062, allocations: 0 / 0.5898 GB, free: 14.83 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001938/0.6064, allocations: 218 kB / 0.59 GB, free: 14.59 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.998e-05/0.6065, allocations: 96.92 kB / 0.5901 GB, free: 14.48 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.891e-05/0.6065, allocations: 4 kB / 0.5901 GB, free: 14.47 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.635e-05/0.6066, allocations: 3.984 kB / 0.5901 GB, free: 14.47 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.686e-05/0.6066, allocations: 8 kB / 0.5901 GB, free: 14.46 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.245e-05/0.6067, allocations: 11.98 kB / 0.5901 GB, free: 14.45 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0001515/0.6068, allocations: 188.2 kB / 0.5903 GB, free: 14.27 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.9e-07/0.6068, allocations: 0 / 0.5903 GB, free: 14.27 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.000262/0.6071, allocations: 35.94 kB / 0.5904 GB, free: 14.23 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.0008104/0.6079, allocations: 386.6 kB / 0.5907 GB, free: 13.93 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.000127/0.608, allocations: 59.91 kB / 0.5908 GB, free: 13.87 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.794e-06/0.6081, allocations: 0 / 0.5908 GB, free: 13.87 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 5.312e-05/0.6081, allocations: 36 kB / 0.5908 GB, free: 13.84 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002556/0.6084, allocations: 27.72 kB / 0.5908 GB, free: 13.81 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004374/0.6088, allocations: 214 kB / 0.591 GB, free: 13.57 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002532/0.6091, allocations: 0.7249 MB / 0.5918 GB, free: 12.82 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 7.016e-05/0.6092, allocations: 36.77 kB / 0.5918 GB, free: 12.79 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.097e-05/0.6092, allocations: 15.44 kB / 0.5918 GB, free: 12.77 MB / 410.7 MB Notification: Performance of SimCode: time 1.483e-06/0.6092, allocations: 3.938 kB / 0.5918 GB, free: 12.77 MB / 410.7 MB Notification: Performance of Templates: time 0.004126/0.6134, allocations: 1.735 MB / 0.5935 GB, free: 11.04 MB / 410.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test46.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test46.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test46.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test46.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test46.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test46 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test46.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test46_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test46/Test46.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test46.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches