Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test15.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.CombiTable2D.Test15,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test15") translateModel(ModelicaTest.Tables.CombiTable2D.Test15,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test15") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001601/0.001601, allocations: 172.2 kB / 16.76 MB, free: 5.062 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.718/1.718, allocations: 205.4 MB / 222.9 MB, free: 8.941 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.000928/0.0009279, allocations: 86.36 kB / 271.3 MB, free: 8.246 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.3845/0.3845, allocations: 43.56 MB / 363.1 MB, free: 51.82 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003636/0.0003637, allocations: 16 kB / 432.6 MB, free: 4.969 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1265/0.1268, allocations: 58.84 MB / 491.5 MB, free: 10.04 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3697/0.4966, allocations: 86.26 MB / 0.5642 GB, free: 15.58 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002484/0.4969, allocations: 73.28 kB / 0.5643 GB, free: 15.51 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.006982/0.5039, allocations: 3.168 MB / 0.5674 GB, free: 12.35 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.964e-06/0.5039, allocations: 0 / 0.5674 GB, free: 12.35 MB / 394.7 MB Notification: Performance of Transformations before backend: time 5.851e-06/0.504, allocations: 0 / 0.5674 GB, free: 12.35 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: 20 * Number of variables: 20 Notification: Performance of Generate backend data structure: time 0.0003193/0.5043, allocations: 355 kB / 0.5677 GB, free: 11.96 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.797e-05/0.5043, allocations: 12.03 kB / 0.5677 GB, free: 11.95 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.4e-05/0.5044, allocations: 8.844 kB / 0.5677 GB, free: 11.94 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001385/0.5045, allocations: 168.3 kB / 0.5679 GB, free: 11.73 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.898e-05/0.5045, allocations: 16.36 kB / 0.5679 GB, free: 11.72 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.522e-05/0.5046, allocations: 8.359 kB / 0.5679 GB, free: 11.71 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002418/0.5048, allocations: 187.3 kB / 0.5681 GB, free: 11.48 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.204e-05/0.5048, allocations: 4.188 kB / 0.5681 GB, free: 11.47 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.289e-05/0.5048, allocations: 3.938 kB / 0.5681 GB, free: 11.47 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.457e-05/0.5049, allocations: 12 kB / 0.5681 GB, free: 11.46 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.923e-05/0.505, allocations: 59.72 kB / 0.5682 GB, free: 11.4 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009994/0.506, allocations: 1.707 MB / 0.5698 GB, free: 9.586 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.987e-05/0.5061, allocations: 169.1 kB / 0.57 GB, free: 9.41 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.393e-05/0.5061, allocations: 84.12 kB / 0.5701 GB, free: 9.324 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.943e-05/0.5061, allocations: 84.09 kB / 0.5701 GB, free: 9.242 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.402e-05/0.5062, allocations: 105.8 kB / 0.5702 GB, free: 9.129 MB / 394.7 MB Notification: Performance of pre-optimization done (n=0): time 1.032e-06/0.5062, allocations: 4 kB / 0.5702 GB, free: 9.125 MB / 394.7 MB Notification: Performance of matching and sorting (n=0): time 7.293e-05/0.5063, allocations: 33.61 kB / 0.5703 GB, free: 9.086 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.393e-05/0.5064, allocations: 126.7 kB / 0.5704 GB, free: 8.949 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001867/0.5066, allocations: 193.1 kB / 0.5706 GB, free: 8.754 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.302e-05/0.5066, allocations: 25.7 kB / 0.5706 GB, free: 8.723 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.973e-05/0.5067, allocations: 143.2 kB / 0.5707 GB, free: 8.578 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.055e-06/0.5067, allocations: 2.953 kB / 0.5707 GB, free: 8.578 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.662e-06/0.5067, allocations: 4 kB / 0.5708 GB, free: 8.574 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001308/0.5068, allocations: 326.8 kB / 0.5711 GB, free: 8.246 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.669e-05/0.5069, allocations: 35.97 kB / 0.5711 GB, free: 8.211 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001302/0.507, allocations: 153.9 kB / 0.5712 GB, free: 8 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001891/0.5072, allocations: 200.8 kB / 0.5714 GB, free: 7.742 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.395e-06/0.5072, allocations: 0 / 0.5714 GB, free: 7.742 MB / 394.7 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0002776/0.5075, allocations: 197.1 kB / 0.5716 GB, free: 7.543 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.632e-05/0.5075, allocations: 8.625 kB / 0.5716 GB, free: 7.535 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.765e-06/0.5076, allocations: 4 kB / 0.5716 GB, free: 7.531 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.545e-05/0.5076, allocations: 8 kB / 0.5716 GB, free: 7.523 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001192/0.5077, allocations: 39.92 kB / 0.5717 GB, free: 7.484 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.264e-05/0.5077, allocations: 15.86 kB / 0.5717 GB, free: 7.469 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.936e-05/0.5078, allocations: 23.75 kB / 0.5717 GB, free: 7.445 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.333e-05/0.5078, allocations: 12 kB / 0.5717 GB, free: 7.434 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 20 * 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 (20): * Single equations (assignments): 20 * 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.0001095/0.5079, allocations: 213 kB / 0.5719 GB, free: 7.215 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.759e-05/0.508, allocations: 116.8 kB / 0.572 GB, free: 7.094 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.103e-05/0.5081, allocations: 116.8 kB / 0.5722 GB, free: 6.977 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.083e-05/0.5081, allocations: 180.2 kB / 0.5723 GB, free: 6.793 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.642e-05/0.5082, allocations: 180.3 kB / 0.5725 GB, free: 6.609 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.131e-05/0.5083, allocations: 184.2 kB / 0.5727 GB, free: 6.422 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000228/0.5085, allocations: 421.2 kB / 0.5731 GB, free: 5.953 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.192e-05/0.5086, allocations: 112.9 kB / 0.5732 GB, free: 5.836 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.505e-05/0.5086, allocations: 101 kB / 0.5733 GB, free: 5.73 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.5e-05/0.5087, allocations: 182.1 kB / 0.5735 GB, free: 5.547 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.52e-05/0.5087, allocations: 184.2 kB / 0.5736 GB, free: 5.359 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.902e-05/0.5088, allocations: 180.2 kB / 0.5738 GB, free: 5.176 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.286e-05/0.5089, allocations: 180.9 kB / 0.574 GB, free: 4.992 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001371/0.509, allocations: 315.7 kB / 0.5743 GB, free: 4.66 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.31e-05/0.5091, allocations: 193.9 kB / 0.5745 GB, free: 4.445 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.197e-05/0.5092, allocations: 183.5 kB / 0.5746 GB, free: 4.262 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.936e-05/0.5093, allocations: 104.9 kB / 0.5747 GB, free: 4.152 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.824e-05/0.5094, allocations: 184.3 kB / 0.5749 GB, free: 3.965 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.713e-05/0.5094, allocations: 108.9 kB / 0.575 GB, free: 3.852 MB / 394.7 MB Notification: Performance of sorting global known variables: time 9.949e-05/0.5095, allocations: 128.8 kB / 0.5751 GB, free: 3.727 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.5095, allocations: 0 / 0.5751 GB, free: 3.727 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0002867/0.5098, allocations: 16 kB / 0.5752 GB, free: 3.711 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 (0): * Single equations (assignments): 0 * 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.0005262/0.5103, allocations: 281.3 kB / 0.5754 GB, free: 3.488 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0001315/0.5105, allocations: 75.78 kB / 0.5755 GB, free: 3.414 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.5105, allocations: 0 / 0.5755 GB, free: 3.414 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 2.886e-06/0.5105, allocations: 4.344 kB / 0.5755 GB, free: 3.41 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003739/0.5109, allocations: 0.5275 MB / 0.576 GB, free: 2.879 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004028/0.5113, allocations: 281.2 kB / 0.5763 GB, free: 2.578 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002882/0.5116, allocations: 0.697 MB / 0.577 GB, free: 1.855 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0001528/0.5117, allocations: 52.95 kB / 0.577 GB, free: 1.805 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.254e-05/0.5118, allocations: 23.42 kB / 0.577 GB, free: 1.785 MB / 394.7 MB Notification: Performance of SimCode: time 2.21e-07/0.5118, allocations: 0 / 0.577 GB, free: 1.785 MB / 394.7 MB Notification: Performance of Templates: time 0.002903/0.5147, allocations: 0.6998 MB / 0.5777 GB, free: 1.094 MB / 394.7 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test15.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test15.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test15.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test15.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test15.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test15 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test15.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test15_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2D/Test15/Test15.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test15.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches