Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test75.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.Test75,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.Test75") translateModel(ModelicaTest.Tables.CombiTimeTable.Test75,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.Test75") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002146/0.002146, allocations: 178.4 kB / 8.362 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.007/2.007, allocations: 205.3 MB / 214.1 MB, free: 14.15 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.00111/0.00111, allocations: 89.72 kB / 262.1 MB, free: 13.87 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.2941/0.2941, allocations: 43.48 MB / 353.5 MB, free: 2.277 MB / 299.1 MB Notification: Performance of FrontEnd - loaded program: time 2.673e-05/2.689e-05, allocations: 8.219 kB / 418.2 MB, free: 41.03 MB / 299.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4058/0.4059, allocations: 58.86 MB / 477.1 MB, free: 5.262 MB / 315.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1667/0.5726, allocations: 87.07 MB / 0.5509 GB, free: 12.23 MB / 395.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002934/0.573, allocations: 75.95 kB / 0.551 GB, free: 12.15 MB / 395.1 MB Notification: Performance of FrontEnd - DAE generated: time 0.03711/0.6101, allocations: 7.606 MB / 0.5584 GB, free: 4.543 MB / 395.1 MB Notification: Performance of FrontEnd: time 1.723e-06/0.6102, allocations: 4 kB / 0.5584 GB, free: 4.539 MB / 395.1 MB Notification: Performance of Transformations before backend: time 2.697e-05/0.6102, allocations: 4 kB / 0.5584 GB, free: 4.535 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.0008357/0.6111, allocations: 497.6 kB / 0.5589 GB, free: 4.004 MB / 395.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.674e-05/0.6111, allocations: 8.031 kB / 0.5589 GB, free: 3.996 MB / 395.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.362e-05/0.6112, allocations: 31.67 kB / 0.559 GB, free: 3.965 MB / 395.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007252/0.612, allocations: 287.9 kB / 0.5592 GB, free: 3.645 MB / 395.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.472e-05/0.612, allocations: 4 kB / 0.5592 GB, free: 3.641 MB / 395.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.115e-05/0.6121, allocations: 4 kB / 0.5592 GB, free: 3.637 MB / 395.1 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001651/0.6122, allocations: 35.92 kB / 0.5593 GB, free: 3.602 MB / 395.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002391/0.6125, allocations: 99.3 kB / 0.5594 GB, free: 3.492 MB / 395.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.515e-05/0.6125, allocations: 0 / 0.5594 GB, free: 3.492 MB / 395.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.062e-05/0.6126, allocations: 3.984 kB / 0.5594 GB, free: 3.488 MB / 395.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.102e-05/0.6126, allocations: 7.953 kB / 0.5594 GB, free: 3.48 MB / 395.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008839/0.6135, allocations: 441.5 kB / 0.5598 GB, free: 3.008 MB / 395.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002641/0.6138, allocations: 105.4 kB / 0.5599 GB, free: 2.887 MB / 395.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.929e-05/0.6139, allocations: 37.84 kB / 0.5599 GB, free: 2.844 MB / 395.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.268e-05/0.6139, allocations: 3.984 kB / 0.5599 GB, free: 2.84 MB / 395.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002721/0.6142, allocations: 113 kB / 0.5601 GB, free: 2.711 MB / 395.1 MB Notification: Performance of pre-optimization done (n=12): time 2.906e-06/0.6142, allocations: 0 / 0.5601 GB, free: 2.711 MB / 395.1 MB Notification: Performance of matching and sorting (n=16): time 0.001129/0.6153, allocations: 311.9 kB / 0.5603 GB, free: 2.398 MB / 395.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.672e-05/0.6155, allocations: 81.09 kB / 0.5604 GB, free: 2.301 MB / 395.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007713/0.6162, allocations: 377 kB / 0.5608 GB, free: 1.926 MB / 395.1 MB Notification: Performance of collectPreVariables (initialization): time 4.486e-05/0.6163, allocations: 25.7 kB / 0.5608 GB, free: 1.895 MB / 395.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001482/0.6165, allocations: 198.8 kB / 0.561 GB, free: 1.695 MB / 395.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.231e-05/0.6166, allocations: 51.3 kB / 0.561 GB, free: 1.645 MB / 395.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.878e-06/0.6166, allocations: 4 kB / 0.5611 GB, free: 1.641 MB / 395.1 MB Notification: Performance of setup shared object (initialization): time 0.0001671/0.6168, allocations: 314.8 kB / 0.5614 GB, free: 1.324 MB / 395.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001298/0.6169, allocations: 36 kB / 0.5614 GB, free: 1.289 MB / 395.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001473/0.6171, allocations: 67.36 kB / 0.5615 GB, free: 1.211 MB / 395.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001483/0.6172, allocations: 35.98 kB / 0.5615 GB, free: 1.176 MB / 395.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.705e-06/0.6172, allocations: 4 kB / 0.5615 GB, free: 1.172 MB / 395.1 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.000418/0.6177, allocations: 149.4 kB / 0.5616 GB, free: 1.02 MB / 395.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.12e-05/0.6177, allocations: 8 kB / 0.5616 GB, free: 1.012 MB / 395.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.995e-06/0.6177, allocations: 0 / 0.5616 GB, free: 1.012 MB / 395.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.565e-05/0.6178, allocations: 4 kB / 0.5616 GB, free: 1.008 MB / 395.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002716/0.618, allocations: 31.92 kB / 0.5617 GB, free: 0.9766 MB / 395.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.258e-06/0.6181, allocations: 4 kB / 0.5617 GB, free: 0.9727 MB / 395.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002056/0.6183, allocations: 7.984 kB / 0.5617 GB, free: 0.9648 MB / 395.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.572e-05/0.6183, allocations: 12.06 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.0001309/0.6185, allocations: 105 kB / 0.5618 GB, free: 0.8438 MB / 395.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.545e-05/0.6186, allocations: 31.67 kB / 0.5618 GB, free: 0.8125 MB / 395.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006285/0.6192, allocations: 208.5 kB / 0.562 GB, free: 0.6055 MB / 395.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.945e-06/0.6192, allocations: 4 kB / 0.562 GB, free: 0.6016 MB / 395.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.851e-06/0.6192, allocations: 0 / 0.562 GB, free: 0.6016 MB / 395.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.76e-06/0.6193, allocations: 0 / 0.562 GB, free: 0.6016 MB / 395.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001306/0.6206, allocations: 0.6365 MB / 0.5627 GB, free: 15.91 MB / 411.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.04e-06/0.6206, allocations: 0 / 0.5627 GB, free: 15.91 MB / 411.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001434/0.6208, allocations: 20 kB / 0.5627 GB, free: 15.89 MB / 411.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.001e-05/0.6208, allocations: 3.984 kB / 0.5627 GB, free: 15.89 MB / 411.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.37e-05/0.6208, allocations: 4.375 kB / 0.5627 GB, free: 15.89 MB / 411.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.997e-06/0.6208, allocations: 3.938 kB / 0.5627 GB, free: 15.88 MB / 411.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.587e-06/0.6208, allocations: 4 kB / 0.5627 GB, free: 15.88 MB / 411.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006232/0.6215, allocations: 413.5 kB / 0.5631 GB, free: 15.44 MB / 411.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001848/0.6217, allocations: 120.7 kB / 0.5632 GB, free: 15.3 MB / 411.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.488e-05/0.6218, allocations: 8 kB / 0.5632 GB, free: 15.29 MB / 411.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002482/0.622, allocations: 11.98 kB / 0.5632 GB, free: 15.28 MB / 411.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.937e-05/0.6221, allocations: 15.94 kB / 0.5632 GB, free: 15.27 MB / 411.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.958e-05/0.6221, allocations: 8 kB / 0.5632 GB, free: 15.26 MB / 411.1 MB Notification: Performance of sorting global known variables: time 0.000552/0.6227, allocations: 300.6 kB / 0.5635 GB, free: 14.96 MB / 411.1 MB Notification: Performance of sort global known variables: time 4.11e-07/0.6227, allocations: 0 / 0.5635 GB, free: 14.96 MB / 411.1 MB Notification: Performance of remove unused functions: time 0.0005395/0.6233, allocations: 55.92 kB / 0.5636 GB, free: 14.91 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.6245, allocations: 398.5 kB / 0.564 GB, free: 14.56 MB / 411.1 MB Notification: Performance of simCode: created initialization part: time 0.0003683/0.6249, allocations: 107.9 kB / 0.5641 GB, free: 14.45 MB / 411.1 MB Notification: Performance of simCode: created event and clocks part: time 3.166e-06/0.625, allocations: 4 kB / 0.5641 GB, free: 14.45 MB / 411.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001572/0.6251, allocations: 55.92 kB / 0.5641 GB, free: 14.39 MB / 411.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006682/0.6258, allocations: 45.67 kB / 0.5642 GB, free: 14.35 MB / 411.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001143/0.627, 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.0004878/0.6275, allocations: 0.7711 MB / 0.5653 GB, free: 13.08 MB / 411.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001407/0.6276, allocations: 31.42 kB / 0.5654 GB, free: 13.05 MB / 411.1 MB Notification: Performance of SimCode: time 1.232e-06/0.6276, allocations: 0 / 0.5654 GB, free: 13.05 MB / 411.1 MB Notification: Performance of Templates: time 0.009707/0.6374, allocations: 3.431 MB / 0.5687 GB, free: 9.629 MB / 411.1 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test75.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test75.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test75.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test75.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test75.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test75 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test75.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test75_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test75/Test75.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test75.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