Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test20.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.CombiTable1Ds.Test20,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable1Ds_Test20",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Ds.Test20,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable1Ds_Test20",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.001742/0.001742, 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.002212/0.002213, 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.533/1.533, allocations: 205.1 MB / 223.2 MB, free: 12.2 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.2231/0.2231, allocations: 43.52 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.001534/0.001534, allocations: 77.45 kB / 441.3 MB, free: 6.121 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1062/0.1077, allocations: 57.79 MB / 499.1 MB, free: 12.26 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test20): time 0.003035/0.1108, allocations: 1.554 MB / 0.4889 GB, free: 10.7 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001344/0.1122, allocations: 0.9339 MB / 0.4898 GB, free: 9.758 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.119e-05/0.1123, allocations: 0 / 0.4898 GB, free: 9.758 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002319/0.1125, allocations: 27.86 kB / 0.4899 GB, free: 9.73 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000204/0.1127, allocations: 39.77 kB / 0.4899 GB, free: 9.691 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002652/0.113, allocations: 71.8 kB / 0.49 GB, free: 9.621 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001622/0.1132, allocations: 67.81 kB / 0.49 GB, free: 9.555 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001159/0.1133, allocations: 11.98 kB / 0.4901 GB, free: 9.543 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.26e-05/0.1134, allocations: 19.92 kB / 0.4901 GB, free: 9.523 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001565/0.1135, allocations: 27.84 kB / 0.4901 GB, free: 9.496 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.97e-05/0.1136, allocations: 4 kB / 0.4901 GB, free: 9.492 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001336/0.1137, allocations: 51.92 kB / 0.4902 GB, free: 9.441 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 4.55e-05/0.1138, allocations: 11.98 kB / 0.4902 GB, free: 9.43 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 3.626e-05/0.1138, allocations: 19.86 kB / 0.4902 GB, free: 9.41 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002005/0.114, allocations: 87.66 kB / 0.4903 GB, free: 9.324 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.787e-06/0.114, allocations: 4 kB / 0.4903 GB, free: 9.32 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.312e-06/0.114, allocations: 0 / 0.4903 GB, free: 9.32 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.16e-06/0.114, allocations: 0 / 0.4903 GB, free: 9.32 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.0004664/0.1145, allocations: 379 kB / 0.4906 GB, free: 8.902 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.264e-05/0.1146, allocations: 11.89 kB / 0.4906 GB, free: 8.891 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.978e-05/0.1146, allocations: 34.75 kB / 0.4907 GB, free: 8.848 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.995e-05/0.1147, allocations: 4.891 kB / 0.4907 GB, free: 8.844 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002006/0.1149, allocations: 196.2 kB / 0.4909 GB, free: 8.613 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.202e-05/0.1149, allocations: 4.375 kB / 0.4909 GB, free: 8.609 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.444e-05/0.1149, allocations: 8.375 kB / 0.4909 GB, free: 8.602 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001568/0.1151, allocations: 59.34 kB / 0.4909 GB, free: 8.531 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.224e-05/0.1151, allocations: 0 / 0.4909 GB, free: 8.531 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.062e-05/0.1151, allocations: 0 / 0.4909 GB, free: 8.531 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.518e-06/0.1151, allocations: 0 / 0.4909 GB, free: 8.531 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.729e-05/0.1152, allocations: 27.97 kB / 0.491 GB, free: 8.504 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003297/0.1156, allocations: 280.8 kB / 0.4912 GB, free: 8.18 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000209/0.1158, allocations: 42.56 kB / 0.4913 GB, free: 8.129 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.25e-05/0.1158, allocations: 20.84 kB / 0.4913 GB, free: 8.105 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.927e-05/0.1159, allocations: 0 / 0.4913 GB, free: 8.105 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.227e-05/0.1159, allocations: 30.56 kB / 0.4913 GB, free: 8.066 MB / 382.1 MB Notification: Performance of pre-optimization done (n=3): time 2.144e-06/0.1159, allocations: 0 / 0.4913 GB, free: 8.066 MB / 382.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005607/0.1165, allocations: 141.6 kB / 0.4915 GB, free: 7.922 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.922e-05/0.1165, allocations: 81.09 kB / 0.4915 GB, free: 7.824 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001211/0.1167, allocations: 133.8 kB / 0.4917 GB, free: 7.684 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.311e-05/0.1167, allocations: 29.64 kB / 0.4917 GB, free: 7.648 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.475e-05/0.1167, allocations: 88.12 kB / 0.4918 GB, free: 7.559 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.653e-05/0.1168, allocations: 23.8 kB / 0.4918 GB, free: 7.535 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.689e-05/0.1168, allocations: 29.64 kB / 0.4918 GB, free: 7.5 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 9.926e-05/0.1169, allocations: 318.8 kB / 0.4921 GB, free: 7.18 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.686e-05/0.117, allocations: 15.98 kB / 0.4921 GB, free: 7.164 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.149e-05/0.1171, allocations: 33.77 kB / 0.4922 GB, free: 7.125 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001225/0.1172, allocations: 48.83 kB / 0.4922 GB, free: 7.074 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.132e-06/0.1172, allocations: 4.031 kB / 0.4922 GB, free: 7.07 MB / 382.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001717/0.1174, allocations: 77.62 kB / 0.4923 GB, free: 6.988 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.438e-05/0.1174, allocations: 4 kB / 0.4923 GB, free: 6.984 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.889e-06/0.1174, allocations: 3.938 kB / 0.4923 GB, free: 6.98 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.371e-05/0.1174, allocations: 0 / 0.4923 GB, free: 6.98 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.178e-05/0.1175, allocations: 15.98 kB / 0.4923 GB, free: 6.965 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.413e-06/0.1175, allocations: 3.984 kB / 0.4923 GB, free: 6.961 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.432e-05/0.1176, allocations: 7.984 kB / 0.4923 GB, free: 6.953 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.384e-06/0.1176, allocations: 7.938 kB / 0.4923 GB, free: 6.945 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 7.56e-05/0.1177, allocations: 117.8 kB / 0.4925 GB, free: 6.82 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.325e-05/0.1177, allocations: 7.953 kB / 0.4925 GB, free: 6.812 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002133/0.1179, allocations: 85.62 kB / 0.4925 GB, free: 6.719 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.27e-06/0.1179, allocations: 4 kB / 0.4925 GB, free: 6.715 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.559e-06/0.1179, allocations: 3.938 kB / 0.4925 GB, free: 6.711 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.855e-06/0.118, allocations: 0 / 0.4925 GB, free: 6.711 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003855/0.1183, allocations: 346.7 kB / 0.4929 GB, free: 6.316 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.306e-06/0.1184, allocations: 4.062 kB / 0.4929 GB, free: 6.312 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.291e-05/0.1184, allocations: 12 kB / 0.4929 GB, free: 6.301 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.737e-06/0.1184, allocations: 3.984 kB / 0.4929 GB, free: 6.297 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.741e-06/0.1184, allocations: 0 / 0.4929 GB, free: 6.297 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.347e-06/0.1184, allocations: 3.938 kB / 0.4929 GB, free: 6.293 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.1184, allocations: 0 / 0.4929 GB, free: 6.293 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002242/0.1187, allocations: 179.4 kB / 0.4931 GB, free: 6.102 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.572e-05/0.1187, allocations: 81.11 kB / 0.4932 GB, free: 6.004 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.814e-05/0.1187, allocations: 4 kB / 0.4932 GB, free: 6 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.331e-05/0.1188, allocations: 11.92 kB / 0.4932 GB, free: 5.988 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.63e-05/0.1189, allocations: 0 / 0.4932 GB, free: 5.988 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.691e-06/0.1189, allocations: 4 kB / 0.4932 GB, free: 5.984 MB / 382.1 MB Notification: Performance of sorting global known variables: time 7.765e-05/0.119, allocations: 103.2 kB / 0.4933 GB, free: 5.883 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.61e-07/0.119, allocations: 0 / 0.4933 GB, free: 5.883 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002555/0.1192, allocations: 31.88 kB / 0.4933 GB, free: 5.852 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.001328/0.1206, allocations: 1.045 MB / 0.4943 GB, free: 4.828 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001978/0.1208, allocations: 43.97 kB / 0.4944 GB, free: 4.785 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.275e-06/0.1208, allocations: 0 / 0.4944 GB, free: 4.785 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 7.384e-05/0.1209, allocations: 27.92 kB / 0.4944 GB, free: 4.758 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003785/0.1213, allocations: 27.83 kB / 0.4944 GB, free: 4.73 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001522/0.1228, allocations: 1.381 MB / 0.4958 GB, free: 3.273 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002538/0.1231, allocations: 0.6885 MB / 0.4964 GB, free: 2.559 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 7.02e-05/0.1231, allocations: 20.42 kB / 0.4965 GB, free: 2.539 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.886e-05/0.1232, allocations: 19.44 kB / 0.4965 GB, free: 2.52 MB / 382.1 MB Notification: Performance of SimCode: time 3.71e-07/0.1232, allocations: 0 / 0.4965 GB, free: 2.52 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02123/0.1444, allocations: 2.725 MB / 0.4991 GB, free: 15.73 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.557/7.701, allocations: 7.969 kB / 0.4991 GB, free: 15.72 MB / 398.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test20.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test20.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test20.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test20.sim & python3 -m fmpy simulate --output-file ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test20_res.csv --start-time 0 --stop-time 100 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.04 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable1Ds_Test20.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test20.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test20_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable1Ds/Test20/Test20.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test20.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches