Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test20.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.Test20,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.Test20") translateModel(ModelicaTest.Tables.CombiTable1D.Test20,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.Test20") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001/0.001, allocations: 177.3 kB / 17.41 MB, free: 4.414 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.46/1.46, allocations: 205.4 MB / 223.6 MB, free: 9.039 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.0008097/0.0008095, allocations: 89 kB / 271.9 MB, free: 8.277 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.3344/0.3344, allocations: 43.55 MB / 363.7 MB, free: 52.16 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003927/0.0003928, allocations: 19.94 kB / 432.6 MB, free: 5.918 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1134/0.1138, allocations: 58.85 MB / 491.4 MB, free: 10.98 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2872/0.401, allocations: 86.78 MB / 0.5647 GB, free: 15.68 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002137/0.4013, allocations: 79.95 kB / 0.5647 GB, free: 15.6 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01057/0.4119, allocations: 4.326 MB / 0.569 GB, free: 11.31 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.104e-06/0.4119, allocations: 3.938 kB / 0.569 GB, free: 11.3 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.452e-05/0.412, allocations: 0 / 0.569 GB, free: 11.3 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.0005141/0.4125, allocations: 378.9 kB / 0.5693 GB, free: 10.89 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.95e-05/0.4125, allocations: 12.03 kB / 0.5694 GB, free: 10.88 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.573e-05/0.4126, allocations: 8.844 kB / 0.5694 GB, free: 10.87 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002339/0.4128, allocations: 192.2 kB / 0.5695 GB, free: 10.64 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.132e-05/0.4129, allocations: 5.5 kB / 0.5695 GB, free: 10.64 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.124e-05/0.4129, allocations: 4.375 kB / 0.5696 GB, free: 10.63 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001767/0.4131, allocations: 63.91 kB / 0.5696 GB, free: 10.56 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.011e-05/0.4131, allocations: 192 / 0.5696 GB, free: 10.56 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.208e-05/0.4131, allocations: 3.938 kB / 0.5696 GB, free: 10.55 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.937e-06/0.4131, allocations: 4 kB / 0.5696 GB, free: 10.55 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.521e-05/0.4132, allocations: 31.97 kB / 0.5697 GB, free: 10.52 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003771/0.4136, allocations: 280.9 kB / 0.5699 GB, free: 10.2 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001993/0.4138, allocations: 54.44 kB / 0.57 GB, free: 10.13 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.215e-05/0.4139, allocations: 16.94 kB / 0.57 GB, free: 10.11 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.907e-05/0.4139, allocations: 4 kB / 0.57 GB, free: 10.11 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.202e-05/0.4139, allocations: 30.84 kB / 0.57 GB, free: 10.07 MB / 394.7 MB Notification: Performance of pre-optimization done (n=3): time 1.583e-06/0.4139, allocations: 2.812 kB / 0.57 GB, free: 10.07 MB / 394.7 MB Notification: Performance of matching and sorting (n=5): time 0.0005409/0.4145, allocations: 161.4 kB / 0.5702 GB, free: 9.906 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.569e-05/0.4146, allocations: 85.05 kB / 0.5703 GB, free: 9.805 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001425/0.4147, allocations: 137.8 kB / 0.5704 GB, free: 9.66 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.349e-05/0.4147, allocations: 29.7 kB / 0.5704 GB, free: 9.625 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.205e-05/0.4148, allocations: 84.14 kB / 0.5705 GB, free: 9.539 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.42e-05/0.4148, allocations: 31.62 kB / 0.5705 GB, free: 9.508 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.338e-06/0.4148, allocations: 0 / 0.5705 GB, free: 9.508 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001142/0.4149, allocations: 322.8 kB / 0.5708 GB, free: 9.184 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.056e-05/0.415, allocations: 23.97 kB / 0.5709 GB, free: 9.16 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.56e-05/0.4151, allocations: 41.7 kB / 0.5709 GB, free: 9.113 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001305/0.4152, allocations: 60.77 kB / 0.571 GB, free: 9.051 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.22e-07/0.4152, allocations: 0 / 0.571 GB, free: 9.051 MB / 394.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001942/0.4154, allocations: 93.69 kB / 0.571 GB, free: 8.953 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.545e-05/0.4155, allocations: 8 kB / 0.5711 GB, free: 8.945 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.59e-06/0.4155, allocations: 0 / 0.5711 GB, free: 8.945 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.278e-05/0.4155, allocations: 0 / 0.5711 GB, free: 8.945 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.211e-05/0.4156, allocations: 12 kB / 0.5711 GB, free: 8.934 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.762e-06/0.4156, allocations: 3.984 kB / 0.5711 GB, free: 8.93 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.397e-05/0.4156, allocations: 8 kB / 0.5711 GB, free: 8.922 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.514e-06/0.4156, allocations: 4 kB / 0.5711 GB, free: 8.918 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 7.671e-05/0.4157, allocations: 121.8 kB / 0.5712 GB, free: 8.789 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.02e-05/0.4158, allocations: 7.906 kB / 0.5712 GB, free: 8.781 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002405/0.416, allocations: 109.9 kB / 0.5713 GB, free: 8.672 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.699e-06/0.416, allocations: 4 kB / 0.5713 GB, free: 8.668 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.487e-06/0.416, allocations: 0 / 0.5713 GB, free: 8.668 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.935e-06/0.416, allocations: 0 / 0.5713 GB, free: 8.668 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000428/0.4165, allocations: 362.4 kB / 0.5717 GB, free: 8.258 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.473e-06/0.4165, allocations: 0 / 0.5717 GB, free: 8.258 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.532e-05/0.4165, allocations: 19.98 kB / 0.5717 GB, free: 8.238 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.836e-06/0.4166, allocations: 0.9375 kB / 0.5717 GB, free: 8.238 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.883e-06/0.4166, allocations: 0 / 0.5717 GB, free: 8.238 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.234e-06/0.4166, allocations: 0 / 0.5717 GB, free: 8.238 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.252e-06/0.4166, allocations: 288 / 0.5717 GB, free: 8.238 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002308/0.4168, allocations: 203.4 kB / 0.5719 GB, free: 8.023 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.437e-05/0.4169, allocations: 85 kB / 0.572 GB, free: 7.922 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.087e-05/0.4169, allocations: 11.98 kB / 0.572 GB, free: 7.91 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.607e-05/0.417, allocations: 7.938 kB / 0.572 GB, free: 7.902 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.637e-05/0.417, allocations: 7.938 kB / 0.572 GB, free: 7.895 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.33e-06/0.417, allocations: 3.984 kB / 0.572 GB, free: 7.891 MB / 394.7 MB Notification: Performance of sorting global known variables: time 8.284e-05/0.4171, allocations: 111.1 kB / 0.5721 GB, free: 7.781 MB / 394.7 MB Notification: Performance of sort global known variables: time 2.2e-07/0.4171, allocations: 4 kB / 0.5721 GB, free: 7.777 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0002484/0.4174, allocations: 24 kB / 0.5721 GB, free: 7.754 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.0008916/0.4183, allocations: 449.1 kB / 0.5725 GB, free: 7.41 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0001939/0.4185, allocations: 67.95 kB / 0.5726 GB, free: 7.344 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.014e-06/0.4185, allocations: 0 / 0.5726 GB, free: 7.344 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 8.611e-05/0.4186, allocations: 31.92 kB / 0.5726 GB, free: 7.312 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002611/0.4189, allocations: 15.98 kB / 0.5727 GB, free: 7.297 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003623/0.4192, allocations: 196.6 kB / 0.5728 GB, free: 7.078 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002392/0.4195, allocations: 0.6887 MB / 0.5735 GB, free: 6.363 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.861e-05/0.4196, allocations: 15.44 kB / 0.5735 GB, free: 6.348 MB / 394.7 MB Notification: Performance of SimCode: time 3.51e-07/0.4196, allocations: 0 / 0.5735 GB, free: 6.348 MB / 394.7 MB Notification: Performance of Templates: time 0.003038/0.4226, allocations: 1.58 MB / 0.5751 GB, free: 4.77 MB / 394.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test20.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test20.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test20.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test20.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test20.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test20 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test20.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test20_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable1D/Test20/Test20.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test20.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches