Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test9.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.Test9,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test9") translateModel(ModelicaTest.Tables.CombiTable2D.Test9,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test9") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.000947/0.0009468, allocations: 183.5 kB / 13.19 MB, free: 2.129 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.394/1.394, allocations: 205.2 MB / 218.9 MB, free: 9.137 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.0008099/0.0008097, allocations: 94.05 kB / 267.1 MB, free: 9.258 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.3205/0.3205, allocations: 43.47 MB / 358.6 MB, free: 51.53 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 2.676e-05/2.687e-05, allocations: 4 kB / 425.3 MB, free: 8.199 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1135/0.1135, allocations: 58.84 MB / 484.2 MB, free: 13.25 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3436/0.4572, allocations: 86.58 MB / 0.5574 GB, free: 17.2 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001866/0.4574, allocations: 75.47 kB / 0.5574 GB, free: 17.17 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01444/0.4718, allocations: 7.814 MB / 0.5651 GB, free: 12.08 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.784e-06/0.4719, allocations: 3.062 kB / 0.5651 GB, free: 12.08 MB / 394.7 MB Notification: Performance of Transformations before backend: time 2.507e-05/0.4719, allocations: 8 kB / 0.5651 GB, free: 12.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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0004538/0.4724, allocations: 0.5466 MB / 0.5656 GB, free: 11.5 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.995e-05/0.4724, allocations: 12.03 kB / 0.5656 GB, free: 11.49 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.325e-05/0.4725, allocations: 39.44 kB / 0.5657 GB, free: 11.45 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004417/0.4729, allocations: 327 kB / 0.566 GB, free: 11.11 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.101e-05/0.473, allocations: 2.875 kB / 0.566 GB, free: 11.11 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.241e-05/0.473, allocations: 0.875 kB / 0.566 GB, free: 11.11 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.555e-05/0.4731, allocations: 49.31 kB / 0.566 GB, free: 11.06 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.713e-06/0.4731, allocations: 0 / 0.566 GB, free: 11.06 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.147e-06/0.4731, allocations: 4 kB / 0.566 GB, free: 11.05 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.178e-06/0.4731, allocations: 3.984 kB / 0.566 GB, free: 11.05 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.901e-05/0.4732, allocations: 15.27 kB / 0.566 GB, free: 11.04 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004655/0.4736, allocations: 429.3 kB / 0.5664 GB, free: 10.62 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.097e-05/0.4737, allocations: 37.19 kB / 0.5665 GB, free: 10.59 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.302e-05/0.4737, allocations: 12.86 kB / 0.5665 GB, free: 10.57 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.014e-05/0.4738, allocations: 3 kB / 0.5665 GB, free: 10.57 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.418e-05/0.4738, allocations: 30.56 kB / 0.5665 GB, free: 10.53 MB / 394.7 MB Notification: Performance of pre-optimization done (n=3): time 1.203e-06/0.4738, allocations: 0 / 0.5665 GB, free: 10.53 MB / 394.7 MB Notification: Performance of matching and sorting (n=3): time 0.000168/0.474, allocations: 88.2 kB / 0.5666 GB, free: 10.44 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.248e-05/0.474, allocations: 54.47 kB / 0.5667 GB, free: 10.38 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009534/0.475, allocations: 0.7741 MB / 0.5674 GB, free: 9.773 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.042e-05/0.475, allocations: 29.7 kB / 0.5674 GB, free: 9.738 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.856e-05/0.4751, allocations: 212.3 kB / 0.5676 GB, free: 9.613 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.983e-05/0.4751, allocations: 15.2 kB / 0.5677 GB, free: 9.602 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.427e-06/0.4751, allocations: 0 / 0.5677 GB, free: 9.602 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 6.999e-05/0.4752, allocations: 360.3 kB / 0.568 GB, free: 9.258 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.717e-05/0.4752, allocations: 10.19 kB / 0.568 GB, free: 9.254 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.299e-05/0.4752, allocations: 4 kB / 0.568 GB, free: 9.25 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.11e-05/0.4753, allocations: 11.19 kB / 0.568 GB, free: 9.246 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.332e-06/0.4753, allocations: 0 / 0.568 GB, free: 9.246 MB / 394.7 MB Notification: Performance of matching and sorting (n=3) (initialization): time 9.646e-05/0.4754, allocations: 87.22 kB / 0.5681 GB, free: 9.16 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.445e-05/0.4754, allocations: 4 kB / 0.5681 GB, free: 9.156 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.19e-06/0.4754, allocations: 4 kB / 0.5681 GB, free: 9.152 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.632e-05/0.4754, allocations: 3.953 kB / 0.5681 GB, free: 9.148 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.181e-05/0.4755, allocations: 15.92 kB / 0.5681 GB, free: 9.133 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.022e-06/0.4755, allocations: 0 / 0.5681 GB, free: 9.133 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.544e-05/0.4756, allocations: 7.906 kB / 0.5681 GB, free: 9.125 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.992e-06/0.4756, allocations: 4 kB / 0.5682 GB, free: 9.121 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (3): * Single equations (assignments): 3 * 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 4.235e-05/0.4757, allocations: 110.1 kB / 0.5683 GB, free: 9.008 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.033e-05/0.4757, allocations: 39.53 kB / 0.5683 GB, free: 8.969 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001319/0.4759, allocations: 97.72 kB / 0.5684 GB, free: 8.879 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.753e-06/0.4759, allocations: 0 / 0.5684 GB, free: 8.879 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.909e-06/0.4759, allocations: 7.938 kB / 0.5684 GB, free: 8.871 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.344e-06/0.4759, allocations: 0 / 0.5684 GB, free: 8.871 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002147/0.4761, allocations: 327.1 kB / 0.5687 GB, free: 8.547 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.323e-06/0.4761, allocations: 0 / 0.5687 GB, free: 8.547 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.976e-05/0.4762, allocations: 11.94 kB / 0.5687 GB, free: 8.535 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.053e-06/0.4762, allocations: 4 kB / 0.5687 GB, free: 8.531 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.372e-06/0.4762, allocations: 0 / 0.5687 GB, free: 8.531 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.424e-06/0.4762, allocations: 3.984 kB / 0.5687 GB, free: 8.527 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.473e-06/0.4762, allocations: 4 kB / 0.5687 GB, free: 8.523 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001168/0.4763, allocations: 182.8 kB / 0.5689 GB, free: 8.336 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001748/0.4765, allocations: 166.2 kB / 0.5691 GB, free: 8.164 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.324e-05/0.4766, allocations: 4 kB / 0.5691 GB, free: 8.16 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.839e-05/0.4767, allocations: 8 kB / 0.5691 GB, free: 8.152 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.564e-05/0.4767, allocations: 3 kB / 0.5691 GB, free: 8.152 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.958e-06/0.4767, allocations: 8.828 kB / 0.5691 GB, free: 8.145 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0005098/0.4772, allocations: 0.6288 MB / 0.5697 GB, free: 7.691 MB / 394.7 MB Notification: Performance of sort global known variables: time 4.01e-07/0.4772, allocations: 0 / 0.5697 GB, free: 7.691 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0002429/0.4775, allocations: 54.8 kB / 0.5698 GB, free: 7.641 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 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (3): * Single equations (assignments): 3 * 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.0006351/0.4781, allocations: 327.4 kB / 0.5701 GB, free: 7.395 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 8.559e-05/0.4782, allocations: 21.61 kB / 0.5701 GB, free: 7.379 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.673e-06/0.4782, allocations: 0 / 0.5701 GB, free: 7.379 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 2.103e-05/0.4783, allocations: 10.75 kB / 0.5701 GB, free: 7.371 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002398/0.4785, allocations: 23.72 kB / 0.5701 GB, free: 7.359 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007876/0.4793, allocations: 0.6995 MB / 0.5708 GB, free: 6.711 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002158/0.4795, allocations: 0.8253 MB / 0.5716 GB, free: 5.875 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 6.208e-05/0.4796, allocations: 32.44 kB / 0.5716 GB, free: 5.84 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.964e-05/0.4797, allocations: 23.42 kB / 0.5717 GB, free: 5.816 MB / 394.7 MB Notification: Performance of SimCode: time 2.5e-07/0.4797, allocations: 0 / 0.5717 GB, free: 5.816 MB / 394.7 MB Notification: Performance of Templates: time 0.004908/0.4846, allocations: 2.282 MB / 0.5739 GB, free: 3.535 MB / 394.7 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test9.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test9.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test9.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test9.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test9.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test9 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test9.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test9_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2D/Test9/Test9.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test9.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches