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.001312/0.001312, allocations: 105.8 kB / 16.41 MB, free: 6.512 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.00104/0.00104, allocations: 189.5 kB / 17.34 MB, free: 5.738 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.446/1.446, 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.2172/0.2172, allocations: 43.53 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.001583/0.001583, allocations: 69.62 kB / 441.3 MB, free: 6.145 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1141/0.1157, allocations: 57.79 MB / 499.1 MB, free: 12.28 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1D.Test3): time 0.003001/0.1188, allocations: 1.554 MB / 0.4889 GB, free: 10.72 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006844/0.1195, allocations: 331.5 kB / 0.4892 GB, free: 10.39 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.239e-05/0.1196, allocations: 0 / 0.4892 GB, free: 10.39 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002917/0.1199, allocations: 67.78 kB / 0.4893 GB, free: 10.32 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002191/0.1201, allocations: 59.81 kB / 0.4894 GB, free: 10.27 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003047/0.1205, allocations: 99.73 kB / 0.4895 GB, free: 10.17 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001632/0.1206, allocations: 63.83 kB / 0.4895 GB, free: 10.11 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001079/0.1208, allocations: 19.97 kB / 0.4895 GB, free: 10.09 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.284e-05/0.1208, allocations: 27.86 kB / 0.4896 GB, free: 10.06 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001104/0.1209, allocations: 51.81 kB / 0.4896 GB, free: 10.01 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.761e-05/0.121, allocations: 0 / 0.4896 GB, free: 10.01 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.464e-05/0.1211, allocations: 28 kB / 0.4896 GB, free: 9.98 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 6.041e-05/0.1211, allocations: 23.92 kB / 0.4897 GB, free: 9.957 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 4.521e-05/0.1212, allocations: 27.75 kB / 0.4897 GB, free: 9.93 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000211/0.1214, allocations: 87.64 kB / 0.4898 GB, free: 9.844 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.178e-06/0.1214, allocations: 0 / 0.4898 GB, free: 9.844 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.953e-06/0.1214, allocations: 0 / 0.4898 GB, free: 9.844 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.891e-06/0.1214, allocations: 0 / 0.4898 GB, free: 9.844 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.0004707/0.1219, allocations: 394.9 kB / 0.4902 GB, free: 9.41 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.293e-05/0.1219, allocations: 11.89 kB / 0.4902 GB, free: 9.398 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.603e-05/0.122, allocations: 38.69 kB / 0.4902 GB, free: 9.352 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.486e-05/0.122, allocations: 16.89 kB / 0.4902 GB, free: 9.336 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001939/0.1222, allocations: 192.2 kB / 0.4904 GB, free: 9.109 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.24e-05/0.1223, allocations: 4.375 kB / 0.4904 GB, free: 9.105 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.039e-05/0.1223, allocations: 4.375 kB / 0.4904 GB, free: 9.102 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001359/0.1224, allocations: 45.62 kB / 0.4905 GB, free: 9.051 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.254e-05/0.1225, allocations: 4 kB / 0.4905 GB, free: 9.047 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.228e-06/0.1225, allocations: 0 / 0.4905 GB, free: 9.047 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.1e-06/0.1225, allocations: 0 / 0.4905 GB, free: 9.047 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.516e-05/0.1226, allocations: 23.97 kB / 0.4905 GB, free: 9.023 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004104/0.123, allocations: 296.8 kB / 0.4908 GB, free: 8.684 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002189/0.1232, allocations: 42.55 kB / 0.4908 GB, free: 8.633 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.365e-05/0.1233, allocations: 16.86 kB / 0.4908 GB, free: 8.613 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.124e-05/0.1233, allocations: 0 / 0.4908 GB, free: 8.613 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.495e-05/0.1234, allocations: 34.56 kB / 0.4909 GB, free: 8.57 MB / 382.1 MB Notification: Performance of pre-optimization done (n=3): time 1.132e-06/0.1234, allocations: 0 / 0.4909 GB, free: 8.57 MB / 382.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005841/0.1239, allocations: 149.5 kB / 0.491 GB, free: 8.418 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.93e-05/0.124, allocations: 55.41 kB / 0.491 GB, free: 8.352 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001884/0.1242, allocations: 198.1 kB / 0.4912 GB, free: 8.148 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.587e-05/0.1242, allocations: 29.64 kB / 0.4913 GB, free: 8.113 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.795e-05/0.1243, allocations: 104.1 kB / 0.4914 GB, free: 8.008 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.747e-05/0.1243, allocations: 11.91 kB / 0.4914 GB, free: 7.996 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.551e-05/0.1244, allocations: 17.72 kB / 0.4914 GB, free: 7.973 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001073/0.1245, allocations: 322.8 kB / 0.4917 GB, free: 7.648 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.248e-05/0.1246, allocations: 19.98 kB / 0.4917 GB, free: 7.629 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.725e-05/0.1246, allocations: 28.05 kB / 0.4917 GB, free: 7.602 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001383/0.1248, allocations: 60.75 kB / 0.4918 GB, free: 7.539 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.343e-06/0.1248, allocations: 0 / 0.4918 GB, free: 7.539 MB / 382.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001938/0.125, allocations: 89.56 kB / 0.4919 GB, free: 7.445 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.618e-05/0.125, allocations: 4 kB / 0.4919 GB, free: 7.441 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.993e-06/0.125, allocations: 3.984 kB / 0.4919 GB, free: 7.438 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.626e-05/0.1251, allocations: 288 / 0.4919 GB, free: 7.438 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.768e-05/0.1251, allocations: 19.92 kB / 0.4919 GB, free: 7.418 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.611e-06/0.1251, allocations: 0 / 0.4919 GB, free: 7.418 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.971e-05/0.1252, allocations: 4 kB / 0.4919 GB, free: 7.414 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.518e-06/0.1252, allocations: 11.92 kB / 0.4919 GB, free: 7.402 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.973e-05/0.1253, allocations: 121.8 kB / 0.492 GB, free: 7.273 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.488e-05/0.1253, allocations: 15.89 kB / 0.4921 GB, free: 7.258 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002411/0.1256, allocations: 97.95 kB / 0.4922 GB, free: 7.152 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.835e-06/0.1256, allocations: 0 / 0.4922 GB, free: 7.152 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.121e-06/0.1256, allocations: 4 kB / 0.4922 GB, free: 7.148 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.556e-06/0.1256, allocations: 0 / 0.4922 GB, free: 7.148 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004374/0.1261, allocations: 366.4 kB / 0.4925 GB, free: 6.734 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.494e-06/0.1261, allocations: 320 / 0.4925 GB, free: 6.734 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.551e-05/0.1261, allocations: 15.98 kB / 0.4925 GB, free: 6.719 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.367e-06/0.1262, allocations: 0 / 0.4925 GB, free: 6.719 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.913e-06/0.1262, allocations: 0 / 0.4925 GB, free: 6.719 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.957e-06/0.1262, allocations: 3.938 kB / 0.4925 GB, free: 6.715 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.283e-06/0.1262, allocations: 4 kB / 0.4925 GB, free: 6.711 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002489/0.1264, allocations: 183.4 kB / 0.4927 GB, free: 6.516 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.736e-05/0.1265, allocations: 89.06 kB / 0.4928 GB, free: 6.41 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.604e-05/0.1265, allocations: 0 / 0.4928 GB, free: 6.41 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.852e-05/0.1266, allocations: 7.938 kB / 0.4928 GB, free: 6.402 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.582e-05/0.1266, allocations: 7.984 kB / 0.4928 GB, free: 6.395 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.977e-06/0.1266, allocations: 0 / 0.4928 GB, free: 6.395 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001854/0.1268, allocations: 151.9 kB / 0.493 GB, free: 6.246 MB / 382.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1268, allocations: 4 kB / 0.493 GB, free: 6.242 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002608/0.1271, allocations: 19.89 kB / 0.493 GB, free: 6.223 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.001312/0.1284, allocations: 1.018 MB / 0.494 GB, free: 5.223 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002034/0.1286, allocations: 51.97 kB / 0.494 GB, free: 5.172 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.034e-06/0.1287, allocations: 0 / 0.494 GB, free: 5.172 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 8.656e-05/0.1287, allocations: 27.98 kB / 0.494 GB, free: 5.145 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003962/0.1292, allocations: 27.86 kB / 0.4941 GB, free: 5.117 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001673/0.1308, allocations: 1.545 MB / 0.4956 GB, free: 3.488 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002863/0.1311, allocations: 0.708 MB / 0.4963 GB, free: 2.754 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 6.558e-05/0.1312, allocations: 11.98 kB / 0.4963 GB, free: 2.742 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.263e-05/0.1313, allocations: 27.42 kB / 0.4963 GB, free: 2.715 MB / 382.1 MB Notification: Performance of SimCode: time 6.31e-07/0.1313, allocations: 0 / 0.4963 GB, free: 2.715 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02246/0.1538, allocations: 2.701 MB / 0.4989 GB, free: 0 / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.374/7.528, allocations: 4.125 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 & python3 -m fmpy simulate --output-file ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test3_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_Test3.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test3.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test3_res.csv","/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