Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test2.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.Test2,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable1D_Test2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1D.Test2,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable1D_Test2",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.001406/0.001406, allocations: 108.8 kB / 16.41 MB, free: 6.492 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.001267/0.001267, allocations: 192.1 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.596/1.596, 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.2285/0.2285, allocations: 43.51 MB / 314.1 MB, free: 472 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.002021/0.002021, allocations: 71.89 kB / 441.3 MB, free: 6.156 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1212/0.1232, allocations: 57.79 MB / 499.1 MB, free: 12.29 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1D.Test2): time 0.003165/0.1264, allocations: 1.55 MB / 0.4889 GB, free: 10.73 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006883/0.1271, allocations: 323.5 kB / 0.4892 GB, free: 10.41 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.914e-05/0.1272, allocations: 0 / 0.4892 GB, free: 10.41 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002512/0.1275, allocations: 31.84 kB / 0.4893 GB, free: 10.38 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001843/0.1277, allocations: 35.78 kB / 0.4893 GB, free: 10.34 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002853/0.128, allocations: 91.81 kB / 0.4894 GB, free: 10.25 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.000138/0.1281, allocations: 63.77 kB / 0.4894 GB, free: 10.19 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.284e-05/0.1282, allocations: 11.97 kB / 0.4895 GB, free: 10.18 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.625e-05/0.1283, allocations: 23.86 kB / 0.4895 GB, free: 10.15 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.846e-05/0.1283, allocations: 19.92 kB / 0.4895 GB, free: 10.13 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.496e-05/0.1284, allocations: 0 / 0.4895 GB, free: 10.13 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.693e-05/0.1284, allocations: 31.98 kB / 0.4895 GB, free: 10.1 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 4.712e-05/0.1285, allocations: 11.92 kB / 0.4895 GB, free: 10.09 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 4.26e-05/0.1285, allocations: 27.88 kB / 0.4896 GB, free: 10.06 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001697/0.1287, allocations: 83.53 kB / 0.4896 GB, free: 9.98 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.532e-06/0.1287, allocations: 4 kB / 0.4897 GB, free: 9.977 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.763e-06/0.1287, allocations: 0 / 0.4897 GB, free: 9.977 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.32e-06/0.1287, allocations: 0 / 0.4897 GB, free: 9.977 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.0005171/0.1293, allocations: 371.1 kB / 0.49 GB, free: 9.566 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.839e-05/0.1293, allocations: 11.89 kB / 0.49 GB, free: 9.555 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.3e-05/0.1293, allocations: 30.75 kB / 0.49 GB, free: 9.516 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.963e-05/0.1294, allocations: 8.891 kB / 0.4901 GB, free: 9.508 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002013/0.1296, allocations: 196 kB / 0.4902 GB, free: 9.281 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.911e-06/0.1296, allocations: 384 / 0.4902 GB, free: 9.281 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.459e-05/0.1296, allocations: 8.359 kB / 0.4903 GB, free: 9.273 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001367/0.1298, allocations: 53.56 kB / 0.4903 GB, free: 9.215 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.382e-05/0.1298, allocations: 0 / 0.4903 GB, free: 9.215 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.061e-05/0.1298, allocations: 4 kB / 0.4903 GB, free: 9.211 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.739e-06/0.1298, allocations: 0 / 0.4903 GB, free: 9.211 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.235e-05/0.1299, allocations: 19.98 kB / 0.4903 GB, free: 9.191 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004159/0.1303, allocations: 284.9 kB / 0.4906 GB, free: 8.863 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002087/0.1306, allocations: 42.5 kB / 0.4906 GB, free: 8.812 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.792e-05/0.1306, allocations: 20.94 kB / 0.4907 GB, free: 8.789 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.864e-05/0.1307, allocations: 0 / 0.4907 GB, free: 8.789 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.442e-05/0.1307, allocations: 30.56 kB / 0.4907 GB, free: 8.75 MB / 382.1 MB Notification: Performance of pre-optimization done (n=3): time 9.62e-07/0.1307, allocations: 4 kB / 0.4907 GB, free: 8.746 MB / 382.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005819/0.1313, allocations: 153.3 kB / 0.4908 GB, free: 8.59 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.882e-05/0.1313, allocations: 51.41 kB / 0.4909 GB, free: 8.527 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001482/0.1315, allocations: 146.1 kB / 0.491 GB, free: 8.371 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.716e-05/0.1315, allocations: 29.64 kB / 0.4911 GB, free: 8.336 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.653e-05/0.1316, allocations: 92.14 kB / 0.4911 GB, free: 8.242 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.456e-05/0.1316, allocations: 19.84 kB / 0.4912 GB, free: 8.223 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.908e-05/0.1316, allocations: 17.72 kB / 0.4912 GB, free: 8.199 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001507/0.1318, allocations: 322.8 kB / 0.4915 GB, free: 7.875 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.721e-05/0.1319, allocations: 23.97 kB / 0.4915 GB, free: 7.852 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.234e-05/0.132, allocations: 19.98 kB / 0.4915 GB, free: 7.832 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001367/0.1321, allocations: 48.83 kB / 0.4916 GB, free: 7.781 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.72e-07/0.1321, allocations: 4.188 kB / 0.4916 GB, free: 7.777 MB / 382.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002027/0.1323, allocations: 101.5 kB / 0.4917 GB, free: 7.672 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.277e-05/0.1323, allocations: 4 kB / 0.4917 GB, free: 7.668 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.797e-06/0.1323, allocations: 0 / 0.4917 GB, free: 7.668 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.282e-05/0.1324, allocations: 0 / 0.4917 GB, free: 7.668 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.14e-05/0.1324, allocations: 12 kB / 0.4917 GB, free: 7.656 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.168e-06/0.1324, allocations: 0 / 0.4917 GB, free: 7.656 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.077e-05/0.1325, allocations: 7.984 kB / 0.4917 GB, free: 7.648 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.874e-06/0.1325, allocations: 3.938 kB / 0.4917 GB, free: 7.645 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.873e-05/0.1326, allocations: 125.7 kB / 0.4918 GB, free: 7.512 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.852e-05/0.1326, allocations: 7.953 kB / 0.4918 GB, free: 7.504 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002431/0.1329, allocations: 97.89 kB / 0.4919 GB, free: 7.398 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.963e-06/0.1329, allocations: 4 kB / 0.4919 GB, free: 7.395 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.837e-06/0.1329, allocations: 0 / 0.4919 GB, free: 7.395 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.836e-06/0.1329, allocations: 0 / 0.4919 GB, free: 7.395 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004759/0.1334, allocations: 354.5 kB / 0.4923 GB, free: 6.992 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.363e-06/0.1334, allocations: 0 / 0.4923 GB, free: 6.992 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.782e-05/0.1335, allocations: 11.94 kB / 0.4923 GB, free: 6.98 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.603e-06/0.1335, allocations: 0 / 0.4923 GB, free: 6.98 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.135e-05/0.1335, allocations: 8.266 kB / 0.4923 GB, free: 6.973 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.541e-06/0.1335, allocations: 3.938 kB / 0.4923 GB, free: 6.969 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.81e-07/0.1335, allocations: 0 / 0.4923 GB, free: 6.969 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002349/0.1338, allocations: 179.7 kB / 0.4925 GB, free: 6.777 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.687e-05/0.1338, allocations: 97.03 kB / 0.4926 GB, free: 6.664 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.446e-05/0.1338, allocations: 0 / 0.4926 GB, free: 6.664 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.712e-05/0.1339, allocations: 7.938 kB / 0.4926 GB, free: 6.656 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.928e-05/0.134, allocations: 3.984 kB / 0.4926 GB, free: 6.652 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.53e-06/0.134, allocations: 7.938 kB / 0.4926 GB, free: 6.645 MB / 382.1 MB Notification: Performance of sorting global known variables: time 8.236e-05/0.1341, allocations: 107.3 kB / 0.4927 GB, free: 6.539 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1341, allocations: 0 / 0.4927 GB, free: 6.539 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002297/0.1343, allocations: 16 kB / 0.4927 GB, free: 6.523 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.001894/0.1362, allocations: 1.015 MB / 0.4937 GB, free: 5.527 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002167/0.1364, allocations: 55.95 kB / 0.4937 GB, free: 5.473 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 4.739e-06/0.1364, allocations: 0 / 0.4937 GB, free: 5.473 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 7.821e-05/0.1365, allocations: 27.92 kB / 0.4938 GB, free: 5.445 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003663/0.1369, allocations: 23.2 kB / 0.4938 GB, free: 5.426 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001641/0.1385, allocations: 1.424 MB / 0.4952 GB, free: 3.926 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003289/0.1389, allocations: 0.6924 MB / 0.4958 GB, free: 3.207 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 5.494e-05/0.1389, allocations: 15.92 kB / 0.4959 GB, free: 3.191 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.79e-05/0.139, allocations: 19.44 kB / 0.4959 GB, free: 3.172 MB / 382.1 MB Notification: Performance of SimCode: time 3.808e-06/0.139, allocations: 0 / 0.4959 GB, free: 3.172 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.023/0.162, allocations: 2.479 MB / 0.4983 GB, free: 0.6719 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.604/7.766, allocations: 7.969 kB / 0.4983 GB, free: 0.6641 MB / 382.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test2.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test2.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test2.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test2.sim & python3 -m fmpy simulate --output-file ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test2_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_Test2.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test2.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test2_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable1D/Test2/Test2.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches