Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test26.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.Test26,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.Test26") translateModel(ModelicaTest.Tables.CombiTable2D.Test26,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.Test26") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001369/0.001369, allocations: 119.5 kB / 17.09 MB, free: 6.012 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.001341/0.001341, allocations: 193.3 kB / 18.01 MB, free: 5.094 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.48/1.48, 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.1924/0.1924, allocations: 43.52 MB / 314.8 MB, free: 464 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.001499/0.001499, allocations: 63.89 kB / 442.5 MB, free: 5.656 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09402/0.09554, allocations: 57.8 MB / 0.4886 GB, free: 11.79 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2D.Test26): time 0.002836/0.09841, allocations: 1.605 MB / 0.4901 GB, free: 10.17 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005899/0.09903, allocations: 323.5 kB / 0.4904 GB, free: 9.848 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.242e-05/0.0991, allocations: 8 kB / 0.4904 GB, free: 9.84 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002276/0.09933, allocations: 59.78 kB / 0.4905 GB, free: 9.781 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001965/0.09956, allocations: 51.81 kB / 0.4905 GB, free: 9.73 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003049/0.09988, allocations: 115.7 kB / 0.4907 GB, free: 9.617 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001372/0.1, allocations: 63.83 kB / 0.4907 GB, free: 9.555 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.307e-05/0.1001, allocations: 12.19 kB / 0.4907 GB, free: 9.543 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.24e-05/0.1002, allocations: 39.83 kB / 0.4908 GB, free: 9.504 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.285e-05/0.1003, allocations: 35.84 kB / 0.4908 GB, free: 9.469 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.634e-05/0.1003, allocations: 4 kB / 0.4908 GB, free: 9.465 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.301e-05/0.1004, allocations: 28 kB / 0.4908 GB, free: 9.438 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 6.471e-05/0.1005, allocations: 27.91 kB / 0.4909 GB, free: 9.41 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 3.198e-05/0.1005, allocations: 31.8 kB / 0.4909 GB, free: 9.379 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001604/0.1007, allocations: 83.72 kB / 0.491 GB, free: 9.297 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.278e-06/0.1007, allocations: 3.938 kB / 0.491 GB, free: 9.293 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.412e-06/0.1007, allocations: 0 / 0.491 GB, free: 9.293 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.67e-06/0.1007, allocations: 0 / 0.491 GB, free: 9.293 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.0004484/0.1011, allocations: 398.5 kB / 0.4913 GB, free: 8.859 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.472e-05/0.1012, allocations: 11.89 kB / 0.4914 GB, free: 8.848 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.735e-05/0.1012, allocations: 8.844 kB / 0.4914 GB, free: 8.84 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001638/0.1014, allocations: 196.7 kB / 0.4916 GB, free: 8.609 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.203e-05/0.1014, allocations: 12.12 kB / 0.4916 GB, free: 8.598 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.056e-05/0.1014, allocations: 0 / 0.4916 GB, free: 8.598 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001527/0.1016, allocations: 61.66 kB / 0.4916 GB, free: 8.531 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.106e-05/0.1016, allocations: 3.938 kB / 0.4916 GB, free: 8.527 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.766e-06/0.1016, allocations: 3.938 kB / 0.4916 GB, free: 8.523 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.17e-06/0.1016, allocations: 4 kB / 0.4916 GB, free: 8.52 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001266/0.1018, allocations: 31.97 kB / 0.4917 GB, free: 8.488 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003409/0.1021, allocations: 296.7 kB / 0.4919 GB, free: 8.148 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001209/0.1023, allocations: 46.55 kB / 0.492 GB, free: 8.094 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.703e-05/0.1023, allocations: 24.88 kB / 0.492 GB, free: 8.066 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.143e-05/0.1024, allocations: 4 kB / 0.492 GB, free: 8.062 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.603e-05/0.1024, allocations: 30.56 kB / 0.4921 GB, free: 8.023 MB / 382.1 MB Notification: Performance of pre-optimization done (n=4): time 1.021e-06/0.1024, allocations: 4 kB / 0.4921 GB, free: 8.02 MB / 382.1 MB Notification: Performance of matching and sorting (n=7): time 0.0007043/0.1031, allocations: 205.2 kB / 0.4922 GB, free: 7.812 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.472e-05/0.1032, allocations: 55.34 kB / 0.4923 GB, free: 7.746 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001572/0.1033, allocations: 178.4 kB / 0.4925 GB, free: 7.559 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.375e-05/0.1033, allocations: 29.64 kB / 0.4925 GB, free: 7.523 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.967e-05/0.1034, allocations: 104 kB / 0.4926 GB, free: 7.418 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.531e-05/0.1034, allocations: 27.64 kB / 0.4926 GB, free: 7.391 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.397e-05/0.1035, allocations: 17.72 kB / 0.4926 GB, free: 7.367 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 9.982e-05/0.1036, allocations: 322.8 kB / 0.493 GB, free: 7.043 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001037/0.1037, allocations: 27.97 kB / 0.493 GB, free: 7.016 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.613e-05/0.1038, allocations: 35.97 kB / 0.493 GB, free: 6.98 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001956/0.104, allocations: 72.81 kB / 0.4931 GB, free: 6.906 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.11e-07/0.104, allocations: 0 / 0.4931 GB, free: 6.906 MB / 382.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002687/0.1043, allocations: 113.5 kB / 0.4932 GB, free: 6.789 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.5e-05/0.1043, allocations: 12 kB / 0.4932 GB, free: 6.777 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.48e-06/0.1043, allocations: 3.938 kB / 0.4932 GB, free: 6.773 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.085e-05/0.1043, allocations: 0 / 0.4932 GB, free: 6.773 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001082/0.1044, allocations: 15.98 kB / 0.4932 GB, free: 6.758 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.017e-06/0.1044, allocations: 4 kB / 0.4932 GB, free: 6.754 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.685e-05/0.1045, allocations: 11.98 kB / 0.4932 GB, free: 6.742 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.544e-06/0.1045, allocations: 4 kB / 0.4932 GB, free: 6.738 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 8.524e-05/0.1046, allocations: 121.8 kB / 0.4934 GB, free: 6.609 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.214e-05/0.1047, allocations: 11.91 kB / 0.4934 GB, free: 6.598 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002999/0.105, allocations: 134.2 kB / 0.4935 GB, free: 6.457 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.827e-06/0.105, allocations: 4 kB / 0.4935 GB, free: 6.453 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.847e-06/0.105, allocations: 0 / 0.4935 GB, free: 6.453 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.628e-06/0.105, allocations: 0 / 0.4935 GB, free: 6.453 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004735/0.1055, allocations: 398.3 kB / 0.4939 GB, free: 6.008 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.893e-06/0.1055, allocations: 0 / 0.4939 GB, free: 6.008 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.803e-05/0.1056, allocations: 19.98 kB / 0.4939 GB, free: 5.988 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.304e-06/0.1056, allocations: 0 / 0.4939 GB, free: 5.988 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.873e-06/0.1056, allocations: 0 / 0.4939 GB, free: 5.988 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.156e-06/0.1056, allocations: 4.469 kB / 0.4939 GB, free: 5.984 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.1056, allocations: 0 / 0.4939 GB, free: 5.984 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002866/0.1059, allocations: 219.2 kB / 0.4941 GB, free: 5.754 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.148e-05/0.1059, allocations: 85.02 kB / 0.4942 GB, free: 5.652 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.609e-05/0.106, allocations: 0 / 0.4942 GB, free: 5.652 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.298e-05/0.106, allocations: 11.98 kB / 0.4942 GB, free: 5.641 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.111e-05/0.1061, allocations: 3.984 kB / 0.4942 GB, free: 5.637 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.224e-06/0.1061, allocations: 4 kB / 0.4942 GB, free: 5.633 MB / 382.1 MB Notification: Performance of sorting global known variables: time 9.578e-05/0.1062, allocations: 147.9 kB / 0.4944 GB, free: 5.488 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1062, allocations: 0 / 0.4944 GB, free: 5.488 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002421/0.1065, allocations: 23.98 kB / 0.4944 GB, free: 5.465 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.0008654/0.1073, allocations: 412.5 kB / 0.4948 GB, free: 5.102 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002689/0.1076, allocations: 75.94 kB / 0.4948 GB, free: 5.027 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.794e-06/0.1076, allocations: 4 kB / 0.4948 GB, free: 5.023 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001179/0.1077, allocations: 43.91 kB / 0.4949 GB, free: 4.98 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003315/0.1081, allocations: 23.78 kB / 0.4949 GB, free: 4.957 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003986/0.1085, allocations: 240.1 kB / 0.4951 GB, free: 4.691 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002307/0.1087, allocations: 0.6963 MB / 0.4958 GB, free: 3.969 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.905e-05/0.1088, allocations: 19.42 kB / 0.4958 GB, free: 3.949 MB / 382.1 MB Notification: Performance of SimCode: time 2.1e-07/0.1088, allocations: 0 / 0.4958 GB, free: 3.949 MB / 382.1 MB Notification: Performance of Templates: time 0.00298/0.1118, allocations: 1.583 MB / 0.4974 GB, free: 2.367 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test26.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test26.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test26.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test26.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test26.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test26 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test26.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test26_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2D/Test26/Test26.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test26.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches