Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test5.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.Test5,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable1D_Test5",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1D.Test5,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable1D_Test5",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.001656/0.001656, allocations: 100.5 kB / 16.4 MB, free: 6.438 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.001428/0.001428, allocations: 191.8 kB / 17.34 MB, free: 5.711 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.421/1.421, allocations: 205.1 MB / 223.2 MB, free: 12.2 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.2045/0.2045, allocations: 43.52 MB / 314.1 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.001447/0.001448, allocations: 71.89 kB / 441.3 MB, free: 6.129 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1057/0.1071, allocations: 57.8 MB / 499.1 MB, free: 12.26 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1D.Test5): time 0.003395/0.1106, allocations: 1.546 MB / 0.4889 GB, free: 10.71 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007194/0.1113, allocations: 327.5 kB / 0.4892 GB, free: 10.38 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.682e-05/0.1114, allocations: 0 / 0.4892 GB, free: 10.38 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003081/0.1118, allocations: 99.67 kB / 0.4893 GB, free: 10.29 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002322/0.112, allocations: 75.73 kB / 0.4894 GB, free: 10.21 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002948/0.1123, allocations: 87.8 kB / 0.4895 GB, free: 10.12 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001631/0.1125, allocations: 71.83 kB / 0.4896 GB, free: 10.05 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001043/0.1126, allocations: 15.97 kB / 0.4896 GB, free: 10.04 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.305e-05/0.1127, allocations: 39.84 kB / 0.4896 GB, free: 10 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.557e-05/0.1128, allocations: 43.89 kB / 0.4897 GB, free: 9.957 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.528e-05/0.1128, allocations: 4 kB / 0.4897 GB, free: 9.953 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.579e-05/0.1129, allocations: 35.97 kB / 0.4897 GB, free: 9.918 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 5.201e-05/0.1129, allocations: 19.92 kB / 0.4897 GB, free: 9.898 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 4.255e-05/0.113, allocations: 27.75 kB / 0.4897 GB, free: 9.871 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001991/0.1132, allocations: 95.52 kB / 0.4898 GB, free: 9.777 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.017e-06/0.1132, allocations: 4 kB / 0.4898 GB, free: 9.773 MB / 382.1 MB Notification: Performance of FrontEnd: time 3.106e-06/0.1132, allocations: 0 / 0.4898 GB, free: 9.773 MB / 382.1 MB Notification: Performance of Transformations before backend: time 4.969e-06/0.1132, allocations: 3.938 kB / 0.4898 GB, free: 9.77 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.0004666/0.1137, allocations: 406.8 kB / 0.4902 GB, free: 9.324 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.729e-05/0.1138, allocations: 15.89 kB / 0.4902 GB, free: 9.309 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.528e-05/0.1138, allocations: 34.73 kB / 0.4903 GB, free: 9.266 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.615e-05/0.1138, allocations: 8.891 kB / 0.4903 GB, free: 9.258 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002045/0.114, allocations: 204.8 kB / 0.4905 GB, free: 9.02 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.097e-06/0.1141, allocations: 4.375 kB / 0.4905 GB, free: 9.016 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.709e-05/0.1141, allocations: 4.375 kB / 0.4905 GB, free: 9.012 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001502/0.1143, allocations: 53.56 kB / 0.4905 GB, free: 8.953 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.178e-05/0.1143, allocations: 0 / 0.4905 GB, free: 8.953 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.317e-06/0.1143, allocations: 4 kB / 0.4905 GB, free: 8.949 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.071e-06/0.1143, allocations: 0 / 0.4905 GB, free: 8.949 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001013/0.1144, allocations: 23.97 kB / 0.4906 GB, free: 8.926 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004387/0.1149, allocations: 292.9 kB / 0.4908 GB, free: 8.59 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002253/0.1151, allocations: 46.5 kB / 0.4909 GB, free: 8.535 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.337e-05/0.1152, allocations: 20.94 kB / 0.4909 GB, free: 8.512 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.171e-05/0.1152, allocations: 4 kB / 0.4909 GB, free: 8.508 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.367e-05/0.1152, allocations: 30.56 kB / 0.4909 GB, free: 8.469 MB / 382.1 MB Notification: Performance of pre-optimization done (n=3): time 1.372e-06/0.1152, allocations: 0 / 0.4909 GB, free: 8.469 MB / 382.1 MB Notification: Performance of matching and sorting (n=5): time 0.0006217/0.1158, allocations: 157.3 kB / 0.4911 GB, free: 8.309 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.927e-05/0.1159, allocations: 63.39 kB / 0.4912 GB, free: 8.234 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002084/0.1161, allocations: 216.4 kB / 0.4914 GB, free: 8.016 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.573e-05/0.1161, allocations: 25.7 kB / 0.4914 GB, free: 7.984 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.874e-05/0.1162, allocations: 108.1 kB / 0.4915 GB, free: 7.875 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.645e-05/0.1162, allocations: 7.906 kB / 0.4915 GB, free: 7.867 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.697e-05/0.1163, allocations: 25.64 kB / 0.4915 GB, free: 7.836 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001267/0.1164, allocations: 326.8 kB / 0.4918 GB, free: 7.508 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.057e-05/0.1165, allocations: 19.98 kB / 0.4918 GB, free: 7.488 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.509e-05/0.1166, allocations: 31.98 kB / 0.4919 GB, free: 7.457 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000134/0.1167, allocations: 52.83 kB / 0.4919 GB, free: 7.402 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.92e-07/0.1167, allocations: 0 / 0.4919 GB, free: 7.402 MB / 382.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001971/0.1169, allocations: 97.5 kB / 0.492 GB, free: 7.301 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.735e-05/0.117, allocations: 4 kB / 0.492 GB, free: 7.297 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.819e-06/0.117, allocations: 0 / 0.492 GB, free: 7.297 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.858e-05/0.117, allocations: 0 / 0.492 GB, free: 7.297 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.608e-05/0.1171, allocations: 19.98 kB / 0.492 GB, free: 7.277 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.031e-06/0.1171, allocations: 0 / 0.492 GB, free: 7.277 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.358e-05/0.1171, allocations: 7.938 kB / 0.4921 GB, free: 7.27 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.334e-05/0.1172, allocations: 3.938 kB / 0.4921 GB, free: 7.266 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.0001068/0.1173, allocations: 133.8 kB / 0.4922 GB, free: 7.125 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.636e-05/0.1173, allocations: 7.953 kB / 0.4922 GB, free: 7.117 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002587/0.1176, allocations: 106.6 kB / 0.4923 GB, free: 7.004 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.891e-06/0.1176, allocations: 4 kB / 0.4923 GB, free: 7 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.569e-06/0.1176, allocations: 0 / 0.4923 GB, free: 7 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.436e-06/0.1176, allocations: 0 / 0.4923 GB, free: 7 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004617/0.1181, allocations: 358.5 kB / 0.4926 GB, free: 6.594 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.286e-06/0.1181, allocations: 320 / 0.4926 GB, free: 6.594 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.549e-05/0.1182, allocations: 27.92 kB / 0.4927 GB, free: 6.566 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.018e-06/0.1182, allocations: 0 / 0.4927 GB, free: 6.566 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.145e-06/0.1182, allocations: 0 / 0.4927 GB, free: 6.566 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.158e-06/0.1182, allocations: 7.938 kB / 0.4927 GB, free: 6.559 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.312e-06/0.1182, allocations: 0 / 0.4927 GB, free: 6.559 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002366/0.1185, allocations: 179.8 kB / 0.4928 GB, free: 6.367 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.547e-05/0.1185, allocations: 89.02 kB / 0.4929 GB, free: 6.262 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.874e-05/0.1185, allocations: 0 / 0.4929 GB, free: 6.262 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.224e-05/0.1186, allocations: 11.94 kB / 0.4929 GB, free: 6.25 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.477e-05/0.1187, allocations: 15.97 kB / 0.493 GB, free: 6.234 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.519e-06/0.1187, allocations: 0 / 0.493 GB, free: 6.234 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001519/0.1188, allocations: 171.5 kB / 0.4931 GB, free: 6.066 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1189, allocations: 0 / 0.4931 GB, free: 6.066 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002501/0.1191, allocations: 19.98 kB / 0.4931 GB, free: 6.047 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.001379/0.1205, allocations: 1.016 MB / 0.4941 GB, free: 5.043 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002105/0.1207, allocations: 51.95 kB / 0.4942 GB, free: 4.992 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.214e-06/0.1207, allocations: 0 / 0.4942 GB, free: 4.992 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 7.981e-05/0.1208, allocations: 31.92 kB / 0.4942 GB, free: 4.961 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003857/0.1212, allocations: 27.86 kB / 0.4942 GB, free: 4.934 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001856/0.1231, allocations: 1.619 MB / 0.4958 GB, free: 3.227 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002474/0.1233, allocations: 0.7041 MB / 0.4965 GB, free: 2.496 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 5.997e-05/0.1234, allocations: 11.98 kB / 0.4965 GB, free: 2.484 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.652e-05/0.1235, allocations: 31.42 kB / 0.4965 GB, free: 2.457 MB / 382.1 MB Notification: Performance of SimCode: time 5.71e-07/0.1235, allocations: 0 / 0.4965 GB, free: 2.457 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01922/0.1427, allocations: 2.829 MB / 0.4993 GB, free: 15.61 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.692/7.835, allocations: 4 kB / 0.4993 GB, free: 15.61 MB / 398.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test5.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test5.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test5.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test5.sim & python3 -m fmpy simulate --output-file ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test5_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable1D_Test5.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test5.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test5_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable1D/Test5/Test5.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test5.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches