Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test47.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.Test47,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.Test47") translateModel(ModelicaTest.Tables.CombiTimeTable.Test47,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.Test47") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001492/0.001492, allocations: 171.2 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.436/1.436, allocations: 221.5 MB / 230.7 MB, free: 7.574 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.0008993/0.0008994, allocations: 95.36 kB / 281.6 MB, free: 5.316 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.176/0.176, allocations: 44.15 MB / 376.5 MB, free: 3.043 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 1.447e-05/1.449e-05, allocations: 8.219 kB / 444.6 MB, free: 15.22 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1114/0.1114, allocations: 61.92 MB / 0.4947 GB, free: 1.242 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3574/0.4688, allocations: 88.57 MB / 0.5812 GB, free: 7.934 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002117/0.4691, allocations: 67.97 kB / 0.5812 GB, free: 7.867 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01521/0.4843, allocations: 5.843 MB / 0.5869 GB, free: 2.039 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.423e-06/0.4843, allocations: 0 / 0.5869 GB, free: 2.039 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.064e-05/0.4843, allocations: 6.953 kB / 0.587 GB, free: 2.035 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.0004209/0.4848, allocations: 416.7 kB / 0.5874 GB, free: 1.586 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.827e-05/0.4848, allocations: 11.98 kB / 0.5874 GB, free: 1.574 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.293e-05/0.4849, allocations: 15.89 kB / 0.5874 GB, free: 1.559 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002926/0.4852, allocations: 234.2 kB / 0.5876 GB, free: 1.289 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.606e-05/0.4852, allocations: 3.953 kB / 0.5876 GB, free: 1.285 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.866e-05/0.4852, allocations: 4 kB / 0.5876 GB, free: 1.281 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 6.988e-05/0.4853, allocations: 12 kB / 0.5876 GB, free: 1.27 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.311e-05/0.4854, allocations: 61.61 kB / 0.5877 GB, free: 1.203 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.318e-06/0.4854, allocations: 0 / 0.5877 GB, free: 1.203 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.163e-05/0.4854, allocations: 4 kB / 0.5877 GB, free: 1.199 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.877e-06/0.4854, allocations: 3.938 kB / 0.5877 GB, free: 1.195 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003472/0.4858, allocations: 281.5 kB / 0.588 GB, free: 0.8828 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.609e-05/0.4859, allocations: 46.69 kB / 0.588 GB, free: 0.8281 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.499e-05/0.4859, allocations: 20.98 kB / 0.588 GB, free: 0.8047 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.557e-05/0.486, allocations: 4 kB / 0.588 GB, free: 0.8008 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001071/0.4861, allocations: 67.23 kB / 0.5881 GB, free: 0.7227 MB / 394.7 MB Notification: Performance of pre-optimization done (n=6): time 1.262e-06/0.4861, allocations: 0 / 0.5881 GB, free: 0.7227 MB / 394.7 MB Notification: Performance of matching and sorting (n=8): time 0.0003875/0.4865, allocations: 153.2 kB / 0.5882 GB, free: 0.5664 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.794e-05/0.4865, allocations: 55.34 kB / 0.5883 GB, free: 0.5 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002159/0.4867, allocations: 226.1 kB / 0.5885 GB, free: 276 kB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.553e-05/0.4868, allocations: 29.7 kB / 0.5885 GB, free: 240 kB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.168e-05/0.4868, allocations: 112.1 kB / 0.5886 GB, free: 124 kB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.419e-05/0.4869, allocations: 27.64 kB / 0.5887 GB, free: 96 kB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.439e-06/0.4869, allocations: 0 / 0.5887 GB, free: 96 kB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001118/0.487, allocations: 322.8 kB / 0.589 GB, free: 15.77 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.317e-05/0.487, allocations: 20.75 kB / 0.589 GB, free: 15.75 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.015e-05/0.4871, allocations: 33.7 kB / 0.589 GB, free: 15.71 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.329e-05/0.4871, allocations: 27.95 kB / 0.5891 GB, free: 15.68 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.91e-07/0.4871, allocations: 192 / 0.5891 GB, free: 15.68 MB / 410.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001373/0.4873, allocations: 101.4 kB / 0.5891 GB, free: 15.58 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.259e-05/0.4873, allocations: 7.938 kB / 0.5892 GB, free: 15.57 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.018e-06/0.4873, allocations: 0 / 0.5892 GB, free: 15.57 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.271e-05/0.4873, allocations: 4 kB / 0.5892 GB, free: 15.57 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.63e-05/0.4874, allocations: 15.98 kB / 0.5892 GB, free: 15.55 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.624e-06/0.4874, allocations: 0 / 0.5892 GB, free: 15.55 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.735e-05/0.4875, allocations: 4 kB / 0.5892 GB, free: 15.55 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.927e-06/0.4875, allocations: 4 kB / 0.5892 GB, free: 15.54 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.475e-05/0.4876, allocations: 113 kB / 0.5893 GB, free: 15.43 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.532e-05/0.4876, allocations: 19.75 kB / 0.5893 GB, free: 15.41 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001904/0.4878, allocations: 111.7 kB / 0.5894 GB, free: 15.29 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.853e-06/0.4878, allocations: 0 / 0.5894 GB, free: 15.29 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.13e-06/0.4878, allocations: 4 kB / 0.5894 GB, free: 15.29 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.786e-06/0.4878, allocations: 0 / 0.5894 GB, free: 15.29 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004046/0.4882, allocations: 404 kB / 0.5898 GB, free: 14.84 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.453e-06/0.4883, allocations: 0 / 0.5898 GB, free: 14.84 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.568e-05/0.4883, allocations: 15.92 kB / 0.5898 GB, free: 14.83 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.088e-06/0.4883, allocations: 7.938 kB / 0.5898 GB, free: 14.82 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.027e-06/0.4883, allocations: 0 / 0.5898 GB, free: 14.82 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.382e-06/0.4883, allocations: 80 / 0.5898 GB, free: 14.82 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.759e-06/0.4884, allocations: 7.984 kB / 0.5898 GB, free: 14.81 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001978/0.4886, allocations: 222 kB / 0.59 GB, free: 14.57 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.715e-05/0.4886, allocations: 104.9 kB / 0.5901 GB, free: 14.45 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.77e-05/0.4887, allocations: 0 / 0.5901 GB, free: 14.45 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.826e-05/0.4888, allocations: 4 kB / 0.5901 GB, free: 14.45 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.957e-05/0.4888, allocations: 7.984 kB / 0.5902 GB, free: 14.44 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.165e-06/0.4888, allocations: 0 / 0.5902 GB, free: 14.44 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0001696/0.489, allocations: 192.2 kB / 0.5903 GB, free: 14.25 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.489, allocations: 0 / 0.5903 GB, free: 14.25 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0002839/0.4893, allocations: 35.92 kB / 0.5904 GB, free: 14.21 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.001329/0.4906, allocations: 393.4 kB / 0.5907 GB, free: 13.91 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001643/0.4908, allocations: 51.92 kB / 0.5908 GB, free: 13.86 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.984e-06/0.4908, allocations: 0 / 0.5908 GB, free: 13.86 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 7.466e-05/0.4909, allocations: 35.92 kB / 0.5908 GB, free: 13.82 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003859/0.4913, allocations: 27.72 kB / 0.5909 GB, free: 13.79 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005574/0.4919, allocations: 214 kB / 0.5911 GB, free: 13.56 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004202/0.4923, allocations: 0.7254 MB / 0.5918 GB, free: 12.81 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 8.605e-05/0.4924, allocations: 24.72 kB / 0.5918 GB, free: 12.78 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.879e-05/0.4925, allocations: 19.38 kB / 0.5918 GB, free: 12.76 MB / 410.7 MB Notification: Performance of SimCode: time 3.467e-06/0.4925, allocations: 0 / 0.5918 GB, free: 12.76 MB / 410.7 MB Notification: Performance of Templates: time 0.006076/0.4986, allocations: 1.738 MB / 0.5935 GB, free: 11.03 MB / 410.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test47.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test47.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test47.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test47.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test47.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test47 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test47.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test47_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test47/Test47.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test47.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches