Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test18.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.Test18,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable1D_Test18",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1D.Test18,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable1D_Test18",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.001289/0.001289, allocations: 111.9 kB / 16.41 MB, free: 6.492 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.001259/0.001259, allocations: 187.5 kB / 17.34 MB, free: 5.762 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.34/1.34, allocations: 205.1 MB / 223.2 MB, free: 12.24 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.203/0.203, allocations: 43.52 MB / 314.1 MB, free: 484 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.001725/0.001725, allocations: 72.38 kB / 441.3 MB, free: 6.184 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1085/0.1103, allocations: 57.79 MB / 499.1 MB, free: 12.32 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1D.Test18): time 0.003194/0.1135, allocations: 1.581 MB / 0.489 GB, free: 10.73 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001547/0.1151, allocations: 0.9456 MB / 0.4899 GB, free: 9.777 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.247e-05/0.1152, allocations: 0 / 0.4899 GB, free: 9.777 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002686/0.1155, allocations: 27.84 kB / 0.4899 GB, free: 9.75 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002218/0.1157, allocations: 47.77 kB / 0.4899 GB, free: 9.703 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003127/0.1161, allocations: 83.83 kB / 0.49 GB, free: 9.621 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001774/0.1162, allocations: 71.81 kB / 0.4901 GB, free: 9.551 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001111/0.1164, allocations: 36.09 kB / 0.4901 GB, free: 9.516 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.693e-05/0.1164, allocations: 23.92 kB / 0.4902 GB, free: 9.492 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003313/0.1168, allocations: 31.84 kB / 0.4902 GB, free: 9.461 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.431e-05/0.1168, allocations: 4 kB / 0.4902 GB, free: 9.457 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000144/0.117, allocations: 47.98 kB / 0.4902 GB, free: 9.41 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 5.675e-05/0.117, allocations: 19.91 kB / 0.4903 GB, free: 9.391 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 4.098e-05/0.1171, allocations: 23.88 kB / 0.4903 GB, free: 9.367 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002304/0.1173, allocations: 111.5 kB / 0.4904 GB, free: 9.258 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.719e-06/0.1173, allocations: 0 / 0.4904 GB, free: 9.258 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.723e-06/0.1173, allocations: 0 / 0.4904 GB, free: 9.258 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.432e-06/0.1173, allocations: 0 / 0.4904 GB, free: 9.258 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0005198/0.1179, allocations: 387 kB / 0.4908 GB, free: 8.832 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.405e-05/0.1179, allocations: 15.89 kB / 0.4908 GB, free: 8.816 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.113e-05/0.118, allocations: 38.73 kB / 0.4908 GB, free: 8.77 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.569e-05/0.118, allocations: 8.891 kB / 0.4908 GB, free: 8.762 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000214/0.1182, allocations: 196.2 kB / 0.491 GB, free: 8.531 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.468e-06/0.1183, allocations: 4.375 kB / 0.491 GB, free: 8.527 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.794e-05/0.1183, allocations: 12.12 kB / 0.491 GB, free: 8.516 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001988/0.1185, allocations: 80.19 kB / 0.4911 GB, free: 8.422 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.212e-05/0.1185, allocations: 0 / 0.4911 GB, free: 8.422 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.3e-05/0.1185, allocations: 4 kB / 0.4911 GB, free: 8.418 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.779e-06/0.1185, allocations: 0 / 0.4911 GB, free: 8.418 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001155/0.1187, allocations: 39.91 kB / 0.4911 GB, free: 8.379 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00049/0.1192, allocations: 385 kB / 0.4915 GB, free: 7.949 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000283/0.1195, allocations: 89.14 kB / 0.4916 GB, free: 7.844 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.492e-05/0.1196, allocations: 37.8 kB / 0.4916 GB, free: 7.801 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.331e-05/0.1196, allocations: 7.922 kB / 0.4916 GB, free: 7.793 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.413e-05/0.1196, allocations: 34.56 kB / 0.4917 GB, free: 7.75 MB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 1.252e-06/0.1196, allocations: 0 / 0.4917 GB, free: 7.75 MB / 382.1 MB Notification: Performance of matching and sorting (n=10): time 0.0007599/0.1204, allocations: 229.2 kB / 0.4919 GB, free: 7.52 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.873e-05/0.1205, allocations: 110.8 kB / 0.492 GB, free: 7.387 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001415/0.1206, allocations: 137.5 kB / 0.4921 GB, free: 7.246 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.7e-05/0.1207, allocations: 29.7 kB / 0.4921 GB, free: 7.211 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.962e-05/0.1207, allocations: 92.09 kB / 0.4922 GB, free: 7.117 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.387e-05/0.1208, allocations: 35.69 kB / 0.4923 GB, free: 7.082 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.849e-05/0.1208, allocations: 29.7 kB / 0.4923 GB, free: 7.047 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001121/0.1209, allocations: 326.8 kB / 0.4926 GB, free: 6.719 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.973e-05/0.121, allocations: 27.97 kB / 0.4926 GB, free: 6.691 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001005/0.1211, allocations: 58.55 kB / 0.4927 GB, free: 6.625 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001909/0.1213, allocations: 85.8 kB / 0.4928 GB, free: 6.535 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.001e-06/0.1214, allocations: 0 / 0.4928 GB, free: 6.535 MB / 382.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002475/0.1216, allocations: 125.6 kB / 0.4929 GB, free: 6.406 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.649e-05/0.1216, allocations: 4 kB / 0.4929 GB, free: 6.402 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.819e-06/0.1216, allocations: 0 / 0.4929 GB, free: 6.402 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.694e-05/0.1217, allocations: 4 kB / 0.4929 GB, free: 6.398 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.698e-05/0.1218, allocations: 19.98 kB / 0.4929 GB, free: 6.379 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.017e-06/0.1218, allocations: 11.81 kB / 0.4929 GB, free: 6.367 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.987e-05/0.1218, allocations: 7.984 kB / 0.4929 GB, free: 6.359 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.001e-05/0.1219, allocations: 4 kB / 0.4929 GB, free: 6.355 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (10): * Single equations (assignments): 10 * 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.217e-05/0.122, allocations: 129.7 kB / 0.4931 GB, free: 6.219 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.658e-05/0.122, allocations: 7.953 kB / 0.4931 GB, free: 6.211 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003097/0.1223, allocations: 141.7 kB / 0.4932 GB, free: 6.062 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.931e-06/0.1223, allocations: 4 kB / 0.4932 GB, free: 6.059 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.183e-06/0.1224, allocations: 3.938 kB / 0.4932 GB, free: 6.055 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.222e-06/0.1224, allocations: 3.984 kB / 0.4932 GB, free: 6.051 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006586/0.123, allocations: 0.4908 MB / 0.4937 GB, free: 5.5 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.947e-06/0.1231, allocations: 7.938 kB / 0.4937 GB, free: 5.492 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.875e-05/0.1231, allocations: 23.92 kB / 0.4937 GB, free: 5.469 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.637e-06/0.1231, allocations: 0 / 0.4937 GB, free: 5.469 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.068e-05/0.1232, allocations: 4 kB / 0.4937 GB, free: 5.465 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.335e-06/0.1232, allocations: 0 / 0.4937 GB, free: 5.465 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.402e-06/0.1232, allocations: 0 / 0.4937 GB, free: 5.465 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003528/0.1235, allocations: 303.7 kB / 0.494 GB, free: 5.148 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.735e-05/0.1236, allocations: 89 kB / 0.4941 GB, free: 5.043 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.076e-05/0.1236, allocations: 0 / 0.4941 GB, free: 5.043 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001101/0.1237, allocations: 11.98 kB / 0.4941 GB, free: 5.031 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.83e-05/0.1238, allocations: 11.98 kB / 0.4941 GB, free: 5.02 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.591e-06/0.1238, allocations: 4 kB / 0.4941 GB, free: 5.016 MB / 382.1 MB Notification: Performance of sorting global known variables: time 9.909e-05/0.1239, allocations: 111.3 kB / 0.4942 GB, free: 4.906 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1239, allocations: 0 / 0.4942 GB, free: 4.906 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0003223/0.1242, allocations: 27.92 kB / 0.4943 GB, free: 4.879 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (10): * Single equations (assignments): 10 * 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.001582/0.1258, allocations: 1.164 MB / 0.4954 GB, free: 3.73 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002613/0.1261, allocations: 83.88 kB / 0.4955 GB, free: 3.648 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.066e-06/0.1261, allocations: 4 kB / 0.4955 GB, free: 3.645 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001062/0.1262, allocations: 47.91 kB / 0.4955 GB, free: 3.598 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004793/0.1267, allocations: 23.89 kB / 0.4956 GB, free: 3.574 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0019/0.1286, allocations: 1.648 MB / 0.4972 GB, free: 1.828 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002913/0.1289, allocations: 0.6924 MB / 0.4978 GB, free: 1.109 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0001065/0.1291, allocations: 36.48 kB / 0.4979 GB, free: 1.074 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.121e-05/0.1291, allocations: 39.36 kB / 0.4979 GB, free: 1.035 MB / 382.1 MB Notification: Performance of SimCode: time 3.3e-07/0.1291, allocations: 0 / 0.4979 GB, free: 1.035 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02268/0.1518, allocations: 3.06 MB / 0.5009 GB, free: 13.91 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.423/7.574, allocations: 23.88 kB / 0.5009 GB, free: 13.88 MB / 398.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test18.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test18.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test18.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test18.sim & python3 -m fmpy simulate --output-file ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test18_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_Test18.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test18.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test18_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable1D/Test18/Test18.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test18.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches