Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test16.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.Test16,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable1Ds_Test16",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Ds.Test16,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable1Ds_Test16",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.001623/0.001623, allocations: 104.3 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.001802/0.001803, allocations: 192.2 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.587/1.587, 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.2615/0.2615, allocations: 43.52 MB / 314.1 MB, free: 456 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.001674/0.001674, allocations: 77.92 kB / 441.3 MB, free: 6.117 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1153/0.1169, allocations: 57.78 MB / 499.1 MB, free: 12.26 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test16): time 0.003271/0.1203, allocations: 1.55 MB / 0.4889 GB, free: 10.7 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007179/0.121, allocations: 319.5 kB / 0.4892 GB, free: 10.38 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.112e-05/0.1212, allocations: 4 kB / 0.4892 GB, free: 10.38 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002925/0.1215, allocations: 71.77 kB / 0.4893 GB, free: 10.31 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003601/0.1219, allocations: 67.73 kB / 0.4894 GB, free: 10.24 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002766/0.1221, allocations: 71.84 kB / 0.4894 GB, free: 10.17 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001714/0.1223, allocations: 67.83 kB / 0.4895 GB, free: 10.11 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001295/0.1225, allocations: 19.91 kB / 0.4895 GB, free: 10.09 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.692e-05/0.1226, allocations: 35.84 kB / 0.4896 GB, free: 10.05 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001238/0.1227, allocations: 51.88 kB / 0.4896 GB, free: 10 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.119e-05/0.1227, allocations: 0 / 0.4896 GB, free: 10 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.87e-05/0.1228, allocations: 28 kB / 0.4896 GB, free: 9.973 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 7.046e-05/0.1229, allocations: 19.92 kB / 0.4896 GB, free: 9.953 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 4.568e-05/0.123, allocations: 31.67 kB / 0.4897 GB, free: 9.922 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002106/0.1232, allocations: 91.59 kB / 0.4898 GB, free: 9.832 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.348e-06/0.1232, allocations: 0 / 0.4898 GB, free: 9.832 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.443e-06/0.1232, allocations: 4 kB / 0.4898 GB, free: 9.828 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.721e-06/0.1232, 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.0005273/0.1237, allocations: 398.4 kB / 0.4902 GB, free: 9.395 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.41e-05/0.1238, allocations: 15.89 kB / 0.4902 GB, free: 9.379 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.818e-05/0.1238, allocations: 30.75 kB / 0.4902 GB, free: 9.34 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.976e-05/0.1239, allocations: 12.84 kB / 0.4902 GB, free: 9.328 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002143/0.1241, allocations: 200.2 kB / 0.4904 GB, free: 9.094 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.994e-05/0.1241, allocations: 384 / 0.4904 GB, free: 9.094 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.787e-05/0.1242, allocations: 8.312 kB / 0.4904 GB, free: 9.086 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002059/0.1244, allocations: 53.62 kB / 0.4905 GB, free: 9.027 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.069e-05/0.1245, allocations: 0 / 0.4905 GB, free: 9.027 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.624e-06/0.1245, allocations: 0 / 0.4905 GB, free: 9.027 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.717e-06/0.1245, allocations: 0 / 0.4905 GB, free: 9.027 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.501e-05/0.1246, allocations: 27.97 kB / 0.4905 GB, free: 9 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003276/0.1249, allocations: 284.8 kB / 0.4908 GB, free: 8.672 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001969/0.1251, allocations: 46.5 kB / 0.4908 GB, free: 8.617 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.707e-05/0.1252, allocations: 16.94 kB / 0.4908 GB, free: 8.598 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.804e-05/0.1252, allocations: 0 / 0.4908 GB, free: 8.598 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.151e-05/0.1252, allocations: 34.56 kB / 0.4908 GB, free: 8.555 MB / 382.1 MB Notification: Performance of pre-optimization done (n=3): time 7.283e-06/0.1252, allocations: 3.984 kB / 0.4909 GB, free: 8.551 MB / 382.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005269/0.1258, allocations: 145.4 kB / 0.491 GB, free: 8.402 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.103e-05/0.1258, allocations: 51.41 kB / 0.491 GB, free: 8.34 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001719/0.126, allocations: 198.2 kB / 0.4912 GB, free: 8.137 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.306e-05/0.126, allocations: 29.7 kB / 0.4913 GB, free: 8.102 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.744e-05/0.1261, allocations: 108.1 kB / 0.4914 GB, free: 7.992 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.93e-05/0.1261, allocations: 11.84 kB / 0.4914 GB, free: 7.98 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.468e-05/0.1261, allocations: 17.72 kB / 0.4914 GB, free: 7.957 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001002/0.1262, allocations: 330.8 kB / 0.4917 GB, free: 7.625 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.598e-05/0.1263, allocations: 19.98 kB / 0.4917 GB, free: 7.605 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001054/0.1264, allocations: 20.05 kB / 0.4917 GB, free: 7.586 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000165/0.1266, allocations: 48.77 kB / 0.4918 GB, free: 7.535 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.32e-07/0.1266, allocations: 0 / 0.4918 GB, free: 7.535 MB / 382.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001718/0.1268, allocations: 81.62 kB / 0.4919 GB, free: 7.449 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.619e-05/0.1268, allocations: 11.94 kB / 0.4919 GB, free: 7.438 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.298e-06/0.1269, allocations: 0 / 0.4919 GB, free: 7.438 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.723e-05/0.1269, allocations: 4 kB / 0.4919 GB, free: 7.434 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.514e-05/0.127, allocations: 11.98 kB / 0.4919 GB, free: 7.422 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.4e-06/0.127, allocations: 0 / 0.4919 GB, free: 7.422 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.965e-05/0.127, allocations: 7.984 kB / 0.4919 GB, free: 7.414 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.165e-06/0.127, allocations: 3.938 kB / 0.4919 GB, free: 7.41 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 9.228e-05/0.1271, allocations: 129.7 kB / 0.492 GB, free: 7.273 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.341e-05/0.1272, allocations: 11.91 kB / 0.492 GB, free: 7.262 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000232/0.1274, allocations: 97.95 kB / 0.4921 GB, free: 7.156 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.635e-06/0.1274, allocations: 0 / 0.4921 GB, free: 7.156 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.448e-06/0.1274, allocations: 0 / 0.4921 GB, free: 7.156 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.036e-06/0.1274, allocations: 4 kB / 0.4921 GB, free: 7.152 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004155/0.1279, allocations: 350.4 kB / 0.4925 GB, free: 6.754 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.059e-06/0.1279, allocations: 4.312 kB / 0.4925 GB, free: 6.75 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.558e-05/0.1279, allocations: 19.98 kB / 0.4925 GB, free: 6.73 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.695e-06/0.1279, allocations: 3.938 kB / 0.4925 GB, free: 6.727 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.554e-06/0.128, allocations: 0 / 0.4925 GB, free: 6.727 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.546e-06/0.128, allocations: 3.938 kB / 0.4925 GB, free: 6.723 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.203e-06/0.128, allocations: 0 / 0.4925 GB, free: 6.723 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002162/0.1282, allocations: 179.5 kB / 0.4927 GB, free: 6.531 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.333e-05/0.1283, allocations: 85.02 kB / 0.4928 GB, free: 6.43 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.687e-05/0.1283, allocations: 4 kB / 0.4928 GB, free: 6.426 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.635e-05/0.1284, allocations: 7.938 kB / 0.4928 GB, free: 6.418 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.622e-05/0.1284, allocations: 15.92 kB / 0.4928 GB, free: 6.402 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.268e-06/0.1284, allocations: 0 / 0.4928 GB, free: 6.402 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001223/0.1285, allocations: 160 kB / 0.4929 GB, free: 6.246 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.1285, allocations: 0 / 0.4929 GB, free: 6.246 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002536/0.1288, allocations: 16 kB / 0.4929 GB, free: 6.23 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.001346/0.1302, allocations: 1.002 MB / 0.4939 GB, free: 5.25 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001827/0.1304, allocations: 51.89 kB / 0.494 GB, free: 5.199 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.934e-06/0.1304, allocations: 0 / 0.494 GB, free: 5.199 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 7.16e-05/0.1305, allocations: 27.98 kB / 0.494 GB, free: 5.172 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003579/0.1308, allocations: 23.88 kB / 0.494 GB, free: 5.148 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00186/0.1327, allocations: 1.55 MB / 0.4955 GB, free: 3.52 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002812/0.133, allocations: 0.7041 MB / 0.4962 GB, free: 2.789 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 5.019e-05/0.1331, allocations: 12.06 kB / 0.4962 GB, free: 2.777 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.705e-05/0.1331, allocations: 27.42 kB / 0.4963 GB, free: 2.75 MB / 382.1 MB Notification: Performance of SimCode: time 9.32e-07/0.1331, allocations: 0 / 0.4963 GB, free: 2.75 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.021/0.1541, allocations: 2.727 MB / 0.4989 GB, free: 0 / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.007/8.162, allocations: 0 / 0.4989 GB, free: 0 / 382.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test16.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test16.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test16.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test16.sim & python3 -m fmpy simulate --output-file ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test16_res.csv --start-time 0 --stop-time 3 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0012 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable1Ds_Test16.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test16.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test16_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable1Ds/Test16/Test16.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test16.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches