Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test12.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.CombiTable1D.Test12,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test12") translateModel(ModelicaTest.Tables.CombiTable1D.Test12,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test12") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001459/0.001459, allocations: 182.8 kB / 16.4 MB, free: 5.719 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.913/1.913, allocations: 205.4 MB / 222.5 MB, free: 9.129 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.001138/0.001137, allocations: 95.02 kB / 270.9 MB, free: 8.371 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.4997/0.4997, allocations: 43.55 MB / 362.7 MB, free: 52.19 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006247/0.0006248, allocations: 12 kB / 431.4 MB, free: 6.172 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.125/0.1256, allocations: 58.85 MB / 490.2 MB, free: 11.25 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4911/0.6168, allocations: 86.45 MB / 0.5631 GB, free: 280 kB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002486/0.6171, allocations: 75.97 kB / 0.5632 GB, free: 204 kB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01552/0.6327, allocations: 3.627 MB / 0.5668 GB, free: 12.61 MB / 394.7 MB Notification: Performance of FrontEnd: time 3.006e-06/0.6327, allocations: 4 kB / 0.5668 GB, free: 12.61 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.355e-05/0.6328, allocations: 0 / 0.5668 GB, free: 12.61 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0005317/0.6333, allocations: 391.7 kB / 0.5671 GB, free: 12.18 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.278e-05/0.6334, allocations: 12.02 kB / 0.5671 GB, free: 12.17 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.486e-05/0.6334, allocations: 7.906 kB / 0.5672 GB, free: 12.16 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002779/0.6337, allocations: 194.4 kB / 0.5673 GB, free: 11.94 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.174e-05/0.6337, allocations: 4 kB / 0.5673 GB, free: 11.93 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.249e-05/0.6338, allocations: 0 / 0.5673 GB, free: 11.93 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000181/0.634, allocations: 57.61 kB / 0.5674 GB, free: 11.87 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.102e-05/0.634, allocations: 3.656 kB / 0.5674 GB, free: 11.87 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.6e-05/0.634, allocations: 7.984 kB / 0.5674 GB, free: 11.86 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.985e-06/0.634, allocations: 5.031 kB / 0.5674 GB, free: 11.86 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001501/0.6342, allocations: 23.98 kB / 0.5674 GB, free: 11.84 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004913/0.6347, allocations: 288.9 kB / 0.5677 GB, free: 11.5 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002619/0.635, allocations: 50.48 kB / 0.5678 GB, free: 11.45 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.866e-05/0.635, allocations: 0 / 0.5678 GB, free: 11.45 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.837e-05/0.635, allocations: 30.56 kB / 0.5678 GB, free: 11.41 MB / 394.7 MB Notification: Performance of pre-optimization done (n=3): time 3.266e-06/0.6351, allocations: 4 kB / 0.5678 GB, free: 11.4 MB / 394.7 MB Notification: Performance of matching and sorting (n=5): time 0.0008306/0.6359, allocations: 177.2 kB / 0.568 GB, free: 11.22 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.834e-05/0.636, allocations: 55.41 kB / 0.568 GB, free: 11.16 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002074/0.6362, allocations: 149 kB / 0.5682 GB, free: 11 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.62e-05/0.6362, allocations: 25.7 kB / 0.5682 GB, free: 10.97 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.136e-05/0.6363, allocations: 158.6 kB / 0.5683 GB, free: 10.82 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.451e-05/0.6364, allocations: 19.73 kB / 0.5684 GB, free: 10.8 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.295e-06/0.6364, allocations: 4 kB / 0.5684 GB, free: 10.79 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001261/0.6365, allocations: 310.8 kB / 0.5687 GB, free: 10.48 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001295/0.6367, allocations: 28.17 kB / 0.5687 GB, free: 10.45 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001533/0.6368, allocations: 23.98 kB / 0.5687 GB, free: 10.43 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001332/0.637, allocations: 31.91 kB / 0.5687 GB, free: 10.4 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.232e-06/0.637, allocations: 0 / 0.5687 GB, free: 10.4 MB / 394.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0003249/0.6373, allocations: 94.55 kB / 0.5688 GB, free: 10.3 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.804e-05/0.6373, allocations: 4 kB / 0.5688 GB, free: 10.3 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.29e-06/0.6374, allocations: 0 / 0.5688 GB, free: 10.3 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.752e-05/0.6374, allocations: 3.953 kB / 0.5688 GB, free: 10.29 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001197/0.6375, allocations: 15.98 kB / 0.5688 GB, free: 10.28 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.772e-06/0.6375, allocations: 0 / 0.5688 GB, free: 10.28 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.54e-05/0.6376, allocations: 4 kB / 0.5689 GB, free: 10.27 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.43e-05/0.6376, allocations: 12 kB / 0.5689 GB, free: 10.26 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.0001213/0.6378, allocations: 121.8 kB / 0.569 GB, free: 10.13 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.469e-05/0.6378, allocations: 7.906 kB / 0.569 GB, free: 10.12 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003933/0.6382, allocations: 113.8 kB / 0.5691 GB, free: 10.01 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.757e-06/0.6383, allocations: 4 kB / 0.5691 GB, free: 10.01 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.933e-06/0.6383, allocations: 3.953 kB / 0.5691 GB, free: 10 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.497e-06/0.6383, allocations: 0 / 0.5691 GB, free: 10 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006604/0.639, allocations: 366.5 kB / 0.5695 GB, free: 9.59 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.856e-06/0.639, allocations: 0 / 0.5695 GB, free: 9.59 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001089/0.6391, allocations: 23.92 kB / 0.5695 GB, free: 9.566 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.777e-06/0.6391, allocations: 0 / 0.5695 GB, free: 9.566 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.214e-05/0.6391, allocations: 4.703 kB / 0.5695 GB, free: 9.562 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.003e-06/0.6391, allocations: 0 / 0.5695 GB, free: 9.562 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.493e-06/0.6392, allocations: 0 / 0.5695 GB, free: 9.562 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003702/0.6395, allocations: 199.4 kB / 0.5697 GB, free: 9.352 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.305e-05/0.6396, allocations: 85.02 kB / 0.5697 GB, free: 9.25 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.329e-05/0.6396, allocations: 0 / 0.5697 GB, free: 9.25 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000116/0.6398, allocations: 19.94 kB / 0.5698 GB, free: 9.23 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.11e-05/0.6398, allocations: 0 / 0.5698 GB, free: 9.23 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.174e-06/0.6398, allocations: 3.938 kB / 0.5698 GB, free: 9.227 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0001497/0.64, allocations: 129.3 kB / 0.5699 GB, free: 9.102 MB / 394.7 MB Notification: Performance of sort global known variables: time 3.8e-07/0.64, allocations: 0 / 0.5699 GB, free: 9.102 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0003327/0.6404, allocations: 24 kB / 0.5699 GB, free: 9.078 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.001165/0.6415, allocations: 420.4 kB / 0.5703 GB, free: 8.762 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0003259/0.6419, allocations: 55.97 kB / 0.5704 GB, free: 8.707 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.565e-06/0.6419, allocations: 4 kB / 0.5704 GB, free: 8.703 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001426/0.642, allocations: 27.98 kB / 0.5704 GB, free: 8.676 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002741/0.6423, allocations: 15.98 kB / 0.5704 GB, free: 8.66 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005731/0.6429, allocations: 245.2 kB / 0.5707 GB, free: 8.391 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000295/0.6432, allocations: 0.6965 MB / 0.5713 GB, free: 7.668 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.65e-05/0.6433, allocations: 19.38 kB / 0.5714 GB, free: 7.648 MB / 394.7 MB Notification: Performance of SimCode: time 9.22e-07/0.6433, allocations: 0 / 0.5714 GB, free: 7.648 MB / 394.7 MB Notification: Performance of Templates: time 0.004292/0.6476, allocations: 1.464 MB / 0.5728 GB, free: 6.184 MB / 394.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test12.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test12.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test12.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test12.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test12.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test12 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test12.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test12_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable1D/Test12/Test12.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test12.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches