Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test2.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.Test2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|const.y",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test2") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|const.y",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001517/0.001517, allocations: 181.9 kB / 13.66 MB, free: 1.664 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.122/2.122, allocations: 205.2 MB / 219.4 MB, free: 14.21 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.001125/0.001125, allocations: 90.69 kB / 267.5 MB, free: 14.05 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2803/0.2803, allocations: 43.49 MB / 359.1 MB, free: 12.24 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 4.277e-05/4.293e-05, allocations: 4 kB / 425.3 MB, free: 23.37 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1281/0.1281, allocations: 58.85 MB / 484.1 MB, free: 12.47 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.475/0.6032, allocations: 87.2 MB / 0.558 GB, free: 396 kB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002348/0.6035, allocations: 72.88 kB / 0.558 GB, free: 360 kB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02989/0.6334, allocations: 8.094 MB / 0.5659 GB, free: 9.133 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.513e-06/0.6334, allocations: 0 / 0.5659 GB, free: 9.133 MB / 378.7 MB Notification: Performance of Transformations before backend: time 4.055e-05/0.6335, allocations: 8 kB / 0.5659 GB, free: 9.125 MB / 378.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.0007136/0.6342, allocations: 0.5461 MB / 0.5665 GB, free: 8.551 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.667e-05/0.6343, allocations: 8.031 kB / 0.5665 GB, free: 8.543 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001062/0.6344, allocations: 50.39 kB / 0.5665 GB, free: 8.496 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006713/0.6351, allocations: 327.3 kB / 0.5668 GB, free: 8.148 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.12e-05/0.6351, allocations: 0 / 0.5668 GB, free: 8.148 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.239e-05/0.6351, allocations: 8 kB / 0.5668 GB, free: 8.141 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001445/0.6353, allocations: 52.81 kB / 0.5669 GB, free: 8.09 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.173e-05/0.6353, allocations: 3.5 kB / 0.5669 GB, free: 8.09 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.335e-05/0.6353, allocations: 0 / 0.5669 GB, free: 8.09 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.949e-06/0.6354, allocations: 3.938 kB / 0.5669 GB, free: 8.086 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.308e-05/0.6354, allocations: 23.19 kB / 0.5669 GB, free: 8.066 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00087/0.6363, allocations: 450.7 kB / 0.5674 GB, free: 7.633 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002168/0.6366, allocations: 45.56 kB / 0.5674 GB, free: 7.586 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.819e-05/0.6366, allocations: 8.859 kB / 0.5674 GB, free: 7.574 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.416e-05/0.6367, allocations: 3.5 kB / 0.5674 GB, free: 7.574 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.505e-05/0.6367, allocations: 42.52 kB / 0.5674 GB, free: 7.523 MB / 378.7 MB Notification: Performance of pre-optimization done (n=3): time 1.824e-06/0.6367, allocations: 0 / 0.5674 GB, free: 7.523 MB / 378.7 MB Notification: Performance of matching and sorting (n=5): time 0.0006353/0.6374, allocations: 198.7 kB / 0.5676 GB, free: 7.336 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.53e-05/0.6374, allocations: 51.41 kB / 0.5677 GB, free: 7.273 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001882/0.6393, allocations: 0.779 MB / 0.5684 GB, free: 6.668 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.559e-05/0.6394, allocations: 33.02 kB / 0.5685 GB, free: 6.633 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002013/0.6396, allocations: 239.6 kB / 0.5687 GB, free: 6.477 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.312e-05/0.6396, allocations: 11.75 kB / 0.5687 GB, free: 6.465 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.911e-06/0.6397, allocations: 0 / 0.5687 GB, free: 6.465 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001334/0.6398, allocations: 326.3 kB / 0.569 GB, free: 6.141 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.079e-05/0.6399, allocations: 11.31 kB / 0.569 GB, free: 6.133 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.505e-05/0.6399, allocations: 11.44 kB / 0.569 GB, free: 6.125 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.796e-05/0.64, allocations: 18.11 kB / 0.5691 GB, free: 6.113 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.784e-06/0.64, allocations: 0 / 0.5691 GB, free: 6.113 MB / 378.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001776/0.6402, allocations: 67.22 kB / 0.5691 GB, free: 6.051 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.697e-05/0.6402, allocations: 7.953 kB / 0.5691 GB, free: 6.043 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.274e-06/0.6402, allocations: 0 / 0.5691 GB, free: 6.043 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.656e-05/0.6403, allocations: 7.938 kB / 0.5691 GB, free: 6.035 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001525/0.6404, allocations: 15.98 kB / 0.5692 GB, free: 6.02 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.255e-06/0.6405, allocations: 4 kB / 0.5692 GB, free: 6.016 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001341/0.6406, allocations: 4 kB / 0.5692 GB, free: 6.012 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.959e-06/0.6406, allocations: 0 / 0.5692 GB, free: 6.012 MB / 378.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 () * 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 8.563e-05/0.6407, allocations: 108.1 kB / 0.5693 GB, free: 5.902 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001158/0.6409, allocations: 39.53 kB / 0.5693 GB, free: 5.863 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003149/0.6412, allocations: 128.3 kB / 0.5694 GB, free: 5.746 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.011e-06/0.6412, allocations: 11.98 kB / 0.5694 GB, free: 5.734 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.859e-06/0.6412, allocations: 0 / 0.5694 GB, free: 5.734 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.606e-06/0.6412, allocations: 0 / 0.5694 GB, free: 5.734 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001109/0.6423, allocations: 0.5688 MB / 0.57 GB, free: 5.188 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.708e-06/0.6424, allocations: 7.891 kB / 0.57 GB, free: 5.18 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001171/0.6425, allocations: 20.3 kB / 0.57 GB, free: 5.16 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.569e-06/0.6425, allocations: 0 / 0.57 GB, free: 5.16 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.399e-05/0.6425, allocations: 7.438 kB / 0.57 GB, free: 5.156 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.174e-06/0.6425, allocations: 0 / 0.57 GB, free: 5.156 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.873e-06/0.6426, allocations: 4 kB / 0.57 GB, free: 5.152 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002794/0.6428, allocations: 193.3 kB / 0.5702 GB, free: 4.957 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002934/0.6432, allocations: 166.5 kB / 0.5704 GB, free: 4.785 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.189e-05/0.6432, allocations: 3.984 kB / 0.5704 GB, free: 4.781 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001632/0.6434, allocations: 11.12 kB / 0.5704 GB, free: 4.773 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.048e-05/0.6435, allocations: 0 / 0.5704 GB, free: 4.773 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.608e-05/0.6435, allocations: 4 kB / 0.5704 GB, free: 4.77 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.001121/0.6446, allocations: 0.6434 MB / 0.571 GB, free: 4.305 MB / 378.7 MB Notification: Performance of sort global known variables: time 4.41e-07/0.6446, allocations: 0 / 0.571 GB, free: 4.305 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.000423/0.6451, allocations: 58.94 kB / 0.5711 GB, free: 4.25 MB / 378.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 () * 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.001064/0.6461, allocations: 370.9 kB / 0.5714 GB, free: 3.934 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0001698/0.6463, allocations: 29.56 kB / 0.5715 GB, free: 3.914 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.976e-06/0.6463, allocations: 0 / 0.5715 GB, free: 3.914 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 6.289e-05/0.6464, allocations: 27 kB / 0.5715 GB, free: 3.895 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003702/0.6468, allocations: 30.83 kB / 0.5715 GB, free: 3.883 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001734/0.6485, allocations: 0.7598 MB / 0.5723 GB, free: 3.172 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005669/0.6491, allocations: 0.8324 MB / 0.5731 GB, free: 2.328 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001258/0.6493, allocations: 27.44 kB / 0.5731 GB, free: 2.305 MB / 378.7 MB Notification: Performance of SimCode: time 1.553e-06/0.6493, allocations: 0 / 0.5731 GB, free: 2.305 MB / 378.7 MB Notification: Performance of Templates: time 0.01238/0.6617, allocations: 4.305 MB / 0.5773 GB, free: 14.01 MB / 394.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test2.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test2.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test2.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test2.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test2.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test2 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test2.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test2_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2Dv/Test2/Test2.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches