Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test1.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.Test1,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable1D_Test1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1D.Test1,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable1D_Test1",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.001335/0.001335, allocations: 109.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.001298/0.001298, allocations: 188.1 kB / 17.34 MB, free: 5.758 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.591/1.591, allocations: 205.1 MB / 223.2 MB, free: 12.21 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.2297/0.2297, allocations: 43.52 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.002033/0.002033, allocations: 61.47 kB / 441.3 MB, free: 6.156 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1183/0.1204, allocations: 57.8 MB / 499.1 MB, free: 12.29 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1D.Test1): time 0.003911/0.1243, allocations: 1.543 MB / 0.4889 GB, free: 10.74 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007892/0.1252, allocations: 331.4 kB / 0.4892 GB, free: 10.41 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.792e-05/0.1252, allocations: 0 / 0.4892 GB, free: 10.41 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002807/0.1255, allocations: 23.86 kB / 0.4893 GB, free: 10.39 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002215/0.1258, allocations: 39.77 kB / 0.4893 GB, free: 10.35 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002946/0.1261, allocations: 95.77 kB / 0.4894 GB, free: 10.25 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001731/0.1262, allocations: 55.83 kB / 0.4894 GB, free: 10.2 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001278/0.1264, allocations: 23.95 kB / 0.4895 GB, free: 10.18 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.249e-05/0.1264, allocations: 23.86 kB / 0.4895 GB, free: 10.15 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.243e-05/0.1265, allocations: 11.94 kB / 0.4895 GB, free: 10.14 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.995e-05/0.1266, allocations: 4 kB / 0.4895 GB, free: 10.14 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.15e-05/0.1267, allocations: 27.97 kB / 0.4895 GB, free: 10.11 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 6.191e-05/0.1267, allocations: 15.94 kB / 0.4895 GB, free: 10.09 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 6.48e-05/0.1268, allocations: 27.86 kB / 0.4896 GB, free: 10.07 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002139/0.127, allocations: 79.55 kB / 0.4896 GB, free: 9.988 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.122e-06/0.127, allocations: 0 / 0.4896 GB, free: 9.988 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.665e-06/0.127, allocations: 0 / 0.4896 GB, free: 9.988 MB / 382.1 MB Notification: Performance of Transformations before backend: time 8.917e-06/0.1271, allocations: 0 / 0.4896 GB, free: 9.988 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.0006374/0.1277, allocations: 371.1 kB / 0.49 GB, free: 9.578 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.664e-05/0.1278, allocations: 15.88 kB / 0.49 GB, free: 9.562 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.69e-05/0.1278, allocations: 34.75 kB / 0.4901 GB, free: 9.52 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.79e-05/0.1279, allocations: 8.891 kB / 0.4901 GB, free: 9.512 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002854/0.1282, allocations: 184.2 kB / 0.4902 GB, free: 9.293 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.755e-05/0.1282, allocations: 12.38 kB / 0.4902 GB, free: 9.281 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.075e-05/0.1282, allocations: 384 / 0.4902 GB, free: 9.281 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001688/0.1284, allocations: 57.55 kB / 0.4903 GB, free: 9.219 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.613e-05/0.1284, allocations: 0 / 0.4903 GB, free: 9.219 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.042e-05/0.1284, allocations: 0 / 0.4903 GB, free: 9.219 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.242e-06/0.1284, allocations: 0 / 0.4903 GB, free: 9.219 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001019/0.1285, allocations: 23.98 kB / 0.4903 GB, free: 9.195 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004258/0.129, allocations: 276.9 kB / 0.4906 GB, free: 8.875 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002222/0.1292, allocations: 54.48 kB / 0.4906 GB, free: 8.812 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.01e-05/0.1293, allocations: 8.859 kB / 0.4906 GB, free: 8.801 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.514e-05/0.1293, allocations: 8.078 kB / 0.4907 GB, free: 8.793 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.939e-05/0.1293, allocations: 34.56 kB / 0.4907 GB, free: 8.75 MB / 382.1 MB Notification: Performance of pre-optimization done (n=3): time 3.446e-06/0.1293, allocations: 4 kB / 0.4907 GB, free: 8.746 MB / 382.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005691/0.1299, allocations: 145.4 kB / 0.4908 GB, free: 8.598 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.712e-05/0.13, allocations: 51.41 kB / 0.4909 GB, free: 8.535 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001497/0.1301, allocations: 145.9 kB / 0.491 GB, free: 8.383 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.013e-05/0.1302, allocations: 33.64 kB / 0.4911 GB, free: 8.344 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.787e-05/0.1302, allocations: 92.08 kB / 0.4911 GB, free: 8.25 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.517e-05/0.1302, allocations: 19.86 kB / 0.4912 GB, free: 8.23 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.832e-05/0.1303, allocations: 25.7 kB / 0.4912 GB, free: 8.199 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001383/0.1304, allocations: 314.8 kB / 0.4915 GB, free: 7.883 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.526e-05/0.1305, allocations: 23.97 kB / 0.4915 GB, free: 7.859 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.441e-05/0.1306, allocations: 20.17 kB / 0.4915 GB, free: 7.84 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001456/0.1307, allocations: 60.77 kB / 0.4916 GB, free: 7.777 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.71e-07/0.1307, allocations: 0 / 0.4916 GB, free: 7.777 MB / 382.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001996/0.131, allocations: 85.62 kB / 0.4917 GB, free: 7.688 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.569e-05/0.131, allocations: 4 kB / 0.4917 GB, free: 7.684 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.312e-06/0.131, allocations: 3.984 kB / 0.4917 GB, free: 7.68 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.214e-05/0.131, allocations: 4 kB / 0.4917 GB, free: 7.676 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.634e-05/0.1311, allocations: 8 kB / 0.4917 GB, free: 7.668 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.129e-06/0.1311, allocations: 0 / 0.4917 GB, free: 7.668 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.801e-05/0.1311, allocations: 7.984 kB / 0.4917 GB, free: 7.66 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.045e-06/0.1311, allocations: 3.938 kB / 0.4917 GB, free: 7.656 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.0001049/0.1313, allocations: 129.7 kB / 0.4918 GB, free: 7.52 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.717e-05/0.1313, allocations: 3.953 kB / 0.4918 GB, free: 7.516 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000249/0.1315, allocations: 105.9 kB / 0.4919 GB, free: 7.402 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.833e-06/0.1316, allocations: 0 / 0.4919 GB, free: 7.402 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.447e-06/0.1316, allocations: 0 / 0.4919 GB, free: 7.402 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.005e-06/0.1316, allocations: 0 / 0.4919 GB, free: 7.402 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004513/0.132, allocations: 362.4 kB / 0.4923 GB, free: 6.992 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.363e-06/0.132, allocations: 0 / 0.4923 GB, free: 6.992 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.275e-05/0.1321, allocations: 12.19 kB / 0.4923 GB, free: 6.98 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.684e-06/0.1321, allocations: 0 / 0.4923 GB, free: 6.98 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.125e-05/0.1321, allocations: 8 kB / 0.4923 GB, free: 6.973 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.336e-06/0.1321, allocations: 3.938 kB / 0.4923 GB, free: 6.969 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.51e-07/0.1321, allocations: 0 / 0.4923 GB, free: 6.969 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002479/0.1324, allocations: 183.8 kB / 0.4925 GB, free: 6.773 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.121e-05/0.1324, allocations: 81.06 kB / 0.4925 GB, free: 6.676 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.767e-05/0.1325, allocations: 11.97 kB / 0.4926 GB, free: 6.664 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.51e-05/0.1325, allocations: 3.938 kB / 0.4926 GB, free: 6.66 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.962e-05/0.1326, allocations: 8 kB / 0.4926 GB, free: 6.652 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.707e-06/0.1326, allocations: 7.875 kB / 0.4926 GB, free: 6.645 MB / 382.1 MB Notification: Performance of sorting global known variables: time 9.14e-05/0.1327, allocations: 111.2 kB / 0.4927 GB, free: 6.535 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1327, allocations: 0 / 0.4927 GB, free: 6.535 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002294/0.1329, allocations: 12 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.001896/0.1348, allocations: 1.007 MB / 0.4937 GB, free: 5.531 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002207/0.1351, allocations: 63.89 kB / 0.4937 GB, free: 5.469 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.943e-06/0.1351, allocations: 0 / 0.4937 GB, free: 5.469 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 7.798e-05/0.1352, allocations: 23.98 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.000363/0.1355, 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.00175/0.1373, allocations: 1.425 MB / 0.4952 GB, free: 3.922 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003278/0.1376, allocations: 0.6963 MB / 0.4959 GB, free: 3.199 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 5.55e-05/0.1377, allocations: 15.92 kB / 0.4959 GB, free: 3.184 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.263e-05/0.1378, allocations: 19.44 kB / 0.4959 GB, free: 3.164 MB / 382.1 MB Notification: Performance of SimCode: time 2.4e-07/0.1378, allocations: 3.938 kB / 0.4959 GB, free: 3.16 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02339/0.1612, allocations: 2.472 MB / 0.4983 GB, free: 0.668 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.59/7.751, allocations: 7.938 kB / 0.4983 GB, free: 0.6602 MB / 382.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test1.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test1.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test1.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test1.sim & python3 -m fmpy simulate --output-file ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test1_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_Test1.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test1.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test1_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable1D/Test1/Test1.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches