Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test29.conf.json 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/Complex 4.0.0+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/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 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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 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) Running command: translateModel(ModelicaTest.Tables.CombiTable2D.Test29,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test29") translateModel(ModelicaTest.Tables.CombiTable2D.Test29,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test29") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001353/0.001353, allocations: 115.9 kB / 17.08 MB, free: 5.832 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001327/0.001327, allocations: 194.4 kB / 18.01 MB, free: 4.965 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.24/1.24, allocations: 205.1 MB / 223.9 MB, free: 12.25 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2027/0.2027, allocations: 43.52 MB / 314.8 MB, free: 476 kB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001432/0.001432, allocations: 71.88 kB / 442.5 MB, free: 5.68 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08896/0.09041, allocations: 57.79 MB / 0.4885 GB, free: 11.81 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2D.Test29): time 0.003086/0.09354, allocations: 1.605 MB / 0.4901 GB, free: 10.2 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006164/0.09418, allocations: 319.5 kB / 0.4904 GB, free: 9.879 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.366e-05/0.09426, allocations: 8 kB / 0.4904 GB, free: 9.871 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002604/0.09453, allocations: 67.78 kB / 0.4905 GB, free: 9.805 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002109/0.09478, allocations: 63.73 kB / 0.4906 GB, free: 9.742 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003536/0.09515, allocations: 115.7 kB / 0.4907 GB, free: 9.629 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001994/0.09536, allocations: 67.83 kB / 0.4907 GB, free: 9.562 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.211e-05/0.09546, allocations: 24.16 kB / 0.4908 GB, free: 9.539 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.278e-05/0.09554, allocations: 35.84 kB / 0.4908 GB, free: 9.504 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.445e-05/0.09564, allocations: 47.83 kB / 0.4908 GB, free: 9.457 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.828e-05/0.09566, allocations: 4 kB / 0.4908 GB, free: 9.453 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.083e-05/0.09575, allocations: 31.98 kB / 0.4909 GB, free: 9.422 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 6.293e-05/0.09582, allocations: 23.92 kB / 0.4909 GB, free: 9.398 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 3.503e-05/0.09586, allocations: 31.73 kB / 0.4909 GB, free: 9.367 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001738/0.09604, allocations: 95.7 kB / 0.491 GB, free: 9.273 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.226e-06/0.09605, allocations: 0 / 0.491 GB, free: 9.273 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.112e-06/0.09606, allocations: 0 / 0.491 GB, free: 9.273 MB / 382.1 MB Notification: Performance of Transformations before backend: time 7.254e-06/0.09607, allocations: 0 / 0.491 GB, free: 9.273 MB / 382.1 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.0004929/0.09657, allocations: 414.9 kB / 0.4914 GB, free: 8.82 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.761e-05/0.09661, allocations: 11.89 kB / 0.4914 GB, free: 8.809 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.33e-05/0.09666, allocations: 8.844 kB / 0.4914 GB, free: 8.801 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001797/0.09685, allocations: 196.1 kB / 0.4916 GB, free: 8.57 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.069e-05/0.09687, allocations: 4.375 kB / 0.4916 GB, free: 8.566 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.185e-05/0.09689, allocations: 8.375 kB / 0.4916 GB, free: 8.559 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001921/0.09709, allocations: 57.61 kB / 0.4917 GB, free: 8.496 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.014e-05/0.09711, allocations: 0 / 0.4917 GB, free: 8.496 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.044e-05/0.09712, allocations: 4 kB / 0.4917 GB, free: 8.492 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.847e-06/0.09713, allocations: 0 / 0.4917 GB, free: 8.492 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001626/0.0973, allocations: 35.91 kB / 0.4917 GB, free: 8.457 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003578/0.09766, allocations: 296.7 kB / 0.492 GB, free: 8.117 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001313/0.09781, allocations: 46.55 kB / 0.492 GB, free: 8.062 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.725e-05/0.09788, allocations: 24.94 kB / 0.4921 GB, free: 8.035 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.223e-05/0.09791, allocations: 7.922 kB / 0.4921 GB, free: 8.027 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.311e-05/0.09794, allocations: 34.56 kB / 0.4921 GB, free: 7.984 MB / 382.1 MB Notification: Performance of pre-optimization done (n=4): time 1.112e-06/0.09795, allocations: 4 kB / 0.4921 GB, free: 7.98 MB / 382.1 MB Notification: Performance of matching and sorting (n=7): time 0.0007272/0.09868, allocations: 217.1 kB / 0.4923 GB, free: 7.762 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.892e-05/0.09873, allocations: 51.41 kB / 0.4924 GB, free: 7.699 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001892/0.09893, allocations: 202.2 kB / 0.4926 GB, free: 7.492 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.298e-05/0.09895, allocations: 29.7 kB / 0.4926 GB, free: 7.457 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.213e-05/0.09902, allocations: 104.1 kB / 0.4927 GB, free: 7.352 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.415e-05/0.09905, allocations: 19.66 kB / 0.4927 GB, free: 7.332 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.602e-05/0.09909, allocations: 17.72 kB / 0.4927 GB, free: 7.309 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001036/0.0992, allocations: 322.8 kB / 0.493 GB, free: 6.984 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001168/0.09932, allocations: 35.97 kB / 0.4931 GB, free: 6.949 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000108/0.09944, allocations: 35.97 kB / 0.4931 GB, free: 6.914 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002215/0.09966, allocations: 72.81 kB / 0.4932 GB, free: 6.84 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.92e-07/0.09967, allocations: 3.938 kB / 0.4932 GB, free: 6.836 MB / 382.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.000283/0.09996, allocations: 113.4 kB / 0.4933 GB, free: 6.719 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.376e-05/0.1, allocations: 8 kB / 0.4933 GB, free: 6.711 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.16e-06/0.1, allocations: 4 kB / 0.4933 GB, free: 6.707 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.451e-05/0.1, allocations: 0 / 0.4933 GB, free: 6.707 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001176/0.1002, allocations: 23.97 kB / 0.4933 GB, free: 6.684 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.19e-06/0.1002, allocations: 0 / 0.4933 GB, free: 6.684 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.761e-05/0.1002, allocations: 11.94 kB / 0.4933 GB, free: 6.672 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.787e-06/0.1003, allocations: 4 kB / 0.4933 GB, free: 6.668 MB / 382.1 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 (7): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.153e-05/0.1004, allocations: 125.8 kB / 0.4935 GB, free: 6.535 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.46e-05/0.1004, allocations: 15.91 kB / 0.4935 GB, free: 6.52 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000314/0.1007, allocations: 126.3 kB / 0.4936 GB, free: 6.387 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.09e-06/0.1007, allocations: 4 kB / 0.4936 GB, free: 6.383 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.859e-06/0.1007, allocations: 0 / 0.4936 GB, free: 6.383 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.18e-06/0.1007, allocations: 7.922 kB / 0.4936 GB, free: 6.375 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004979/0.1012, allocations: 390.5 kB / 0.494 GB, free: 5.938 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.547e-06/0.1013, allocations: 0 / 0.494 GB, free: 5.938 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.447e-05/0.1014, allocations: 31.86 kB / 0.494 GB, free: 5.906 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.875e-06/0.1014, allocations: 0 / 0.494 GB, free: 5.906 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.536e-06/0.1014, allocations: 3.938 kB / 0.494 GB, free: 5.902 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.423e-06/0.1014, allocations: 0 / 0.494 GB, free: 5.902 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.292e-06/0.1014, allocations: 0 / 0.494 GB, free: 5.902 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003207/0.1017, allocations: 211.8 kB / 0.4942 GB, free: 5.68 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.641e-05/0.1018, allocations: 85.02 kB / 0.4943 GB, free: 5.578 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.802e-05/0.1018, allocations: 3.938 kB / 0.4943 GB, free: 5.574 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.87e-05/0.1019, allocations: 7.984 kB / 0.4943 GB, free: 5.566 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.5e-05/0.102, allocations: 11.98 kB / 0.4943 GB, free: 5.555 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.013e-06/0.102, allocations: 4 kB / 0.4943 GB, free: 5.551 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001173/0.1021, allocations: 156 kB / 0.4945 GB, free: 5.398 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.332e-06/0.1021, allocations: 4 kB / 0.4945 GB, free: 5.395 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002482/0.1024, allocations: 23.94 kB / 0.4945 GB, free: 5.371 MB / 382.1 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 (7): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0008862/0.1033, allocations: 408.9 kB / 0.4949 GB, free: 5.012 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002895/0.1036, allocations: 79.91 kB / 0.495 GB, free: 4.934 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.627e-06/0.1036, allocations: 7.938 kB / 0.495 GB, free: 4.926 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001185/0.1037, allocations: 43.91 kB / 0.495 GB, free: 4.883 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000345/0.104, allocations: 19.84 kB / 0.495 GB, free: 4.863 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005122/0.1046, allocations: 264.1 kB / 0.4953 GB, free: 4.574 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003113/0.1049, allocations: 0.7002 MB / 0.496 GB, free: 3.848 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.935e-05/0.1049, allocations: 11.44 kB / 0.496 GB, free: 3.836 MB / 382.1 MB Notification: Performance of SimCode: time 4.71e-07/0.1049, allocations: 4 kB / 0.496 GB, free: 3.832 MB / 382.1 MB Notification: Performance of Templates: time 0.003449/0.1084, allocations: 1.637 MB / 0.4976 GB, free: 2.199 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test29.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test29.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test29.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test29.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test29.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test29 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test29.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test29_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2D/Test29/Test29.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test29.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches