Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test26.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.Test26,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable1D_Test26",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1D.Test26,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable1D_Test26",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.001226/0.001226, allocations: 108.5 kB / 16.41 MB, free: 6.5 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.001218/0.001218, allocations: 185.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.469/1.469, 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.2272/0.2272, allocations: 43.53 MB / 314.1 MB, free: 460 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.002005/0.002005, allocations: 69.47 kB / 441.3 MB, free: 6.145 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1168/0.1188, allocations: 57.79 MB / 499.1 MB, free: 12.29 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1D.Test26): time 0.003274/0.1221, allocations: 1.546 MB / 0.4889 GB, free: 10.73 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006535/0.1228, allocations: 331.5 kB / 0.4892 GB, free: 10.41 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.514e-05/0.1229, allocations: 0 / 0.4892 GB, free: 10.41 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002858/0.1232, allocations: 75.77 kB / 0.4893 GB, free: 10.33 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001895/0.1234, allocations: 63.8 kB / 0.4894 GB, free: 10.27 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002638/0.1237, allocations: 103.6 kB / 0.4895 GB, free: 10.17 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001536/0.1238, allocations: 63.88 kB / 0.4895 GB, free: 10.11 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001146/0.124, allocations: 19.98 kB / 0.4896 GB, free: 10.09 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.583e-05/0.124, allocations: 39.83 kB / 0.4896 GB, free: 10.05 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001212/0.1242, allocations: 43.89 kB / 0.4896 GB, free: 10 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.011e-05/0.1242, allocations: 4 kB / 0.4896 GB, free: 10 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.175e-05/0.1243, allocations: 31.92 kB / 0.4897 GB, free: 9.969 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 5.805e-05/0.1243, allocations: 23.92 kB / 0.4897 GB, free: 9.945 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 4.453e-05/0.1244, allocations: 27.75 kB / 0.4897 GB, free: 9.918 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002003/0.1246, allocations: 91.58 kB / 0.4898 GB, free: 9.828 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.409e-06/0.1246, allocations: 0 / 0.4898 GB, free: 9.828 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.472e-06/0.1246, allocations: 0 / 0.4898 GB, free: 9.828 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.621e-06/0.1246, allocations: 0 / 0.4898 GB, free: 9.828 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.0005611/0.1252, allocations: 390.9 kB / 0.4902 GB, free: 9.398 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.676e-05/0.1253, allocations: 15.89 kB / 0.4902 GB, free: 9.383 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.97e-05/0.1253, allocations: 38.69 kB / 0.4902 GB, free: 9.336 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.756e-05/0.1254, allocations: 16.84 kB / 0.4902 GB, free: 9.32 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002329/0.1256, allocations: 196.2 kB / 0.4904 GB, free: 9.09 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.273e-05/0.1256, allocations: 384 / 0.4904 GB, free: 9.09 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.79e-05/0.1256, allocations: 384 / 0.4904 GB, free: 9.09 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001466/0.1258, allocations: 49.62 kB / 0.4905 GB, free: 9.035 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.264e-05/0.1258, allocations: 0 / 0.4905 GB, free: 9.035 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.175e-05/0.1258, allocations: 4 kB / 0.4905 GB, free: 9.031 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.374e-06/0.1258, allocations: 4 kB / 0.4905 GB, free: 9.027 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000104/0.1259, allocations: 23.97 kB / 0.4905 GB, free: 9.004 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004209/0.1264, allocations: 292.8 kB / 0.4908 GB, free: 8.668 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002038/0.1266, allocations: 54.48 kB / 0.4908 GB, free: 8.605 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.137e-05/0.1267, allocations: 12.86 kB / 0.4909 GB, free: 8.59 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.267e-05/0.1267, allocations: 0 / 0.4909 GB, free: 8.59 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.876e-05/0.1267, allocations: 38.64 kB / 0.4909 GB, free: 8.543 MB / 382.1 MB Notification: Performance of pre-optimization done (n=3): time 8.71e-07/0.1267, allocations: 0 / 0.4909 GB, free: 8.543 MB / 382.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005684/0.1273, allocations: 153.4 kB / 0.491 GB, free: 8.387 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.717e-05/0.1274, allocations: 51.41 kB / 0.4911 GB, free: 8.324 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001965/0.1276, allocations: 202.2 kB / 0.4913 GB, free: 8.117 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.552e-05/0.1276, allocations: 25.7 kB / 0.4913 GB, free: 8.086 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.744e-05/0.1277, allocations: 104.1 kB / 0.4914 GB, free: 7.98 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.62e-05/0.1277, allocations: 27.78 kB / 0.4914 GB, free: 7.953 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.96e-05/0.1277, allocations: 21.7 kB / 0.4914 GB, free: 7.926 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001531/0.1279, allocations: 326.8 kB / 0.4918 GB, free: 7.598 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.423e-05/0.128, allocations: 19.98 kB / 0.4918 GB, free: 7.578 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.682e-05/0.1281, allocations: 24.05 kB / 0.4918 GB, free: 7.555 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001557/0.1282, allocations: 48.83 kB / 0.4918 GB, free: 7.504 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.11e-07/0.1282, allocations: 7.938 kB / 0.4919 GB, free: 7.496 MB / 382.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001923/0.1284, allocations: 85.61 kB / 0.4919 GB, free: 7.406 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.491e-05/0.1285, allocations: 4 kB / 0.4919 GB, free: 7.402 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.242e-06/0.1285, allocations: 3.984 kB / 0.4919 GB, free: 7.398 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.286e-05/0.1285, allocations: 0 / 0.4919 GB, free: 7.398 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.495e-05/0.1286, allocations: 19.92 kB / 0.492 GB, free: 7.379 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.889e-06/0.1286, allocations: 0 / 0.492 GB, free: 7.379 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.008e-05/0.1286, allocations: 8 kB / 0.492 GB, free: 7.371 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.454e-06/0.1286, allocations: 7.938 kB / 0.492 GB, free: 7.363 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.0001063/0.1287, allocations: 129.8 kB / 0.4921 GB, free: 7.227 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.375e-05/0.1288, allocations: 11.91 kB / 0.4921 GB, free: 7.215 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002385/0.129, allocations: 93.97 kB / 0.4922 GB, free: 7.113 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.113e-06/0.129, allocations: 3.984 kB / 0.4922 GB, free: 7.109 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.368e-06/0.1291, allocations: 0 / 0.4922 GB, free: 7.109 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.915e-06/0.1291, allocations: 0 / 0.4922 GB, free: 7.109 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004742/0.1295, allocations: 366.4 kB / 0.4926 GB, free: 6.695 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.933e-06/0.1296, allocations: 320 / 0.4926 GB, free: 6.695 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.526e-05/0.1296, allocations: 16.28 kB / 0.4926 GB, free: 6.68 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.007e-06/0.1296, allocations: 0 / 0.4926 GB, free: 6.68 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.178e-05/0.1296, allocations: 7.922 kB / 0.4926 GB, free: 6.672 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.346e-06/0.1297, allocations: 3.938 kB / 0.4926 GB, free: 6.668 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.11e-07/0.1297, allocations: 0 / 0.4926 GB, free: 6.668 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002535/0.1299, allocations: 187.4 kB / 0.4928 GB, free: 6.469 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.874e-05/0.13, allocations: 93 kB / 0.4929 GB, free: 6.359 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.873e-05/0.13, allocations: 4 kB / 0.4929 GB, free: 6.355 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.845e-05/0.1301, allocations: 7.938 kB / 0.4929 GB, free: 6.348 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.24e-05/0.1301, allocations: 7.984 kB / 0.4929 GB, free: 6.34 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.787e-06/0.1301, allocations: 0 / 0.4929 GB, free: 6.34 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001384/0.1303, allocations: 164 kB / 0.493 GB, free: 6.18 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.1303, allocations: 4 kB / 0.493 GB, free: 6.176 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002392/0.1305, allocations: 16 kB / 0.493 GB, free: 6.16 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.001924/0.1325, allocations: 1.016 MB / 0.494 GB, free: 5.164 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002186/0.1327, allocations: 51.97 kB / 0.4941 GB, free: 5.113 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.863e-06/0.1327, allocations: 0 / 0.4941 GB, free: 5.113 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 8.403e-05/0.1328, allocations: 27.98 kB / 0.4941 GB, free: 5.086 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003574/0.1332, allocations: 19.86 kB / 0.4941 GB, free: 5.066 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00178/0.135, allocations: 1.586 MB / 0.4957 GB, free: 3.398 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003363/0.1353, allocations: 0.7041 MB / 0.4964 GB, free: 2.668 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 6.032e-05/0.1354, allocations: 11.98 kB / 0.4964 GB, free: 2.656 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.136e-05/0.1354, allocations: 31.42 kB / 0.4964 GB, free: 2.625 MB / 382.1 MB Notification: Performance of SimCode: time 3.2e-07/0.1355, allocations: 0 / 0.4964 GB, free: 2.625 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02387/0.1593, allocations: 2.744 MB / 0.4991 GB, free: 15.86 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.599/7.758, allocations: 11.95 kB / 0.4991 GB, free: 15.84 MB / 398.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test26.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test26.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test26.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test26.sim & python3 -m fmpy simulate --output-file ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test26_res.csv --start-time 0 --stop-time 4 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0016 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable1D_Test26.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test26.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test26_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable1D/Test26/Test26.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test26.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches