Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test53.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.Test53,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.Test53") translateModel(ModelicaTest.Tables.CombiTimeTable.Test53,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.Test53") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001357/0.001357, 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.524/1.524, allocations: 221.5 MB / 230.7 MB, free: 7.582 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.000901/0.0009008, allocations: 88.05 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.2082/0.2082, allocations: 44.14 MB / 376.5 MB, free: 3.047 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 2.478e-05/2.483e-05, allocations: 8.219 kB / 444.6 MB, free: 15.21 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1417/0.1417, allocations: 61.91 MB / 0.4947 GB, free: 1.23 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3929/0.5348, allocations: 88.55 MB / 0.5812 GB, free: 7.938 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002134/0.535, allocations: 71.97 kB / 0.5812 GB, free: 7.867 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01508/0.5501, allocations: 5.713 MB / 0.5868 GB, free: 2.168 MB / 394.7 MB Notification: Performance of FrontEnd: time 3.076e-06/0.5501, allocations: 0 / 0.5868 GB, free: 2.168 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.38e-05/0.5502, allocations: 10.89 kB / 0.5868 GB, free: 2.16 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.0004442/0.5506, allocations: 402.2 kB / 0.5872 GB, free: 1.723 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.388e-05/0.5507, allocations: 11.98 kB / 0.5872 GB, free: 1.711 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.806e-05/0.5507, allocations: 15.81 kB / 0.5872 GB, free: 1.695 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003041/0.551, allocations: 214.8 kB / 0.5874 GB, free: 1.445 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.445e-05/0.5511, allocations: 3.953 kB / 0.5874 GB, free: 1.441 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.142e-05/0.5511, allocations: 0 / 0.5874 GB, free: 1.441 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.892e-05/0.5512, allocations: 19.98 kB / 0.5875 GB, free: 1.422 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001173/0.5513, allocations: 53.67 kB / 0.5875 GB, free: 1.363 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.237e-05/0.5513, allocations: 3.984 kB / 0.5875 GB, free: 1.359 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.545e-05/0.5513, allocations: 4 kB / 0.5875 GB, free: 1.355 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.088e-06/0.5513, allocations: 3.938 kB / 0.5875 GB, free: 1.352 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003523/0.5517, allocations: 277.4 kB / 0.5878 GB, free: 1.043 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.903e-05/0.5518, allocations: 50.62 kB / 0.5878 GB, free: 0.9844 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.509e-05/0.5519, allocations: 24.98 kB / 0.5879 GB, free: 0.957 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.663e-05/0.5519, allocations: 7.984 kB / 0.5879 GB, free: 0.9492 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001156/0.552, allocations: 55.41 kB / 0.5879 GB, free: 0.8828 MB / 394.7 MB Notification: Performance of pre-optimization done (n=6): time 1.282e-06/0.552, allocations: 0 / 0.5879 GB, free: 0.8828 MB / 394.7 MB Notification: Performance of matching and sorting (n=8): time 0.0004337/0.5525, allocations: 149.2 kB / 0.5881 GB, free: 0.7305 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.145e-05/0.5525, allocations: 51.41 kB / 0.5881 GB, free: 0.668 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002049/0.5527, allocations: 209.7 kB / 0.5883 GB, free: 460 kB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.63e-05/0.5527, allocations: 25.7 kB / 0.5883 GB, free: 428 kB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.377e-05/0.5528, allocations: 108.8 kB / 0.5884 GB, free: 316 kB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.976e-05/0.5528, allocations: 19.72 kB / 0.5885 GB, free: 296 kB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.719e-06/0.5529, allocations: 0 / 0.5885 GB, free: 296 kB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001354/0.553, allocations: 322.8 kB / 0.5888 GB, free: 15.96 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.832e-05/0.553, allocations: 23.98 kB / 0.5888 GB, free: 15.94 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.886e-05/0.5531, allocations: 33.66 kB / 0.5888 GB, free: 15.9 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.866e-05/0.5532, allocations: 35.88 kB / 0.5889 GB, free: 15.87 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.62e-07/0.5532, allocations: 0 / 0.5889 GB, free: 15.87 MB / 410.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.00014/0.5533, allocations: 89.64 kB / 0.5889 GB, free: 15.77 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.471e-05/0.5533, allocations: 9.094 kB / 0.5889 GB, free: 15.77 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.999e-06/0.5533, allocations: 0 / 0.5889 GB, free: 15.77 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.309e-05/0.5534, allocations: 0 / 0.5889 GB, free: 15.77 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.32e-05/0.5535, allocations: 19.98 kB / 0.589 GB, free: 15.75 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.058e-06/0.5535, allocations: 3.938 kB / 0.589 GB, free: 15.74 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.59e-05/0.5535, allocations: 192 / 0.589 GB, free: 15.74 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.135e-05/0.5535, allocations: 8.031 kB / 0.589 GB, free: 15.73 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.272e-05/0.5536, allocations: 115.3 kB / 0.5891 GB, free: 15.62 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.43e-05/0.5537, allocations: 15.81 kB / 0.5891 GB, free: 15.6 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001999/0.5539, allocations: 111.4 kB / 0.5892 GB, free: 15.49 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.354e-06/0.5539, allocations: 0 / 0.5892 GB, free: 15.49 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.188e-06/0.5539, allocations: 0 / 0.5892 GB, free: 15.49 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.358e-06/0.5539, allocations: 3.984 kB / 0.5892 GB, free: 15.48 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000378/0.5543, allocations: 391.8 kB / 0.5896 GB, free: 15.05 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.185e-06/0.5543, allocations: 4 kB / 0.5896 GB, free: 15.05 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.136e-05/0.5543, allocations: 8 kB / 0.5896 GB, free: 15.04 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.624e-06/0.5543, allocations: 3.938 kB / 0.5896 GB, free: 15.04 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.24e-05/0.5544, allocations: 8 kB / 0.5896 GB, free: 15.03 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.296e-06/0.5544, allocations: 3.984 kB / 0.5896 GB, free: 15.03 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.394e-06/0.5544, allocations: 0 / 0.5896 GB, free: 15.03 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001901/0.5546, allocations: 218 kB / 0.5898 GB, free: 14.79 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.716e-05/0.5547, allocations: 96.92 kB / 0.5899 GB, free: 14.68 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.928e-05/0.5547, allocations: 4 kB / 0.5899 GB, free: 14.67 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.449e-05/0.5548, allocations: 3.984 kB / 0.5899 GB, free: 14.67 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.055e-05/0.5548, allocations: 4.375 kB / 0.5899 GB, free: 14.66 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.059e-05/0.5548, allocations: 4 kB / 0.5899 GB, free: 14.66 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0001361/0.555, allocations: 163.2 kB / 0.5901 GB, free: 14.5 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.555, allocations: 0 / 0.5901 GB, free: 14.5 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0002872/0.5553, allocations: 35.88 kB / 0.5901 GB, free: 14.46 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.000887/0.5562, allocations: 395.2 kB / 0.5905 GB, free: 14.16 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001312/0.5563, allocations: 51.92 kB / 0.5905 GB, free: 14.11 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.5563, allocations: 0 / 0.5905 GB, free: 14.11 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 4.938e-05/0.5564, allocations: 24 kB / 0.5906 GB, free: 14.08 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002733/0.5567, allocations: 28.11 kB / 0.5906 GB, free: 14.05 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000409/0.5571, allocations: 202.1 kB / 0.5908 GB, free: 13.82 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002785/0.5574, allocations: 0.7119 MB / 0.5915 GB, free: 13.09 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 6.124e-05/0.5574, allocations: 20.84 kB / 0.5915 GB, free: 13.07 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.257e-05/0.5575, allocations: 23.38 kB / 0.5915 GB, free: 13.04 MB / 410.7 MB Notification: Performance of SimCode: time 2.254e-06/0.5575, allocations: 0 / 0.5915 GB, free: 13.04 MB / 410.7 MB Notification: Performance of Templates: time 0.004106/0.5616, allocations: 1.691 MB / 0.5932 GB, free: 11.36 MB / 410.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test53.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test53.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test53.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test53.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test53.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test53 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test53.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test53_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test53/Test53.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test53.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches