Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test30.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: "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2D.Test30,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2D_Test30",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2D.Test30,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2D_Test30",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001204/0.001204, allocations: 107.3 kB / 16.41 MB, free: 6.496 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.001254/0.001254, allocations: 189.5 kB / 17.34 MB, free: 5.742 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.36/1.36, allocations: 205.1 MB / 223.2 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.2052/0.2052, allocations: 43.52 MB / 314.1 MB, free: 456 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.001493/0.001494, allocations: 73.62 kB / 441.3 MB, free: 6.141 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09865/0.1002, allocations: 57.79 MB / 499.1 MB, free: 12.28 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2D.Test30): time 0.002754/0.1029, allocations: 1.624 MB / 0.489 GB, free: 10.64 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005805/0.1036, allocations: 311.6 kB / 0.4893 GB, free: 10.34 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.084e-05/0.1036, allocations: 0 / 0.4893 GB, free: 10.34 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000235/0.1039, allocations: 79.77 kB / 0.4894 GB, free: 10.26 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001878/0.1041, allocations: 59.73 kB / 0.4894 GB, free: 10.2 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002967/0.1044, allocations: 119.7 kB / 0.4895 GB, free: 10.08 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001394/0.1046, allocations: 75.77 kB / 0.4896 GB, free: 10.01 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.52e-05/0.1047, allocations: 16.17 kB / 0.4896 GB, free: 9.992 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.838e-05/0.1047, allocations: 31.89 kB / 0.4897 GB, free: 9.961 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.242e-05/0.1048, allocations: 47.83 kB / 0.4897 GB, free: 9.914 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.415e-05/0.1048, allocations: 4 kB / 0.4897 GB, free: 9.91 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.263e-05/0.1049, allocations: 39.98 kB / 0.4897 GB, free: 9.871 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 6.206e-05/0.105, allocations: 23.92 kB / 0.4898 GB, free: 9.848 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 4.238e-05/0.1051, allocations: 31.73 kB / 0.4898 GB, free: 9.816 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00017/0.1052, allocations: 99.64 kB / 0.4899 GB, free: 9.719 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.901e-06/0.1052, allocations: 4 kB / 0.4899 GB, free: 9.715 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.514e-06/0.1052, allocations: 0 / 0.4899 GB, free: 9.715 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.262e-06/0.1053, allocations: 7.922 kB / 0.4899 GB, free: 9.707 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.000476/0.1057, allocations: 410.9 kB / 0.4903 GB, free: 9.258 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.505e-05/0.1058, allocations: 15.89 kB / 0.4903 GB, free: 9.242 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.325e-05/0.1058, allocations: 30.75 kB / 0.4903 GB, free: 9.203 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.498e-05/0.1059, allocations: 12.84 kB / 0.4903 GB, free: 9.191 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001784/0.106, allocations: 204.7 kB / 0.4905 GB, free: 8.953 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.021e-05/0.1061, allocations: 8.312 kB / 0.4905 GB, free: 8.945 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.713e-05/0.1061, allocations: 4.125 kB / 0.4906 GB, free: 8.941 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001553/0.1062, allocations: 61.66 kB / 0.4906 GB, free: 8.875 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.728e-06/0.1063, allocations: 0 / 0.4906 GB, free: 8.875 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.293e-06/0.1063, allocations: 0 / 0.4906 GB, free: 8.875 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.18e-06/0.1063, allocations: 4 kB / 0.4906 GB, free: 8.871 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001168/0.1064, allocations: 35.97 kB / 0.4907 GB, free: 8.836 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003262/0.1067, allocations: 292.8 kB / 0.4909 GB, free: 8.5 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001101/0.1069, allocations: 46.55 kB / 0.491 GB, free: 8.445 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.595e-05/0.1069, allocations: 24.94 kB / 0.491 GB, free: 8.418 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.792e-05/0.107, allocations: 4 kB / 0.491 GB, free: 8.414 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.468e-05/0.107, allocations: 34.56 kB / 0.491 GB, free: 8.371 MB / 382.1 MB Notification: Performance of pre-optimization done (n=4): time 1.663e-06/0.107, allocations: 0 / 0.491 GB, free: 8.371 MB / 382.1 MB Notification: Performance of matching and sorting (n=7): time 0.0006977/0.1077, allocations: 213 kB / 0.4912 GB, free: 8.156 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.842e-05/0.1077, allocations: 51.41 kB / 0.4913 GB, free: 8.094 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001834/0.1079, allocations: 211.3 kB / 0.4915 GB, free: 7.875 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.597e-05/0.108, allocations: 29.7 kB / 0.4915 GB, free: 7.84 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.102e-05/0.108, allocations: 104.2 kB / 0.4916 GB, free: 7.734 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.059e-05/0.1081, allocations: 23.66 kB / 0.4916 GB, free: 7.711 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.794e-05/0.1081, allocations: 21.7 kB / 0.4917 GB, free: 7.684 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 9.774e-05/0.1082, allocations: 322.8 kB / 0.492 GB, free: 7.359 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.615e-05/0.1083, allocations: 31.98 kB / 0.492 GB, free: 7.328 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.061e-05/0.1084, allocations: 35.91 kB / 0.492 GB, free: 7.293 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000184/0.1086, allocations: 72.8 kB / 0.4921 GB, free: 7.219 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.02e-07/0.1086, allocations: 7.875 kB / 0.4921 GB, free: 7.211 MB / 382.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002423/0.1088, allocations: 121.5 kB / 0.4922 GB, free: 7.086 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.381e-05/0.1089, allocations: 4 kB / 0.4922 GB, free: 7.082 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.02e-06/0.1089, allocations: 0 / 0.4922 GB, free: 7.082 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.231e-05/0.1089, allocations: 0 / 0.4922 GB, free: 7.082 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001095/0.109, allocations: 23.98 kB / 0.4923 GB, free: 7.059 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.765e-06/0.109, allocations: 3.938 kB / 0.4923 GB, free: 7.055 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.915e-05/0.1091, allocations: 11.98 kB / 0.4923 GB, free: 7.043 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.462e-06/0.1091, allocations: 7.938 kB / 0.4923 GB, free: 7.035 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.603e-05/0.1092, allocations: 129.8 kB / 0.4924 GB, free: 6.898 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.484e-05/0.1092, allocations: 11.89 kB / 0.4924 GB, free: 6.887 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002976/0.1095, allocations: 131.3 kB / 0.4925 GB, free: 6.746 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.454e-06/0.1096, allocations: 288 / 0.4925 GB, free: 6.746 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.4e-06/0.1096, allocations: 3.938 kB / 0.4925 GB, free: 6.742 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.635e-06/0.1096, allocations: 4 kB / 0.4925 GB, free: 6.738 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004703/0.11, allocations: 394.5 kB / 0.4929 GB, free: 6.297 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.085e-06/0.1101, allocations: 3.984 kB / 0.4929 GB, free: 6.293 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.794e-05/0.1101, allocations: 19.97 kB / 0.4929 GB, free: 6.273 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.727e-06/0.1102, allocations: 3.938 kB / 0.4929 GB, free: 6.27 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.228e-06/0.1102, allocations: 8 kB / 0.493 GB, free: 6.262 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.633e-06/0.1102, allocations: 4 kB / 0.493 GB, free: 6.258 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.91e-07/0.1102, allocations: 0 / 0.493 GB, free: 6.258 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002677/0.1105, allocations: 211.2 kB / 0.4932 GB, free: 6.035 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4e-05/0.1105, allocations: 81.02 kB / 0.4932 GB, free: 5.938 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.063e-05/0.1105, allocations: 11.92 kB / 0.4932 GB, free: 5.926 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.403e-05/0.1106, allocations: 12 kB / 0.4933 GB, free: 5.914 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.023e-05/0.1107, allocations: 7.984 kB / 0.4933 GB, free: 5.906 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.158e-06/0.1107, allocations: 0 / 0.4933 GB, free: 5.906 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001304/0.1108, allocations: 160.9 kB / 0.4934 GB, free: 5.75 MB / 382.1 MB Notification: Performance of sort global known variables: time 3.4e-07/0.1108, allocations: 0 / 0.4934 GB, free: 5.75 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002571/0.1111, allocations: 23.98 kB / 0.4934 GB, free: 5.727 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.001331/0.1124, allocations: 1.053 MB / 0.4945 GB, free: 4.691 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.000261/0.1127, allocations: 75.95 kB / 0.4945 GB, free: 4.617 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.994e-06/0.1127, allocations: 0 / 0.4945 GB, free: 4.617 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001058/0.1128, allocations: 43.91 kB / 0.4946 GB, free: 4.574 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003308/0.1132, allocations: 19.98 kB / 0.4946 GB, free: 4.555 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001913/0.1151, allocations: 1.709 MB / 0.4963 GB, free: 2.77 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002614/0.1154, allocations: 0.7041 MB / 0.497 GB, free: 2.039 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 5.96e-05/0.1154, allocations: 12.97 kB / 0.497 GB, free: 2.023 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.628e-05/0.1155, allocations: 27.42 kB / 0.497 GB, free: 2 MB / 382.1 MB Notification: Performance of SimCode: time 4.9e-07/0.1155, allocations: 0 / 0.497 GB, free: 2 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01876/0.1343, allocations: 3.052 MB / 0.5 GB, free: 14.93 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.613/7.747, allocations: 15.88 kB / 0.5 GB, free: 14.92 MB / 398.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test30.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test30.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test30.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test30.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test30_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2D_Test30_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2D_Test30.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test30.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test30_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2D/Test30/Test30.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test30.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches