Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test4.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.Test4,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable1D_Test4",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1D.Test4,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable1D_Test4",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.001456/0.001456, allocations: 106.8 kB / 16.41 MB, free: 6.457 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.001419/0.001419, allocations: 185.5 kB / 17.34 MB, free: 5.719 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.42/1.42, 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.2162/0.2162, allocations: 43.52 MB / 314.1 MB, free: 452 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.001355/0.001355, allocations: 73.62 kB / 441.3 MB, free: 6.152 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1133/0.1146, allocations: 57.8 MB / 499.1 MB, free: 12.29 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1D.Test4): time 0.003659/0.1183, allocations: 1.566 MB / 0.4889 GB, free: 10.71 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.000848/0.1192, allocations: 339.4 kB / 0.4893 GB, free: 10.38 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.257e-05/0.1193, allocations: 0 / 0.4893 GB, free: 10.38 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004174/0.1198, allocations: 95.75 kB / 0.4894 GB, free: 10.28 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002351/0.1201, allocations: 67.8 kB / 0.4894 GB, free: 10.21 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003161/0.1204, allocations: 95.73 kB / 0.4895 GB, free: 10.12 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001857/0.1206, allocations: 83.8 kB / 0.4896 GB, free: 10.04 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001257/0.1207, allocations: 24.17 kB / 0.4896 GB, free: 10.02 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.552e-05/0.1208, allocations: 31.91 kB / 0.4896 GB, free: 9.984 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001329/0.1209, allocations: 59.81 kB / 0.4897 GB, free: 9.926 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.992e-05/0.1209, allocations: 4 kB / 0.4897 GB, free: 9.922 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.017e-05/0.121, allocations: 35.92 kB / 0.4897 GB, free: 9.887 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 6.117e-05/0.1211, allocations: 27.91 kB / 0.4898 GB, free: 9.859 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 4.73e-05/0.1212, allocations: 31.75 kB / 0.4898 GB, free: 9.828 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001864/0.1214, allocations: 103.5 kB / 0.4899 GB, free: 9.727 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.191e-06/0.1214, allocations: 8 kB / 0.4899 GB, free: 9.719 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.683e-06/0.1214, allocations: 0 / 0.4899 GB, free: 9.719 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.841e-06/0.1214, allocations: 0 / 0.4899 GB, free: 9.719 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0005319/0.1219, allocations: 418.7 kB / 0.4903 GB, free: 9.262 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.46e-05/0.122, allocations: 19.83 kB / 0.4903 GB, free: 9.242 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.863e-05/0.122, allocations: 34.69 kB / 0.4904 GB, free: 9.199 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.026e-05/0.1221, allocations: 16.84 kB / 0.4904 GB, free: 9.184 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002216/0.1223, allocations: 196.2 kB / 0.4906 GB, free: 8.953 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.667e-06/0.1223, allocations: 4.375 kB / 0.4906 GB, free: 8.949 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.908e-05/0.1224, allocations: 8.125 kB / 0.4906 GB, free: 8.941 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001953/0.1226, allocations: 83.33 kB / 0.4907 GB, free: 8.848 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.463e-05/0.1226, allocations: 0 / 0.4907 GB, free: 8.848 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.809e-06/0.1226, allocations: 0 / 0.4907 GB, free: 8.848 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.933e-06/0.1226, allocations: 3.984 kB / 0.4907 GB, free: 8.844 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001068/0.1227, allocations: 39.91 kB / 0.4907 GB, free: 8.805 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004612/0.1232, allocations: 404.9 kB / 0.4911 GB, free: 8.355 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002632/0.1235, allocations: 85.22 kB / 0.4912 GB, free: 8.254 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.114e-05/0.1235, allocations: 33.73 kB / 0.4912 GB, free: 8.215 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.048e-05/0.1236, allocations: 0 / 0.4912 GB, free: 8.215 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.372e-05/0.1236, allocations: 42.56 kB / 0.4912 GB, free: 8.164 MB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 9.12e-07/0.1236, allocations: 0 / 0.4912 GB, free: 8.164 MB / 382.1 MB Notification: Performance of matching and sorting (n=10): time 0.0006997/0.1243, allocations: 237.5 kB / 0.4915 GB, free: 7.926 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.1e-05/0.1244, allocations: 85.03 kB / 0.4915 GB, free: 7.824 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002148/0.1246, allocations: 231.6 kB / 0.4918 GB, free: 7.59 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.601e-05/0.1246, allocations: 25.7 kB / 0.4918 GB, free: 7.559 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.569e-05/0.1247, allocations: 116 kB / 0.4919 GB, free: 7.441 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.67e-05/0.1247, allocations: 35.73 kB / 0.4919 GB, free: 7.406 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.964e-05/0.1248, allocations: 17.72 kB / 0.4919 GB, free: 7.383 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001244/0.1249, allocations: 326.8 kB / 0.4923 GB, free: 7.055 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.143e-05/0.125, allocations: 35.97 kB / 0.4923 GB, free: 7.02 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.686e-05/0.1251, allocations: 45.69 kB / 0.4923 GB, free: 6.969 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001787/0.1253, allocations: 93.73 kB / 0.4924 GB, free: 6.871 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.122e-06/0.1253, allocations: 0 / 0.4924 GB, free: 6.871 MB / 382.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002357/0.1255, allocations: 129.6 kB / 0.4926 GB, free: 6.738 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.527e-05/0.1256, allocations: 4 kB / 0.4926 GB, free: 6.734 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.869e-06/0.1256, allocations: 0 / 0.4926 GB, free: 6.734 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.653e-05/0.1256, allocations: 3.984 kB / 0.4926 GB, free: 6.73 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.599e-05/0.1257, allocations: 23.98 kB / 0.4926 GB, free: 6.707 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.071e-05/0.1257, allocations: 7.938 kB / 0.4926 GB, free: 6.699 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.561e-05/0.1258, allocations: 11.92 kB / 0.4926 GB, free: 6.688 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.873e-06/0.1258, allocations: 0 / 0.4926 GB, free: 6.688 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (10): * Single equations (assignments): 10 * 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.0001047/0.1259, allocations: 137.8 kB / 0.4927 GB, free: 6.543 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.097e-05/0.1259, allocations: 15.91 kB / 0.4927 GB, free: 6.527 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003088/0.1263, allocations: 150.7 kB / 0.4929 GB, free: 6.371 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.385e-06/0.1263, allocations: 0 / 0.4929 GB, free: 6.371 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.313e-06/0.1263, allocations: 11.94 kB / 0.4929 GB, free: 6.359 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.546e-06/0.1263, allocations: 0 / 0.4929 GB, free: 6.359 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005983/0.1269, allocations: 0.5024 MB / 0.4934 GB, free: 5.797 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.878e-06/0.1269, allocations: 3.938 kB / 0.4934 GB, free: 5.793 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.785e-05/0.127, allocations: 23.98 kB / 0.4934 GB, free: 5.77 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.888e-06/0.127, allocations: 4.188 kB / 0.4934 GB, free: 5.766 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.286e-06/0.127, allocations: 4.031 kB / 0.4934 GB, free: 5.762 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.683e-06/0.127, allocations: 3.938 kB / 0.4934 GB, free: 5.758 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/0.127, allocations: 4 kB / 0.4934 GB, free: 5.754 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003017/0.1273, allocations: 295.5 kB / 0.4937 GB, free: 5.445 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.444e-05/0.1274, allocations: 92.95 kB / 0.4938 GB, free: 5.336 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.122e-05/0.1274, allocations: 8 kB / 0.4938 GB, free: 5.328 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001044/0.1275, allocations: 7.984 kB / 0.4938 GB, free: 5.32 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.417e-05/0.1276, allocations: 11.94 kB / 0.4938 GB, free: 5.309 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.402e-06/0.1276, allocations: 3.984 kB / 0.4938 GB, free: 5.305 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001342/0.1277, allocations: 171.2 kB / 0.494 GB, free: 5.137 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1277, allocations: 0 / 0.494 GB, free: 5.137 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002848/0.128, allocations: 23.94 kB / 0.494 GB, free: 5.113 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (10): * Single equations (assignments): 10 * 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.001354/0.1294, allocations: 1.146 MB / 0.4951 GB, free: 3.977 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002382/0.1296, allocations: 83.89 kB / 0.4952 GB, free: 3.895 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.1296, allocations: 0 / 0.4952 GB, free: 3.895 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001043/0.1298, allocations: 47.91 kB / 0.4953 GB, free: 3.848 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004417/0.1302, allocations: 19.98 kB / 0.4953 GB, free: 3.828 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001889/0.1321, allocations: 1.854 MB / 0.4971 GB, free: 1.875 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002668/0.1324, allocations: 0.7118 MB / 0.4978 GB, free: 1.137 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 7.782e-05/0.1325, allocations: 28.78 kB / 0.4978 GB, free: 1.109 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.195e-05/0.1325, allocations: 35.42 kB / 0.4979 GB, free: 1.074 MB / 382.1 MB Notification: Performance of SimCode: time 2.7e-07/0.1325, allocations: 0 / 0.4979 GB, free: 1.074 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01842/0.151, allocations: 3.169 MB / 0.5009 GB, free: 13.89 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.49/7.641, allocations: 8.234 kB / 0.501 GB, free: 13.88 MB / 398.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test4.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test4.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test4.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test4.sim & python3 -m fmpy simulate --output-file ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test4_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable1D_Test4.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test4.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test4_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable1D/Test4/Test4.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test4.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches