Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test16.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.Test16,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable1Ds_Test16",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Ds.Test16,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable1Ds_Test16",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.001261/0.001261, allocations: 107.9 kB / 16.41 MB, free: 6.008 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.00124/0.00124, allocations: 192.2 kB / 17.34 MB, free: 5.578 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.346/1.346, allocations: 205.1 MB / 223.2 MB, free: 12.22 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.2054/0.2054, 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.00213/0.00213, allocations: 73.55 kB / 441.3 MB, free: 6.145 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1029/0.105, allocations: 57.8 MB / 499.1 MB, free: 12.27 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test16): time 0.003246/0.1083, allocations: 1.542 MB / 0.4889 GB, free: 10.73 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006879/0.109, allocations: 323.5 kB / 0.4892 GB, free: 10.41 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.158e-05/0.1092, allocations: 3.938 kB / 0.4892 GB, free: 10.4 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000357/0.1095, allocations: 75.77 kB / 0.4893 GB, free: 10.33 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002626/0.1098, allocations: 55.81 kB / 0.4894 GB, free: 10.27 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003483/0.1102, allocations: 75.83 kB / 0.4894 GB, free: 10.2 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002367/0.1104, allocations: 67.83 kB / 0.4895 GB, free: 10.13 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001271/0.1106, allocations: 23.92 kB / 0.4895 GB, free: 10.11 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.519e-05/0.1107, allocations: 35.83 kB / 0.4896 GB, free: 10.07 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001304/0.1108, allocations: 47.88 kB / 0.4896 GB, free: 10.03 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.026e-05/0.1108, allocations: 0 / 0.4896 GB, free: 10.03 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001107/0.1109, allocations: 28 kB / 0.4896 GB, free: 10 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 7.155e-05/0.111, allocations: 19.92 kB / 0.4896 GB, free: 9.98 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 5.169e-05/0.1111, allocations: 27.69 kB / 0.4897 GB, free: 9.953 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002361/0.1113, allocations: 103.6 kB / 0.4898 GB, free: 9.852 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.849e-06/0.1113, allocations: 0 / 0.4898 GB, free: 9.852 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.943e-06/0.1113, allocations: 0 / 0.4898 GB, free: 9.852 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.932e-06/0.1114, allocations: 0 / 0.4898 GB, free: 9.852 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.0006468/0.112, allocations: 390.9 kB / 0.4901 GB, free: 9.422 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.086e-05/0.1121, allocations: 15.89 kB / 0.4902 GB, free: 9.406 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.544e-05/0.1121, allocations: 30.75 kB / 0.4902 GB, free: 9.367 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.934e-05/0.1122, allocations: 16.83 kB / 0.4902 GB, free: 9.352 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002383/0.1124, allocations: 196.2 kB / 0.4904 GB, free: 9.121 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.498e-06/0.1124, allocations: 8.312 kB / 0.4904 GB, free: 9.113 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.148e-05/0.1124, allocations: 4.375 kB / 0.4904 GB, free: 9.109 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001471/0.1126, allocations: 53.61 kB / 0.4905 GB, free: 9.051 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.298e-05/0.1126, allocations: 0 / 0.4905 GB, free: 9.051 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.576e-06/0.1126, allocations: 0 / 0.4905 GB, free: 9.051 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.53e-06/0.1126, allocations: 0 / 0.4905 GB, free: 9.051 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.233e-05/0.1127, allocations: 23.98 kB / 0.4905 GB, free: 9.027 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003904/0.1131, allocations: 284.8 kB / 0.4908 GB, free: 8.699 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002135/0.1134, allocations: 50.44 kB / 0.4908 GB, free: 8.641 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.405e-05/0.1134, allocations: 16.94 kB / 0.4908 GB, free: 8.621 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.93e-05/0.1135, allocations: 0 / 0.4908 GB, free: 8.621 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.135e-05/0.1135, allocations: 34.56 kB / 0.4908 GB, free: 8.578 MB / 382.1 MB Notification: Performance of pre-optimization done (n=3): time 9.32e-07/0.1135, allocations: 0 / 0.4908 GB, free: 8.578 MB / 382.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005773/0.1141, allocations: 145.4 kB / 0.491 GB, free: 8.43 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.949e-05/0.1141, allocations: 51.41 kB / 0.491 GB, free: 8.367 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002219/0.1144, allocations: 202.2 kB / 0.4912 GB, free: 8.16 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.768e-05/0.1144, allocations: 29.7 kB / 0.4913 GB, free: 8.125 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.496e-05/0.1145, allocations: 104.1 kB / 0.4914 GB, free: 8.02 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.827e-05/0.1145, allocations: 15.84 kB / 0.4914 GB, free: 8.004 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.723e-05/0.1145, allocations: 17.7 kB / 0.4914 GB, free: 7.98 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001487/0.1147, allocations: 326.8 kB / 0.4917 GB, free: 7.652 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.458e-05/0.1148, allocations: 19.98 kB / 0.4917 GB, free: 7.633 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.945e-05/0.1148, allocations: 19.98 kB / 0.4917 GB, free: 7.613 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001258/0.115, allocations: 48.95 kB / 0.4918 GB, free: 7.562 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.41e-07/0.115, allocations: 0 / 0.4918 GB, free: 7.562 MB / 382.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001832/0.1152, allocations: 85.62 kB / 0.4919 GB, free: 7.473 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.382e-05/0.1152, allocations: 7.938 kB / 0.4919 GB, free: 7.465 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.903e-06/0.1152, allocations: 7.984 kB / 0.4919 GB, free: 7.457 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.794e-05/0.1152, allocations: 0 / 0.4919 GB, free: 7.457 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.801e-05/0.1153, allocations: 8 kB / 0.4919 GB, free: 7.449 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.03e-06/0.1153, allocations: 0 / 0.4919 GB, free: 7.449 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.113e-05/0.1154, allocations: 7.984 kB / 0.4919 GB, free: 7.441 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.195e-06/0.1154, allocations: 3.938 kB / 0.4919 GB, free: 7.438 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.0001077/0.1155, allocations: 133.7 kB / 0.492 GB, free: 7.297 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.472e-05/0.1155, allocations: 15.89 kB / 0.492 GB, free: 7.281 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002317/0.1158, allocations: 89.97 kB / 0.4921 GB, free: 7.184 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.184e-06/0.1158, allocations: 0 / 0.4921 GB, free: 7.184 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.574e-06/0.1158, allocations: 4 kB / 0.4921 GB, free: 7.18 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.356e-06/0.1158, allocations: 0 / 0.4921 GB, free: 7.18 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004476/0.1163, allocations: 346.5 kB / 0.4925 GB, free: 6.785 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.343e-06/0.1163, allocations: 8 kB / 0.4925 GB, free: 6.777 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.447e-05/0.1163, allocations: 11.98 kB / 0.4925 GB, free: 6.766 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.878e-06/0.1163, allocations: 192 / 0.4925 GB, free: 6.766 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.067e-06/0.1164, allocations: 7.938 kB / 0.4925 GB, free: 6.758 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.32e-06/0.1164, allocations: 3.938 kB / 0.4925 GB, free: 6.754 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.1164, allocations: 4 kB / 0.4925 GB, free: 6.75 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002371/0.1166, allocations: 175.5 kB / 0.4927 GB, free: 6.562 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.988e-05/0.1167, allocations: 93.23 kB / 0.4928 GB, free: 6.453 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.738e-05/0.1167, allocations: 4 kB / 0.4928 GB, free: 6.449 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.621e-05/0.1168, allocations: 7.922 kB / 0.4928 GB, free: 6.441 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.367e-05/0.1168, allocations: 8 kB / 0.4928 GB, free: 6.434 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.761e-06/0.1168, allocations: 3.984 kB / 0.4928 GB, free: 6.43 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001386/0.117, allocations: 164 kB / 0.4929 GB, free: 6.27 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.117, allocations: 0 / 0.4929 GB, free: 6.27 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002341/0.1172, allocations: 12 kB / 0.4929 GB, free: 6.258 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.001922/0.1192, allocations: 1.011 MB / 0.4939 GB, free: 5.262 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001916/0.1194, allocations: 47.91 kB / 0.494 GB, free: 5.215 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.944e-06/0.1194, allocations: 0 / 0.494 GB, free: 5.215 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 7.183e-05/0.1195, allocations: 27.98 kB / 0.494 GB, free: 5.188 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003605/0.1198, allocations: 27.8 kB / 0.494 GB, free: 5.16 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00173/0.1216, allocations: 1.547 MB / 0.4955 GB, free: 3.531 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003265/0.1219, allocations: 0.7002 MB / 0.4962 GB, free: 2.805 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 4.257e-05/0.122, allocations: 11.98 kB / 0.4962 GB, free: 2.793 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.266e-05/0.122, allocations: 23.44 kB / 0.4963 GB, free: 2.77 MB / 382.1 MB Notification: Performance of SimCode: time 2.21e-07/0.122, allocations: 0 / 0.4963 GB, free: 2.77 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0237/0.1457, allocations: 2.731 MB / 0.4989 GB, free: 20 kB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.058/8.204, allocations: 0 / 0.4989 GB, free: 20 kB / 382.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test16.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test16.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test16.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test16.sim & python3 -m fmpy simulate --output-file ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test16_res.csv --start-time 0 --stop-time 3 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0012 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable1Ds_Test16.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test16.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test16_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable1Ds/Test16/Test16.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test16.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches