Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.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.CombiTable2Dv.Test18_usertab,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|ramp.y|ramp1.y|realExpression.y",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test18_usertab") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test18_usertab,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|ramp.y|ramp1.y|realExpression.y",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test18_usertab") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00146/0.00146, allocations: 182.1 kB / 17.41 MB, free: 4.406 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.596/1.596, allocations: 205.4 MB / 223.5 MB, free: 8.949 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.0007846/0.0007848, allocations: 97.41 kB / 271.9 MB, free: 8.238 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.3622/0.3622, allocations: 43.57 MB / 363.8 MB, free: 52.17 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003746/0.0003746, allocations: 12 kB / 432.6 MB, free: 5.879 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1342/0.1346, allocations: 58.85 MB / 491.4 MB, free: 10.95 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3566/0.4912, allocations: 87.46 MB / 0.5653 GB, free: 14.96 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002881/0.4916, allocations: 67.97 kB / 0.5654 GB, free: 14.89 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01086/0.5025, allocations: 4.045 MB / 0.5694 GB, free: 10.88 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.623e-06/0.5025, allocations: 0 / 0.5694 GB, free: 10.88 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.24e-05/0.5025, allocations: 4 kB / 0.5694 GB, free: 10.88 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.0006227/0.5032, allocations: 437.7 kB / 0.5698 GB, free: 10.4 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.105e-05/0.5032, allocations: 8.875 kB / 0.5698 GB, free: 10.39 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.287e-05/0.5033, allocations: 8.844 kB / 0.5698 GB, free: 10.39 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002311/0.5035, allocations: 199.6 kB / 0.57 GB, free: 10.16 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.248e-05/0.5035, allocations: 8.375 kB / 0.57 GB, free: 10.15 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.079e-05/0.5036, allocations: 384 / 0.57 GB, free: 10.15 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003092/0.5039, allocations: 112.5 kB / 0.5701 GB, free: 10.03 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.119e-05/0.5039, allocations: 192 / 0.5701 GB, free: 10.03 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.612e-05/0.5039, allocations: 11.94 kB / 0.5701 GB, free: 10.02 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.091e-06/0.5039, allocations: 0 / 0.5701 GB, free: 10.02 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003092/0.5043, allocations: 99.56 kB / 0.5702 GB, free: 9.922 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005961/0.5049, allocations: 360.6 kB / 0.5705 GB, free: 9.52 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002321/0.5051, allocations: 82.47 kB / 0.5706 GB, free: 9.43 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001731/0.5053, allocations: 56.94 kB / 0.5707 GB, free: 9.371 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.498e-05/0.5053, allocations: 0 / 0.5707 GB, free: 9.371 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.09e-05/0.5054, allocations: 42.5 kB / 0.5707 GB, free: 9.32 MB / 394.7 MB Notification: Performance of pre-optimization done (n=5): time 9.32e-07/0.5054, allocations: 0 / 0.5707 GB, free: 9.32 MB / 394.7 MB Notification: Performance of matching and sorting (n=8): time 0.001606/0.507, allocations: 484.9 kB / 0.5712 GB, free: 8.84 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.583e-05/0.507, allocations: 77.11 kB / 0.5713 GB, free: 8.746 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001514/0.5072, allocations: 145.8 kB / 0.5714 GB, free: 8.594 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.882e-05/0.5072, allocations: 29.7 kB / 0.5714 GB, free: 8.559 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.758e-05/0.5073, allocations: 100.1 kB / 0.5715 GB, free: 8.457 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.57e-05/0.5073, allocations: 23.7 kB / 0.5715 GB, free: 8.434 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.394e-06/0.5073, allocations: 0 / 0.5715 GB, free: 8.434 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.000119/0.5075, allocations: 327 kB / 0.5719 GB, free: 8.105 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002957/0.5078, allocations: 95.91 kB / 0.5719 GB, free: 8.012 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003266/0.5081, allocations: 121.7 kB / 0.5721 GB, free: 7.887 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005483/0.5087, allocations: 196.7 kB / 0.5723 GB, free: 7.691 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.51e-07/0.5087, allocations: 4 kB / 0.5723 GB, free: 7.688 MB / 394.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0006093/0.5093, allocations: 233.4 kB / 0.5725 GB, free: 7.453 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.609e-05/0.5093, allocations: 5.406 kB / 0.5725 GB, free: 7.449 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.859e-06/0.5093, allocations: 0 / 0.5725 GB, free: 7.449 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.305e-05/0.5093, allocations: 1.5 kB / 0.5725 GB, free: 7.449 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002173/0.5096, allocations: 59.89 kB / 0.5725 GB, free: 7.391 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.262e-06/0.5096, allocations: 0 / 0.5725 GB, free: 7.391 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001562/0.5097, allocations: 39.84 kB / 0.5726 GB, free: 7.352 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.146e-05/0.5098, allocations: 3.984 kB / 0.5726 GB, free: 7.348 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.0001094/0.5099, allocations: 125.8 kB / 0.5727 GB, free: 7.215 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.377e-05/0.5099, allocations: 7.906 kB / 0.5727 GB, free: 7.207 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006922/0.5106, allocations: 258.2 kB / 0.573 GB, free: 6.949 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.825e-06/0.5106, allocations: 0 / 0.573 GB, free: 6.949 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.088e-06/0.5106, allocations: 0 / 0.573 GB, free: 6.949 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.689e-06/0.5106, allocations: 3.938 kB / 0.573 GB, free: 6.945 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009234/0.5116, allocations: 0.5272 MB / 0.5735 GB, free: 6.363 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.436e-06/0.5116, allocations: 4 kB / 0.5735 GB, free: 6.359 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001783/0.5118, allocations: 44.84 kB / 0.5735 GB, free: 6.316 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.984e-06/0.5118, allocations: 0 / 0.5735 GB, free: 6.316 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.413e-05/0.5118, allocations: 7.922 kB / 0.5735 GB, free: 6.309 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.307e-06/0.5118, allocations: 0 / 0.5735 GB, free: 6.309 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.82e-07/0.5118, allocations: 3.938 kB / 0.5735 GB, free: 6.305 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006573/0.5125, allocations: 343.3 kB / 0.5739 GB, free: 5.953 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.629e-05/0.5125, allocations: 92.92 kB / 0.5739 GB, free: 5.844 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.598e-05/0.5126, allocations: 8.312 kB / 0.574 GB, free: 5.836 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001772/0.5128, allocations: 35.95 kB / 0.574 GB, free: 5.801 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.847e-05/0.5128, allocations: 11.98 kB / 0.574 GB, free: 5.789 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.408e-06/0.5128, allocations: 8 kB / 0.574 GB, free: 5.781 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0001021/0.5129, allocations: 130.9 kB / 0.5741 GB, free: 5.656 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.513, allocations: 0 / 0.5741 GB, free: 5.656 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0002658/0.5132, allocations: 36 kB / 0.5742 GB, free: 5.621 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.0009463/0.5142, allocations: 459.8 kB / 0.5746 GB, free: 5.273 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0006285/0.5148, allocations: 207.8 kB / 0.5748 GB, free: 5.07 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.294e-06/0.5148, allocations: 0 / 0.5748 GB, free: 5.07 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000305/0.5151, allocations: 107.9 kB / 0.5749 GB, free: 4.965 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002968/0.5154, allocations: 15.98 kB / 0.5749 GB, free: 4.949 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005011/0.516, allocations: 273 kB / 0.5752 GB, free: 4.652 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000283/0.5163, allocations: 0.7004 MB / 0.5759 GB, free: 3.926 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.345e-05/0.5163, allocations: 15.44 kB / 0.5759 GB, free: 3.91 MB / 394.7 MB Notification: Performance of SimCode: time 3.3e-07/0.5164, allocations: 0 / 0.5759 GB, free: 3.91 MB / 394.7 MB Notification: Performance of Templates: time 0.004471/0.5208, allocations: 2.204 MB / 0.578 GB, free: 1.711 MB / 394.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test18_usertab.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test18_usertab.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test18_usertab.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test18_usertab.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test18_usertab.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test18_usertab --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test18_usertab.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test18_usertab_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2Dv/Test18_usertab/Test18_usertab.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test18_usertab.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches