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.001496/0.001496, allocations: 182.4 kB / 13.66 MB, free: 1.664 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.047/2.047, allocations: 205.2 MB / 219.4 MB, free: 14.21 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001089/0.001088, allocations: 86.7 kB / 267.5 MB, free: 14.05 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2811/0.2811, allocations: 43.5 MB / 359.1 MB, free: 12.23 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 3.867e-05/3.886e-05, allocations: 4 kB / 425.3 MB, free: 23.36 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1151/0.1151, allocations: 58.85 MB / 484.2 MB, free: 12.45 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4822/0.5974, allocations: 87.72 MB / 0.5585 GB, free: 15.88 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002805/0.5977, allocations: 78.98 kB / 0.5585 GB, free: 15.84 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03325/0.631, allocations: 7.666 MB / 0.566 GB, free: 9.328 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.814e-06/0.631, allocations: 0 / 0.566 GB, free: 9.328 MB / 378.7 MB Notification: Performance of Transformations before backend: time 2.872e-05/0.6311, allocations: 4 kB / 0.566 GB, free: 9.324 MB / 378.7 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.0007977/0.6319, allocations: 490.8 kB / 0.5665 GB, free: 8.812 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.596e-05/0.6319, allocations: 8.031 kB / 0.5665 GB, free: 8.805 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.534e-05/0.632, allocations: 31.67 kB / 0.5665 GB, free: 8.773 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000656/0.6327, allocations: 290.2 kB / 0.5668 GB, free: 8.469 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.332e-05/0.6327, allocations: 4 kB / 0.5668 GB, free: 8.465 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.438e-05/0.6328, allocations: 7.25 kB / 0.5668 GB, free: 8.461 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002438/0.633, allocations: 103.2 kB / 0.5669 GB, free: 8.363 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.421e-05/0.6331, allocations: 0 / 0.5669 GB, free: 8.363 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.981e-05/0.6331, allocations: 4 kB / 0.5669 GB, free: 8.359 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.305e-06/0.6331, allocations: 4 kB / 0.5669 GB, free: 8.355 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001381/0.6332, allocations: 39.12 kB / 0.567 GB, free: 8.328 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007503/0.634, allocations: 471.8 kB / 0.5674 GB, free: 7.859 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002788/0.6343, allocations: 121.3 kB / 0.5675 GB, free: 7.746 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001049/0.6344, allocations: 36.58 kB / 0.5676 GB, free: 7.711 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.213e-05/0.6345, allocations: 4 kB / 0.5676 GB, free: 7.707 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002754/0.6348, allocations: 113.1 kB / 0.5677 GB, free: 7.598 MB / 378.7 MB Notification: Performance of pre-optimization done (n=12): time 8.035e-06/0.6348, allocations: 0 / 0.5677 GB, free: 7.598 MB / 378.7 MB Notification: Performance of matching and sorting (n=16): time 0.001066/0.6359, allocations: 334.8 kB / 0.568 GB, free: 7.312 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.623e-05/0.6359, allocations: 81.11 kB / 0.5681 GB, free: 7.215 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006983/0.6366, allocations: 389 kB / 0.5685 GB, free: 6.902 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 3.182e-05/0.6367, allocations: 33.19 kB / 0.5685 GB, free: 6.867 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001234/0.6368, allocations: 197.3 kB / 0.5687 GB, free: 6.707 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.932e-05/0.6369, allocations: 49.92 kB / 0.5687 GB, free: 6.664 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.162e-05/0.6369, allocations: 3.688 kB / 0.5687 GB, free: 6.664 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001236/0.6371, allocations: 318.5 kB / 0.569 GB, free: 6.348 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001182/0.6372, allocations: 41.73 kB / 0.5691 GB, free: 6.32 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001446/0.6373, allocations: 75.38 kB / 0.5691 GB, free: 6.25 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001485/0.6375, allocations: 48.12 kB / 0.5692 GB, free: 6.219 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.93e-06/0.6375, allocations: 4 kB / 0.5692 GB, free: 6.215 MB / 378.7 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0004308/0.638, allocations: 148.5 kB / 0.5693 GB, free: 6.094 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.309e-05/0.638, allocations: 11.98 kB / 0.5693 GB, free: 6.082 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.645e-06/0.638, allocations: 0 / 0.5693 GB, free: 6.082 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.222e-05/0.6381, allocations: 4 kB / 0.5693 GB, free: 6.078 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002775/0.6383, allocations: 31.92 kB / 0.5694 GB, free: 6.047 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.828e-05/0.6384, allocations: 8.062 kB / 0.5694 GB, free: 6.039 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001924/0.6386, allocations: 11.81 kB / 0.5694 GB, free: 6.031 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.059e-05/0.6386, allocations: 4 kB / 0.5694 GB, free: 6.027 MB / 378.7 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.0001335/0.6388, allocations: 127.8 kB / 0.5695 GB, free: 5.902 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.877e-05/0.6388, allocations: 23.72 kB / 0.5695 GB, free: 5.879 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006015/0.6395, allocations: 212.4 kB / 0.5697 GB, free: 5.707 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.376e-06/0.6395, allocations: 4 kB / 0.5698 GB, free: 5.703 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.38e-06/0.6395, allocations: 0 / 0.5698 GB, free: 5.703 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.751e-06/0.6395, allocations: 0 / 0.5698 GB, free: 5.703 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001176/0.6407, allocations: 0.6766 MB / 0.5704 GB, free: 5.055 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.333e-06/0.6407, allocations: 384 / 0.5704 GB, free: 5.055 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001471/0.6409, allocations: 23.92 kB / 0.5704 GB, free: 5.031 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.357e-05/0.6409, allocations: 8 kB / 0.5704 GB, free: 5.023 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.141e-05/0.6409, allocations: 7.938 kB / 0.5705 GB, free: 5.016 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.248e-06/0.641, allocations: 0 / 0.5705 GB, free: 5.016 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.455e-06/0.641, allocations: 4.062 kB / 0.5705 GB, free: 5.012 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005644/0.6415, allocations: 417.7 kB / 0.5709 GB, free: 4.605 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001596/0.6417, allocations: 128.1 kB / 0.571 GB, free: 4.465 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.338e-05/0.6418, allocations: 10.52 kB / 0.571 GB, free: 4.457 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002353/0.642, allocations: 11.25 kB / 0.571 GB, free: 4.449 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.399e-05/0.6421, allocations: 11.97 kB / 0.571 GB, free: 4.438 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.416e-05/0.6422, allocations: 11.56 kB / 0.571 GB, free: 4.43 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0005164/0.6427, allocations: 312.7 kB / 0.5713 GB, free: 4.191 MB / 378.7 MB Notification: Performance of sort global known variables: time 6.01e-07/0.6427, allocations: 0 / 0.5713 GB, free: 4.191 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0004954/0.6432, allocations: 62.75 kB / 0.5714 GB, free: 4.137 MB / 378.7 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.001246/0.6445, allocations: 434.6 kB / 0.5718 GB, free: 3.77 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0003707/0.6449, allocations: 117.3 kB / 0.5719 GB, free: 3.684 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 5.571e-06/0.6449, allocations: 4.125 kB / 0.5719 GB, free: 3.68 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001693/0.6451, allocations: 64.75 kB / 0.572 GB, free: 3.633 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006191/0.6457, allocations: 49.17 kB / 0.572 GB, free: 3.594 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001093/0.6468, allocations: 448.9 kB / 0.5724 GB, free: 3.172 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004152/0.6472, allocations: 0.7706 MB / 0.5732 GB, free: 2.379 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001285/0.6474, allocations: 30.48 kB / 0.5732 GB, free: 2.355 MB / 378.7 MB Notification: Performance of SimCode: time 8.71e-07/0.6474, allocations: 0 / 0.5732 GB, free: 2.355 MB / 378.7 MB Notification: Performance of Templates: time 0.008765/0.6562, allocations: 3.446 MB / 0.5766 GB, free: 14.94 MB / 394.7 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: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],t_new.extrapolation,t_new.nout,t_new.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.verboseExtrapolation,t_new.verboseRead,t_new.y[1],t_new_2.columns[1],t_new_2.extrapolation,t_new_2.nout,t_new_2.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.verboseExtrapolation,t_new_2.verboseRead,t_new_2.y[1],time