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.002435/0.002435, 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.066/2.066, allocations: 205.4 MB / 222.5 MB, free: 9.129 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.001121/0.00112, allocations: 93.89 kB / 270.9 MB, free: 8.375 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.5/0.5, allocations: 43.55 MB / 362.7 MB, free: 51.86 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004502/0.0004502, allocations: 12 kB / 431.4 MB, free: 5.945 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1225/0.123, allocations: 58.84 MB / 490.2 MB, free: 11.02 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4522/0.5753, allocations: 87.42 MB / 0.5641 GB, free: 15.16 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002851/0.5756, allocations: 78.31 kB / 0.5642 GB, free: 15.09 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01814/0.5938, allocations: 4.04 MB / 0.5681 GB, free: 11.07 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.515e-06/0.5938, allocations: 3.062 kB / 0.5681 GB, free: 11.07 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.473e-05/0.5939, allocations: 3.938 kB / 0.5681 GB, free: 11.07 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.0008048/0.5947, allocations: 426.6 kB / 0.5685 GB, free: 10.61 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.438e-05/0.5947, allocations: 8.031 kB / 0.5685 GB, free: 10.6 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.285e-05/0.5948, allocations: 15.34 kB / 0.5686 GB, free: 10.59 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002853/0.5951, allocations: 202.9 kB / 0.5687 GB, free: 10.35 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.48e-05/0.5951, allocations: 4.547 kB / 0.5688 GB, free: 10.34 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.103e-05/0.5952, allocations: 7.906 kB / 0.5688 GB, free: 10.34 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004482/0.5956, allocations: 104.4 kB / 0.5689 GB, free: 10.22 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.563e-05/0.5957, allocations: 4.625 kB / 0.5689 GB, free: 10.22 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.737e-05/0.5957, allocations: 0 / 0.5689 GB, free: 10.22 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.57e-06/0.5957, allocations: 0.5469 kB / 0.5689 GB, free: 10.22 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005962/0.5963, allocations: 107.9 kB / 0.569 GB, free: 10.11 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008339/0.5972, allocations: 340.7 kB / 0.5693 GB, free: 9.73 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004104/0.5976, allocations: 86.53 kB / 0.5694 GB, free: 9.637 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.833e-05/0.5976, allocations: 0 / 0.5694 GB, free: 9.637 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.709e-05/0.5977, allocations: 43.17 kB / 0.5694 GB, free: 9.586 MB / 394.7 MB Notification: Performance of pre-optimization done (n=5): time 1.582e-06/0.5977, allocations: 0 / 0.5694 GB, free: 9.586 MB / 394.7 MB Notification: Performance of matching and sorting (n=8): time 0.002956/0.6007, allocations: 491.5 kB / 0.5699 GB, free: 9.102 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.331e-05/0.6008, allocations: 81.11 kB / 0.57 GB, free: 9.004 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002255/0.601, allocations: 145.4 kB / 0.5701 GB, free: 8.855 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 2.444e-05/0.6011, allocations: 25.7 kB / 0.5701 GB, free: 8.824 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.065e-05/0.6012, allocations: 170.5 kB / 0.5703 GB, free: 8.656 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.687e-05/0.6012, allocations: 19.62 kB / 0.5703 GB, free: 8.637 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.45e-05/0.6012, allocations: 4 kB / 0.5703 GB, free: 8.633 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001299/0.6014, allocations: 314.8 kB / 0.5706 GB, free: 8.316 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005624/0.602, allocations: 95.92 kB / 0.5707 GB, free: 8.223 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005787/0.6026, allocations: 105.9 kB / 0.5708 GB, free: 8.113 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005923/0.6032, allocations: 104.7 kB / 0.5709 GB, free: 8.012 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.525e-06/0.6032, allocations: 0 / 0.5709 GB, free: 8.012 MB / 394.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.001206/0.6044, allocations: 229.5 kB / 0.5711 GB, free: 7.781 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.507e-05/0.6044, allocations: 11.95 kB / 0.5711 GB, free: 7.77 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.695e-06/0.6045, allocations: 0 / 0.5711 GB, free: 7.77 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.662e-05/0.6045, allocations: 0 / 0.5711 GB, free: 7.77 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003944/0.6049, allocations: 47.89 kB / 0.5712 GB, free: 7.723 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.734e-06/0.6049, allocations: 320 / 0.5712 GB, free: 7.723 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003113/0.6052, allocations: 47.89 kB / 0.5712 GB, free: 7.676 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.772e-05/0.6053, allocations: 4 kB / 0.5712 GB, free: 7.672 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.0001482/0.6054, allocations: 117.8 kB / 0.5713 GB, free: 7.547 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.325e-05/0.6055, allocations: 11.91 kB / 0.5714 GB, free: 7.535 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001321/0.6068, allocations: 266.1 kB / 0.5716 GB, free: 7.273 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.446e-06/0.6068, allocations: 4 kB / 0.5716 GB, free: 7.27 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.17e-06/0.6069, allocations: 0 / 0.5716 GB, free: 7.27 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.549e-06/0.6069, allocations: 3.938 kB / 0.5716 GB, free: 7.266 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001617/0.6085, allocations: 0.5257 MB / 0.5721 GB, free: 6.684 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.753e-06/0.6085, allocations: 4.828 kB / 0.5721 GB, free: 6.68 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003566/0.6089, allocations: 47.97 kB / 0.5722 GB, free: 6.633 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.622e-06/0.6089, allocations: 0 / 0.5722 GB, free: 6.633 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.902e-05/0.6089, allocations: 7.984 kB / 0.5722 GB, free: 6.625 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.973e-06/0.609, allocations: 3.938 kB / 0.5722 GB, free: 6.621 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.204e-06/0.609, allocations: 3.938 kB / 0.5722 GB, free: 6.617 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00126/0.6102, allocations: 331.7 kB / 0.5725 GB, free: 6.277 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.645e-05/0.6103, allocations: 88.97 kB / 0.5726 GB, free: 6.172 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.369e-05/0.6104, allocations: 0 / 0.5726 GB, free: 6.172 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003503/0.6107, allocations: 47.95 kB / 0.5726 GB, free: 6.125 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.866e-05/0.6108, allocations: 7.984 kB / 0.5726 GB, free: 6.117 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.241e-05/0.6108, allocations: 0 / 0.5726 GB, free: 6.117 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0001565/0.611, allocations: 119.8 kB / 0.5728 GB, free: 6 MB / 394.7 MB Notification: Performance of sort global known variables: time 4.2e-07/0.611, allocations: 0 / 0.5728 GB, free: 6 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0003916/0.6114, allocations: 36 kB / 0.5728 GB, free: 5.965 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.001362/0.6128, allocations: 471 kB / 0.5732 GB, free: 5.598 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.001239/0.6141, allocations: 207.8 kB / 0.5734 GB, free: 5.395 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 4.228e-06/0.6141, allocations: 4 kB / 0.5734 GB, free: 5.391 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006303/0.6147, allocations: 107.8 kB / 0.5735 GB, free: 5.285 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003405/0.6151, allocations: 23.92 kB / 0.5736 GB, free: 5.262 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007008/0.6158, allocations: 261.1 kB / 0.5738 GB, free: 4.98 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003345/0.6161, allocations: 0.7083 MB / 0.5745 GB, free: 4.246 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001159/0.6163, allocations: 19.42 kB / 0.5745 GB, free: 4.23 MB / 394.7 MB Notification: Performance of SimCode: time 1.062e-06/0.6163, allocations: 0 / 0.5745 GB, free: 4.23 MB / 394.7 MB Notification: Performance of Templates: time 0.006315/0.6226, allocations: 2.209 MB / 0.5767 GB, free: 2.023 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