Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test30.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.Test30,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable1D_Test30",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1D.Test30,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable1D_Test30",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.001285/0.001286, allocations: 110 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.001179/0.001179, 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.373/1.373, allocations: 205.1 MB / 223.2 MB, free: 12.24 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.2111/0.2111, allocations: 43.53 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.001999/0.001999, allocations: 71.89 kB / 441.3 MB, free: 6.16 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1/0.102, allocations: 57.79 MB / 499.1 MB, free: 12.3 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1D.Test30): time 0.002792/0.1048, allocations: 1.546 MB / 0.4889 GB, free: 10.74 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006092/0.1055, allocations: 331.4 kB / 0.4892 GB, free: 10.41 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.713e-05/0.1055, allocations: 0 / 0.4892 GB, free: 10.41 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002527/0.1058, allocations: 79.77 kB / 0.4893 GB, free: 10.34 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001864/0.106, allocations: 63.75 kB / 0.4894 GB, free: 10.27 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002584/0.1063, allocations: 91.8 kB / 0.4895 GB, free: 10.18 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001402/0.1064, allocations: 67.83 kB / 0.4895 GB, free: 10.12 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.577e-05/0.1065, allocations: 27.94 kB / 0.4896 GB, free: 10.09 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.454e-05/0.1066, allocations: 31.86 kB / 0.4896 GB, free: 10.06 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001001/0.1067, allocations: 51.88 kB / 0.4896 GB, free: 10.01 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.534e-05/0.1067, allocations: 0 / 0.4896 GB, free: 10.01 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.304e-05/0.1068, allocations: 31.98 kB / 0.4897 GB, free: 9.977 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 5.206e-05/0.1068, allocations: 15.94 kB / 0.4897 GB, free: 9.961 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 4.089e-05/0.1069, allocations: 31.72 kB / 0.4897 GB, free: 9.93 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001642/0.1071, allocations: 91.55 kB / 0.4898 GB, free: 9.84 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.957e-06/0.1071, allocations: 0 / 0.4898 GB, free: 9.84 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.233e-06/0.1071, allocations: 0 / 0.4898 GB, free: 9.84 MB / 382.1 MB Notification: Performance of Transformations before backend: time 9.097e-06/0.1071, allocations: 0 / 0.4898 GB, free: 9.84 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.0004814/0.1076, allocations: 402.9 kB / 0.4902 GB, free: 9.398 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.524e-05/0.1076, allocations: 11.89 kB / 0.4902 GB, free: 9.387 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.217e-05/0.1076, allocations: 30.75 kB / 0.4902 GB, free: 9.348 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.097e-05/0.1077, allocations: 12.84 kB / 0.4902 GB, free: 9.336 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001933/0.1079, allocations: 196.2 kB / 0.4904 GB, free: 9.105 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.167e-06/0.1079, allocations: 4.375 kB / 0.4904 GB, free: 9.102 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.967e-05/0.1079, allocations: 12.36 kB / 0.4904 GB, free: 9.09 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001295/0.1081, allocations: 49.56 kB / 0.4905 GB, free: 9.035 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.112e-05/0.1081, allocations: 0 / 0.4905 GB, free: 9.035 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.283e-05/0.1081, allocations: 4 kB / 0.4905 GB, free: 9.031 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.617e-06/0.1081, allocations: 0 / 0.4905 GB, free: 9.031 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.367e-05/0.1082, allocations: 19.98 kB / 0.4905 GB, free: 9.012 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003906/0.1086, allocations: 296.8 kB / 0.4908 GB, free: 8.672 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001935/0.1088, allocations: 42.5 kB / 0.4908 GB, free: 8.621 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.307e-05/0.1089, allocations: 24.88 kB / 0.4909 GB, free: 8.594 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.911e-05/0.1089, allocations: 0 / 0.4909 GB, free: 8.594 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.831e-05/0.1089, allocations: 30.56 kB / 0.4909 GB, free: 8.555 MB / 382.1 MB Notification: Performance of pre-optimization done (n=3): time 8.92e-07/0.1089, allocations: 0 / 0.4909 GB, free: 8.555 MB / 382.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005323/0.1095, allocations: 161.4 kB / 0.491 GB, free: 8.391 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.238e-05/0.1095, allocations: 51.41 kB / 0.4911 GB, free: 8.328 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001873/0.1097, allocations: 198.2 kB / 0.4913 GB, free: 8.125 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.016e-05/0.1098, allocations: 29.7 kB / 0.4913 GB, free: 8.09 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.376e-05/0.1098, allocations: 104.1 kB / 0.4914 GB, free: 7.984 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.096e-05/0.1098, allocations: 19.78 kB / 0.4914 GB, free: 7.965 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.593e-05/0.1099, allocations: 21.72 kB / 0.4914 GB, free: 7.938 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.000139/0.11, allocations: 326.8 kB / 0.4918 GB, free: 7.609 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.333e-05/0.1101, allocations: 19.98 kB / 0.4918 GB, free: 7.59 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.743e-05/0.1102, allocations: 24.16 kB / 0.4918 GB, free: 7.566 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001379/0.1103, allocations: 52.83 kB / 0.4918 GB, free: 7.512 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.62e-07/0.1103, allocations: 0 / 0.4918 GB, free: 7.512 MB / 382.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001959/0.1105, allocations: 93.56 kB / 0.4919 GB, free: 7.414 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.202e-05/0.1106, allocations: 4 kB / 0.4919 GB, free: 7.41 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.657e-06/0.1106, allocations: 0 / 0.4919 GB, free: 7.41 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.429e-05/0.1106, allocations: 7.984 kB / 0.4919 GB, free: 7.402 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.064e-05/0.1107, allocations: 8 kB / 0.492 GB, free: 7.395 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.098e-06/0.1107, allocations: 0 / 0.492 GB, free: 7.395 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.462e-05/0.1107, allocations: 7.984 kB / 0.492 GB, free: 7.387 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.634e-06/0.1107, allocations: 3.938 kB / 0.492 GB, free: 7.383 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 9.492e-05/0.1108, allocations: 133.8 kB / 0.4921 GB, free: 7.242 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.645e-05/0.1109, allocations: 15.89 kB / 0.4921 GB, free: 7.227 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002411/0.1111, allocations: 97.91 kB / 0.4922 GB, free: 7.121 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.874e-06/0.1111, allocations: 0 / 0.4922 GB, free: 7.121 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.216e-06/0.1111, allocations: 0 / 0.4922 GB, free: 7.121 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.345e-06/0.1112, allocations: 0 / 0.4922 GB, free: 7.121 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004501/0.1116, allocations: 366.5 kB / 0.4926 GB, free: 6.707 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.423e-06/0.1116, allocations: 0 / 0.4926 GB, free: 6.707 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.531e-05/0.1117, allocations: 16.11 kB / 0.4926 GB, free: 6.691 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.503e-06/0.1117, allocations: 0 / 0.4926 GB, free: 6.691 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.019e-05/0.1117, allocations: 4 kB / 0.4926 GB, free: 6.688 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.666e-06/0.1117, allocations: 11.88 kB / 0.4926 GB, free: 6.676 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.896e-06/0.1117, allocations: 4.266 kB / 0.4926 GB, free: 6.672 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002418/0.112, allocations: 187.5 kB / 0.4928 GB, free: 6.473 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.283e-05/0.112, allocations: 89 kB / 0.4929 GB, free: 6.367 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.533e-05/0.1121, allocations: 0 / 0.4929 GB, free: 6.367 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.294e-05/0.1121, allocations: 11.92 kB / 0.4929 GB, free: 6.355 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.254e-05/0.1122, allocations: 4 kB / 0.4929 GB, free: 6.352 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.031e-06/0.1122, allocations: 4 kB / 0.4929 GB, free: 6.348 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001364/0.1123, allocations: 160 kB / 0.493 GB, free: 6.191 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1123, allocations: 0 / 0.493 GB, free: 6.191 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002456/0.1126, allocations: 19.98 kB / 0.493 GB, free: 6.172 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.001862/0.1144, allocations: 1.009 MB / 0.494 GB, free: 5.18 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001962/0.1147, allocations: 51.95 kB / 0.4941 GB, free: 5.129 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/0.1147, allocations: 4 kB / 0.4941 GB, free: 5.125 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 8.375e-05/0.1148, allocations: 31.92 kB / 0.4941 GB, free: 5.094 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003306/0.1151, allocations: 31.14 kB / 0.4941 GB, free: 5.066 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001718/0.1168, allocations: 1.578 MB / 0.4957 GB, free: 3.406 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003181/0.1172, allocations: 0.7041 MB / 0.4964 GB, free: 2.676 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 5.277e-05/0.1172, allocations: 15.98 kB / 0.4964 GB, free: 2.66 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.81e-05/0.1173, allocations: 27.42 kB / 0.4964 GB, free: 2.633 MB / 382.1 MB Notification: Performance of SimCode: time 2.5e-07/0.1173, allocations: 0 / 0.4964 GB, free: 2.633 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02308/0.1404, allocations: 2.755 MB / 0.4991 GB, free: 15.86 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.753/7.893, allocations: 7.891 kB / 0.4991 GB, free: 15.85 MB / 398.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test30.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test30.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test30.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test30.sim & python3 -m fmpy simulate --output-file ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test30_res.csv --start-time 0 --stop-time 4 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0016 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable1D_Test30.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test30.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test30_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable1D/Test30/Test30.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test30.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches