Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test27.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.Test27,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable1D_Test27",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1D.Test27,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable1D_Test27",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.001786/0.001786, allocations: 104.7 kB / 16.4 MB, free: 6.41 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.001897/0.001897, allocations: 187.7 kB / 17.34 MB, free: 5.699 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.459/1.459, 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.2304/0.2304, allocations: 43.52 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.00203/0.00203, allocations: 73.45 kB / 441.3 MB, free: 6.145 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1104/0.1124, allocations: 57.79 MB / 499.1 MB, free: 12.28 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1D.Test27): time 0.002939/0.1154, allocations: 1.549 MB / 0.4889 GB, free: 10.72 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006488/0.1161, allocations: 335.5 kB / 0.4892 GB, free: 10.39 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.061e-05/0.1161, allocations: 0 / 0.4892 GB, free: 10.39 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003344/0.1165, allocations: 119.7 kB / 0.4894 GB, free: 10.27 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001954/0.1167, allocations: 91.64 kB / 0.4894 GB, free: 10.18 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000254/0.117, allocations: 95.8 kB / 0.4895 GB, free: 10.09 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001541/0.1171, allocations: 83.8 kB / 0.4896 GB, free: 10.01 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.328e-05/0.1172, allocations: 19.97 kB / 0.4896 GB, free: 9.988 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.34e-05/0.1173, allocations: 43.83 kB / 0.4897 GB, free: 9.945 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001403/0.1175, allocations: 83.84 kB / 0.4898 GB, free: 9.863 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.04e-05/0.1175, allocations: 0 / 0.4898 GB, free: 9.863 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.381e-05/0.1176, allocations: 35.92 kB / 0.4898 GB, free: 9.828 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 6.213e-05/0.1176, allocations: 23.92 kB / 0.4898 GB, free: 9.805 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 4.015e-05/0.1177, allocations: 27.75 kB / 0.4898 GB, free: 9.777 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001841/0.1179, allocations: 107.5 kB / 0.4899 GB, free: 9.672 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.204e-06/0.1179, allocations: 4 kB / 0.4899 GB, free: 9.668 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.292e-06/0.1179, allocations: 0 / 0.4899 GB, free: 9.668 MB / 382.1 MB Notification: Performance of Transformations before backend: time 4.408e-06/0.1179, allocations: 0 / 0.4899 GB, free: 9.668 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.0005044/0.1184, allocations: 426.6 kB / 0.4904 GB, free: 9.203 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.889e-05/0.1184, allocations: 15.89 kB / 0.4904 GB, free: 9.188 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.754e-05/0.1185, allocations: 34.69 kB / 0.4904 GB, free: 9.145 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.273e-05/0.1185, allocations: 16.84 kB / 0.4904 GB, free: 9.129 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002246/0.1188, allocations: 208 kB / 0.4906 GB, free: 8.887 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.167e-06/0.1188, allocations: 384 / 0.4906 GB, free: 8.887 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.519e-05/0.1188, allocations: 384 / 0.4906 GB, free: 8.887 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001444/0.1189, allocations: 57.56 kB / 0.4907 GB, free: 8.824 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.241e-05/0.119, allocations: 0 / 0.4907 GB, free: 8.824 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.777e-06/0.119, allocations: 0 / 0.4907 GB, free: 8.824 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.943e-06/0.119, allocations: 4 kB / 0.4907 GB, free: 8.82 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.152e-05/0.1191, allocations: 27.97 kB / 0.4907 GB, free: 8.793 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000402/0.1195, allocations: 292.9 kB / 0.491 GB, free: 8.457 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002069/0.1197, allocations: 46.5 kB / 0.491 GB, free: 8.402 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.101e-05/0.1198, allocations: 16.94 kB / 0.491 GB, free: 8.383 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.765e-05/0.1198, allocations: 4 kB / 0.491 GB, free: 8.379 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.292e-05/0.1198, allocations: 30.56 kB / 0.4911 GB, free: 8.34 MB / 382.1 MB Notification: Performance of pre-optimization done (n=3): time 1.233e-06/0.1198, allocations: 0 / 0.4911 GB, free: 8.34 MB / 382.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005621/0.1204, allocations: 165.3 kB / 0.4912 GB, free: 8.172 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.832e-05/0.1205, allocations: 51.41 kB / 0.4913 GB, free: 8.109 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002587/0.1207, allocations: 274.2 kB / 0.4915 GB, free: 7.828 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.926e-05/0.1207, allocations: 29.7 kB / 0.4916 GB, free: 7.793 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.255e-05/0.1208, allocations: 108.1 kB / 0.4917 GB, free: 7.684 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.071e-05/0.1208, allocations: 11.91 kB / 0.4917 GB, free: 7.672 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.635e-05/0.1209, allocations: 21.72 kB / 0.4917 GB, free: 7.645 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001364/0.121, allocations: 330.8 kB / 0.492 GB, free: 7.312 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.453e-05/0.1211, allocations: 19.98 kB / 0.492 GB, free: 7.293 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.279e-05/0.1212, allocations: 19.98 kB / 0.4921 GB, free: 7.273 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000141/0.1213, allocations: 56.77 kB / 0.4921 GB, free: 7.215 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.02e-07/0.1213, allocations: 3.938 kB / 0.4921 GB, free: 7.211 MB / 382.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.000211/0.1216, allocations: 93.81 kB / 0.4922 GB, free: 7.113 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.641e-05/0.1216, allocations: 8 kB / 0.4922 GB, free: 7.105 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.058e-06/0.1216, allocations: 288 / 0.4922 GB, free: 7.105 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.116e-05/0.1216, allocations: 0 / 0.4922 GB, free: 7.105 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.135e-05/0.1217, allocations: 15.98 kB / 0.4922 GB, free: 7.09 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.302e-06/0.1217, allocations: 4 kB / 0.4922 GB, free: 7.086 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.797e-05/0.1217, allocations: 7.938 kB / 0.4922 GB, free: 7.078 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.267e-06/0.1218, allocations: 7.938 kB / 0.4922 GB, free: 7.07 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.0001049/0.1219, allocations: 133.8 kB / 0.4924 GB, free: 6.93 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.848e-05/0.1219, allocations: 19.89 kB / 0.4924 GB, free: 6.91 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000243/0.1222, allocations: 106.6 kB / 0.4925 GB, free: 6.797 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.174e-06/0.1222, allocations: 4 kB / 0.4925 GB, free: 6.793 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.807e-06/0.1222, allocations: 4 kB / 0.4925 GB, free: 6.789 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.425e-06/0.1222, allocations: 0 / 0.4925 GB, free: 6.789 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000455/0.1226, allocations: 374.4 kB / 0.4929 GB, free: 6.367 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.312e-06/0.1227, allocations: 0 / 0.4929 GB, free: 6.367 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.535e-05/0.1227, allocations: 12 kB / 0.4929 GB, free: 6.355 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.573e-06/0.1227, allocations: 0 / 0.4929 GB, free: 6.355 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.973e-06/0.1227, allocations: 0 / 0.4929 GB, free: 6.355 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.371e-06/0.1227, allocations: 7.922 kB / 0.4929 GB, free: 6.348 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.81e-07/0.1228, allocations: 4 kB / 0.4929 GB, free: 6.344 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002464/0.123, allocations: 187.4 kB / 0.4931 GB, free: 6.145 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.444e-05/0.1231, allocations: 89 kB / 0.4931 GB, free: 6.039 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.789e-05/0.1231, allocations: 4 kB / 0.4932 GB, free: 6.035 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.798e-05/0.1232, allocations: 4.125 kB / 0.4932 GB, free: 6.031 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.886e-05/0.1232, allocations: 11.98 kB / 0.4932 GB, free: 6.02 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.927e-06/0.1232, allocations: 4 kB / 0.4932 GB, free: 6.016 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001771/0.1234, allocations: 199.2 kB / 0.4934 GB, free: 5.82 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.71e-07/0.1234, allocations: 3.938 kB / 0.4934 GB, free: 5.816 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002359/0.1237, allocations: 19.94 kB / 0.4934 GB, free: 5.797 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.001881/0.1255, allocations: 1.016 MB / 0.4944 GB, free: 4.793 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.000206/0.1258, allocations: 47.91 kB / 0.4944 GB, free: 4.746 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.774e-06/0.1258, allocations: 0 / 0.4944 GB, free: 4.746 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 8.545e-05/0.1259, allocations: 36.09 kB / 0.4945 GB, free: 4.711 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003816/0.1262, allocations: 19.88 kB / 0.4945 GB, free: 4.691 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001934/0.1282, allocations: 1.723 MB / 0.4962 GB, free: 2.891 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003599/0.1286, allocations: 0.7158 MB / 0.4969 GB, free: 2.148 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 5.725e-05/0.1286, allocations: 11.98 kB / 0.4969 GB, free: 2.137 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.598e-05/0.1287, allocations: 35.42 kB / 0.4969 GB, free: 2.102 MB / 382.1 MB Notification: Performance of SimCode: time 2.5e-07/0.1287, allocations: 4 kB / 0.4969 GB, free: 2.098 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02436/0.1531, allocations: 3.039 MB / 0.4999 GB, free: 15.05 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.623/7.776, allocations: 16.28 kB / 0.4999 GB, free: 15.03 MB / 398.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test27.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test27.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test27.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test27.sim & python3 -m fmpy simulate --output-file ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test27_res.csv --start-time 0 --stop-time 15 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.006 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable1D_Test27.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test27.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test27_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable1D/Test27/Test27.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test27.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches