Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test14.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.Test14,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test14") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test14,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test14") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009791/0.0009791, allocations: 180.2 kB / 14.15 MB, free: 1.176 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.265/1.265, allocations: 221.3 MB / 236 MB, free: 2.977 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009034/0.0009034, allocations: 83.81 kB / 287 MB, free: 268 kB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.1706/0.1706, allocations: 44.15 MB / 382 MB, free: 14.7 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 2.855e-05/2.856e-05, allocations: 7.984 kB / 451.8 MB, free: 9.449 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1084/0.1085, allocations: 61.91 MB / 0.5017 GB, free: 11.48 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3592/0.4677, allocations: 89.11 MB / 0.5887 GB, free: 232 kB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002271/0.468, allocations: 67.97 kB / 0.5888 GB, free: 164 kB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01137/0.4794, allocations: 4.541 MB / 0.5932 GB, free: 11.62 MB / 410.7 MB Notification: Performance of FrontEnd: time 3.056e-06/0.4795, allocations: 0 / 0.5932 GB, free: 11.62 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.062e-05/0.4795, allocations: 7.938 kB / 0.5932 GB, free: 11.61 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0003674/0.4799, allocations: 374.3 kB / 0.5936 GB, free: 11.2 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.029e-05/0.4799, allocations: 8.031 kB / 0.5936 GB, free: 11.19 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.639e-05/0.4799, allocations: 4 kB / 0.5936 GB, free: 11.19 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002178/0.4802, allocations: 199.4 kB / 0.5938 GB, free: 10.95 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.628e-06/0.4802, allocations: 3.953 kB / 0.5938 GB, free: 10.95 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.542e-05/0.4802, allocations: 11.98 kB / 0.5938 GB, free: 10.94 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001449/0.4804, allocations: 67.33 kB / 0.5939 GB, free: 10.86 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.087e-05/0.4804, allocations: 3.938 kB / 0.5939 GB, free: 10.86 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.273e-05/0.4804, allocations: 8 kB / 0.5939 GB, free: 10.85 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.228e-06/0.4804, allocations: 0 / 0.5939 GB, free: 10.85 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.684e-05/0.4805, allocations: 16 kB / 0.5939 GB, free: 10.83 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004179/0.4809, allocations: 320.7 kB / 0.5942 GB, free: 10.47 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.166e-05/0.481, allocations: 34.58 kB / 0.5942 GB, free: 10.43 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.474e-05/0.481, allocations: 20.86 kB / 0.5943 GB, free: 10.4 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.748e-05/0.4811, allocations: 0 / 0.5943 GB, free: 10.4 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.069e-05/0.4811, allocations: 34.66 kB / 0.5943 GB, free: 10.36 MB / 410.7 MB Notification: Performance of pre-optimization done (n=4): time 9.92e-07/0.4811, allocations: 0 / 0.5943 GB, free: 10.36 MB / 410.7 MB Notification: Performance of matching and sorting (n=7): time 0.0004692/0.4816, allocations: 157.4 kB / 0.5944 GB, free: 10.2 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.733e-05/0.4816, allocations: 81.09 kB / 0.5945 GB, free: 10.1 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001295/0.4818, allocations: 131.8 kB / 0.5946 GB, free: 9.965 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.778e-05/0.4818, allocations: 25.7 kB / 0.5947 GB, free: 9.934 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.354e-05/0.4818, allocations: 104.1 kB / 0.5948 GB, free: 9.828 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.403e-05/0.4819, allocations: 23.62 kB / 0.5948 GB, free: 9.805 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.639e-06/0.4819, allocations: 0 / 0.5948 GB, free: 9.805 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001103/0.482, allocations: 326.8 kB / 0.5951 GB, free: 9.477 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.896e-05/0.482, allocations: 20 kB / 0.5951 GB, free: 9.457 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.111e-05/0.4821, allocations: 37.77 kB / 0.5952 GB, free: 9.414 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.34e-05/0.4822, allocations: 27.92 kB / 0.5952 GB, free: 9.387 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.21e-07/0.4822, allocations: 0 / 0.5952 GB, free: 9.387 MB / 410.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001268/0.4823, allocations: 93.61 kB / 0.5953 GB, free: 9.289 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.388e-05/0.4823, allocations: 4 kB / 0.5953 GB, free: 9.285 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.248e-06/0.4824, allocations: 0 / 0.5953 GB, free: 9.285 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.366e-05/0.4824, allocations: 0 / 0.5953 GB, free: 9.285 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001222/0.4825, allocations: 27.98 kB / 0.5953 GB, free: 9.258 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.48e-06/0.4825, allocations: 0 / 0.5953 GB, free: 9.258 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.934e-05/0.4826, allocations: 15.98 kB / 0.5953 GB, free: 9.242 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.775e-06/0.4826, allocations: 4 kB / 0.5953 GB, free: 9.238 MB / 410.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 (7): * Single equations (assignments): 7 * 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 7.344e-05/0.4827, allocations: 120.8 kB / 0.5954 GB, free: 9.113 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.197e-05/0.4827, allocations: 11.84 kB / 0.5954 GB, free: 9.102 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001786/0.4829, allocations: 102.4 kB / 0.5955 GB, free: 8.996 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.306e-06/0.4829, allocations: 3.984 kB / 0.5955 GB, free: 8.992 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.097e-06/0.4829, allocations: 0 / 0.5955 GB, free: 8.992 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.046e-06/0.4829, allocations: 0 / 0.5955 GB, free: 8.992 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003638/0.4833, allocations: 382.4 kB / 0.5959 GB, free: 8.562 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.142e-06/0.4833, allocations: 0 / 0.5959 GB, free: 8.562 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.025e-05/0.4834, allocations: 23.98 kB / 0.5959 GB, free: 8.539 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.894e-06/0.4834, allocations: 0 / 0.5959 GB, free: 8.539 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.315e-06/0.4834, allocations: 0 / 0.5959 GB, free: 8.539 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.132e-06/0.4834, allocations: 0 / 0.5959 GB, free: 8.539 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.61e-07/0.4835, allocations: 3.938 kB / 0.5959 GB, free: 8.535 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001661/0.4836, allocations: 199.7 kB / 0.5961 GB, free: 8.324 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.164e-05/0.4837, allocations: 93 kB / 0.5962 GB, free: 8.215 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.683e-05/0.4837, allocations: 0 / 0.5962 GB, free: 8.215 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.594e-05/0.4838, allocations: 12 kB / 0.5962 GB, free: 8.203 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.323e-05/0.4839, allocations: 3.984 kB / 0.5962 GB, free: 8.199 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.903e-06/0.4839, allocations: 4 kB / 0.5962 GB, free: 8.195 MB / 410.7 MB Notification: Performance of sorting global known variables: time 8.513e-05/0.484, allocations: 112 kB / 0.5963 GB, free: 8.086 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.484, allocations: 4 kB / 0.5963 GB, free: 8.082 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0002624/0.4842, allocations: 39.94 kB / 0.5964 GB, free: 8.043 MB / 410.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 (7): * Single equations (assignments): 7 * 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.0009212/0.4852, allocations: 407.6 kB / 0.5968 GB, free: 7.754 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001337/0.4853, allocations: 51.94 kB / 0.5968 GB, free: 7.703 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.024e-06/0.4853, allocations: 4 kB / 0.5968 GB, free: 7.699 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 5.002e-05/0.4854, allocations: 31.98 kB / 0.5969 GB, free: 7.668 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002034/0.4856, allocations: 22 kB / 0.5969 GB, free: 7.648 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003218/0.4859, allocations: 133.6 kB / 0.597 GB, free: 7.496 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003181/0.4862, allocations: 0.7004 MB / 0.5977 GB, free: 6.77 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0001139/0.4864, allocations: 32.94 kB / 0.5977 GB, free: 6.734 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.164e-05/0.4864, allocations: 11.44 kB / 0.5977 GB, free: 6.723 MB / 410.7 MB Notification: Performance of SimCode: time 3.31e-07/0.4865, allocations: 0 / 0.5977 GB, free: 6.723 MB / 410.7 MB Notification: Performance of Templates: time 0.004423/0.4909, allocations: 1.46 MB / 0.5992 GB, free: 5.266 MB / 410.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test14.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test14.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test14.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test14.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test14.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test14 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test14.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test14_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test14/Test14.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test14.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches