Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test12.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.Test12,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable1D_Test12",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1D.Test12,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable1D_Test12",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.001443/0.001443, allocations: 109.5 kB / 16.41 MB, free: 6.445 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.00127/0.00127, allocations: 185.4 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.527/1.527, allocations: 205.1 MB / 223.2 MB, free: 12.25 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.2299/0.2299, allocations: 43.52 MB / 314.1 MB, free: 476 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.001986/0.001986, allocations: 63.91 kB / 441.3 MB, free: 6.172 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1183/0.1203, allocations: 57.79 MB / 499.1 MB, free: 12.31 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1D.Test12): time 0.003488/0.1239, allocations: 1.546 MB / 0.4889 GB, free: 10.75 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007038/0.1246, allocations: 327.5 kB / 0.4892 GB, free: 10.43 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.348e-05/0.1247, allocations: 0 / 0.4892 GB, free: 10.43 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002731/0.125, allocations: 31.83 kB / 0.4893 GB, free: 10.4 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001775/0.1252, allocations: 35.86 kB / 0.4893 GB, free: 10.36 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002991/0.1255, allocations: 99.73 kB / 0.4894 GB, free: 10.27 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001699/0.1257, allocations: 55.84 kB / 0.4894 GB, free: 10.21 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001265/0.1258, allocations: 19.95 kB / 0.4895 GB, free: 10.19 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.622e-05/0.1258, allocations: 27.8 kB / 0.4895 GB, free: 10.16 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.476e-05/0.1259, allocations: 19.92 kB / 0.4895 GB, free: 10.14 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.957e-05/0.1259, allocations: 4 kB / 0.4895 GB, free: 10.14 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.511e-05/0.126, allocations: 27.98 kB / 0.4895 GB, free: 10.11 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 5.405e-05/0.1261, allocations: 11.94 kB / 0.4895 GB, free: 10.1 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 5.305e-05/0.1262, allocations: 35.78 kB / 0.4896 GB, free: 10.07 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001921/0.1264, allocations: 75.67 kB / 0.4897 GB, free: 9.992 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.252e-06/0.1264, allocations: 0 / 0.4897 GB, free: 9.992 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.854e-06/0.1264, allocations: 0 / 0.4897 GB, free: 9.992 MB / 382.1 MB Notification: Performance of Transformations before backend: time 9.337e-06/0.1264, allocations: 0 / 0.4897 GB, free: 9.992 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.0006037/0.127, allocations: 394.9 kB / 0.49 GB, free: 9.559 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.042e-05/0.1271, allocations: 11.89 kB / 0.49 GB, free: 9.547 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.893e-05/0.1271, allocations: 30.75 kB / 0.4901 GB, free: 9.508 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.562e-05/0.1272, allocations: 8.891 kB / 0.4901 GB, free: 9.5 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002383/0.1274, allocations: 195.6 kB / 0.4903 GB, free: 9.273 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.641e-05/0.1274, allocations: 8.375 kB / 0.4903 GB, free: 9.266 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.067e-05/0.1275, allocations: 4.375 kB / 0.4903 GB, free: 9.262 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001565/0.1276, allocations: 49.62 kB / 0.4903 GB, free: 9.207 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.291e-05/0.1276, allocations: 0 / 0.4903 GB, free: 9.207 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.586e-06/0.1277, allocations: 0 / 0.4903 GB, free: 9.207 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.53e-06/0.1277, allocations: 4 kB / 0.4903 GB, free: 9.203 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001017/0.1278, allocations: 27.92 kB / 0.4904 GB, free: 9.176 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004508/0.1282, allocations: 288.8 kB / 0.4906 GB, free: 8.844 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002277/0.1285, allocations: 42.56 kB / 0.4907 GB, free: 8.793 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.648e-05/0.1285, allocations: 16.94 kB / 0.4907 GB, free: 8.773 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.988e-05/0.1286, allocations: 4 kB / 0.4907 GB, free: 8.77 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.521e-05/0.1286, allocations: 38.5 kB / 0.4907 GB, free: 8.723 MB / 382.1 MB Notification: Performance of pre-optimization done (n=3): time 1.212e-06/0.1286, allocations: 0 / 0.4907 GB, free: 8.723 MB / 382.1 MB Notification: Performance of matching and sorting (n=5): time 0.0006073/0.1292, allocations: 141.5 kB / 0.4909 GB, free: 8.578 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.516e-05/0.1293, allocations: 59.34 kB / 0.4909 GB, free: 8.508 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001921/0.1295, allocations: 173.8 kB / 0.4911 GB, free: 8.328 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.919e-05/0.1295, allocations: 25.7 kB / 0.4911 GB, free: 8.297 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.946e-05/0.1296, allocations: 92.14 kB / 0.4912 GB, free: 8.203 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.673e-05/0.1296, allocations: 19.84 kB / 0.4912 GB, free: 8.184 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.06e-05/0.1297, allocations: 13.72 kB / 0.4912 GB, free: 8.164 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.000164/0.1298, allocations: 330.7 kB / 0.4915 GB, free: 7.832 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.154e-05/0.1299, allocations: 19.98 kB / 0.4916 GB, free: 7.812 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.103e-05/0.13, allocations: 23.98 kB / 0.4916 GB, free: 7.789 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001474/0.1302, allocations: 52.83 kB / 0.4916 GB, free: 7.734 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.11e-07/0.1302, allocations: 0 / 0.4916 GB, free: 7.734 MB / 382.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002029/0.1304, allocations: 93.48 kB / 0.4917 GB, free: 7.637 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.105e-05/0.1304, allocations: 4 kB / 0.4917 GB, free: 7.633 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.454e-06/0.1304, allocations: 4 kB / 0.4917 GB, free: 7.629 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.37e-05/0.1304, allocations: 0 / 0.4917 GB, free: 7.629 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.75e-05/0.1305, allocations: 15.98 kB / 0.4918 GB, free: 7.613 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.904e-06/0.1305, allocations: 3.984 kB / 0.4918 GB, free: 7.609 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.86e-05/0.1306, allocations: 4.25 kB / 0.4918 GB, free: 7.605 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.985e-06/0.1306, allocations: 3.938 kB / 0.4918 GB, free: 7.602 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.731e-05/0.1307, allocations: 129.8 kB / 0.4919 GB, free: 7.465 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.141e-05/0.1307, allocations: 7.953 kB / 0.4919 GB, free: 7.457 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002567/0.131, allocations: 101.9 kB / 0.492 GB, free: 7.348 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.294e-06/0.131, allocations: 4 kB / 0.492 GB, free: 7.344 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.268e-06/0.131, allocations: 0 / 0.492 GB, free: 7.344 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.043e-06/0.131, allocations: 3.984 kB / 0.492 GB, free: 7.34 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004723/0.1315, allocations: 350.5 kB / 0.4923 GB, free: 6.941 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.463e-06/0.1315, allocations: 0 / 0.4923 GB, free: 6.941 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.542e-05/0.1316, allocations: 11.98 kB / 0.4923 GB, free: 6.93 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.853e-06/0.1316, allocations: 0 / 0.4923 GB, free: 6.93 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.104e-06/0.1316, allocations: 0 / 0.4923 GB, free: 6.93 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.261e-05/0.1316, allocations: 7.938 kB / 0.4924 GB, free: 6.922 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.006e-06/0.1316, allocations: 4 kB / 0.4924 GB, free: 6.918 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002445/0.1319, allocations: 179.7 kB / 0.4925 GB, free: 6.727 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.283e-05/0.1319, allocations: 85.06 kB / 0.4926 GB, free: 6.625 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.137e-05/0.132, allocations: 7.984 kB / 0.4926 GB, free: 6.617 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.205e-05/0.132, allocations: 11.92 kB / 0.4926 GB, free: 6.605 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.151e-05/0.1321, allocations: 0 / 0.4926 GB, free: 6.605 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.051e-06/0.1321, allocations: 8 kB / 0.4926 GB, free: 6.598 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001151/0.1322, allocations: 130.9 kB / 0.4928 GB, free: 6.473 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1322, allocations: 0 / 0.4928 GB, free: 6.473 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002452/0.1325, allocations: 19.92 kB / 0.4928 GB, free: 6.453 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.001943/0.1344, allocations: 1.026 MB / 0.4938 GB, free: 5.445 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002173/0.1347, allocations: 51.95 kB / 0.4938 GB, free: 5.395 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.974e-06/0.1347, allocations: 0 / 0.4938 GB, free: 5.395 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 8.807e-05/0.1348, allocations: 27.92 kB / 0.4939 GB, free: 5.367 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003754/0.1351, allocations: 23.67 kB / 0.4939 GB, free: 5.348 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001772/0.1369, allocations: 1.472 MB / 0.4953 GB, free: 3.793 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003396/0.1373, allocations: 0.6963 MB / 0.496 GB, free: 3.07 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 5.481e-05/0.1373, allocations: 12 kB / 0.496 GB, free: 3.059 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.479e-05/0.1374, allocations: 31.42 kB / 0.496 GB, free: 3.027 MB / 382.1 MB Notification: Performance of SimCode: time 3.346e-06/0.1374, allocations: 0 / 0.496 GB, free: 3.027 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02364/0.1611, allocations: 2.582 MB / 0.4986 GB, free: 432 kB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.707/7.868, allocations: 7.891 kB / 0.4986 GB, free: 424 kB / 382.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test12.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test12.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test12.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test12.sim & python3 -m fmpy simulate --output-file ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test12_res.csv --start-time 0 --stop-time 2.5 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.001 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable1D_Test12.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test12.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test12_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable1D/Test12/Test12.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test12.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches