Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.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.CombiTable1Ds.Test18,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable1Ds_Test18",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Ds.Test18,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable1Ds_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.001581/0.001581, allocations: 104.9 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.001387/0.001387, 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.612/1.612, 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.2353/0.2353, allocations: 43.53 MB / 314.1 MB, free: 448 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.00149/0.00149, allocations: 66.03 kB / 441.3 MB, free: 6.145 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1182/0.1197, allocations: 57.8 MB / 499.1 MB, free: 12.27 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test18): time 0.003277/0.1231, allocations: 1.577 MB / 0.489 GB, free: 10.69 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001394/0.1245, allocations: 0.9301 MB / 0.4899 GB, free: 9.75 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.048e-05/0.1246, allocations: 0 / 0.4899 GB, free: 9.75 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002733/0.1249, allocations: 35.78 kB / 0.4899 GB, free: 9.715 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002082/0.1251, allocations: 39.78 kB / 0.4899 GB, free: 9.676 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002548/0.1254, allocations: 79.78 kB / 0.49 GB, free: 9.598 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001653/0.1255, allocations: 63.83 kB / 0.4901 GB, free: 9.535 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001092/0.1257, allocations: 24.16 kB / 0.4901 GB, free: 9.512 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.53e-05/0.1257, allocations: 23.92 kB / 0.4901 GB, free: 9.488 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001399/0.1259, allocations: 31.78 kB / 0.4901 GB, free: 9.457 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.929e-05/0.1259, allocations: 4 kB / 0.4902 GB, free: 9.453 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001256/0.126, allocations: 51.97 kB / 0.4902 GB, free: 9.402 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 5.285e-05/0.1261, allocations: 11.94 kB / 0.4902 GB, free: 9.391 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 5.014e-05/0.1261, allocations: 31.84 kB / 0.4902 GB, free: 9.359 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002315/0.1264, allocations: 95.59 kB / 0.4903 GB, free: 9.266 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.957e-06/0.1264, allocations: 0 / 0.4903 GB, free: 9.266 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.262e-06/0.1264, allocations: 0 / 0.4903 GB, free: 9.266 MB / 382.1 MB Notification: Performance of Transformations before backend: time 9.958e-06/0.1264, allocations: 3.984 kB / 0.4903 GB, free: 9.262 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0004917/0.1269, allocations: 391 kB / 0.4907 GB, free: 8.832 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.644e-05/0.127, allocations: 11.89 kB / 0.4907 GB, free: 8.82 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.279e-05/0.127, allocations: 34.75 kB / 0.4908 GB, free: 8.777 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.096e-05/0.127, allocations: 8.891 kB / 0.4908 GB, free: 8.77 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002051/0.1273, allocations: 196.2 kB / 0.491 GB, free: 8.539 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.296e-05/0.1273, allocations: 8.375 kB / 0.491 GB, free: 8.531 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.703e-05/0.1273, allocations: 8.125 kB / 0.491 GB, free: 8.523 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00018/0.1275, allocations: 67.39 kB / 0.491 GB, free: 8.445 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.572e-05/0.1275, allocations: 7.875 kB / 0.491 GB, free: 8.438 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.326e-05/0.1275, allocations: 8 kB / 0.491 GB, free: 8.43 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.849e-06/0.1276, allocations: 0 / 0.491 GB, free: 8.43 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001077/0.1277, allocations: 27.97 kB / 0.4911 GB, free: 8.402 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003771/0.1281, allocations: 288.8 kB / 0.4913 GB, free: 8.07 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001255/0.1282, allocations: 62.5 kB / 0.4914 GB, free: 8 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.371e-05/0.1283, allocations: 20.97 kB / 0.4914 GB, free: 7.977 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.746e-05/0.1283, allocations: 0 / 0.4914 GB, free: 7.977 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.656e-05/0.1283, allocations: 30.56 kB / 0.4915 GB, free: 7.938 MB / 382.1 MB Notification: Performance of pre-optimization done (n=5): time 1.272e-06/0.1283, allocations: 4 kB / 0.4915 GB, free: 7.934 MB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0006623/0.129, allocations: 181.7 kB / 0.4916 GB, free: 7.75 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.162e-05/0.1291, allocations: 77.11 kB / 0.4917 GB, free: 7.656 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001617/0.1292, allocations: 149.4 kB / 0.4919 GB, free: 7.504 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.119e-05/0.1293, allocations: 25.7 kB / 0.4919 GB, free: 7.473 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.034e-05/0.1293, allocations: 92.14 kB / 0.492 GB, free: 7.379 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.51e-05/0.1294, allocations: 31.73 kB / 0.492 GB, free: 7.348 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.387e-05/0.1294, allocations: 21.72 kB / 0.492 GB, free: 7.32 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001251/0.1296, allocations: 322.8 kB / 0.4923 GB, free: 6.996 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.072e-05/0.1297, allocations: 19.98 kB / 0.4923 GB, free: 6.977 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.556e-05/0.1298, allocations: 41.81 kB / 0.4924 GB, free: 6.93 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001491/0.1299, allocations: 76.73 kB / 0.4925 GB, free: 6.852 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.72e-07/0.1299, allocations: 0 / 0.4925 GB, free: 6.852 MB / 382.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002127/0.1301, allocations: 93.61 kB / 0.4925 GB, free: 6.754 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.867e-05/0.1302, allocations: 8 kB / 0.4926 GB, free: 6.746 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.33e-06/0.1302, allocations: 0 / 0.4926 GB, free: 6.746 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.262e-05/0.1302, allocations: 0 / 0.4926 GB, free: 6.746 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001052/0.1303, allocations: 15.98 kB / 0.4926 GB, free: 6.73 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.803e-06/0.1303, allocations: 3.938 kB / 0.4926 GB, free: 6.727 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.952e-05/0.1304, allocations: 11.98 kB / 0.4926 GB, free: 6.715 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.847e-06/0.1304, allocations: 8 kB / 0.4926 GB, free: 6.707 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 (8): * Single equations (assignments): 8 * 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.0001047/0.1305, allocations: 121.7 kB / 0.4927 GB, free: 6.578 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.877e-05/0.1306, allocations: 7.953 kB / 0.4927 GB, free: 6.57 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000263/0.1308, allocations: 114.3 kB / 0.4928 GB, free: 6.449 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.457e-06/0.1308, allocations: 0 / 0.4928 GB, free: 6.449 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.886e-06/0.1308, allocations: 3.938 kB / 0.4928 GB, free: 6.445 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.467e-06/0.1309, allocations: 3.938 kB / 0.4928 GB, free: 6.441 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004912/0.1314, allocations: 382.5 kB / 0.4932 GB, free: 6.012 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.428e-06/0.1314, allocations: 3.984 kB / 0.4932 GB, free: 6.008 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.035e-05/0.1314, allocations: 20 kB / 0.4932 GB, free: 5.988 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.049e-06/0.1315, allocations: 3.938 kB / 0.4932 GB, free: 5.984 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.945e-06/0.1315, allocations: 0 / 0.4932 GB, free: 5.984 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.576e-06/0.1315, allocations: 3.984 kB / 0.4932 GB, free: 5.98 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.1315, allocations: 0 / 0.4932 GB, free: 5.98 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002571/0.1317, allocations: 199.4 kB / 0.4934 GB, free: 5.77 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.312e-05/0.1318, allocations: 92.98 kB / 0.4935 GB, free: 5.66 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.904e-05/0.1318, allocations: 0 / 0.4935 GB, free: 5.66 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.313e-05/0.1319, allocations: 8 kB / 0.4935 GB, free: 5.652 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.105e-05/0.132, allocations: 3.984 kB / 0.4935 GB, free: 5.648 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.562e-06/0.132, allocations: 8 kB / 0.4935 GB, free: 5.641 MB / 382.1 MB Notification: Performance of sorting global known variables: time 8.772e-05/0.1321, allocations: 103.3 kB / 0.4936 GB, free: 5.539 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1321, allocations: 4 kB / 0.4936 GB, free: 5.535 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002717/0.1324, allocations: 31.92 kB / 0.4937 GB, free: 5.504 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 (8): * Single equations (assignments): 8 * 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.001527/0.1339, allocations: 1.073 MB / 0.4947 GB, free: 4.453 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002501/0.1342, allocations: 55.97 kB / 0.4948 GB, free: 4.398 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 5.18e-06/0.1342, allocations: 4 kB / 0.4948 GB, free: 4.395 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 8.868e-05/0.1343, allocations: 39.91 kB / 0.4948 GB, free: 4.355 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003788/0.1347, allocations: 15.91 kB / 0.4948 GB, free: 4.34 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001776/0.1364, allocations: 1.464 MB / 0.4962 GB, free: 2.797 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002983/0.1368, allocations: 0.6962 MB / 0.4969 GB, free: 2.074 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 9.133e-05/0.1369, allocations: 16.66 kB / 0.4969 GB, free: 2.059 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.005e-05/0.1369, allocations: 27.42 kB / 0.497 GB, free: 2.031 MB / 382.1 MB Notification: Performance of SimCode: time 5.61e-07/0.1369, allocations: 4 kB / 0.497 GB, free: 2.027 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01988/0.1568, allocations: 2.931 MB / 0.4998 GB, free: 15.03 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.613/7.77, allocations: 4.062 kB / 0.4998 GB, free: 15.03 MB / 398.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test18.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test18.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test18.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test18.sim & python3 -m fmpy simulate --output-file ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.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_CombiTable1Ds_Test18.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test18.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test18_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable1Ds/Test18/Test18.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test18.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches