Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test4.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.CombiTable2D.Test4,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|d_t_new.y|clock.y|const.y",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test4") translateModel(ModelicaTest.Tables.CombiTable2D.Test4,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|d_t_new.y|clock.y|const.y",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test4") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001563/0.001568, allocations: 185.4 kB / 16.41 MB, free: 5.727 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.971/1.971, allocations: 205.4 MB / 222.5 MB, free: 9.141 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.001127/0.001127, allocations: 93.3 kB / 270.9 MB, free: 8.395 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.5107/0.5107, allocations: 43.55 MB / 362.7 MB, free: 51.92 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004896/0.0004896, allocations: 12 kB / 431.4 MB, free: 5.977 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1271/0.1276, allocations: 58.85 MB / 490.2 MB, free: 11.04 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4676/0.5952, allocations: 86.86 MB / 0.5636 GB, free: 15.73 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002639/0.5955, allocations: 75.95 kB / 0.5636 GB, free: 15.66 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02965/0.6252, allocations: 7.705 MB / 0.5712 GB, free: 7.988 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.823e-06/0.6253, allocations: 4 kB / 0.5712 GB, free: 7.984 MB / 394.7 MB Notification: Performance of Transformations before backend: time 3.144e-05/0.6253, allocations: 4 kB / 0.5712 GB, free: 7.98 MB / 394.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.001082/0.6264, allocations: 0.6356 MB / 0.5718 GB, free: 7.301 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.755e-05/0.6265, allocations: 12.02 kB / 0.5718 GB, free: 7.289 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001205/0.6266, allocations: 43.44 kB / 0.5718 GB, free: 7.246 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000677/0.6273, allocations: 323.4 kB / 0.5721 GB, free: 6.891 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.896e-05/0.6273, allocations: 7.938 kB / 0.5721 GB, free: 6.883 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.54e-05/0.6274, allocations: 0 / 0.5721 GB, free: 6.883 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002128/0.6276, allocations: 58.72 kB / 0.5722 GB, free: 6.82 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.208e-05/0.6276, allocations: 0.6562 kB / 0.5722 GB, free: 6.82 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.24e-05/0.6276, allocations: 0 / 0.5722 GB, free: 6.82 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.2e-06/0.6277, allocations: 0 / 0.5722 GB, free: 6.82 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001654/0.6278, allocations: 35.92 kB / 0.5722 GB, free: 6.785 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008712/0.6287, allocations: 439.8 kB / 0.5727 GB, free: 6.309 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003169/0.6291, allocations: 46.56 kB / 0.5727 GB, free: 6.254 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.666e-05/0.6291, allocations: 0 / 0.5727 GB, free: 6.254 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.201e-05/0.6291, allocations: 41.97 kB / 0.5727 GB, free: 6.207 MB / 394.7 MB Notification: Performance of pre-optimization done (n=3): time 1.593e-06/0.6292, allocations: 0 / 0.5727 GB, free: 6.207 MB / 394.7 MB Notification: Performance of matching and sorting (n=5): time 0.0009713/0.6301, allocations: 239.9 kB / 0.573 GB, free: 5.965 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.277e-05/0.6302, allocations: 59.41 kB / 0.573 GB, free: 5.895 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00196/0.6322, allocations: 0.7863 MB / 0.5738 GB, free: 5.098 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 2.345e-05/0.6322, allocations: 25.7 kB / 0.5738 GB, free: 5.066 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002082/0.6325, allocations: 238.6 kB / 0.574 GB, free: 4.832 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.964e-05/0.6325, allocations: 20.33 kB / 0.5741 GB, free: 4.812 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.967e-06/0.6325, allocations: 4 kB / 0.5741 GB, free: 4.809 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001278/0.6327, allocations: 311.1 kB / 0.5744 GB, free: 4.496 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001481/0.6328, allocations: 23.98 kB / 0.5744 GB, free: 4.473 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001501/0.633, allocations: 27.92 kB / 0.5744 GB, free: 4.445 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001375/0.6331, allocations: 24.53 kB / 0.5744 GB, free: 4.422 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.435e-06/0.6331, allocations: 0 / 0.5744 GB, free: 4.422 MB / 394.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0003344/0.6335, allocations: 85.67 kB / 0.5745 GB, free: 4.332 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.653e-05/0.6335, allocations: 7.953 kB / 0.5745 GB, free: 4.324 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.027e-06/0.6336, allocations: 0 / 0.5745 GB, free: 4.324 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.794e-05/0.6336, allocations: 7.922 kB / 0.5745 GB, free: 4.316 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001259/0.6337, allocations: 12 kB / 0.5746 GB, free: 4.305 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.664e-06/0.6337, allocations: 0 / 0.5746 GB, free: 4.305 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000163/0.6339, allocations: 15.92 kB / 0.5746 GB, free: 4.289 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.909e-06/0.6339, allocations: 4 kB / 0.5746 GB, free: 4.285 MB / 394.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 () * Number of clocked 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 0.0003252/0.6343, allocations: 209.8 kB / 0.5748 GB, free: 4.07 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001184/0.6344, allocations: 43.44 kB / 0.5748 GB, free: 4.027 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004684/0.6349, allocations: 144.9 kB / 0.5749 GB, free: 3.879 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.1e-06/0.6349, allocations: 4 kB / 0.575 GB, free: 3.875 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.174e-05/0.6349, allocations: 4 kB / 0.575 GB, free: 3.871 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.21e-06/0.6349, allocations: 0.5 kB / 0.575 GB, free: 3.871 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001241/0.6362, allocations: 0.5845 MB / 0.5755 GB, free: 3.23 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.978e-06/0.6362, allocations: 0 / 0.5755 GB, free: 3.23 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001161/0.6363, allocations: 24 kB / 0.5756 GB, free: 3.207 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.981e-06/0.6364, allocations: 4 kB / 0.5756 GB, free: 3.203 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.077e-05/0.6364, allocations: 0 / 0.5756 GB, free: 3.203 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.577e-06/0.6364, allocations: 0 / 0.5756 GB, free: 3.203 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.124e-06/0.6364, allocations: 0 / 0.5756 GB, free: 3.203 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004577/0.6369, allocations: 231 kB / 0.5758 GB, free: 2.961 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003204/0.6372, allocations: 157.4 kB / 0.5759 GB, free: 2.789 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.215e-05/0.6373, allocations: 3.953 kB / 0.5759 GB, free: 2.785 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001642/0.6375, allocations: 8 kB / 0.5759 GB, free: 2.777 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.163e-05/0.6375, allocations: 7.922 kB / 0.5759 GB, free: 2.77 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.041e-05/0.6375, allocations: 4 kB / 0.5759 GB, free: 2.766 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.001235/0.6388, allocations: 0.6394 MB / 0.5766 GB, free: 2.129 MB / 394.7 MB Notification: Performance of sort global known variables: time 3.91e-07/0.6388, allocations: 4 kB / 0.5766 GB, free: 2.125 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0004332/0.6392, allocations: 52 kB / 0.5766 GB, free: 2.074 MB / 394.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 () * Number of clocked 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.00121/0.6405, allocations: 418.6 kB / 0.577 GB, free: 1.762 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0003728/0.6409, allocations: 55.97 kB / 0.5771 GB, free: 1.707 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 3.045e-06/0.6409, allocations: 4 kB / 0.5771 GB, free: 1.703 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001675/0.6411, allocations: 31.92 kB / 0.5771 GB, free: 1.672 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003995/0.6415, allocations: 17.95 kB / 0.5771 GB, free: 1.656 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0021/0.6436, allocations: 0.9405 MB / 0.578 GB, free: 0.6836 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005957/0.6442, allocations: 0.8379 MB / 0.5789 GB, free: 15.82 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001298/0.6444, allocations: 23.69 kB / 0.5789 GB, free: 15.8 MB / 410.7 MB Notification: Performance of SimCode: time 1.343e-06/0.6444, allocations: 3.938 kB / 0.5789 GB, free: 15.8 MB / 410.7 MB Notification: Performance of Templates: time 0.01248/0.6569, allocations: 4.217 MB / 0.583 GB, free: 11.57 MB / 410.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test4.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test4.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test4.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test4.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test4.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test4 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test4.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test4_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2D/Test4/Test4.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test4.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches