Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test3.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.CombiTable1D.Test3,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable1D_Test3",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1D.Test3,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable1D_Test3",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.001233/0.001233, allocations: 105.9 kB / 16.41 MB, free: 6.488 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.001275/0.001275, allocations: 189.5 kB / 17.34 MB, free: 5.766 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.312/1.312, allocations: 205.1 MB / 223.2 MB, free: 12.23 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.1932/0.1932, allocations: 43.52 MB / 314.1 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.001469/0.001469, allocations: 68.47 kB / 441.3 MB, free: 6.16 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09968/0.1012, allocations: 57.8 MB / 499.1 MB, free: 12.29 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1D.Test3): time 0.002747/0.104, allocations: 1.547 MB / 0.4889 GB, free: 10.73 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005978/0.1046, allocations: 335.4 kB / 0.4892 GB, free: 10.4 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.179e-05/0.1046, allocations: 0 / 0.4892 GB, free: 10.4 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002768/0.1049, allocations: 71.78 kB / 0.4893 GB, free: 10.33 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001836/0.1051, allocations: 67.73 kB / 0.4894 GB, free: 10.26 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002602/0.1054, allocations: 83.83 kB / 0.4895 GB, free: 10.18 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.000147/0.1056, allocations: 67.81 kB / 0.4895 GB, free: 10.11 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001037/0.1057, allocations: 19.97 kB / 0.4895 GB, free: 10.09 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.917e-05/0.1057, allocations: 27.86 kB / 0.4896 GB, free: 10.07 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.743e-05/0.1058, allocations: 43.89 kB / 0.4896 GB, free: 10.02 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.64e-05/0.1059, allocations: 4 kB / 0.4896 GB, free: 10.02 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.475e-05/0.1059, allocations: 27.98 kB / 0.4896 GB, free: 9.992 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 5.327e-05/0.106, allocations: 27.91 kB / 0.4897 GB, free: 9.965 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 3.832e-05/0.106, allocations: 27.75 kB / 0.4897 GB, free: 9.938 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001612/0.1062, allocations: 83.78 kB / 0.4898 GB, free: 9.855 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.889e-06/0.1062, allocations: 3.938 kB / 0.4898 GB, free: 9.852 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.544e-06/0.1062, allocations: 0 / 0.4898 GB, free: 9.852 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.703e-06/0.1062, allocations: 0 / 0.4898 GB, free: 9.852 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0004729/0.1067, allocations: 391 kB / 0.4901 GB, free: 9.422 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.733e-05/0.1068, allocations: 11.89 kB / 0.4902 GB, free: 9.41 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.188e-05/0.1068, allocations: 38.75 kB / 0.4902 GB, free: 9.363 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.153e-05/0.1068, allocations: 16.75 kB / 0.4902 GB, free: 9.348 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001878/0.107, allocations: 192.2 kB / 0.4904 GB, free: 9.121 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.986e-06/0.1071, allocations: 384 / 0.4904 GB, free: 9.121 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.61e-05/0.1071, allocations: 4.375 kB / 0.4904 GB, free: 9.117 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001408/0.1072, allocations: 49.62 kB / 0.4904 GB, free: 9.062 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.129e-05/0.1072, allocations: 3.938 kB / 0.4904 GB, free: 9.059 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.107e-05/0.1073, allocations: 4 kB / 0.4905 GB, free: 9.055 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.927e-06/0.1073, allocations: 0 / 0.4905 GB, free: 9.055 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.476e-05/0.1074, allocations: 23.97 kB / 0.4905 GB, free: 9.031 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003985/0.1078, allocations: 288.8 kB / 0.4907 GB, free: 8.699 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001973/0.108, allocations: 42.5 kB / 0.4908 GB, free: 8.648 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.036e-05/0.108, allocations: 20.94 kB / 0.4908 GB, free: 8.625 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.033e-05/0.1081, allocations: 0 / 0.4908 GB, free: 8.625 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.345e-05/0.1081, allocations: 38.56 kB / 0.4908 GB, free: 8.578 MB / 382.1 MB Notification: Performance of pre-optimization done (n=3): time 8.82e-07/0.1081, allocations: 0 / 0.4908 GB, free: 8.578 MB / 382.1 MB Notification: Performance of matching and sorting (n=5): time 0.000547/0.1087, allocations: 153.2 kB / 0.491 GB, free: 8.422 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.328e-05/0.1087, allocations: 51.41 kB / 0.491 GB, free: 8.359 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001825/0.1089, allocations: 194.2 kB / 0.4912 GB, free: 8.16 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.266e-05/0.1089, allocations: 25.7 kB / 0.4913 GB, free: 8.129 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.427e-05/0.109, allocations: 104 kB / 0.4914 GB, free: 8.023 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.38e-05/0.109, allocations: 19.73 kB / 0.4914 GB, free: 8.004 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.719e-05/0.109, allocations: 17.72 kB / 0.4914 GB, free: 7.98 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001166/0.1092, allocations: 326.8 kB / 0.4917 GB, free: 7.652 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.995e-05/0.1092, allocations: 19.98 kB / 0.4917 GB, free: 7.633 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.809e-05/0.1093, allocations: 19.98 kB / 0.4917 GB, free: 7.613 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001288/0.1094, allocations: 60.95 kB / 0.4918 GB, free: 7.551 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.52e-07/0.1095, allocations: 0 / 0.4918 GB, free: 7.551 MB / 382.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001705/0.1096, allocations: 93.5 kB / 0.4919 GB, free: 7.453 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.418e-05/0.1097, allocations: 4 kB / 0.4919 GB, free: 7.449 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.129e-06/0.1097, allocations: 0 / 0.4919 GB, free: 7.449 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.528e-05/0.1097, allocations: 0 / 0.4919 GB, free: 7.449 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.186e-05/0.1098, allocations: 15.98 kB / 0.4919 GB, free: 7.434 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.458e-06/0.1098, allocations: 0 / 0.4919 GB, free: 7.434 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.589e-05/0.1098, allocations: 4 kB / 0.4919 GB, free: 7.43 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.482e-06/0.1098, allocations: 7.938 kB / 0.4919 GB, free: 7.422 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 8.392e-05/0.1099, allocations: 125.8 kB / 0.492 GB, free: 7.289 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.201e-05/0.1099, allocations: 12.19 kB / 0.492 GB, free: 7.277 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002672/0.1102, allocations: 105.9 kB / 0.4921 GB, free: 7.164 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.745e-06/0.1102, allocations: 7.984 kB / 0.4922 GB, free: 7.156 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.517e-06/0.1102, allocations: 0 / 0.4922 GB, free: 7.156 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.266e-06/0.1103, allocations: 0 / 0.4922 GB, free: 7.156 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003876/0.1106, allocations: 366.4 kB / 0.4925 GB, free: 6.742 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.242e-06/0.1107, allocations: 0 / 0.4925 GB, free: 6.742 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.999e-05/0.1107, allocations: 15.92 kB / 0.4925 GB, free: 6.727 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.703e-06/0.1107, allocations: 0 / 0.4925 GB, free: 6.727 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.036e-06/0.1107, allocations: 4 kB / 0.4925 GB, free: 6.723 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.665e-06/0.1108, allocations: 3.938 kB / 0.4925 GB, free: 6.719 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.1108, allocations: 192 / 0.4925 GB, free: 6.719 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002038/0.111, allocations: 191.4 kB / 0.4927 GB, free: 6.516 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.722e-05/0.111, allocations: 81.02 kB / 0.4928 GB, free: 6.418 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.452e-05/0.111, allocations: 0 / 0.4928 GB, free: 6.418 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.492e-05/0.1111, allocations: 7.938 kB / 0.4928 GB, free: 6.41 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.538e-05/0.1112, allocations: 7.984 kB / 0.4928 GB, free: 6.402 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.587e-06/0.1112, allocations: 0 / 0.4928 GB, free: 6.402 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.000106/0.1113, allocations: 151.9 kB / 0.4929 GB, free: 6.254 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.1113, allocations: 4 kB / 0.493 GB, free: 6.25 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.000233/0.1115, allocations: 11.98 kB / 0.493 GB, free: 6.238 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.00128/0.1128, allocations: 1.01 MB / 0.4939 GB, free: 5.246 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002283/0.1131, allocations: 59.95 kB / 0.494 GB, free: 5.188 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.405e-06/0.1131, allocations: 0 / 0.494 GB, free: 5.188 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 7.443e-05/0.1131, allocations: 27.92 kB / 0.494 GB, free: 5.16 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003786/0.1135, allocations: 31.14 kB / 0.4941 GB, free: 5.133 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001804/0.1153, allocations: 1.545 MB / 0.4956 GB, free: 3.504 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002812/0.1157, allocations: 0.7079 MB / 0.4963 GB, free: 2.77 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 6.316e-05/0.1157, allocations: 15.92 kB / 0.4963 GB, free: 2.754 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.908e-05/0.1158, allocations: 27.42 kB / 0.4963 GB, free: 2.727 MB / 382.1 MB Notification: Performance of SimCode: time 4e-07/0.1158, allocations: 0 / 0.4963 GB, free: 2.727 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02057/0.1364, allocations: 2.702 MB / 0.4989 GB, free: 8 kB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.637/7.774, allocations: 15.91 kB / 0.499 GB, free: 15.99 MB / 398.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test3.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test3.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test3.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test3.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test3_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable1D_Test3_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable1D_Test3.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test3.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test3_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable1D/Test3/Test3.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test3.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches