Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test21.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.Test21,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.Test21") translateModel(ModelicaTest.Tables.CombiTable1D.Test21,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.Test21") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00136/0.00136, 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.521/1.521, allocations: 205.4 MB / 223.6 MB, free: 9.035 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.0007412/0.0007412, allocations: 98.27 kB / 271.9 MB, free: 8.25 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.3177/0.3177, allocations: 43.56 MB / 363.8 MB, free: 51.81 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003359/0.0003359, allocations: 12 kB / 432.6 MB, free: 5.652 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1122/0.1125, allocations: 58.86 MB / 491.4 MB, free: 10.71 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2597/0.3723, allocations: 86.78 MB / 0.5647 GB, free: 15.49 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001971/0.3725, allocations: 75.95 kB / 0.5648 GB, free: 15.41 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01016/0.3827, allocations: 4.327 MB / 0.569 GB, free: 11.12 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.843e-06/0.3827, allocations: 0 / 0.569 GB, free: 11.12 MB / 394.7 MB Notification: Performance of Transformations before backend: time 8.006e-06/0.3827, allocations: 0 / 0.569 GB, free: 11.12 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.0003515/0.3831, allocations: 382.9 kB / 0.5693 GB, free: 10.7 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.258e-05/0.3831, allocations: 12.03 kB / 0.5694 GB, free: 10.69 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.258e-05/0.3832, allocations: 13.41 kB / 0.5694 GB, free: 10.68 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001756/0.3834, allocations: 192.2 kB / 0.5695 GB, free: 10.45 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.195e-06/0.3834, allocations: 384 / 0.5696 GB, free: 10.45 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.731e-05/0.3834, allocations: 4.375 kB / 0.5696 GB, free: 10.45 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001382/0.3835, allocations: 63.97 kB / 0.5696 GB, free: 10.37 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.297e-06/0.3836, allocations: 6.625 kB / 0.5696 GB, free: 10.37 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.131e-05/0.3836, allocations: 7.312 kB / 0.5696 GB, free: 10.36 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.529e-06/0.3836, allocations: 4 kB / 0.5696 GB, free: 10.36 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.858e-05/0.3837, allocations: 27.97 kB / 0.5697 GB, free: 10.33 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003557/0.384, allocations: 280.9 kB / 0.5699 GB, free: 10.01 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001798/0.3842, allocations: 50.44 kB / 0.57 GB, free: 9.949 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.142e-05/0.3843, allocations: 20.94 kB / 0.57 GB, free: 9.926 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.71e-05/0.3843, allocations: 0 / 0.57 GB, free: 9.926 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.921e-05/0.3843, allocations: 34.84 kB / 0.57 GB, free: 9.883 MB / 394.7 MB Notification: Performance of pre-optimization done (n=3): time 8.22e-07/0.3844, allocations: 4 kB / 0.57 GB, free: 9.879 MB / 394.7 MB Notification: Performance of matching and sorting (n=5): time 0.0005213/0.3849, allocations: 161.4 kB / 0.5702 GB, free: 9.715 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.368e-05/0.3849, allocations: 81.05 kB / 0.5703 GB, free: 9.617 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001233/0.3851, allocations: 137.8 kB / 0.5704 GB, free: 9.473 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.271e-05/0.3851, allocations: 25.7 kB / 0.5704 GB, free: 9.441 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.014e-05/0.3851, allocations: 92.14 kB / 0.5705 GB, free: 9.348 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.024e-05/0.3852, allocations: 19.64 kB / 0.5705 GB, free: 9.328 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.378e-06/0.3852, allocations: 0 / 0.5705 GB, free: 9.328 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001123/0.3853, allocations: 322.8 kB / 0.5708 GB, free: 9.004 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.055e-05/0.3854, allocations: 27.98 kB / 0.5709 GB, free: 8.977 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.344e-05/0.3854, allocations: 37.69 kB / 0.5709 GB, free: 8.934 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001331/0.3856, allocations: 60.86 kB / 0.571 GB, free: 8.871 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.62e-07/0.3856, allocations: 4 kB / 0.571 GB, free: 8.867 MB / 394.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001868/0.3858, allocations: 93.59 kB / 0.571 GB, free: 8.77 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.261e-05/0.3858, allocations: 4 kB / 0.5711 GB, free: 8.766 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.789e-06/0.3858, allocations: 3.438 kB / 0.5711 GB, free: 8.766 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.226e-05/0.3858, allocations: 0 / 0.5711 GB, free: 8.766 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.258e-05/0.3859, allocations: 16.28 kB / 0.5711 GB, free: 8.75 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.729e-06/0.3859, allocations: 0 / 0.5711 GB, free: 8.75 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.247e-05/0.386, allocations: 7.984 kB / 0.5711 GB, free: 8.742 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.274e-06/0.386, allocations: 8 kB / 0.5711 GB, free: 8.734 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.97e-05/0.3861, allocations: 117.8 kB / 0.5712 GB, free: 8.609 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.011e-05/0.3861, allocations: 11.91 kB / 0.5712 GB, free: 8.598 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002414/0.3863, allocations: 113.5 kB / 0.5713 GB, free: 8.484 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.545e-06/0.3864, allocations: 0 / 0.5713 GB, free: 8.484 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.847e-06/0.3864, allocations: 0 / 0.5713 GB, free: 8.484 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.826e-06/0.3864, allocations: 0 / 0.5713 GB, free: 8.484 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000426/0.3868, allocations: 366.5 kB / 0.5717 GB, free: 8.07 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.753e-06/0.3868, allocations: 0.75 kB / 0.5717 GB, free: 8.07 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.654e-05/0.3869, allocations: 19.92 kB / 0.5717 GB, free: 8.051 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.593e-06/0.3869, allocations: 0 / 0.5717 GB, free: 8.051 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.702e-06/0.3869, allocations: 0 / 0.5717 GB, free: 8.051 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.685e-06/0.3869, allocations: 4 kB / 0.5717 GB, free: 8.047 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.01e-07/0.3869, allocations: 0 / 0.5717 GB, free: 8.047 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002199/0.3871, allocations: 196.2 kB / 0.5719 GB, free: 7.84 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.231e-05/0.3872, allocations: 89.02 kB / 0.572 GB, free: 7.734 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.884e-05/0.3872, allocations: 7.922 kB / 0.572 GB, free: 7.727 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.532e-05/0.3873, allocations: 7.938 kB / 0.572 GB, free: 7.719 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.366e-05/0.3873, allocations: 11.94 kB / 0.572 GB, free: 7.707 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.18e-06/0.3873, allocations: 3.984 kB / 0.572 GB, free: 7.703 MB / 394.7 MB Notification: Performance of sorting global known variables: time 6.902e-05/0.3874, allocations: 107.3 kB / 0.5721 GB, free: 7.598 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.31e-07/0.3874, allocations: 0 / 0.5721 GB, free: 7.598 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0002367/0.3877, allocations: 20 kB / 0.5721 GB, free: 7.578 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.0008651/0.3885, allocations: 458.8 kB / 0.5726 GB, free: 7.223 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0001938/0.3887, allocations: 59.95 kB / 0.5726 GB, free: 7.164 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.3888, allocations: 0 / 0.5726 GB, free: 7.164 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 7.868e-05/0.3888, allocations: 31.98 kB / 0.5726 GB, free: 7.133 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002556/0.3891, allocations: 19.92 kB / 0.5727 GB, free: 7.113 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003538/0.3895, allocations: 200.9 kB / 0.5728 GB, free: 6.891 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002397/0.3897, allocations: 0.6887 MB / 0.5735 GB, free: 6.176 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.569e-05/0.3898, allocations: 15.44 kB / 0.5735 GB, free: 6.164 MB / 394.7 MB Notification: Performance of SimCode: time 2.7e-07/0.3898, allocations: 0 / 0.5735 GB, free: 6.164 MB / 394.7 MB Notification: Performance of Templates: time 0.002831/0.3926, allocations: 1.576 MB / 0.5751 GB, free: 4.59 MB / 394.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test21.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test21.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test21.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test21.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test21.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test21 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test21.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test21_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable1D/Test21/Test21.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test21.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches