Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test11.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.Test11,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.Test11") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test11,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.Test11") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001461/0.001461, allocations: 186.2 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.917/1.917, 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.001169/0.001169, allocations: 91.45 kB / 270.9 MB, free: 8.398 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.5086/0.5086, allocations: 43.55 MB / 362.7 MB, free: 51.91 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006469/0.0006469, allocations: 20 kB / 431.4 MB, free: 5.977 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1364/0.1371, allocations: 58.85 MB / 490.2 MB, free: 11.04 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4648/0.6019, allocations: 87.48 MB / 0.5642 GB, free: 15.14 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002794/0.6023, allocations: 74.12 kB / 0.5642 GB, free: 15.07 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01925/0.6215, allocations: 4.595 MB / 0.5687 GB, free: 10.5 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.794e-06/0.6216, allocations: 0 / 0.5687 GB, free: 10.5 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.359e-05/0.6216, allocations: 0 / 0.5687 GB, free: 10.5 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.0005856/0.6222, allocations: 403.1 kB / 0.5691 GB, free: 10.07 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.571e-05/0.6223, allocations: 8.562 kB / 0.5691 GB, free: 10.06 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.284e-05/0.6223, allocations: 11.34 kB / 0.5691 GB, free: 10.05 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002835/0.6226, allocations: 199.4 kB / 0.5693 GB, free: 9.816 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.175e-05/0.6226, allocations: 3.656 kB / 0.5693 GB, free: 9.816 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.421e-05/0.6227, allocations: 8 kB / 0.5693 GB, free: 9.809 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002792/0.623, allocations: 75.38 kB / 0.5694 GB, free: 9.723 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.442e-05/0.623, allocations: 0 / 0.5694 GB, free: 9.723 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.038e-05/0.623, allocations: 12.97 kB / 0.5694 GB, free: 9.711 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.029e-06/0.623, allocations: 0 / 0.5694 GB, free: 9.711 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000252/0.6233, allocations: 47.91 kB / 0.5694 GB, free: 9.664 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005915/0.6239, allocations: 312.8 kB / 0.5697 GB, free: 9.309 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000194/0.6241, allocations: 46.56 kB / 0.5698 GB, free: 9.254 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.73e-05/0.6242, allocations: 4 kB / 0.5698 GB, free: 9.25 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.488e-05/0.6242, allocations: 38.5 kB / 0.5698 GB, free: 9.203 MB / 394.7 MB Notification: Performance of pre-optimization done (n=4): time 1.523e-06/0.6242, allocations: 0 / 0.5698 GB, free: 9.203 MB / 394.7 MB Notification: Performance of matching and sorting (n=7): time 0.00133/0.6256, allocations: 269.2 kB / 0.5701 GB, free: 8.934 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.068e-05/0.6256, allocations: 77.11 kB / 0.5702 GB, free: 8.84 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001799/0.6258, allocations: 132 kB / 0.5703 GB, free: 8.703 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.972e-05/0.6259, allocations: 25.7 kB / 0.5703 GB, free: 8.672 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.853e-05/0.6259, allocations: 158.5 kB / 0.5705 GB, free: 8.516 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.675e-05/0.626, allocations: 31.64 kB / 0.5705 GB, free: 8.484 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.834e-06/0.626, allocations: 0 / 0.5705 GB, free: 8.484 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001227/0.6261, allocations: 319.2 kB / 0.5708 GB, free: 8.164 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000228/0.6264, allocations: 39.97 kB / 0.5708 GB, free: 8.125 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002477/0.6266, allocations: 65.67 kB / 0.5709 GB, free: 8.055 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002353/0.6269, allocations: 47.97 kB / 0.5709 GB, free: 8.008 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.064e-06/0.6269, allocations: 0 / 0.5709 GB, free: 8.008 MB / 394.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0005409/0.6275, allocations: 138.5 kB / 0.5711 GB, free: 7.867 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.192e-05/0.6275, allocations: 7.984 kB / 0.5711 GB, free: 7.859 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.552e-06/0.6275, allocations: 0 / 0.5711 GB, free: 7.859 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.73e-05/0.6275, allocations: 7.953 kB / 0.5711 GB, free: 7.852 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002129/0.6278, allocations: 23.98 kB / 0.5711 GB, free: 7.828 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.723e-06/0.6278, allocations: 0 / 0.5711 GB, free: 7.828 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001386/0.6279, allocations: 16.86 kB / 0.5711 GB, free: 7.812 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.397e-05/0.628, allocations: 4 kB / 0.5711 GB, free: 7.809 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.0001294/0.6281, allocations: 121.8 kB / 0.5712 GB, free: 7.68 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.694e-05/0.6282, allocations: 7.906 kB / 0.5713 GB, free: 7.672 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006148/0.6288, allocations: 159.3 kB / 0.5714 GB, free: 7.512 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.098e-06/0.6288, allocations: 0 / 0.5714 GB, free: 7.512 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.957e-06/0.6288, allocations: 3.953 kB / 0.5714 GB, free: 7.508 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.74e-06/0.6288, allocations: 4 kB / 0.5714 GB, free: 7.504 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009314/0.6298, allocations: 422.5 kB / 0.5718 GB, free: 7.035 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.989e-06/0.6298, allocations: 8.688 kB / 0.5718 GB, free: 7.027 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001725/0.63, allocations: 27.92 kB / 0.5719 GB, free: 7 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.559e-06/0.63, allocations: 0 / 0.5719 GB, free: 7 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.443e-05/0.63, allocations: 3.953 kB / 0.5719 GB, free: 6.996 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.494e-06/0.63, allocations: 4 kB / 0.5719 GB, free: 6.992 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.843e-06/0.63, allocations: 0 / 0.5719 GB, free: 6.992 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005905/0.6306, allocations: 235.4 kB / 0.5721 GB, free: 6.746 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.094e-05/0.6307, allocations: 93.28 kB / 0.5722 GB, free: 6.637 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.804e-05/0.6308, allocations: 3.938 kB / 0.5722 GB, free: 6.633 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001617/0.6309, allocations: 19.94 kB / 0.5722 GB, free: 6.613 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.086e-05/0.631, allocations: 7.984 kB / 0.5722 GB, free: 6.605 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.347e-05/0.631, allocations: 7.984 kB / 0.5722 GB, free: 6.598 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0001345/0.6312, allocations: 115.2 kB / 0.5723 GB, free: 6.484 MB / 394.7 MB Notification: Performance of sort global known variables: time 4e-07/0.6312, allocations: 0 / 0.5723 GB, free: 6.484 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0003823/0.6316, allocations: 39.92 kB / 0.5724 GB, free: 6.445 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.001262/0.6328, allocations: 461 kB / 0.5728 GB, free: 6.09 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0005886/0.6334, allocations: 99.94 kB / 0.5729 GB, free: 5.992 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 4.128e-06/0.6335, allocations: 0 / 0.5729 GB, free: 5.992 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002551/0.6337, allocations: 63.89 kB / 0.573 GB, free: 5.93 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002942/0.634, allocations: 12 kB / 0.573 GB, free: 5.918 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006203/0.6347, allocations: 245 kB / 0.5732 GB, free: 5.648 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003093/0.635, allocations: 0.7043 MB / 0.5739 GB, free: 4.918 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.33e-05/0.6351, allocations: 19.42 kB / 0.5739 GB, free: 4.902 MB / 394.7 MB Notification: Performance of SimCode: time 9.82e-07/0.6351, allocations: 0 / 0.5739 GB, free: 4.902 MB / 394.7 MB Notification: Performance of Templates: time 0.005327/0.6405, allocations: 1.859 MB / 0.5757 GB, free: 3.043 MB / 394.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test11.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test11.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test11.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test11.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test11.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test11 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test11.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test11_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2Dv/Test11/Test11.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test11.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches