Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test79.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test79,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|t_new_2.y.1.|d_t_new_2.y",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test79") translateModel(ModelicaTest.Tables.CombiTimeTable.Test79,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|t_new_2.y.1.|d_t_new_2.y",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test79") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002115/0.002115, allocations: 179.4 kB / 8.364 MB, free: 0.7148 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.072/2.072, allocations: 205.3 MB / 214.1 MB, free: 14.14 MB / 187.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001128/0.001128, allocations: 88.91 kB / 262.1 MB, free: 13.86 MB / 219.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2948/0.2948, allocations: 43.49 MB / 353.6 MB, free: 2.273 MB / 299.1 MB Notification: Performance of FrontEnd - loaded program: time 2.602e-05/2.6e-05, allocations: 8.219 kB / 418.2 MB, free: 41.03 MB / 299.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3948/0.3949, allocations: 58.86 MB / 477.1 MB, free: 5.262 MB / 315.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1649/0.5598, allocations: 87.07 MB / 0.5509 GB, free: 12.23 MB / 395.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002877/0.5602, allocations: 71.97 kB / 0.551 GB, free: 12.16 MB / 395.1 MB Notification: Performance of FrontEnd - DAE generated: time 0.03515/0.5954, allocations: 7.609 MB / 0.5584 GB, free: 4.547 MB / 395.1 MB Notification: Performance of FrontEnd: time 2.034e-06/0.5954, allocations: 0 / 0.5584 GB, free: 4.547 MB / 395.1 MB Notification: Performance of Transformations before backend: time 3.039e-05/0.5955, allocations: 8 kB / 0.5584 GB, free: 4.539 MB / 395.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.000911/0.5964, allocations: 493.7 kB / 0.5589 GB, free: 4.012 MB / 395.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.261e-05/0.5965, allocations: 8.031 kB / 0.5589 GB, free: 4.004 MB / 395.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001007/0.5966, allocations: 31.66 kB / 0.559 GB, free: 3.973 MB / 395.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007213/0.5973, allocations: 287.9 kB / 0.5592 GB, free: 3.652 MB / 395.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.327e-05/0.5973, allocations: 0 / 0.5592 GB, free: 3.652 MB / 395.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.12e-05/0.5974, allocations: 7.938 kB / 0.5592 GB, free: 3.645 MB / 395.1 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001639/0.5976, allocations: 51.97 kB / 0.5593 GB, free: 3.594 MB / 395.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002176/0.5978, allocations: 87.31 kB / 0.5594 GB, free: 3.496 MB / 395.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.961e-05/0.5978, allocations: 3.984 kB / 0.5594 GB, free: 3.492 MB / 395.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.844e-05/0.5979, allocations: 0 / 0.5594 GB, free: 3.492 MB / 395.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.967e-06/0.5979, allocations: 3.953 kB / 0.5594 GB, free: 3.488 MB / 395.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008573/0.5988, allocations: 453.5 kB / 0.5598 GB, free: 3.004 MB / 395.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002618/0.599, allocations: 101.4 kB / 0.5599 GB, free: 2.887 MB / 395.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.532e-05/0.5992, allocations: 33.84 kB / 0.5599 GB, free: 2.848 MB / 395.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.054e-05/0.5992, allocations: 0 / 0.5599 GB, free: 2.848 MB / 395.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002712/0.5995, allocations: 120.9 kB / 0.5601 GB, free: 2.711 MB / 395.1 MB Notification: Performance of pre-optimization done (n=12): time 2.094e-06/0.5995, allocations: 0 / 0.5601 GB, free: 2.711 MB / 395.1 MB Notification: Performance of matching and sorting (n=16): time 0.001092/0.6006, allocations: 311.9 kB / 0.5604 GB, free: 2.398 MB / 395.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.886e-05/0.6007, allocations: 81.11 kB / 0.5604 GB, free: 2.301 MB / 395.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007078/0.6014, allocations: 373 kB / 0.5608 GB, free: 1.93 MB / 395.1 MB Notification: Performance of collectPreVariables (initialization): time 3.259e-05/0.6014, allocations: 25.7 kB / 0.5608 GB, free: 1.898 MB / 395.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001456/0.6016, allocations: 202.8 kB / 0.561 GB, free: 1.695 MB / 395.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.448e-05/0.6017, allocations: 51.3 kB / 0.5611 GB, free: 1.645 MB / 395.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.548e-06/0.6017, allocations: 0 / 0.5611 GB, free: 1.645 MB / 395.1 MB Notification: Performance of setup shared object (initialization): time 0.0001497/0.6019, allocations: 318.8 kB / 0.5614 GB, free: 1.324 MB / 395.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001112/0.602, allocations: 35.98 kB / 0.5614 GB, free: 1.289 MB / 395.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001379/0.6021, allocations: 63.38 kB / 0.5615 GB, free: 1.215 MB / 395.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001446/0.6023, allocations: 47.97 kB / 0.5615 GB, free: 1.168 MB / 395.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.786e-06/0.6023, allocations: 0 / 0.5615 GB, free: 1.168 MB / 395.1 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0004284/0.6028, allocations: 141.5 kB / 0.5616 GB, free: 1.023 MB / 395.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.478e-05/0.6028, allocations: 4 kB / 0.5616 GB, free: 1.02 MB / 395.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.115e-06/0.6028, allocations: 4.312 kB / 0.5616 GB, free: 1.016 MB / 395.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.976e-05/0.6028, allocations: 0 / 0.5616 GB, free: 1.016 MB / 395.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000282/0.6031, allocations: 43.91 kB / 0.5617 GB, free: 0.9727 MB / 395.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.252e-06/0.6032, allocations: 0 / 0.5617 GB, free: 0.9727 MB / 395.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001939/0.6034, allocations: 8.062 kB / 0.5617 GB, free: 0.9648 MB / 395.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.681e-05/0.6034, allocations: 11.98 kB / 0.5617 GB, free: 0.9531 MB / 395.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition2,$PRE.t_new.nextTimeEvent,t_new.nextTimeEvent,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEventScaled,$whenCondition1,$PRE.t_new_2.nextTimeEvent,t_new_2.nextTimeEvent,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEventScaled) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (20): * Single equations (assignments): 20 * 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 0.0001296/0.6035, allocations: 105 kB / 0.5618 GB, free: 0.8438 MB / 395.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.443e-05/0.6036, allocations: 31.66 kB / 0.5618 GB, free: 0.8125 MB / 395.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006198/0.6043, allocations: 204.1 kB / 0.562 GB, free: 0.6094 MB / 395.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.681e-06/0.6043, allocations: 0 / 0.562 GB, free: 0.6094 MB / 395.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.706e-06/0.6043, allocations: 4 kB / 0.562 GB, free: 0.6055 MB / 395.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.488e-06/0.6043, allocations: 3.984 kB / 0.562 GB, free: 0.6016 MB / 395.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001262/0.6056, allocations: 0.6326 MB / 0.5627 GB, free: 15.92 MB / 411.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.811e-06/0.6057, allocations: 384 / 0.5627 GB, free: 15.92 MB / 411.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001563/0.6058, allocations: 19.98 kB / 0.5627 GB, free: 15.9 MB / 411.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.396e-06/0.6058, allocations: 4 kB / 0.5627 GB, free: 15.89 MB / 411.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.581e-05/0.6059, allocations: 8 kB / 0.5627 GB, free: 15.89 MB / 411.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.739e-06/0.6059, allocations: 3.938 kB / 0.5627 GB, free: 15.88 MB / 411.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.857e-06/0.6059, allocations: 4.062 kB / 0.5627 GB, free: 15.88 MB / 411.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006211/0.6065, allocations: 406.3 kB / 0.5631 GB, free: 15.44 MB / 411.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002146/0.6068, allocations: 124.7 kB / 0.5632 GB, free: 15.3 MB / 411.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.354e-05/0.6069, allocations: 11.98 kB / 0.5632 GB, free: 15.29 MB / 411.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002559/0.6071, allocations: 4 kB / 0.5632 GB, free: 15.29 MB / 411.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.386e-05/0.6072, allocations: 15.94 kB / 0.5632 GB, free: 15.27 MB / 411.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.82e-05/0.6073, allocations: 11.98 kB / 0.5632 GB, free: 15.26 MB / 411.1 MB Notification: Performance of sorting global known variables: time 0.0005323/0.6078, allocations: 300.6 kB / 0.5635 GB, free: 14.96 MB / 411.1 MB Notification: Performance of sort global known variables: time 4.61e-07/0.6078, allocations: 0 / 0.5635 GB, free: 14.96 MB / 411.1 MB Notification: Performance of remove unused functions: time 0.0005596/0.6084, allocations: 47.94 kB / 0.5636 GB, free: 14.92 MB / 411.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition2,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 4 (t_new.nextTimeEvent,t_new.nextTimeEventScaled,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled) * Top-level inputs: 0 Notification: Strong component statistics for simulation (18): * Single equations (assignments): 14 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.001252/0.6097, allocations: 412.8 kB / 0.564 GB, free: 14.55 MB / 411.1 MB Notification: Performance of simCode: created initialization part: time 0.000386/0.6101, allocations: 100.1 kB / 0.5641 GB, free: 14.46 MB / 411.1 MB Notification: Performance of simCode: created event and clocks part: time 3.717e-06/0.6101, allocations: 0 / 0.5641 GB, free: 14.46 MB / 411.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001707/0.6103, allocations: 56.25 kB / 0.5641 GB, free: 14.4 MB / 411.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000719/0.611, allocations: 52.97 kB / 0.5642 GB, free: 14.36 MB / 411.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001163/0.6122, allocations: 447.2 kB / 0.5646 GB, free: 13.88 MB / 411.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004755/0.6127, allocations: 0.7711 MB / 0.5653 GB, free: 13.09 MB / 411.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001423/0.6129, allocations: 27.44 kB / 0.5654 GB, free: 13.06 MB / 411.1 MB Notification: Performance of SimCode: time 1.172e-06/0.6129, allocations: 0 / 0.5654 GB, free: 13.06 MB / 411.1 MB Notification: Performance of Templates: time 0.009631/0.6225, allocations: 3.427 MB / 0.5687 GB, free: 9.641 MB / 411.1 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test79.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test79.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test79.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test79.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test79.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test79 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test79.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test79_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test79/Test79.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test79.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) "" Variables in the reference:time,t_new.y[1],d_t_new.y,t_new_2.y[1],d_t_new_2.y Variables in the result:_D_cse1,_D_cse2,_D_whenCondition1,_D_whenCondition2,der(d_t_new.u),d_t_new.u,d_t_new.y,der(d_t_new_2.u),d_t_new_2.u,d_t_new_2.y,t_new.columns[1],der(t_new.timeScaled),t_new.extrapolation,t_new.nextTimeEvent,t_new.nextTimeEventScaled,t_new.nout,t_new.offset[1],t_new.p_offset[1],t_new.shiftTime,t_new.smoothness,t_new.startTime,t_new.t_max,t_new.t_maxScaled,t_new.t_min,t_new.t_minScaled,t_new.tableOnFile,t_new.table[1,1],t_new.table[1,2],t_new.table[2,1],t_new.table[2,2],t_new.table[3,1],t_new.table[3,2],t_new.table[4,1],t_new.table[4,2],t_new.table[5,1],t_new.table[5,2],t_new.table[6,1],t_new.table[6,2],t_new.table[7,1],t_new.table[7,2],t_new.table[8,1],t_new.table[8,2],t_new.table[9,1],t_new.table[9,2],t_new.timeEvents,t_new.timeScale,t_new.timeScaled,t_new.verboseExtrapolation,t_new.verboseRead,t_new.y[1],t_new_2.columns[1],der(t_new_2.timeScaled),t_new_2.extrapolation,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,t_new_2.nout,t_new_2.offset[1],t_new_2.p_offset[1],t_new_2.shiftTime,t_new_2.smoothness,t_new_2.startTime,t_new_2.t_max,t_new_2.t_maxScaled,t_new_2.t_min,t_new_2.t_minScaled,t_new_2.tableOnFile,t_new_2.table[1,1],t_new_2.table[1,2],t_new_2.table[2,1],t_new_2.table[2,2],t_new_2.table[3,1],t_new_2.table[3,2],t_new_2.table[4,1],t_new_2.table[4,2],t_new_2.table[5,1],t_new_2.table[5,2],t_new_2.table[6,1],t_new_2.table[6,2],t_new_2.table[7,1],t_new_2.table[7,2],t_new_2.table[8,1],t_new_2.table[8,2],t_new_2.table[9,1],t_new_2.table[9,2],t_new_2.timeEvents,t_new_2.timeScale,t_new_2.timeScaled,t_new_2.verboseExtrapolation,t_new_2.verboseRead,t_new_2.y[1],time