Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test5.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.Test5,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|const.y|clock.y",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test5") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test5,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|const.y|clock.y",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test5") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001513/0.001513, allocations: 186.2 kB / 16.41 MB, free: 5.723 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.049/2.048, allocations: 205.4 MB / 222.5 MB, free: 9.113 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.001181/0.001181, allocations: 106.1 kB / 270.9 MB, free: 8.367 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.5039/0.5039, allocations: 43.55 MB / 362.7 MB, free: 51.98 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0009953/0.0009957, allocations: 27.92 kB / 431.4 MB, free: 5.945 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1267/0.1278, allocations: 58.84 MB / 490.2 MB, free: 11.02 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4528/0.5806, allocations: 87.25 MB / 0.5639 GB, free: 15.3 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002815/0.5809, allocations: 74.16 kB / 0.564 GB, free: 15.23 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02993/0.6109, allocations: 7.823 MB / 0.5716 GB, free: 7.438 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.364e-06/0.6109, allocations: 3.828 kB / 0.5716 GB, free: 7.438 MB / 394.7 MB Notification: Performance of Transformations before backend: time 4.123e-05/0.611, allocations: 12 kB / 0.5717 GB, free: 7.426 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.001017/0.612, allocations: 0.6287 MB / 0.5723 GB, free: 6.75 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.793e-05/0.6121, allocations: 16.02 kB / 0.5723 GB, free: 6.734 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001115/0.6122, allocations: 43.28 kB / 0.5723 GB, free: 6.695 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006628/0.6129, allocations: 331.4 kB / 0.5726 GB, free: 6.332 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.445e-05/0.6129, allocations: 4 kB / 0.5726 GB, free: 6.328 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.559e-05/0.613, allocations: 4 kB / 0.5727 GB, free: 6.324 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002206/0.6132, allocations: 54.72 kB / 0.5727 GB, free: 6.266 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.405e-05/0.6132, allocations: 3.906 kB / 0.5727 GB, free: 6.262 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.249e-05/0.6132, allocations: 0 / 0.5727 GB, free: 6.262 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.317e-05/0.6133, allocations: 7.984 kB / 0.5727 GB, free: 6.254 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001739/0.6134, allocations: 39.88 kB / 0.5728 GB, free: 6.215 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009364/0.6144, allocations: 440.8 kB / 0.5732 GB, free: 5.734 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00029/0.6147, allocations: 50.44 kB / 0.5732 GB, free: 5.676 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.629e-05/0.6148, allocations: 4 kB / 0.5732 GB, free: 5.672 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.664e-05/0.6148, allocations: 34.52 kB / 0.5733 GB, free: 5.629 MB / 394.7 MB Notification: Performance of pre-optimization done (n=3): time 2.655e-06/0.6148, allocations: 0 / 0.5733 GB, free: 5.629 MB / 394.7 MB Notification: Performance of matching and sorting (n=5): time 0.00105/0.6159, allocations: 256 kB / 0.5735 GB, free: 5.371 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.017e-05/0.6159, allocations: 51.41 kB / 0.5736 GB, free: 5.309 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00198/0.6179, allocations: 0.794 MB / 0.5743 GB, free: 4.508 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 2.984e-05/0.618, allocations: 25.7 kB / 0.5744 GB, free: 4.477 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002353/0.6182, allocations: 238.6 kB / 0.5746 GB, free: 4.242 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.568e-05/0.6183, allocations: 19.75 kB / 0.5746 GB, free: 4.223 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.632e-06/0.6183, allocations: 0 / 0.5746 GB, free: 4.223 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001428/0.6185, allocations: 319 kB / 0.5749 GB, free: 3.902 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001651/0.6186, allocations: 23.98 kB / 0.5749 GB, free: 3.879 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001324/0.6188, allocations: 26.42 kB / 0.575 GB, free: 3.855 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001456/0.619, allocations: 27.98 kB / 0.575 GB, free: 3.828 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.164e-06/0.619, allocations: 4 kB / 0.575 GB, free: 3.824 MB / 394.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0003593/0.6193, allocations: 93.59 kB / 0.5751 GB, free: 3.727 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.205e-05/0.6194, allocations: 7.953 kB / 0.5751 GB, free: 3.719 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.743e-06/0.6194, allocations: 0 / 0.5751 GB, free: 3.719 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.593e-05/0.6194, allocations: 0 / 0.5751 GB, free: 3.719 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001627/0.6196, allocations: 16 kB / 0.5751 GB, free: 3.703 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.272e-06/0.6196, allocations: 0 / 0.5751 GB, free: 3.703 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001715/0.6198, allocations: 11.98 kB / 0.5751 GB, free: 3.691 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.045e-05/0.6198, allocations: 0 / 0.5751 GB, free: 3.691 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.0003518/0.6202, allocations: 213.8 kB / 0.5753 GB, free: 3.473 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001291/0.6203, allocations: 43.44 kB / 0.5754 GB, free: 3.43 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005218/0.6208, allocations: 157.2 kB / 0.5755 GB, free: 3.27 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.063e-06/0.6209, allocations: 4 kB / 0.5755 GB, free: 3.266 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.534e-06/0.6209, allocations: 3.984 kB / 0.5755 GB, free: 3.262 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.009e-06/0.6209, allocations: 3.5 kB / 0.5755 GB, free: 3.262 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001312/0.6222, allocations: 0.6 MB / 0.5761 GB, free: 2.605 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.418e-06/0.6223, allocations: 0.75 kB / 0.5761 GB, free: 2.605 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000118/0.6224, allocations: 15.95 kB / 0.5761 GB, free: 2.59 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.584e-06/0.6224, allocations: 0 / 0.5761 GB, free: 2.59 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.333e-05/0.6224, allocations: 0 / 0.5761 GB, free: 2.59 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.088e-06/0.6224, allocations: 7.938 kB / 0.5761 GB, free: 2.582 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.248e-06/0.6225, allocations: 3.938 kB / 0.5761 GB, free: 2.578 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004769/0.6229, allocations: 227 kB / 0.5763 GB, free: 2.34 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002752/0.6232, allocations: 164.5 kB / 0.5765 GB, free: 2.16 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.216e-05/0.6233, allocations: 11.89 kB / 0.5765 GB, free: 2.148 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001606/0.6235, allocations: 7.984 kB / 0.5765 GB, free: 2.141 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.881e-05/0.6236, allocations: 8 kB / 0.5765 GB, free: 2.133 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.005e-06/0.6236, allocations: 0 / 0.5765 GB, free: 2.133 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.001231/0.6248, allocations: 0.6472 MB / 0.5772 GB, free: 1.488 MB / 394.7 MB Notification: Performance of sort global known variables: time 5.61e-07/0.6249, allocations: 0 / 0.5772 GB, free: 1.488 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.000461/0.6253, allocations: 52 kB / 0.5772 GB, free: 1.438 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.001191/0.6265, allocations: 414.4 kB / 0.5776 GB, free: 1.125 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0003862/0.627, allocations: 59.91 kB / 0.5777 GB, free: 1.066 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 3.998e-06/0.627, allocations: 0 / 0.5777 GB, free: 1.066 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001446/0.6271, allocations: 31.97 kB / 0.5777 GB, free: 1.035 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004452/0.6276, allocations: 26.25 kB / 0.5777 GB, free: 1.012 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002126/0.6297, allocations: 0.9639 MB / 0.5787 GB, free: 20 kB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005749/0.6304, allocations: 0.8379 MB / 0.5795 GB, free: 15.16 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001381/0.6305, allocations: 23.38 kB / 0.5795 GB, free: 15.14 MB / 410.7 MB Notification: Performance of SimCode: time 9.22e-07/0.6305, allocations: 0 / 0.5795 GB, free: 15.14 MB / 410.7 MB Notification: Performance of Templates: time 0.01228/0.6428, allocations: 4.296 MB / 0.5837 GB, free: 10.83 MB / 410.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test5.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test5.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test5.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test5.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test5.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test5 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test5.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test5_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2Dv/Test5/Test5.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test5.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches