Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test1.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.Test1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|d_t_new.y|clock.y|const.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test1") translateModel(ModelicaTest.Tables.CombiTable2D.Test1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|d_t_new.y|clock.y|const.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001179/0.001179, allocations: 119.3 kB / 17.09 MB, free: 5.938 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.001307/0.001307, allocations: 197.2 kB / 18.01 MB, free: 5.027 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.391/1.391, allocations: 205.1 MB / 223.9 MB, free: 12.21 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.2162/0.2162, allocations: 43.53 MB / 314.8 MB, free: 452 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.001439/0.001439, allocations: 65.47 kB / 442.5 MB, free: 5.637 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09744/0.09889, allocations: 57.8 MB / 0.4886 GB, free: 11.77 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2D.Test1): time 0.002952/0.1019, allocations: 1.605 MB / 0.4901 GB, free: 10.15 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005964/0.1025, allocations: 323.6 kB / 0.4904 GB, free: 9.828 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.75e-05/0.1026, allocations: 0 / 0.4904 GB, free: 9.828 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005128/0.1031, allocations: 447.2 kB / 0.4909 GB, free: 9.391 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003599/0.1035, allocations: 259.4 kB / 0.4911 GB, free: 9.137 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003137/0.1038, allocations: 107.7 kB / 0.4912 GB, free: 9.031 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002193/0.1041, allocations: 163.6 kB / 0.4914 GB, free: 8.871 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001015/0.1042, allocations: 20.17 kB / 0.4914 GB, free: 8.852 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001331/0.1043, allocations: 103.8 kB / 0.4915 GB, free: 8.75 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002278/0.1045, allocations: 207.6 kB / 0.4917 GB, free: 8.547 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.229e-05/0.1046, allocations: 0 / 0.4917 GB, free: 8.547 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001042/0.1047, allocations: 35.98 kB / 0.4917 GB, free: 8.512 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 9.977e-05/0.1048, allocations: 83.62 kB / 0.4918 GB, free: 8.43 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 7.309e-05/0.1049, allocations: 103 kB / 0.4919 GB, free: 8.328 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002665/0.1051, allocations: 259 kB / 0.4921 GB, free: 8.074 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.988e-06/0.1051, allocations: 0 / 0.4921 GB, free: 8.074 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.493e-06/0.1052, allocations: 0 / 0.4921 GB, free: 8.074 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.593e-06/0.1052, allocations: 0 / 0.4921 GB, free: 8.074 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.0006326/0.1058, allocations: 0.618 MB / 0.4927 GB, free: 7.406 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.717e-05/0.1058, allocations: 15.89 kB / 0.4928 GB, free: 7.391 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.898e-05/0.1059, allocations: 36.47 kB / 0.4928 GB, free: 7.355 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002436/0.1062, allocations: 300.1 kB / 0.4931 GB, free: 7.02 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.081e-05/0.1062, allocations: 4.375 kB / 0.4931 GB, free: 7.016 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.371e-05/0.1062, allocations: 8.375 kB / 0.4931 GB, free: 7.008 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001382/0.1064, allocations: 57.59 kB / 0.4931 GB, free: 6.945 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.045e-05/0.1064, allocations: 0 / 0.4931 GB, free: 6.945 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.327e-05/0.1064, allocations: 11.98 kB / 0.4932 GB, free: 6.934 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.937e-06/0.1064, allocations: 0 / 0.4932 GB, free: 6.934 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.517e-05/0.1065, allocations: 19.98 kB / 0.4932 GB, free: 6.914 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004412/0.1069, allocations: 388.6 kB / 0.4935 GB, free: 6.484 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001985/0.1071, allocations: 42.56 kB / 0.4936 GB, free: 6.434 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.834e-05/0.1072, allocations: 20.94 kB / 0.4936 GB, free: 6.41 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.812e-05/0.1072, allocations: 0 / 0.4936 GB, free: 6.41 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.99e-05/0.1073, allocations: 30.56 kB / 0.4936 GB, free: 6.371 MB / 382.1 MB Notification: Performance of pre-optimization done (n=3): time 1.152e-06/0.1073, allocations: 0 / 0.4936 GB, free: 6.371 MB / 382.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005911/0.1079, allocations: 223.9 kB / 0.4938 GB, free: 6.145 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.255e-05/0.1079, allocations: 55.41 kB / 0.4939 GB, free: 6.078 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007876/0.1087, allocations: 0.8535 MB / 0.4947 GB, free: 5.211 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.525e-05/0.1087, allocations: 29.7 kB / 0.4948 GB, free: 5.176 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001573/0.1089, allocations: 228 kB / 0.495 GB, free: 4.949 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.443e-05/0.1089, allocations: 11.75 kB / 0.495 GB, free: 4.938 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.694e-05/0.109, allocations: 21.66 kB / 0.495 GB, free: 4.91 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001377/0.1091, allocations: 362.8 kB / 0.4954 GB, free: 4.547 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.826e-05/0.1092, allocations: 19.98 kB / 0.4954 GB, free: 4.527 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.72e-05/0.1092, allocations: 19.98 kB / 0.4954 GB, free: 4.508 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001195/0.1094, allocations: 44.84 kB / 0.4954 GB, free: 4.461 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.42e-07/0.1094, allocations: 0 / 0.4954 GB, free: 4.461 MB / 382.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002026/0.1096, allocations: 125.2 kB / 0.4956 GB, free: 4.332 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.615e-05/0.1096, allocations: 8 kB / 0.4956 GB, free: 4.324 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.519e-06/0.1096, allocations: 0 / 0.4956 GB, free: 4.324 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.271e-05/0.1096, allocations: 0 / 0.4956 GB, free: 4.324 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.132e-05/0.1097, allocations: 15.92 kB / 0.4956 GB, free: 4.309 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.24e-06/0.1097, allocations: 0 / 0.4956 GB, free: 4.309 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.312e-05/0.1098, allocations: 7.938 kB / 0.4956 GB, free: 4.301 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.217e-06/0.1098, allocations: 4 kB / 0.4956 GB, free: 4.297 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 (5): * Single equations (assignments): 5 * 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 0.0001737/0.11, allocations: 217.7 kB / 0.4958 GB, free: 4.074 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.063e-05/0.11, allocations: 43.53 kB / 0.4958 GB, free: 4.031 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002652/0.1103, allocations: 133 kB / 0.496 GB, free: 3.895 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.608e-06/0.1103, allocations: 4 kB / 0.496 GB, free: 3.891 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.088e-06/0.1103, allocations: 0 / 0.496 GB, free: 3.891 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.39e-06/0.1103, allocations: 3.938 kB / 0.496 GB, free: 3.887 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004977/0.1108, allocations: 454.5 kB / 0.4964 GB, free: 3.387 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.633e-06/0.1109, allocations: 8 kB / 0.4964 GB, free: 3.379 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.158e-05/0.1109, allocations: 11.98 kB / 0.4964 GB, free: 3.367 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.016e-06/0.1109, allocations: 0 / 0.4964 GB, free: 3.367 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.378e-06/0.1109, allocations: 3.938 kB / 0.4964 GB, free: 3.363 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.553e-06/0.1109, allocations: 0 / 0.4964 GB, free: 3.363 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.916e-06/0.1109, allocations: 4 kB / 0.4964 GB, free: 3.359 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002326/0.1112, allocations: 207.2 kB / 0.4966 GB, free: 3.141 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.368e-05/0.1113, allocations: 116.5 kB / 0.4967 GB, free: 3.008 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.642e-05/0.1113, allocations: 8 kB / 0.4968 GB, free: 3 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.687e-05/0.1114, allocations: 4 kB / 0.4968 GB, free: 2.996 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.335e-05/0.1114, allocations: 7.984 kB / 0.4968 GB, free: 2.988 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.57e-06/0.1114, allocations: 4 kB / 0.4968 GB, free: 2.984 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0005626/0.112, allocations: 0.6394 MB / 0.4974 GB, free: 2.348 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.112, allocations: 3.938 kB / 0.4974 GB, free: 2.344 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002667/0.1123, allocations: 24 kB / 0.4974 GB, free: 2.32 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 (5): * Single equations (assignments): 5 * 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.0009026/0.1132, allocations: 408.1 kB / 0.4978 GB, free: 1.957 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001966/0.1134, allocations: 47.91 kB / 0.4979 GB, free: 1.91 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.324e-06/0.1134, allocations: 0 / 0.4979 GB, free: 1.91 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 7.753e-05/0.1135, allocations: 28.11 kB / 0.4979 GB, free: 1.883 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003995/0.1139, allocations: 25.75 kB / 0.4979 GB, free: 1.855 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001/0.1149, allocations: 0.8165 MB / 0.4987 GB, free: 1.004 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004477/0.1154, allocations: 0.8182 MB / 0.4995 GB, free: 164 kB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.478e-05/0.1154, allocations: 15.44 kB / 0.4995 GB, free: 148 kB / 382.1 MB Notification: Performance of SimCode: time 2.2e-07/0.1154, allocations: 0 / 0.4995 GB, free: 148 kB / 382.1 MB Notification: Performance of Templates: time 0.006625/0.1221, allocations: 3.649 MB / 0.5031 GB, free: 12.49 MB / 398.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test1.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test1.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test1.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test1.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test1.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test1 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test1.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test1_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2D/Test1/Test1.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches