Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test14.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.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_3.2.3_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_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test14") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001695/0.001695, allocations: 119.3 kB / 17.09 MB, free: 5.965 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.001814/0.001814, allocations: 197.2 kB / 18.02 MB, free: 5.047 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.429/1.429, allocations: 205.1 MB / 223.9 MB, free: 12.22 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.2379/0.2379, allocations: 43.53 MB / 314.8 MB, free: 440 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.001556/0.001556, allocations: 73.44 kB / 442.5 MB, free: 5.641 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1053/0.1069, allocations: 57.8 MB / 0.4886 GB, free: 11.77 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test14): time 0.003093/0.11, allocations: 1.616 MB / 0.4901 GB, free: 10.14 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001457/0.1115, allocations: 0.9613 MB / 0.4911 GB, free: 9.176 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.172e-05/0.1116, allocations: 8 kB / 0.4911 GB, free: 9.168 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002528/0.1119, allocations: 23.84 kB / 0.4911 GB, free: 9.145 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002178/0.1121, allocations: 43.78 kB / 0.4911 GB, free: 9.102 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004252/0.1126, allocations: 147.7 kB / 0.4913 GB, free: 8.957 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001607/0.1128, allocations: 79.75 kB / 0.4914 GB, free: 8.879 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001083/0.1129, allocations: 15.98 kB / 0.4914 GB, free: 8.863 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.536e-05/0.1129, allocations: 23.92 kB / 0.4914 GB, free: 8.84 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001311/0.1131, allocations: 35.83 kB / 0.4914 GB, free: 8.805 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.899e-05/0.1131, allocations: 4 kB / 0.4914 GB, free: 8.801 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001272/0.1132, allocations: 51.92 kB / 0.4915 GB, free: 8.75 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 5.969e-05/0.1133, allocations: 27.91 kB / 0.4915 GB, free: 8.723 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 3.655e-05/0.1134, allocations: 19.81 kB / 0.4915 GB, free: 8.703 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002027/0.1136, allocations: 103.8 kB / 0.4916 GB, free: 8.602 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.126e-06/0.1136, allocations: 0 / 0.4916 GB, free: 8.602 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.313e-06/0.1136, allocations: 0 / 0.4916 GB, free: 8.602 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.661e-06/0.1136, allocations: 0 / 0.4916 GB, free: 8.602 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.0004887/0.1141, allocations: 387.1 kB / 0.492 GB, free: 8.176 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.063e-05/0.1141, allocations: 19.88 kB / 0.492 GB, free: 8.156 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.883e-05/0.1142, allocations: 8.844 kB / 0.492 GB, free: 8.148 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001968/0.1144, allocations: 184.3 kB / 0.4922 GB, free: 7.93 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.607e-06/0.1144, allocations: 4.312 kB / 0.4922 GB, free: 7.926 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.774e-05/0.1144, allocations: 8.375 kB / 0.4922 GB, free: 7.918 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001954/0.1146, allocations: 79.48 kB / 0.4923 GB, free: 7.828 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.404e-05/0.1147, allocations: 4 kB / 0.4923 GB, free: 7.824 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.229e-05/0.1147, allocations: 0 / 0.4923 GB, free: 7.824 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.26e-06/0.1147, allocations: 0 / 0.4923 GB, free: 7.824 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001506/0.1148, allocations: 47.91 kB / 0.4923 GB, free: 7.777 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004892/0.1153, allocations: 304.6 kB / 0.4926 GB, free: 7.43 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001329/0.1155, allocations: 50.55 kB / 0.4927 GB, free: 7.371 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.772e-05/0.1156, allocations: 24.94 kB / 0.4927 GB, free: 7.344 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.834e-05/0.1156, allocations: 7.984 kB / 0.4927 GB, free: 7.336 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.47e-05/0.1156, allocations: 34.5 kB / 0.4927 GB, free: 7.293 MB / 382.1 MB Notification: Performance of pre-optimization done (n=4): time 1.152e-06/0.1157, allocations: 7.938 kB / 0.4927 GB, free: 7.285 MB / 382.1 MB Notification: Performance of matching and sorting (n=7): time 0.0007829/0.1164, allocations: 213.3 kB / 0.493 GB, free: 7.07 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.883e-05/0.1165, allocations: 81.11 kB / 0.493 GB, free: 6.973 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001347/0.1166, allocations: 137.8 kB / 0.4932 GB, free: 6.828 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.549e-05/0.1167, allocations: 25.7 kB / 0.4932 GB, free: 6.797 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.226e-05/0.1167, allocations: 96.05 kB / 0.4933 GB, free: 6.699 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.397e-05/0.1168, allocations: 15.7 kB / 0.4933 GB, free: 6.684 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.081e-05/0.1168, allocations: 21.72 kB / 0.4933 GB, free: 6.656 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001063/0.1169, allocations: 322.8 kB / 0.4936 GB, free: 6.332 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001187/0.117, allocations: 43.97 kB / 0.4937 GB, free: 6.289 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001219/0.1172, allocations: 53.67 kB / 0.4937 GB, free: 6.23 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002221/0.1174, allocations: 88.86 kB / 0.4938 GB, free: 6.141 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.583e-06/0.1174, allocations: 0 / 0.4938 GB, free: 6.141 MB / 382.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002754/0.1177, allocations: 125.5 kB / 0.4939 GB, free: 6.012 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.595e-05/0.1177, allocations: 4 kB / 0.4939 GB, free: 6.008 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.28e-06/0.1177, allocations: 0 / 0.4939 GB, free: 6.008 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.388e-05/0.1178, allocations: 0 / 0.4939 GB, free: 6.008 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000123/0.1179, allocations: 23.97 kB / 0.4939 GB, free: 5.984 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.001e-06/0.1179, allocations: 0 / 0.4939 GB, free: 5.984 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.314e-05/0.118, allocations: 19.88 kB / 0.494 GB, free: 5.965 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.057e-06/0.118, allocations: 8 kB / 0.494 GB, free: 5.957 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.234e-05/0.1181, allocations: 125.8 kB / 0.4941 GB, free: 5.824 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.654e-05/0.1181, allocations: 7.906 kB / 0.4941 GB, free: 5.816 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003382/0.1185, allocations: 133.9 kB / 0.4942 GB, free: 5.676 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.28e-06/0.1185, allocations: 7.938 kB / 0.4942 GB, free: 5.668 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.769e-06/0.1185, allocations: 0 / 0.4942 GB, free: 5.668 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.368e-06/0.1185, allocations: 7.938 kB / 0.4942 GB, free: 5.66 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005228/0.119, allocations: 398.9 kB / 0.4946 GB, free: 5.215 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.984e-06/0.119, allocations: 0 / 0.4946 GB, free: 5.215 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.49e-05/0.1191, allocations: 23.92 kB / 0.4946 GB, free: 5.191 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.296e-06/0.1192, allocations: 0 / 0.4946 GB, free: 5.191 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.094e-05/0.1192, allocations: 3.938 kB / 0.4946 GB, free: 5.188 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.164e-06/0.1192, allocations: 4 kB / 0.4947 GB, free: 5.184 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.172e-06/0.1192, allocations: 4 kB / 0.4947 GB, free: 5.18 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003144/0.1195, allocations: 215.5 kB / 0.4949 GB, free: 4.953 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.066e-05/0.1196, allocations: 89 kB / 0.4949 GB, free: 4.848 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.96e-05/0.1196, allocations: 3.938 kB / 0.495 GB, free: 4.844 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.77e-05/0.1197, allocations: 16 kB / 0.495 GB, free: 4.828 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.841e-05/0.1197, allocations: 3.984 kB / 0.495 GB, free: 4.824 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.588e-06/0.1197, allocations: 4 kB / 0.495 GB, free: 4.82 MB / 382.1 MB Notification: Performance of sorting global known variables: time 8.205e-05/0.1198, allocations: 107.2 kB / 0.4951 GB, free: 4.715 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.1198, allocations: 0 / 0.4951 GB, free: 4.715 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002665/0.1201, allocations: 27.94 kB / 0.4951 GB, free: 4.688 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.0009812/0.1211, allocations: 457.2 kB / 0.4955 GB, free: 4.281 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002939/0.1214, allocations: 91.92 kB / 0.4956 GB, free: 4.191 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.444e-06/0.1214, allocations: 0 / 0.4956 GB, free: 4.191 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001218/0.1215, allocations: 51.89 kB / 0.4957 GB, free: 4.141 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000356/0.1219, allocations: 27.84 kB / 0.4957 GB, free: 4.113 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004288/0.1223, allocations: 204.2 kB / 0.4959 GB, free: 3.879 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000243/0.1226, allocations: 0.7002 MB / 0.4966 GB, free: 3.152 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.447e-05/0.1227, allocations: 11.44 kB / 0.4966 GB, free: 3.141 MB / 382.1 MB Notification: Performance of SimCode: time 2.81e-07/0.1227, allocations: 0 / 0.4966 GB, free: 3.141 MB / 382.1 MB Notification: Performance of Templates: time 0.003508/0.1262, allocations: 1.801 MB / 0.4984 GB, free: 1.34 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test14.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test14.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test14.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test14.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test14.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test14 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test14.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test14_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2Dv/Test14/Test14.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test14.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches