Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test22.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTable2Dv.Test22,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|combiTable2D_1R.y.1.|der_1R.y|combiTable2D_2R.y.1.|der_2R.y|sine_R.y|const_R.y|combiTable2D_1L.y.1.|der_1L.y|combiTable2D_2L.y.1.|der_2L.y|sine_L.y|const_L.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test22") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test22,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|combiTable2D_1R.y.1.|der_1R.y|combiTable2D_2R.y.1.|der_2R.y|sine_R.y|const_R.y|combiTable2D_1L.y.1.|der_1L.y|combiTable2D_2L.y.1.|der_2L.y|sine_L.y|const_L.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test22") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.000969/0.000969, allocations: 183.6 kB / 18.09 MB, free: 3.613 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.213/1.213, allocations: 223.3 MB / 242.1 MB, free: 11.76 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007984/0.0007984, allocations: 96.66 kB / 293.3 MB, free: 10.79 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.295/0.295, allocations: 44.16 MB / 388.5 MB, free: 38.96 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003284/0.0003284, allocations: 19.98 kB / 461.1 MB, free: 1.578 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2989/0.2992, allocations: 61.88 MB / 0.5107 GB, free: 37.93 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1043/0.4036, allocations: 90.05 MB / 0.5987 GB, free: 5.082 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001806/0.4038, allocations: 79.95 kB / 0.5987 GB, free: 5.008 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02235/0.4261, allocations: 9.096 MB / 0.6076 GB, free: 11.89 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.934e-06/0.4262, allocations: 0 / 0.6076 GB, free: 11.89 MB / 426.7 MB Notification: Performance of Transformations before backend: time 5.181e-05/0.4263, allocations: 12 kB / 0.6076 GB, free: 11.88 MB / 426.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 24 * Number of variables: 24 Notification: Performance of Generate backend data structure: time 0.001132/0.4274, allocations: 0.744 MB / 0.6084 GB, free: 11.08 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.646e-05/0.4274, allocations: 12.03 kB / 0.6084 GB, free: 11.07 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001226/0.4276, allocations: 56.19 kB / 0.6084 GB, free: 11.02 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007032/0.4283, allocations: 499.8 kB / 0.6089 GB, free: 10.49 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.405e-05/0.4283, allocations: 12.31 kB / 0.6089 GB, free: 10.48 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.353e-05/0.4283, allocations: 16.31 kB / 0.6089 GB, free: 10.46 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002946/0.4286, allocations: 151.7 kB / 0.6091 GB, free: 10.3 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.356e-05/0.4287, allocations: 192 / 0.6091 GB, free: 10.3 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.939e-05/0.4287, allocations: 11.94 kB / 0.6091 GB, free: 10.29 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.871e-06/0.4287, allocations: 0 / 0.6091 GB, free: 10.29 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002318/0.4289, allocations: 99.94 kB / 0.6092 GB, free: 10.19 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001055/0.43, allocations: 0.7383 MB / 0.6099 GB, free: 9.398 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002065/0.4302, allocations: 125.2 kB / 0.61 GB, free: 9.258 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000101/0.4303, allocations: 45.83 kB / 0.6101 GB, free: 9.207 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.589e-05/0.4304, allocations: 4 kB / 0.6101 GB, free: 9.203 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.002e-05/0.4304, allocations: 42.55 kB / 0.6101 GB, free: 9.152 MB / 426.7 MB Notification: Performance of pre-optimization done (n=10): time 1.563e-06/0.4304, allocations: 0 / 0.6101 GB, free: 9.152 MB / 426.7 MB Notification: Performance of matching and sorting (n=16): time 0.001368/0.4318, allocations: 0.576 MB / 0.6107 GB, free: 8.566 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.693e-05/0.4319, allocations: 85.11 kB / 0.6108 GB, free: 8.465 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001044/0.4329, allocations: 0.8701 MB / 0.6116 GB, free: 7.586 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 2.108e-05/0.4329, allocations: 25.7 kB / 0.6116 GB, free: 7.555 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001824/0.4331, allocations: 256.2 kB / 0.6119 GB, free: 7.297 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.921e-05/0.4332, allocations: 55.25 kB / 0.6119 GB, free: 7.242 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.274e-06/0.4332, allocations: 0 / 0.6119 GB, free: 7.242 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001532/0.4334, allocations: 374.8 kB / 0.6123 GB, free: 6.867 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001765/0.4335, allocations: 71.95 kB / 0.6124 GB, free: 6.797 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001681/0.4337, allocations: 90.17 kB / 0.6124 GB, free: 6.703 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003411/0.4341, allocations: 177.6 kB / 0.6126 GB, free: 6.523 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.463e-06/0.4341, allocations: 0 / 0.6126 GB, free: 6.523 MB / 426.7 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0004729/0.4346, allocations: 260.8 kB / 0.6129 GB, free: 6.262 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.392e-05/0.4346, allocations: 4 kB / 0.6129 GB, free: 6.258 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.143e-06/0.4346, allocations: 4 kB / 0.6129 GB, free: 6.254 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.212e-05/0.4346, allocations: 4 kB / 0.6129 GB, free: 6.25 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001833/0.4348, allocations: 39.97 kB / 0.6129 GB, free: 6.211 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.28e-06/0.4348, allocations: 0 / 0.6129 GB, free: 6.211 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000137/0.435, allocations: 19.98 kB / 0.6129 GB, free: 6.191 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.65e-05/0.435, allocations: 7.984 kB / 0.6129 GB, free: 6.184 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (16): * Single equations (assignments): 16 * 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.0001994/0.4352, allocations: 217.7 kB / 0.6131 GB, free: 5.961 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001011/0.4353, allocations: 59.41 kB / 0.6132 GB, free: 5.902 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005784/0.4359, allocations: 310.4 kB / 0.6135 GB, free: 5.59 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.866e-06/0.4359, allocations: 0 / 0.6135 GB, free: 5.59 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.593e-06/0.4359, allocations: 4 kB / 0.6135 GB, free: 5.586 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.918e-06/0.4359, allocations: 0 / 0.6135 GB, free: 5.586 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00122/0.4371, allocations: 0.8958 MB / 0.6144 GB, free: 4.633 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.566e-06/0.4372, allocations: 4 kB / 0.6144 GB, free: 4.629 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001591/0.4373, allocations: 43.91 kB / 0.6144 GB, free: 4.586 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.45e-06/0.4373, allocations: 7.938 kB / 0.6144 GB, free: 4.578 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.224e-05/0.4374, allocations: 0 / 0.6144 GB, free: 4.578 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.546e-06/0.4374, allocations: 4 kB / 0.6144 GB, free: 4.574 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.142e-06/0.4374, allocations: 0 / 0.6144 GB, free: 4.574 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005295/0.4379, allocations: 435.8 kB / 0.6149 GB, free: 4.133 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001934/0.4381, allocations: 181.1 kB / 0.615 GB, free: 3.938 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.297e-05/0.4382, allocations: 8 kB / 0.615 GB, free: 3.93 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000186/0.4384, allocations: 19.98 kB / 0.615 GB, free: 3.91 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.275e-05/0.4384, allocations: 7.984 kB / 0.6151 GB, free: 3.902 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.492e-05/0.4384, allocations: 11.94 kB / 0.6151 GB, free: 3.891 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0007271/0.4392, allocations: 0.6354 MB / 0.6157 GB, free: 3.258 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.433e-06/0.4392, allocations: 0 / 0.6157 GB, free: 3.258 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0003705/0.4396, allocations: 79.88 kB / 0.6158 GB, free: 3.18 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (16): * Single equations (assignments): 16 * 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.0008321/0.4404, allocations: 421.1 kB / 0.6162 GB, free: 2.926 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0004163/0.4408, allocations: 175.8 kB / 0.6163 GB, free: 2.754 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 3.447e-06/0.4408, allocations: 4 kB / 0.6163 GB, free: 2.75 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001849/0.441, allocations: 91.89 kB / 0.6164 GB, free: 2.66 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005612/0.4416, allocations: 68.05 kB / 0.6165 GB, free: 2.59 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001392/0.443, allocations: 1.003 MB / 0.6175 GB, free: 1.555 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004148/0.4434, allocations: 0.8695 MB / 0.6183 GB, free: 0.6602 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0002288/0.4437, allocations: 111.8 kB / 0.6184 GB, free: 0.5508 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001103/0.4438, allocations: 43.42 kB / 0.6185 GB, free: 0.5078 MB / 426.7 MB Notification: Performance of SimCode: time 2.4e-07/0.4438, allocations: 0 / 0.6185 GB, free: 0.5078 MB / 426.7 MB Notification: Performance of Templates: time 0.008246/0.452, allocations: 4.404 MB / 0.6228 GB, free: 12.12 MB / 442.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test22.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test22.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test22.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test22.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test22.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test22 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test22.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test22_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test22/Test22.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test22.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches