Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test20.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.CombiTable2Dv.Test20,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|combiTable2D1D.y.1.|combiTable2D1DT.y.1.|clock1.y|combiTable1D.y.1.|combiTable2D.y.1.|combiTable2DT.y.1.|der1.y|der2.y|der3.y|der4.y|der5.y",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test20") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test20,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|combiTable2D1D.y.1.|combiTable2D1DT.y.1.|clock1.y|combiTable1D.y.1.|combiTable2D.y.1.|combiTable2DT.y.1.|der1.y|der2.y|der3.y|der4.y|der5.y",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test20") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002117/0.002117, allocations: 181.7 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.116/2.116, allocations: 205.2 MB / 219.4 MB, free: 14.22 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.001091/0.001091, allocations: 82.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.2756/0.2756, allocations: 43.49 MB / 359.1 MB, free: 12.24 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 3.335e-05/3.362e-05, allocations: 7.984 kB / 425.3 MB, free: 23.39 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1131/0.1132, allocations: 58.85 MB / 484.1 MB, free: 12.48 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4654/0.5786, allocations: 88.88 MB / 0.5596 GB, free: 14.77 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002631/0.5789, allocations: 77.23 kB / 0.5597 GB, free: 14.73 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03753/0.6165, allocations: 8.6 MB / 0.5681 GB, free: 7.395 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.074e-06/0.6165, allocations: 0 / 0.5681 GB, free: 7.395 MB / 378.7 MB Notification: Performance of Transformations before backend: time 5.545e-05/0.6166, allocations: 12 kB / 0.5681 GB, free: 7.383 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: 25 * Number of variables: 25 Notification: Performance of Generate backend data structure: time 0.0008384/0.6175, allocations: 0.5517 MB / 0.5686 GB, free: 6.809 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.179e-05/0.6175, allocations: 11.97 kB / 0.5686 GB, free: 6.797 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001387/0.6177, allocations: 47.39 kB / 0.5687 GB, free: 6.75 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008103/0.6185, allocations: 343.2 kB / 0.569 GB, free: 6.398 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.051e-05/0.6186, allocations: 15.25 kB / 0.569 GB, free: 6.387 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.535e-05/0.6186, allocations: 11.38 kB / 0.569 GB, free: 6.379 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00032/0.619, allocations: 122.3 kB / 0.5691 GB, free: 6.281 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.58e-05/0.619, allocations: 0 / 0.5691 GB, free: 6.281 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.878e-05/0.619, allocations: 3.562 kB / 0.5691 GB, free: 6.281 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.004e-05/0.6191, allocations: 4 kB / 0.5691 GB, free: 6.277 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002217/0.6193, allocations: 76.73 kB / 0.5692 GB, free: 6.223 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001185/0.6205, allocations: 0.533 MB / 0.5697 GB, free: 5.723 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002547/0.6208, allocations: 108 kB / 0.5698 GB, free: 5.629 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.816e-05/0.6209, allocations: 31.48 kB / 0.5699 GB, free: 5.605 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.53e-05/0.6209, allocations: 4 kB / 0.5699 GB, free: 5.602 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.822e-05/0.621, allocations: 38.55 kB / 0.5699 GB, free: 5.555 MB / 378.7 MB Notification: Performance of pre-optimization done (n=11): time 2.735e-06/0.621, allocations: 0 / 0.5699 GB, free: 5.555 MB / 378.7 MB Notification: Performance of matching and sorting (n=17): time 0.001261/0.6222, allocations: 381.5 kB / 0.5703 GB, free: 5.242 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.724e-05/0.6223, allocations: 55.41 kB / 0.5703 GB, free: 5.176 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001002/0.6233, allocations: 495.5 kB / 0.5708 GB, free: 4.777 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 3.376e-05/0.6234, allocations: 29.64 kB / 0.5708 GB, free: 4.746 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001549/0.6236, allocations: 237.9 kB / 0.571 GB, free: 4.574 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.393e-05/0.6236, allocations: 54.89 kB / 0.5711 GB, free: 4.527 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.268e-05/0.6237, allocations: 10.31 kB / 0.5711 GB, free: 4.52 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001161/0.6238, allocations: 314.3 kB / 0.5714 GB, free: 4.207 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001505/0.6239, allocations: 60.53 kB / 0.5715 GB, free: 4.168 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000146/0.6241, allocations: 61.52 kB / 0.5715 GB, free: 4.125 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001712/0.6243, allocations: 60.66 kB / 0.5716 GB, free: 4.086 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.225e-06/0.6243, allocations: 0 / 0.5716 GB, free: 4.086 MB / 378.7 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0004348/0.6248, allocations: 170.9 kB / 0.5717 GB, free: 3.953 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.552e-05/0.6248, allocations: 10.81 kB / 0.5718 GB, free: 3.945 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.895e-06/0.6248, allocations: 0 / 0.5718 GB, free: 3.945 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.978e-05/0.6248, allocations: 4 kB / 0.5718 GB, free: 3.941 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003018/0.6252, allocations: 35.97 kB / 0.5718 GB, free: 3.906 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.846e-06/0.6252, allocations: 3.938 kB / 0.5718 GB, free: 3.902 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002184/0.6254, allocations: 11.44 kB / 0.5718 GB, free: 3.895 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.681e-05/0.6254, allocations: 7.953 kB / 0.5718 GB, free: 3.887 MB / 378.7 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 (17): * Single equations (assignments): 17 * 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.451e-05/0.6255, allocations: 108.7 kB / 0.5719 GB, free: 3.777 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001183/0.6257, allocations: 43.44 kB / 0.572 GB, free: 3.734 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007353/0.6264, allocations: 270 kB / 0.5722 GB, free: 3.523 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.54e-06/0.6265, allocations: 0 / 0.5722 GB, free: 3.523 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.091e-06/0.6265, allocations: 0 / 0.5722 GB, free: 3.523 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.23e-06/0.6265, allocations: 3.938 kB / 0.5722 GB, free: 3.52 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001497/0.628, allocations: 0.7116 MB / 0.5729 GB, free: 2.883 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.364e-06/0.628, allocations: 8 kB / 0.5729 GB, free: 2.875 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002595/0.6283, allocations: 31.98 kB / 0.573 GB, free: 2.844 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.037e-05/0.6283, allocations: 3.984 kB / 0.573 GB, free: 2.84 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.152e-05/0.6284, allocations: 7.938 kB / 0.573 GB, free: 2.836 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.021e-06/0.6284, allocations: 3.953 kB / 0.573 GB, free: 2.832 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.445e-06/0.6284, allocations: 0 / 0.573 GB, free: 2.832 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00056/0.629, allocations: 314.9 kB / 0.5733 GB, free: 2.555 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002122/0.6292, allocations: 145.1 kB / 0.5734 GB, free: 2.402 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.801e-05/0.6293, allocations: 7.688 kB / 0.5734 GB, free: 2.398 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001993/0.6295, allocations: 4 kB / 0.5734 GB, free: 2.395 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.835e-05/0.6296, allocations: 23.5 kB / 0.5734 GB, free: 2.375 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.261e-05/0.6296, allocations: 7.984 kB / 0.5735 GB, free: 2.367 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0007327/0.6303, allocations: 398.5 kB / 0.5738 GB, free: 2.066 MB / 378.7 MB Notification: Performance of sort global known variables: time 6.31e-07/0.6304, allocations: 0 / 0.5738 GB, free: 2.066 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0005329/0.6309, allocations: 70.86 kB / 0.5739 GB, free: 2.004 MB / 378.7 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 (17): * Single equations (assignments): 17 * 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.001882/0.6328, allocations: 0.6302 MB / 0.5745 GB, free: 1.434 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.000465/0.6333, allocations: 141.5 kB / 0.5747 GB, free: 1.332 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 5.179e-06/0.6333, allocations: 3.938 kB / 0.5747 GB, free: 1.328 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001851/0.6335, allocations: 79.98 kB / 0.5747 GB, free: 1.273 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006934/0.6342, allocations: 74.73 kB / 0.5748 GB, free: 1.219 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001563/0.6358, allocations: 0.5918 MB / 0.5754 GB, free: 0.6719 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005216/0.6364, allocations: 0.8288 MB / 0.5762 GB, free: 15.83 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000208/0.6366, allocations: 34.92 kB / 0.5762 GB, free: 15.8 MB / 394.7 MB Notification: Performance of SimCode: time 1.513e-06/0.6366, allocations: 0 / 0.5762 GB, free: 15.8 MB / 394.7 MB Notification: Performance of Templates: time 0.01245/0.6491, allocations: 4.936 MB / 0.581 GB, free: 10.89 MB / 394.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test20.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test20.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test20.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test20.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test20.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test20 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test20.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test20_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2Dv/Test20/Test20.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test20.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches