Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test6.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.Test6,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable1D_Test6",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1D.Test6,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable1D_Test6",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.001106/0.001106, allocations: 105.3 kB / 16.4 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.001213/0.001213, allocations: 189.5 kB / 17.34 MB, free: 5.715 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.291/1.291, 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.1941/0.1941, allocations: 43.53 MB / 314.1 MB, free: 448 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.001537/0.001537, allocations: 73.47 kB / 441.3 MB, free: 6.141 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1112/0.1127, allocations: 57.8 MB / 499.1 MB, free: 12.27 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1D.Test6): time 0.003198/0.116, allocations: 1.57 MB / 0.489 GB, free: 10.69 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006887/0.1167, allocations: 327.5 kB / 0.4893 GB, free: 10.36 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.686e-05/0.1168, allocations: 0 / 0.4893 GB, free: 10.36 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003181/0.1171, allocations: 99.69 kB / 0.4894 GB, free: 10.27 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002265/0.1174, allocations: 75.72 kB / 0.4894 GB, free: 10.19 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003238/0.1177, allocations: 91.8 kB / 0.4895 GB, free: 10.1 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001775/0.1179, allocations: 79.81 kB / 0.4896 GB, free: 10.02 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001185/0.118, allocations: 28.16 kB / 0.4896 GB, free: 9.996 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.128e-05/0.1181, allocations: 35.84 kB / 0.4897 GB, free: 9.961 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001166/0.1182, allocations: 59.81 kB / 0.4897 GB, free: 9.902 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.183e-05/0.1183, allocations: 4 kB / 0.4897 GB, free: 9.898 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001017/0.1184, allocations: 31.98 kB / 0.4897 GB, free: 9.867 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 5.291e-05/0.1184, allocations: 19.92 kB / 0.4898 GB, free: 9.848 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 5.05e-05/0.1185, allocations: 35.73 kB / 0.4898 GB, free: 9.812 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001992/0.1187, allocations: 103.5 kB / 0.4899 GB, free: 9.711 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.218e-06/0.1187, allocations: 3.938 kB / 0.4899 GB, free: 9.707 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.633e-06/0.1187, allocations: 4 kB / 0.4899 GB, free: 9.703 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.983e-06/0.1187, allocations: 0 / 0.4899 GB, free: 9.703 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.0005153/0.1192, allocations: 426.7 kB / 0.4903 GB, free: 9.238 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.085e-05/0.1193, allocations: 11.89 kB / 0.4903 GB, free: 9.227 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.208e-05/0.1193, allocations: 38.73 kB / 0.4904 GB, free: 9.18 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.979e-05/0.1194, allocations: 12.84 kB / 0.4904 GB, free: 9.168 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001966/0.1196, allocations: 196.2 kB / 0.4906 GB, free: 8.938 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.273e-05/0.1196, allocations: 8.375 kB / 0.4906 GB, free: 8.93 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.536e-05/0.1196, allocations: 8.125 kB / 0.4906 GB, free: 8.922 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001651/0.1198, allocations: 75.33 kB / 0.4907 GB, free: 8.836 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.269e-05/0.1198, allocations: 0 / 0.4907 GB, free: 8.836 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.261e-05/0.1198, allocations: 8 kB / 0.4907 GB, free: 8.828 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.249e-06/0.1199, allocations: 0 / 0.4907 GB, free: 8.828 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001069/0.12, allocations: 31.97 kB / 0.4907 GB, free: 8.797 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005111/0.1205, allocations: 412.9 kB / 0.4911 GB, free: 8.34 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003109/0.1208, allocations: 89.16 kB / 0.4912 GB, free: 8.234 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.408e-05/0.1209, allocations: 29.8 kB / 0.4912 GB, free: 8.199 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.299e-05/0.1209, allocations: 0 / 0.4912 GB, free: 8.199 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.026e-05/0.121, allocations: 34.56 kB / 0.4912 GB, free: 8.156 MB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 9.02e-07/0.121, allocations: 0 / 0.4912 GB, free: 8.156 MB / 382.1 MB Notification: Performance of matching and sorting (n=10): time 0.0007534/0.1217, allocations: 237.1 kB / 0.4915 GB, free: 7.918 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.822e-05/0.1218, allocations: 89.05 kB / 0.4915 GB, free: 7.812 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002323/0.122, allocations: 235.6 kB / 0.4918 GB, free: 7.574 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.83e-05/0.122, allocations: 33.64 kB / 0.4918 GB, free: 7.535 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.731e-05/0.1221, allocations: 112 kB / 0.4919 GB, free: 7.422 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.988e-05/0.1222, allocations: 31.73 kB / 0.4919 GB, free: 7.391 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.195e-05/0.1222, allocations: 21.72 kB / 0.492 GB, free: 7.363 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001317/0.1224, allocations: 326.8 kB / 0.4923 GB, free: 7.035 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.859e-05/0.1224, allocations: 27.97 kB / 0.4923 GB, free: 7.008 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.367e-05/0.1225, allocations: 61.62 kB / 0.4924 GB, free: 6.941 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001865/0.1227, allocations: 77.69 kB / 0.4924 GB, free: 6.859 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.72e-07/0.1227, allocations: 0 / 0.4924 GB, free: 6.859 MB / 382.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002563/0.123, allocations: 134.2 kB / 0.4926 GB, free: 6.723 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.576e-05/0.123, allocations: 8 kB / 0.4926 GB, free: 6.715 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.805e-06/0.123, allocations: 0 / 0.4926 GB, free: 6.715 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.679e-05/0.1231, allocations: 3.938 kB / 0.4926 GB, free: 6.711 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.862e-05/0.1232, allocations: 23.98 kB / 0.4926 GB, free: 6.688 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.945e-06/0.1232, allocations: 3.938 kB / 0.4926 GB, free: 6.684 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.528e-05/0.1232, allocations: 4 kB / 0.4926 GB, free: 6.68 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.03e-05/0.1233, allocations: 4 kB / 0.4926 GB, free: 6.676 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.0001228/0.1234, allocations: 141.7 kB / 0.4927 GB, free: 6.527 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.668e-05/0.1234, allocations: 15.89 kB / 0.4927 GB, free: 6.512 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000335/0.1238, allocations: 158.5 kB / 0.4929 GB, free: 6.348 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.865e-06/0.1238, allocations: 0 / 0.4929 GB, free: 6.348 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.303e-06/0.1238, allocations: 3.938 kB / 0.4929 GB, free: 6.344 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.166e-06/0.1238, allocations: 0 / 0.4929 GB, free: 6.344 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006372/0.1245, allocations: 0.5025 MB / 0.4934 GB, free: 5.781 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.717e-06/0.1245, allocations: 4.25 kB / 0.4934 GB, free: 5.777 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.383e-05/0.1246, allocations: 31.95 kB / 0.4934 GB, free: 5.746 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.148e-06/0.1246, allocations: 4 kB / 0.4934 GB, free: 5.742 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.072e-05/0.1246, allocations: 4 kB / 0.4934 GB, free: 5.738 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.934e-06/0.1246, allocations: 0 / 0.4934 GB, free: 5.738 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.282e-06/0.1246, allocations: 0 / 0.4934 GB, free: 5.738 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003333/0.1249, allocations: 299.7 kB / 0.4937 GB, free: 5.426 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.106e-05/0.125, allocations: 96.95 kB / 0.4938 GB, free: 5.312 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.856e-05/0.125, allocations: 96 / 0.4938 GB, free: 5.312 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001044/0.1251, allocations: 7.938 kB / 0.4938 GB, free: 5.305 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.784e-05/0.1252, allocations: 11.98 kB / 0.4938 GB, free: 5.293 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.545e-06/0.1252, allocations: 4 kB / 0.4938 GB, free: 5.289 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001448/0.1254, allocations: 175.2 kB / 0.494 GB, free: 5.117 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1254, allocations: 0 / 0.494 GB, free: 5.117 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002912/0.1257, allocations: 19.94 kB / 0.494 GB, free: 5.098 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.001448/0.1271, allocations: 1.139 MB / 0.4951 GB, free: 3.969 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002482/0.1274, allocations: 83.89 kB / 0.4952 GB, free: 3.887 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.805e-06/0.1274, allocations: 0 / 0.4952 GB, free: 3.887 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001016/0.1275, allocations: 47.91 kB / 0.4953 GB, free: 3.84 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005016/0.128, allocations: 27.92 kB / 0.4953 GB, free: 3.812 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002083/0.1301, allocations: 1.862 MB / 0.4971 GB, free: 1.852 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002997/0.1304, allocations: 0.708 MB / 0.4978 GB, free: 1.117 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 8.178e-05/0.1305, allocations: 28.39 kB / 0.4978 GB, free: 1.09 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.858e-05/0.1306, allocations: 39.42 kB / 0.4979 GB, free: 1.051 MB / 382.1 MB Notification: Performance of SimCode: time 2.51e-07/0.1306, allocations: 0 / 0.4979 GB, free: 1.051 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0215/0.1521, allocations: 3.158 MB / 0.5009 GB, free: 13.88 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.613/7.765, allocations: 8.172 kB / 0.501 GB, free: 13.87 MB / 398.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test6.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test6.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test6.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test6.sim & python3 -m fmpy simulate --output-file ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test6_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_Test6.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test6.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test6_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable1D/Test6/Test6.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test6.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches