Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test32.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.CombiTable1D.Test32,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test32") translateModel(ModelicaTest.Tables.CombiTable1D.Test32,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test32") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0015/0.0015, allocations: 177.8 kB / 8.358 MB, free: 0.7188 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.018/2.018, 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.001122/0.001121, allocations: 87.08 kB / 262.1 MB, free: 13.88 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.2995/0.2995, allocations: 43.49 MB / 353.6 MB, free: 2.266 MB / 299.1 MB Notification: Performance of FrontEnd - loaded program: time 1.797e-05/1.825e-05, allocations: 4 kB / 418.2 MB, free: 41.03 MB / 299.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4602/0.4602, allocations: 58.85 MB / 477.1 MB, free: 5.27 MB / 315.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1604/0.6207, allocations: 85.74 MB / 0.5496 GB, free: 13.56 MB / 395.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002493/0.621, allocations: 71.97 kB / 0.5497 GB, free: 13.49 MB / 395.1 MB Notification: Performance of FrontEnd - DAE generated: time 0.01706/0.638, allocations: 4.022 MB / 0.5536 GB, free: 9.477 MB / 395.1 MB Notification: Performance of FrontEnd: time 1.463e-06/0.6381, allocations: 0 / 0.5536 GB, free: 9.477 MB / 395.1 MB Notification: Performance of Transformations before backend: time 1.88e-05/0.6381, allocations: 4 kB / 0.5536 GB, free: 9.473 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0004934/0.6386, allocations: 382.2 kB / 0.554 GB, free: 9.055 MB / 395.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.527e-05/0.6387, allocations: 8.031 kB / 0.554 GB, free: 9.047 MB / 395.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.511e-05/0.6388, allocations: 15.81 kB / 0.554 GB, free: 9.031 MB / 395.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003461/0.6391, allocations: 210.8 kB / 0.5542 GB, free: 8.785 MB / 395.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.384e-05/0.6391, allocations: 4 kB / 0.5542 GB, free: 8.781 MB / 395.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.615e-05/0.6392, allocations: 7.938 kB / 0.5542 GB, free: 8.773 MB / 395.1 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.717e-05/0.6393, allocations: 15.98 kB / 0.5542 GB, free: 8.758 MB / 395.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.814e-05/0.6394, allocations: 37.64 kB / 0.5543 GB, free: 8.715 MB / 395.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.216e-05/0.6394, allocations: 4 kB / 0.5543 GB, free: 8.711 MB / 395.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.108e-05/0.6394, allocations: 0 / 0.5543 GB, free: 8.711 MB / 395.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.11e-06/0.6395, allocations: 0 / 0.5543 GB, free: 8.711 MB / 395.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000547/0.64, allocations: 285.4 kB / 0.5546 GB, free: 8.395 MB / 395.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002158/0.6402, allocations: 38.5 kB / 0.5546 GB, free: 8.348 MB / 395.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.466e-05/0.6403, allocations: 8.859 kB / 0.5546 GB, free: 8.336 MB / 395.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.757e-05/0.6403, allocations: 4 kB / 0.5546 GB, free: 8.332 MB / 395.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.578e-05/0.6404, allocations: 42.58 kB / 0.5546 GB, free: 8.281 MB / 395.1 MB Notification: Performance of pre-optimization done (n=3): time 2.024e-06/0.6404, allocations: 0 / 0.5546 GB, free: 8.281 MB / 395.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005313/0.6409, allocations: 117.2 kB / 0.5548 GB, free: 8.16 MB / 395.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.153e-05/0.641, allocations: 55.36 kB / 0.5548 GB, free: 8.094 MB / 395.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003411/0.6414, allocations: 217.8 kB / 0.555 GB, free: 7.867 MB / 395.1 MB Notification: Performance of collectPreVariables (initialization): time 1.661e-05/0.6414, allocations: 25.7 kB / 0.555 GB, free: 7.836 MB / 395.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.092e-05/0.6415, allocations: 162.6 kB / 0.5552 GB, free: 7.676 MB / 395.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.506e-05/0.6415, allocations: 23.64 kB / 0.5552 GB, free: 7.652 MB / 395.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.02e-06/0.6415, allocations: 0 / 0.5552 GB, free: 7.652 MB / 395.1 MB Notification: Performance of setup shared object (initialization): time 0.0001613/0.6417, allocations: 318.8 kB / 0.5555 GB, free: 7.332 MB / 395.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.227e-05/0.6418, allocations: 15.94 kB / 0.5555 GB, free: 7.316 MB / 395.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.498e-05/0.6418, allocations: 8 kB / 0.5556 GB, free: 7.309 MB / 395.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.556e-05/0.6419, allocations: 16.14 kB / 0.5556 GB, free: 7.293 MB / 395.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.713e-06/0.6419, allocations: 0 / 0.5556 GB, free: 7.293 MB / 395.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.00017/0.6421, allocations: 57.69 kB / 0.5556 GB, free: 7.23 MB / 395.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.911e-05/0.6421, allocations: 4 kB / 0.5556 GB, free: 7.227 MB / 395.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.322e-06/0.6421, allocations: 0 / 0.5556 GB, free: 7.227 MB / 395.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.097e-05/0.6422, allocations: 4 kB / 0.5556 GB, free: 7.223 MB / 395.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001415/0.6423, allocations: 15.98 kB / 0.5556 GB, free: 7.207 MB / 395.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.286e-06/0.6423, allocations: 4 kB / 0.5556 GB, free: 7.203 MB / 395.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.705e-05/0.6424, allocations: 8.203 kB / 0.5557 GB, free: 7.195 MB / 395.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.668e-06/0.6424, allocations: 0 / 0.5557 GB, free: 7.195 MB / 395.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (5): * Single equations (assignments): 5 * 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 9.191e-05/0.6425, allocations: 101 kB / 0.5558 GB, free: 7.09 MB / 395.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.065e-05/0.6426, allocations: 15.84 kB / 0.5558 GB, free: 7.074 MB / 395.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002472/0.6429, allocations: 87.28 kB / 0.5559 GB, free: 6.984 MB / 395.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.482e-06/0.6429, allocations: 11.94 kB / 0.5559 GB, free: 6.973 MB / 395.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.408e-06/0.6429, allocations: 0 / 0.5559 GB, free: 6.973 MB / 395.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.767e-06/0.6429, allocations: 0 / 0.5559 GB, free: 6.973 MB / 395.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005741/0.6435, allocations: 343 kB / 0.5562 GB, free: 6.594 MB / 395.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.665e-06/0.6435, allocations: 7.938 kB / 0.5562 GB, free: 6.586 MB / 395.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001184/0.6437, allocations: 11.98 kB / 0.5562 GB, free: 6.574 MB / 395.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.176e-06/0.6437, allocations: 4 kB / 0.5562 GB, free: 6.57 MB / 395.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.024e-05/0.6437, allocations: 0 / 0.5562 GB, free: 6.57 MB / 395.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.016e-06/0.6437, allocations: 0 / 0.5562 GB, free: 6.57 MB / 395.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.256e-06/0.6437, allocations: 4 kB / 0.5562 GB, free: 6.566 MB / 395.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002251/0.644, allocations: 167.4 kB / 0.5564 GB, free: 6.387 MB / 395.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001118/0.6441, allocations: 104.9 kB / 0.5565 GB, free: 6.266 MB / 395.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.793e-05/0.6441, allocations: 0 / 0.5565 GB, free: 6.266 MB / 395.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001197/0.6443, allocations: 4 kB / 0.5565 GB, free: 6.262 MB / 395.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.327e-05/0.6443, allocations: 11.92 kB / 0.5565 GB, free: 6.25 MB / 395.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.494e-06/0.6443, allocations: 0 / 0.5565 GB, free: 6.25 MB / 395.1 MB Notification: Performance of sorting global known variables: time 0.0002451/0.6446, allocations: 179.2 kB / 0.5567 GB, free: 6.074 MB / 395.1 MB Notification: Performance of sort global known variables: time 4.71e-07/0.6446, allocations: 0 / 0.5567 GB, free: 6.074 MB / 395.1 MB Notification: Performance of remove unused functions: time 0.0003532/0.645, allocations: 23.95 kB / 0.5567 GB, free: 6.051 MB / 395.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 5 * 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 Backend phase and start with SimCode phase: time 0.001056/0.646, allocations: 326.7 kB / 0.557 GB, free: 5.77 MB / 395.1 MB Notification: Performance of simCode: created initialization part: time 0.0001728/0.6462, allocations: 32 kB / 0.557 GB, free: 5.738 MB / 395.1 MB Notification: Performance of simCode: created event and clocks part: time 3.166e-06/0.6463, allocations: 0 / 0.557 GB, free: 5.738 MB / 395.1 MB Notification: Performance of simCode: created simulation system equations: time 5.701e-05/0.6463, allocations: 19.94 kB / 0.557 GB, free: 5.719 MB / 395.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000342/0.6467, allocations: 19.81 kB / 0.5571 GB, free: 5.699 MB / 395.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006042/0.6473, allocations: 222.1 kB / 0.5573 GB, free: 5.453 MB / 395.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003903/0.6477, allocations: 0.7158 MB / 0.558 GB, free: 4.711 MB / 395.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.983e-05/0.6478, allocations: 11.44 kB / 0.558 GB, free: 4.699 MB / 395.1 MB Notification: Performance of SimCode: time 1.092e-06/0.6478, allocations: 4 kB / 0.558 GB, free: 4.695 MB / 395.1 MB Notification: Performance of Templates: time 0.005211/0.653, allocations: 1.692 MB / 0.5596 GB, free: 3.008 MB / 395.1 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test32.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test32.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test32.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test32.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test32.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test32 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test32.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test32_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable1D/Test32/Test32.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test32.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches