Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test10.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.Test10,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.Test10") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test10,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.Test10") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002358/0.002357, allocations: 185.9 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.927/1.927, 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.001156/0.001156, allocations: 99.77 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.5111/0.5111, allocations: 43.55 MB / 362.7 MB, free: 52.18 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006694/0.0006694, allocations: 15.98 kB / 431.4 MB, free: 6.195 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1244/0.1251, allocations: 58.84 MB / 490.2 MB, free: 11.27 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4737/0.5988, allocations: 87.47 MB / 0.5641 GB, free: 15.3 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003159/0.5992, allocations: 75.95 kB / 0.5642 GB, free: 15.23 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01925/0.6185, allocations: 4.595 MB / 0.5687 GB, free: 10.66 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.404e-06/0.6185, allocations: 0 / 0.5687 GB, free: 10.66 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.515e-05/0.6185, allocations: 8 kB / 0.5687 GB, free: 10.65 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.0006241/0.6192, allocations: 405.5 kB / 0.5691 GB, free: 10.21 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.764e-05/0.6192, allocations: 16.5 kB / 0.5691 GB, free: 10.2 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.859e-05/0.6193, allocations: 11.34 kB / 0.5691 GB, free: 10.19 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002784/0.6196, allocations: 186.9 kB / 0.5693 GB, free: 9.965 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.814e-05/0.6196, allocations: 8 kB / 0.5693 GB, free: 9.957 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.755e-05/0.6197, allocations: 0 / 0.5693 GB, free: 9.957 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002827/0.6199, allocations: 83.33 kB / 0.5694 GB, free: 9.863 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.653e-05/0.62, allocations: 3.984 kB / 0.5694 GB, free: 9.859 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.615e-05/0.62, allocations: 4.969 kB / 0.5694 GB, free: 9.855 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.16e-06/0.62, allocations: 0 / 0.5694 GB, free: 9.855 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002547/0.6203, allocations: 51.97 kB / 0.5694 GB, free: 9.805 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005845/0.6209, allocations: 304.8 kB / 0.5697 GB, free: 9.457 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002009/0.6211, allocations: 54.55 kB / 0.5698 GB, free: 9.395 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.232e-05/0.6212, allocations: 7.938 kB / 0.5698 GB, free: 9.387 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.142e-05/0.6212, allocations: 30.56 kB / 0.5698 GB, free: 9.348 MB / 394.7 MB Notification: Performance of pre-optimization done (n=4): time 1.783e-06/0.6212, allocations: 0 / 0.5698 GB, free: 9.348 MB / 394.7 MB Notification: Performance of matching and sorting (n=7): time 0.001316/0.6225, allocations: 269.3 kB / 0.5701 GB, free: 9.078 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.996e-05/0.6226, allocations: 77.11 kB / 0.5702 GB, free: 8.984 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001874/0.6228, allocations: 132 kB / 0.5703 GB, free: 8.848 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 2.263e-05/0.6228, allocations: 29.7 kB / 0.5703 GB, free: 8.812 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.191e-05/0.6229, allocations: 162.5 kB / 0.5705 GB, free: 8.652 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.27e-05/0.623, allocations: 27.64 kB / 0.5705 GB, free: 8.625 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.566e-06/0.623, allocations: 4 kB / 0.5705 GB, free: 8.621 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001272/0.6231, allocations: 311.2 kB / 0.5708 GB, free: 8.309 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002276/0.6234, allocations: 43.97 kB / 0.5708 GB, free: 8.266 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000243/0.6236, allocations: 61.77 kB / 0.5709 GB, free: 8.199 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002759/0.6239, allocations: 55.94 kB / 0.5709 GB, free: 8.145 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.443e-06/0.6239, allocations: 0 / 0.5709 GB, free: 8.145 MB / 394.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0005459/0.6245, allocations: 133.6 kB / 0.5711 GB, free: 8.008 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.48e-05/0.6245, allocations: 8 kB / 0.5711 GB, free: 8 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.672e-06/0.6246, allocations: 0 / 0.5711 GB, free: 8 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.049e-05/0.6246, allocations: 3.953 kB / 0.5711 GB, free: 7.996 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002034/0.6248, allocations: 23.98 kB / 0.5711 GB, free: 7.973 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.229e-05/0.6248, allocations: 7.984 kB / 0.5711 GB, free: 7.965 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001348/0.625, allocations: 8 kB / 0.5711 GB, free: 7.957 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.59e-05/0.625, allocations: 4 kB / 0.5711 GB, free: 7.953 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.0001302/0.6251, allocations: 121.8 kB / 0.5712 GB, free: 7.824 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.611e-05/0.6252, allocations: 11.91 kB / 0.5713 GB, free: 7.812 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006121/0.6258, allocations: 150.3 kB / 0.5714 GB, free: 7.66 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.141e-06/0.6258, allocations: 12 kB / 0.5714 GB, free: 7.648 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.568e-06/0.6259, allocations: 3.953 kB / 0.5714 GB, free: 7.645 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.063e-06/0.6259, allocations: 0 / 0.5714 GB, free: 7.645 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009435/0.6268, allocations: 430.8 kB / 0.5718 GB, free: 7.168 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.821e-06/0.6269, allocations: 7.938 kB / 0.5718 GB, free: 7.16 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001713/0.627, allocations: 23.92 kB / 0.5719 GB, free: 7.137 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.402e-06/0.6271, allocations: 0 / 0.5719 GB, free: 7.137 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.528e-05/0.6271, allocations: 3.953 kB / 0.5719 GB, free: 7.133 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.815e-06/0.6271, allocations: 4 kB / 0.5719 GB, free: 7.129 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.783e-06/0.6271, allocations: 0 / 0.5719 GB, free: 7.129 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005754/0.6277, allocations: 239.4 kB / 0.5721 GB, free: 6.879 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.127e-05/0.6278, allocations: 93 kB / 0.5722 GB, free: 6.77 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.774e-05/0.6278, allocations: 0 / 0.5722 GB, free: 6.77 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001754/0.628, allocations: 15.95 kB / 0.5722 GB, free: 6.754 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.9e-05/0.6281, allocations: 7.984 kB / 0.5722 GB, free: 6.746 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.257e-05/0.6281, allocations: 4 kB / 0.5722 GB, free: 6.742 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0001315/0.6282, allocations: 115.2 kB / 0.5723 GB, free: 6.629 MB / 394.7 MB Notification: Performance of sort global known variables: time 4e-07/0.6283, allocations: 0 / 0.5723 GB, free: 6.629 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0004/0.6287, allocations: 39.94 kB / 0.5724 GB, free: 6.59 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.001305/0.63, allocations: 452.6 kB / 0.5728 GB, free: 6.246 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0005579/0.6306, allocations: 111.9 kB / 0.5729 GB, free: 6.137 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 3.366e-06/0.6306, allocations: 0 / 0.5729 GB, free: 6.137 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002553/0.6308, allocations: 59.91 kB / 0.5729 GB, free: 6.078 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000297/0.6312, allocations: 11.98 kB / 0.573 GB, free: 6.066 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006199/0.6318, allocations: 245 kB / 0.5732 GB, free: 5.797 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003358/0.6321, allocations: 0.7043 MB / 0.5739 GB, free: 5.066 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.645e-05/0.6322, allocations: 15.44 kB / 0.5739 GB, free: 5.051 MB / 394.7 MB Notification: Performance of SimCode: time 9.22e-07/0.6323, allocations: 0 / 0.5739 GB, free: 5.051 MB / 394.7 MB Notification: Performance of Templates: time 0.005378/0.6376, allocations: 1.859 MB / 0.5757 GB, free: 3.191 MB / 394.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test10.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test10.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test10.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test10.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test10.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test10 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test10.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test10_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2Dv/Test10/Test10.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test10.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches