Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test18_usertab.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.CombiTable2D.Test18_usertab,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|d_t_new.y|ramp.y|ramp1.y|realExpression.y",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test18_usertab") translateModel(ModelicaTest.Tables.CombiTable2D.Test18_usertab,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|d_t_new.y|ramp.y|ramp1.y|realExpression.y",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test18_usertab") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0008797/0.0008798, allocations: 180.5 kB / 17.41 MB, free: 4.402 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.51/1.51, allocations: 205.4 MB / 223.6 MB, free: 8.941 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.0007724/0.0007724, allocations: 78.42 kB / 271.9 MB, free: 8.258 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.3181/0.3181, allocations: 43.56 MB / 363.8 MB, free: 52.12 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003414/0.0003415, allocations: 12 kB / 432.6 MB, free: 5.906 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.103/0.1034, allocations: 58.86 MB / 491.5 MB, free: 10.96 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2901/0.3935, allocations: 87.07 MB / 0.565 GB, free: 15.37 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.00022/0.3938, allocations: 73.19 kB / 0.565 GB, free: 15.3 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01018/0.404, allocations: 3.923 MB / 0.5689 GB, free: 11.41 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.834e-06/0.404, allocations: 0 / 0.5689 GB, free: 11.41 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.31e-05/0.4041, allocations: 4 kB / 0.5689 GB, free: 11.4 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0005711/0.4046, allocations: 438.6 kB / 0.5693 GB, free: 10.93 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.999e-05/0.4047, allocations: 8.031 kB / 0.5693 GB, free: 10.92 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.067e-05/0.4047, allocations: 12.31 kB / 0.5693 GB, free: 10.91 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002202/0.405, allocations: 203.5 kB / 0.5695 GB, free: 10.68 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.055e-06/0.405, allocations: 384 / 0.5695 GB, free: 10.68 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.53e-05/0.405, allocations: 8.375 kB / 0.5695 GB, free: 10.67 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002655/0.4053, allocations: 99.92 kB / 0.5696 GB, free: 10.56 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.325e-05/0.4053, allocations: 192 / 0.5696 GB, free: 10.56 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.776e-05/0.4053, allocations: 7.938 kB / 0.5696 GB, free: 10.55 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.432e-06/0.4053, allocations: 4 kB / 0.5696 GB, free: 10.55 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003176/0.4057, allocations: 95.84 kB / 0.5697 GB, free: 10.46 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004044/0.4061, allocations: 312.6 kB / 0.57 GB, free: 10.1 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002356/0.4063, allocations: 78.53 kB / 0.5701 GB, free: 10.02 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001548/0.4065, allocations: 52.95 kB / 0.5701 GB, free: 9.961 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.946e-05/0.4065, allocations: 4 kB / 0.5701 GB, free: 9.957 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.458e-05/0.4066, allocations: 38.48 kB / 0.5702 GB, free: 9.91 MB / 394.7 MB Notification: Performance of pre-optimization done (n=5): time 1.122e-06/0.4066, allocations: 0 / 0.5702 GB, free: 9.91 MB / 394.7 MB Notification: Performance of matching and sorting (n=8): time 0.001544/0.4081, allocations: 461.8 kB / 0.5706 GB, free: 9.453 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.107e-05/0.4082, allocations: 77.11 kB / 0.5707 GB, free: 9.359 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001504/0.4083, allocations: 147.2 kB / 0.5708 GB, free: 9.207 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.905e-05/0.4084, allocations: 29.7 kB / 0.5708 GB, free: 9.172 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.235e-05/0.4084, allocations: 99.98 kB / 0.5709 GB, free: 9.07 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.055e-05/0.4085, allocations: 27.77 kB / 0.571 GB, free: 9.043 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.142e-06/0.4085, allocations: 0 / 0.571 GB, free: 9.043 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001118/0.4086, allocations: 327 kB / 0.5713 GB, free: 8.715 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002809/0.4089, allocations: 91.92 kB / 0.5714 GB, free: 8.625 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002747/0.4092, allocations: 105.6 kB / 0.5715 GB, free: 8.516 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005244/0.4097, allocations: 185 kB / 0.5716 GB, free: 8.332 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.72e-07/0.4097, allocations: 0 / 0.5716 GB, free: 8.332 MB / 394.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0005871/0.4103, allocations: 221.8 kB / 0.5719 GB, free: 8.109 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.591e-05/0.4103, allocations: 8 kB / 0.5719 GB, free: 8.102 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.93e-06/0.4103, allocations: 3.938 kB / 0.5719 GB, free: 8.098 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.356e-05/0.4104, allocations: 0 / 0.5719 GB, free: 8.098 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002098/0.4106, allocations: 55.95 kB / 0.5719 GB, free: 8.043 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.68e-06/0.4106, allocations: 0 / 0.5719 GB, free: 8.043 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000148/0.4107, allocations: 31.97 kB / 0.572 GB, free: 8.012 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.281e-05/0.4108, allocations: 7.984 kB / 0.572 GB, free: 8.004 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 (8): * Single equations (assignments): 8 * 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.000126/0.4109, allocations: 121.8 kB / 0.5721 GB, free: 7.875 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.576e-05/0.4109, allocations: 11.91 kB / 0.5721 GB, free: 7.863 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006405/0.4116, allocations: 250.8 kB / 0.5723 GB, free: 7.617 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.248e-06/0.4116, allocations: 4 kB / 0.5723 GB, free: 7.613 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.947e-06/0.4116, allocations: 0 / 0.5723 GB, free: 7.613 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.875e-06/0.4116, allocations: 0 / 0.5723 GB, free: 7.613 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008853/0.4125, allocations: 0.5062 MB / 0.5728 GB, free: 7.051 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.683e-06/0.4125, allocations: 3.938 kB / 0.5728 GB, free: 7.047 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001815/0.4127, allocations: 51.97 kB / 0.5729 GB, free: 6.996 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.094e-06/0.4127, allocations: 0 / 0.5729 GB, free: 6.996 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.01e-05/0.4127, allocations: 3.938 kB / 0.5729 GB, free: 6.992 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.302e-06/0.4127, allocations: 0 / 0.5729 GB, free: 6.992 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.177e-06/0.4128, allocations: 7.922 kB / 0.5729 GB, free: 6.984 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006146/0.4134, allocations: 319.3 kB / 0.5732 GB, free: 6.656 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.119e-05/0.4134, allocations: 85 kB / 0.5733 GB, free: 6.555 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.62e-05/0.4135, allocations: 15.98 kB / 0.5733 GB, free: 6.539 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001718/0.4136, allocations: 31.97 kB / 0.5733 GB, free: 6.508 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.664e-05/0.4137, allocations: 11.92 kB / 0.5733 GB, free: 6.496 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.456e-06/0.4137, allocations: 0 / 0.5733 GB, free: 6.496 MB / 394.7 MB Notification: Performance of sorting global known variables: time 9.358e-05/0.4138, allocations: 125.4 kB / 0.5735 GB, free: 6.375 MB / 394.7 MB Notification: Performance of sort global known variables: time 3.31e-07/0.4138, allocations: 4 kB / 0.5735 GB, free: 6.371 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.000272/0.4141, allocations: 35.98 kB / 0.5735 GB, free: 6.336 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 (8): * Single equations (assignments): 8 * 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.0009811/0.4151, allocations: 462.8 kB / 0.5739 GB, free: 5.973 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0006261/0.4157, allocations: 191.8 kB / 0.5741 GB, free: 5.785 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 3.316e-06/0.4157, allocations: 4 kB / 0.5741 GB, free: 5.781 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000285/0.416, allocations: 99.86 kB / 0.5742 GB, free: 5.684 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003018/0.4163, allocations: 19.98 kB / 0.5742 GB, free: 5.664 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004657/0.4168, allocations: 241.4 kB / 0.5745 GB, free: 5.402 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002511/0.4171, allocations: 0.6965 MB / 0.5751 GB, free: 4.68 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.594e-05/0.4172, allocations: 19.42 kB / 0.5752 GB, free: 4.66 MB / 394.7 MB Notification: Performance of SimCode: time 3.21e-07/0.4172, allocations: 0 / 0.5752 GB, free: 4.66 MB / 394.7 MB Notification: Performance of Templates: time 0.003652/0.4208, allocations: 2.108 MB / 0.5772 GB, free: 2.566 MB / 394.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test18_usertab.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test18_usertab.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test18_usertab.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test18_usertab.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test18_usertab.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test18_usertab --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test18_usertab.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test18_usertab_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2D/Test18_usertab/Test18_usertab.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test18_usertab.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches