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.001078/0.001078, allocations: 106.9 kB / 16.41 MB, free: 6.496 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.001043/0.001043, 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.269/1.269, 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.1964/0.1964, allocations: 43.52 MB / 314.1 MB, free: 468 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.00159/0.00159, allocations: 67.91 kB / 441.3 MB, free: 6.152 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.115/0.1166, allocations: 57.8 MB / 499.1 MB, free: 12.28 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1D.Test1): time 0.003349/0.12, allocations: 1.546 MB / 0.4889 GB, free: 10.73 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007388/0.1207, allocations: 327.5 kB / 0.4892 GB, free: 10.4 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.237e-05/0.1208, allocations: 4 kB / 0.4892 GB, free: 10.4 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002631/0.1211, allocations: 23.84 kB / 0.4893 GB, free: 10.38 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002432/0.1214, allocations: 35.8 kB / 0.4893 GB, free: 10.34 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000333/0.1217, allocations: 95.73 kB / 0.4894 GB, free: 10.25 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001727/0.1219, allocations: 59.84 kB / 0.4894 GB, free: 10.19 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000113/0.122, allocations: 15.98 kB / 0.4895 GB, free: 10.17 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.476e-05/0.1221, allocations: 23.86 kB / 0.4895 GB, free: 10.15 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.054e-05/0.1222, allocations: 19.91 kB / 0.4895 GB, free: 10.13 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.847e-05/0.1222, allocations: 4 kB / 0.4895 GB, free: 10.12 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001051/0.1223, allocations: 20 kB / 0.4895 GB, free: 10.11 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 6.122e-05/0.1224, allocations: 15.92 kB / 0.4895 GB, free: 10.09 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 4.008e-05/0.1224, allocations: 19.88 kB / 0.4896 GB, free: 10.07 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001963/0.1226, allocations: 87.59 kB / 0.4896 GB, free: 9.984 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.939e-06/0.1226, allocations: 0 / 0.4896 GB, free: 9.984 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.713e-06/0.1227, allocations: 0 / 0.4896 GB, free: 9.984 MB / 382.1 MB Notification: Performance of Transformations before backend: time 9.378e-06/0.1227, allocations: 0 / 0.4896 GB, free: 9.984 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.0005111/0.1232, allocations: 375.1 kB / 0.49 GB, free: 9.57 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.551e-05/0.1232, allocations: 11.89 kB / 0.49 GB, free: 9.559 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.431e-05/0.1233, allocations: 34.75 kB / 0.49 GB, free: 9.516 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.763e-05/0.1233, allocations: 8.891 kB / 0.4901 GB, free: 9.508 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002107/0.1236, allocations: 188.2 kB / 0.4902 GB, free: 9.285 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.852e-05/0.1236, allocations: 12.38 kB / 0.4902 GB, free: 9.273 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.07e-05/0.1236, allocations: 384 / 0.4902 GB, free: 9.273 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001485/0.1238, allocations: 49.62 kB / 0.4903 GB, free: 9.219 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.259e-05/0.1238, allocations: 0 / 0.4903 GB, free: 9.219 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.269e-05/0.1238, allocations: 0 / 0.4903 GB, free: 9.219 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.819e-06/0.1238, allocations: 3.938 kB / 0.4903 GB, free: 9.215 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001001/0.1239, allocations: 23.97 kB / 0.4903 GB, free: 9.191 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004282/0.1244, allocations: 280.9 kB / 0.4906 GB, free: 8.867 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002125/0.1246, allocations: 46.56 kB / 0.4906 GB, free: 8.812 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.737e-05/0.1247, allocations: 16.88 kB / 0.4906 GB, free: 8.793 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.081e-05/0.1247, allocations: 4 kB / 0.4906 GB, free: 8.789 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.046e-05/0.1247, allocations: 34.56 kB / 0.4907 GB, free: 8.746 MB / 382.1 MB Notification: Performance of pre-optimization done (n=3): time 1.242e-06/0.1247, allocations: 0 / 0.4907 GB, free: 8.746 MB / 382.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005843/0.1253, allocations: 153.5 kB / 0.4908 GB, free: 8.59 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.114e-05/0.1254, allocations: 55.41 kB / 0.4909 GB, free: 8.523 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001315/0.1255, allocations: 140.6 kB / 0.491 GB, free: 8.375 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.893e-05/0.1255, allocations: 29.7 kB / 0.491 GB, free: 8.34 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.959e-05/0.1256, allocations: 96.06 kB / 0.4911 GB, free: 8.242 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.564e-05/0.1256, allocations: 19.84 kB / 0.4912 GB, free: 8.223 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.925e-05/0.1257, allocations: 25.72 kB / 0.4912 GB, free: 8.191 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001731/0.1259, allocations: 318.8 kB / 0.4915 GB, free: 7.871 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.138e-05/0.1259, allocations: 19.98 kB / 0.4915 GB, free: 7.852 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.275e-05/0.126, allocations: 19.98 kB / 0.4915 GB, free: 7.832 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001335/0.1261, allocations: 52.83 kB / 0.4916 GB, free: 7.777 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.382e-06/0.1262, allocations: 4.125 kB / 0.4916 GB, free: 7.773 MB / 382.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002077/0.1264, allocations: 97.55 kB / 0.4917 GB, free: 7.672 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.433e-05/0.1264, allocations: 4 kB / 0.4917 GB, free: 7.668 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.841e-06/0.1264, allocations: 0 / 0.4917 GB, free: 7.668 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.759e-05/0.1264, allocations: 4 kB / 0.4917 GB, free: 7.664 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.632e-05/0.1265, allocations: 11.98 kB / 0.4917 GB, free: 7.652 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.652e-06/0.1265, allocations: 0 / 0.4917 GB, free: 7.652 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.28e-05/0.1266, allocations: 4 kB / 0.4917 GB, free: 7.648 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.041e-05/0.1266, 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 0.0001023/0.1267, allocations: 129.7 kB / 0.4918 GB, free: 7.508 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.654e-05/0.1267, allocations: 7.953 kB / 0.4918 GB, free: 7.5 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002627/0.127, allocations: 105.9 kB / 0.4919 GB, free: 7.387 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.115e-06/0.127, allocations: 0 / 0.4919 GB, free: 7.387 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.679e-06/0.127, allocations: 0 / 0.4919 GB, free: 7.387 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.517e-06/0.127, allocations: 0 / 0.4919 GB, free: 7.387 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004959/0.1275, allocations: 350.5 kB / 0.4923 GB, free: 6.988 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.795e-06/0.1275, allocations: 0 / 0.4923 GB, free: 6.988 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.131e-05/0.1276, allocations: 19.92 kB / 0.4923 GB, free: 6.969 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.236e-06/0.1276, allocations: 0 / 0.4923 GB, free: 6.969 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.12e-05/0.1276, allocations: 4 kB / 0.4923 GB, free: 6.965 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.088e-06/0.1276, allocations: 3.938 kB / 0.4923 GB, free: 6.961 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.024e-06/0.1277, allocations: 0 / 0.4923 GB, free: 6.961 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002642/0.1279, allocations: 187.7 kB / 0.4925 GB, free: 6.762 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.85e-05/0.128, allocations: 81.06 kB / 0.4925 GB, free: 6.664 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.776e-05/0.128, allocations: 0 / 0.4925 GB, free: 6.664 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.739e-05/0.1281, allocations: 7.938 kB / 0.4926 GB, free: 6.656 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.621e-05/0.1281, allocations: 11.98 kB / 0.4926 GB, free: 6.645 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.971e-06/0.1281, allocations: 0 / 0.4926 GB, free: 6.645 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001838/0.1283, allocations: 111.2 kB / 0.4927 GB, free: 6.535 MB / 382.1 MB Notification: Performance of sort global known variables: time 2e-07/0.1283, allocations: 0 / 0.4927 GB, free: 6.535 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002554/0.1286, allocations: 15.98 kB / 0.4927 GB, free: 6.52 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.001555/0.1302, allocations: 1.007 MB / 0.4937 GB, free: 5.531 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002388/0.1304, allocations: 55.95 kB / 0.4937 GB, free: 5.477 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.196e-06/0.1304, allocations: 4 kB / 0.4937 GB, free: 5.473 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 8.143e-05/0.1305, 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.0004396/0.131, allocations: 27.61 kB / 0.4938 GB, free: 5.422 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002062/0.133, allocations: 1.424 MB / 0.4952 GB, free: 3.922 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000384/0.1334, allocations: 0.6924 MB / 0.4958 GB, free: 3.203 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 8.049e-05/0.1335, allocations: 15.98 kB / 0.4959 GB, free: 3.188 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.559e-05/0.1336, allocations: 27.36 kB / 0.4959 GB, free: 3.16 MB / 382.1 MB Notification: Performance of SimCode: time 5.61e-07/0.1336, allocations: 0 / 0.4959 GB, free: 3.16 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02198/0.1556, allocations: 2.471 MB / 0.4983 GB, free: 0.668 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.466/7.622, allocations: 3.906 kB / 0.4983 GB, free: 0.6641 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