Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test6.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.Test6,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test6") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test6,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test6") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002179/0.002183, allocations: 188.4 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.072/2.072, allocations: 205.4 MB / 222.5 MB, free: 9.105 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.001081/0.001081, allocations: 99.53 kB / 270.9 MB, free: 8.355 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.4982/0.4982, allocations: 43.55 MB / 362.7 MB, free: 51.9 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004573/0.0004574, allocations: 15.98 kB / 431.4 MB, free: 5.941 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1329/0.1334, allocations: 58.85 MB / 490.2 MB, free: 11.01 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.454/0.5874, allocations: 87.19 MB / 0.5639 GB, free: 15.35 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003025/0.5877, allocations: 71.97 kB / 0.5639 GB, free: 15.28 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02935/0.6171, allocations: 7.883 MB / 0.5716 GB, free: 7.43 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.625e-06/0.6172, allocations: 0 / 0.5716 GB, free: 7.43 MB / 394.7 MB Notification: Performance of Transformations before backend: time 3.326e-05/0.6172, allocations: 4 kB / 0.5716 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.0009621/0.6182, allocations: 0.6366 MB / 0.5723 GB, free: 6.742 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.965e-05/0.6182, allocations: 20 kB / 0.5723 GB, free: 6.723 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.774e-05/0.6183, allocations: 43.28 kB / 0.5723 GB, free: 6.684 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006316/0.619, allocations: 331.8 kB / 0.5726 GB, free: 6.32 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.401e-05/0.619, allocations: 4 kB / 0.5726 GB, free: 6.316 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.468e-05/0.6191, allocations: 0 / 0.5726 GB, free: 6.316 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002423/0.6193, allocations: 65.14 kB / 0.5727 GB, free: 6.25 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.181e-05/0.6193, allocations: 0.5469 kB / 0.5727 GB, free: 6.25 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.22e-05/0.6194, allocations: 8 kB / 0.5727 GB, free: 6.242 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.17e-06/0.6194, allocations: 0 / 0.5727 GB, free: 6.242 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000256/0.6196, allocations: 51.86 kB / 0.5728 GB, free: 6.191 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008857/0.6205, allocations: 460.7 kB / 0.5732 GB, free: 5.691 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001993/0.6208, allocations: 54.5 kB / 0.5733 GB, free: 5.629 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.629e-05/0.6208, allocations: 0 / 0.5733 GB, free: 5.629 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.754e-05/0.6208, allocations: 30.56 kB / 0.5733 GB, free: 5.59 MB / 394.7 MB Notification: Performance of pre-optimization done (n=4): time 1.392e-06/0.6208, allocations: 7.938 kB / 0.5733 GB, free: 5.582 MB / 394.7 MB Notification: Performance of matching and sorting (n=7): time 0.001408/0.6223, allocations: 344 kB / 0.5736 GB, free: 5.238 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.562e-05/0.6223, allocations: 55.34 kB / 0.5737 GB, free: 5.172 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001897/0.6242, allocations: 0.7863 MB / 0.5744 GB, free: 4.379 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 2.114e-05/0.6243, allocations: 25.7 kB / 0.5745 GB, free: 4.348 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001963/0.6245, allocations: 234.6 kB / 0.5747 GB, free: 4.117 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.904e-05/0.6245, allocations: 23.64 kB / 0.5747 GB, free: 4.094 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.057e-05/0.6245, allocations: 4 kB / 0.5747 GB, free: 4.09 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001247/0.6247, allocations: 310.8 kB / 0.575 GB, free: 3.777 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002335/0.6249, allocations: 47.97 kB / 0.5751 GB, free: 3.73 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002573/0.6252, allocations: 43.97 kB / 0.5751 GB, free: 3.688 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002366/0.6254, allocations: 56.17 kB / 0.5751 GB, free: 3.633 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.644e-06/0.6255, allocations: 0 / 0.5751 GB, free: 3.633 MB / 394.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0005259/0.626, allocations: 133.5 kB / 0.5753 GB, free: 3.496 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.269e-05/0.626, allocations: 15.08 kB / 0.5753 GB, free: 3.484 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.352e-06/0.6261, allocations: 0 / 0.5753 GB, free: 3.484 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.368e-05/0.6261, allocations: 0 / 0.5753 GB, free: 3.484 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002092/0.6263, allocations: 27.92 kB / 0.5753 GB, free: 3.457 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.873e-06/0.6263, allocations: 0 / 0.5753 GB, free: 3.457 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001659/0.6265, allocations: 19.98 kB / 0.5753 GB, free: 3.438 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.492e-05/0.6265, allocations: 4.703 kB / 0.5753 GB, free: 3.434 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 (7): * Single equations (assignments): 7 * 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.0002983/0.6268, allocations: 213.8 kB / 0.5755 GB, free: 3.215 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001165/0.6269, allocations: 39.53 kB / 0.5756 GB, free: 3.176 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006882/0.6276, allocations: 202.1 kB / 0.5758 GB, free: 2.969 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.923e-06/0.6277, allocations: 0 / 0.5758 GB, free: 2.969 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.2e-06/0.6277, allocations: 3.938 kB / 0.5758 GB, free: 2.965 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.282e-06/0.6277, allocations: 4.266 kB / 0.5758 GB, free: 2.961 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001489/0.6292, allocations: 0.6546 MB / 0.5764 GB, free: 2.25 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.326e-06/0.6292, allocations: 0.75 kB / 0.5764 GB, free: 2.25 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001706/0.6294, allocations: 27.44 kB / 0.5764 GB, free: 2.227 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.28e-06/0.6294, allocations: 11.98 kB / 0.5765 GB, free: 2.215 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.3e-05/0.6294, allocations: 0 / 0.5765 GB, free: 2.215 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.635e-06/0.6294, allocations: 3.938 kB / 0.5765 GB, free: 2.211 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.081e-06/0.6295, allocations: 3.984 kB / 0.5765 GB, free: 2.207 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006549/0.6301, allocations: 267 kB / 0.5767 GB, free: 1.93 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002606/0.6304, allocations: 160.5 kB / 0.5769 GB, free: 1.754 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.607e-05/0.6305, allocations: 7.891 kB / 0.5769 GB, free: 1.746 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002011/0.6307, allocations: 19.98 kB / 0.5769 GB, free: 1.727 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.334e-05/0.6308, allocations: 7.984 kB / 0.5769 GB, free: 1.719 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.095e-05/0.6308, allocations: 4 kB / 0.5769 GB, free: 1.715 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.001162/0.6319, allocations: 0.6355 MB / 0.5775 GB, free: 1.082 MB / 394.7 MB Notification: Performance of sort global known variables: time 3.91e-07/0.632, allocations: 0 / 0.5775 GB, free: 1.082 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0004312/0.6324, allocations: 67.92 kB / 0.5776 GB, free: 1.016 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 (7): * Single equations (assignments): 7 * 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.001198/0.6336, allocations: 401.5 kB / 0.578 GB, free: 0.7148 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0005517/0.6342, allocations: 111.9 kB / 0.5781 GB, free: 0.6055 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.936e-06/0.6342, allocations: 0 / 0.5781 GB, free: 0.6055 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002491/0.6345, allocations: 55.97 kB / 0.5781 GB, free: 0.5508 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003769/0.6348, allocations: 29.89 kB / 0.5782 GB, free: 0.5234 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002014/0.6369, allocations: 0.9823 MB / 0.5791 GB, free: 15.51 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005679/0.6375, allocations: 0.8457 MB / 0.58 GB, free: 14.64 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001245/0.6376, allocations: 19.44 kB / 0.58 GB, free: 14.62 MB / 410.7 MB Notification: Performance of SimCode: time 8.41e-07/0.6376, allocations: 0 / 0.58 GB, free: 14.62 MB / 410.7 MB Notification: Performance of Templates: time 0.01181/0.6494, allocations: 4.424 MB / 0.5843 GB, free: 10.18 MB / 410.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test6.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test6.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test6.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test6.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test6.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test6 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test6.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test6_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2Dv/Test6/Test6.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test6.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches