Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test8.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.Test8,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.Test8") translateModel(ModelicaTest.Tables.CombiTable1D.Test8,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.Test8") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002309/0.002314, allocations: 186.2 kB / 16.4 MB, free: 5.746 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.022/2.022, allocations: 205.4 MB / 222.5 MB, free: 9.121 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.001117/0.001116, allocations: 104 kB / 270.9 MB, free: 8.367 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.5275/0.5275, allocations: 43.55 MB / 362.7 MB, free: 51.88 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004655/0.0004657, allocations: 19.94 kB / 431.4 MB, free: 5.941 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.118/0.1185, allocations: 58.84 MB / 490.2 MB, free: 11.01 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5565/0.675, allocations: 86.45 MB / 0.5631 GB, free: 124 kB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002548/0.6754, allocations: 85.33 kB / 0.5632 GB, free: 44 kB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01567/0.6911, allocations: 3.573 MB / 0.5667 GB, free: 12.51 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.913e-06/0.6911, allocations: 4 kB / 0.5667 GB, free: 12.5 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.532e-05/0.6912, allocations: 0 / 0.5667 GB, free: 12.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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0005238/0.6917, allocations: 395.7 kB / 0.5671 GB, free: 12.07 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.643e-05/0.6918, allocations: 12.02 kB / 0.5671 GB, free: 12.06 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.508e-05/0.6918, allocations: 7.906 kB / 0.5671 GB, free: 12.05 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002693/0.6921, allocations: 197 kB / 0.5673 GB, free: 11.83 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.268e-05/0.6921, allocations: 0 / 0.5673 GB, free: 11.83 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.822e-05/0.6922, allocations: 8 kB / 0.5673 GB, free: 11.82 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001914/0.6924, allocations: 57.61 kB / 0.5674 GB, free: 11.76 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.177e-05/0.6924, allocations: 0 / 0.5674 GB, free: 11.76 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.13e-05/0.6924, allocations: 0 / 0.5674 GB, free: 11.76 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.25e-06/0.6924, allocations: 0 / 0.5674 GB, free: 11.76 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001477/0.6926, allocations: 25.02 kB / 0.5674 GB, free: 11.73 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004934/0.6931, allocations: 284.9 kB / 0.5677 GB, free: 11.41 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002774/0.6934, allocations: 54.48 kB / 0.5677 GB, free: 11.34 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.649e-05/0.6934, allocations: 0 / 0.5677 GB, free: 11.34 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.872e-05/0.6935, allocations: 34.56 kB / 0.5677 GB, free: 11.3 MB / 394.7 MB Notification: Performance of pre-optimization done (n=3): time 1.463e-06/0.6935, allocations: 0 / 0.5677 GB, free: 11.3 MB / 394.7 MB Notification: Performance of matching and sorting (n=5): time 0.0008607/0.6944, allocations: 169.3 kB / 0.5679 GB, free: 11.13 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.088e-05/0.6944, allocations: 51.41 kB / 0.568 GB, free: 11.07 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001948/0.6946, allocations: 145.1 kB / 0.5681 GB, free: 10.91 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.582e-05/0.6947, allocations: 25.7 kB / 0.5681 GB, free: 10.88 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.68e-05/0.6947, allocations: 163.2 kB / 0.5683 GB, free: 10.72 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.96e-05/0.6948, allocations: 15.66 kB / 0.5683 GB, free: 10.71 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.721e-06/0.6948, allocations: 0 / 0.5683 GB, free: 10.71 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001362/0.6949, allocations: 318.8 kB / 0.5686 GB, free: 10.39 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000129/0.6951, allocations: 28.11 kB / 0.5686 GB, free: 10.36 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001269/0.6953, allocations: 29.11 kB / 0.5687 GB, free: 10.33 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001334/0.6954, allocations: 23.98 kB / 0.5687 GB, free: 10.31 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.663e-06/0.6954, allocations: 3.938 kB / 0.5687 GB, free: 10.3 MB / 394.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.00033/0.6958, allocations: 97.59 kB / 0.5688 GB, free: 10.2 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.892e-05/0.6958, allocations: 4 kB / 0.5688 GB, free: 10.2 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.741e-06/0.6958, allocations: 0 / 0.5688 GB, free: 10.2 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.708e-05/0.6958, allocations: 4.562 kB / 0.5688 GB, free: 10.2 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001213/0.696, allocations: 11.98 kB / 0.5688 GB, free: 10.18 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.287e-06/0.696, allocations: 4 kB / 0.5688 GB, free: 10.18 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.619e-05/0.6961, allocations: 4 kB / 0.5688 GB, free: 10.18 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.27e-05/0.6961, allocations: 5.391 kB / 0.5688 GB, free: 10.17 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.0001198/0.6962, allocations: 125.8 kB / 0.5689 GB, free: 10.04 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.096e-05/0.6963, allocations: 7.906 kB / 0.5689 GB, free: 10.03 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004147/0.6967, allocations: 101.9 kB / 0.569 GB, free: 9.926 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.649e-06/0.6967, allocations: 0 / 0.569 GB, free: 9.926 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.32e-06/0.6967, allocations: 4 kB / 0.569 GB, free: 9.922 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.547e-06/0.6968, allocations: 0 / 0.569 GB, free: 9.922 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000666/0.6974, allocations: 362.5 kB / 0.5694 GB, free: 9.512 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.058e-06/0.6975, allocations: 0.875 kB / 0.5694 GB, free: 9.512 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001141/0.6976, allocations: 19.98 kB / 0.5694 GB, free: 9.492 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.051e-06/0.6976, allocations: 288 / 0.5694 GB, free: 9.492 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.274e-05/0.6976, allocations: 4 kB / 0.5694 GB, free: 9.488 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.969e-06/0.6976, allocations: 4 kB / 0.5694 GB, free: 9.484 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.835e-06/0.6977, allocations: 4.312 kB / 0.5694 GB, free: 9.48 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003815/0.698, allocations: 203.4 kB / 0.5696 GB, free: 9.266 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.677e-05/0.6981, allocations: 89 kB / 0.5697 GB, free: 9.16 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.565e-05/0.6982, allocations: 4 kB / 0.5697 GB, free: 9.156 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001067/0.6983, allocations: 8 kB / 0.5697 GB, free: 9.148 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.552e-05/0.6983, allocations: 3.984 kB / 0.5697 GB, free: 9.145 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.174e-05/0.6984, allocations: 4 kB / 0.5697 GB, free: 9.141 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0001396/0.6985, allocations: 118 kB / 0.5698 GB, free: 9.027 MB / 394.7 MB Notification: Performance of sort global known variables: time 4.11e-07/0.6985, allocations: 0 / 0.5698 GB, free: 9.027 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0003666/0.6989, allocations: 27.98 kB / 0.5698 GB, free: 9 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.001176/0.7001, allocations: 410.5 kB / 0.5702 GB, free: 8.695 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0003738/0.7005, allocations: 63.91 kB / 0.5703 GB, free: 8.633 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 3.156e-06/0.7005, allocations: 0 / 0.5703 GB, free: 8.633 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001444/0.7007, allocations: 31.98 kB / 0.5703 GB, free: 8.602 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003038/0.701, allocations: 11.98 kB / 0.5703 GB, free: 8.59 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005712/0.7016, allocations: 228.5 kB / 0.5706 GB, free: 8.34 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003012/0.7019, allocations: 0.7043 MB / 0.5712 GB, free: 7.609 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.801e-05/0.702, allocations: 11.44 kB / 0.5713 GB, free: 7.602 MB / 394.7 MB Notification: Performance of SimCode: time 1.112e-06/0.702, allocations: 0 / 0.5713 GB, free: 7.602 MB / 394.7 MB Notification: Performance of Templates: time 0.004569/0.7065, allocations: 1.437 MB / 0.5727 GB, free: 6.164 MB / 394.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test8.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test8.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test8.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test8.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test8.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test8 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test8.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test8_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable1D/Test8/Test8.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test8.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches