Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test21.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.CombiTable2D.Test21,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2D_Test21",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2D.Test21,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2D_Test21",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.001247/0.001247, allocations: 108 kB / 16.41 MB, free: 6.484 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.001291/0.001291, allocations: 188.1 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.524/1.524, 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.2159/0.2159, 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.001671/0.001671, allocations: 71.91 kB / 441.3 MB, free: 6.164 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1133/0.115, allocations: 57.79 MB / 499.1 MB, free: 12.3 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2D.Test21): time 0.003639/0.1187, allocations: 1.954 MB / 0.4893 GB, free: 10.33 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001337/0.12, allocations: 0.6744 MB / 0.49 GB, free: 9.652 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001576/0.1202, allocations: 4 kB / 0.49 GB, free: 9.648 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000496/0.1207, allocations: 255.2 kB / 0.4902 GB, free: 9.398 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004202/0.1212, allocations: 199.3 kB / 0.4904 GB, free: 9.203 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001016/0.1222, allocations: 443.1 kB / 0.4908 GB, free: 8.77 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004194/0.1226, allocations: 275.3 kB / 0.4911 GB, free: 8.5 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002049/0.1229, allocations: 64.7 kB / 0.4912 GB, free: 8.438 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002063/0.1231, allocations: 131.4 kB / 0.4913 GB, free: 8.309 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002634/0.1233, allocations: 195.3 kB / 0.4915 GB, free: 8.117 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 3.488e-05/0.1234, allocations: 8 kB / 0.4915 GB, free: 8.109 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001698/0.1236, allocations: 71.92 kB / 0.4916 GB, free: 8.039 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001209/0.1237, allocations: 83.73 kB / 0.4916 GB, free: 7.957 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000104/0.1238, allocations: 119 kB / 0.4917 GB, free: 7.84 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004479/0.1243, allocations: 314.4 kB / 0.492 GB, free: 7.531 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.402e-06/0.1243, allocations: 0 / 0.492 GB, free: 7.531 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.766e-06/0.1243, allocations: 3.938 kB / 0.492 GB, free: 7.527 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.254e-05/0.1243, allocations: 0 / 0.492 GB, free: 7.527 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: 25 * Number of variables: 25 Notification: Performance of Generate backend data structure: time 0.0008582/0.1252, allocations: 0.657 MB / 0.4927 GB, free: 6.82 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.33e-05/0.1252, allocations: 11.89 kB / 0.4927 GB, free: 6.809 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.438e-05/0.1253, allocations: 46.73 kB / 0.4927 GB, free: 6.754 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.645e-05/0.1254, allocations: 44.66 kB / 0.4928 GB, free: 6.711 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003502/0.1257, allocations: 318.6 kB / 0.4931 GB, free: 6.359 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.215e-05/0.1257, allocations: 8.375 kB / 0.4931 GB, free: 6.352 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.551e-05/0.1258, allocations: 12.31 kB / 0.4931 GB, free: 6.34 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002372/0.126, allocations: 109.5 kB / 0.4932 GB, free: 6.227 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.506e-05/0.126, allocations: 0 / 0.4932 GB, free: 6.227 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.398e-05/0.1261, allocations: 4 kB / 0.4932 GB, free: 6.223 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.971e-06/0.1261, allocations: 4 kB / 0.4932 GB, free: 6.219 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001694/0.1263, allocations: 79.89 kB / 0.4933 GB, free: 6.141 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00068/0.1269, allocations: 488.4 kB / 0.4938 GB, free: 5.613 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001636/0.1271, allocations: 94.47 kB / 0.4939 GB, free: 5.512 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.237e-05/0.1272, allocations: 32.84 kB / 0.4939 GB, free: 5.477 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.562e-05/0.1272, allocations: 4 kB / 0.4939 GB, free: 5.473 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.559e-05/0.1273, allocations: 46.44 kB / 0.4939 GB, free: 5.418 MB / 382.1 MB Notification: Performance of pre-optimization done (n=11): time 1.153e-06/0.1273, allocations: 0 / 0.4939 GB, free: 5.418 MB / 382.1 MB Notification: Performance of matching and sorting (n=17): time 0.0009223/0.1282, allocations: 384.5 kB / 0.4943 GB, free: 5.035 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.704e-05/0.1282, allocations: 51.41 kB / 0.4944 GB, free: 4.973 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005532/0.1288, allocations: 0.545 MB / 0.4949 GB, free: 4.418 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.128e-05/0.1288, allocations: 29.7 kB / 0.4949 GB, free: 4.383 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001345/0.129, allocations: 212.3 kB / 0.4951 GB, free: 4.172 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.438e-05/0.129, allocations: 59.44 kB / 0.4952 GB, free: 4.113 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.338e-05/0.1291, allocations: 37.7 kB / 0.4952 GB, free: 4.07 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001294/0.1292, allocations: 350.8 kB / 0.4955 GB, free: 3.719 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001139/0.1294, allocations: 43.98 kB / 0.4956 GB, free: 3.676 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001106/0.1295, allocations: 54.62 kB / 0.4956 GB, free: 3.625 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002276/0.1297, allocations: 132.7 kB / 0.4958 GB, free: 3.492 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.052e-06/0.1297, allocations: 0 / 0.4958 GB, free: 3.492 MB / 382.1 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0003457/0.1301, allocations: 192.2 kB / 0.4959 GB, free: 3.301 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.736e-05/0.1301, allocations: 4 kB / 0.4959 GB, free: 3.297 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.48e-06/0.1301, allocations: 0 / 0.4959 GB, free: 3.297 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.759e-05/0.1301, allocations: 0 / 0.4959 GB, free: 3.297 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001469/0.1303, allocations: 35.97 kB / 0.496 GB, free: 3.262 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.851e-06/0.1303, allocations: 0 / 0.496 GB, free: 3.262 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.988e-05/0.1304, allocations: 20 kB / 0.496 GB, free: 3.242 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.257e-05/0.1304, allocations: 7.984 kB / 0.496 GB, free: 3.234 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 (17): * Single equations (assignments): 17 * 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.0001596/0.1306, allocations: 185.6 kB / 0.4962 GB, free: 3.043 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.133e-05/0.1307, allocations: 39.72 kB / 0.4962 GB, free: 3.004 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004428/0.1311, allocations: 229.4 kB / 0.4964 GB, free: 2.773 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.279e-06/0.1311, allocations: 4 kB / 0.4964 GB, free: 2.77 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.079e-06/0.1311, allocations: 0 / 0.4964 GB, free: 2.77 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.306e-06/0.1311, allocations: 4 kB / 0.4965 GB, free: 2.766 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007615/0.1319, allocations: 0.6308 MB / 0.4971 GB, free: 2.078 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.787e-06/0.1319, allocations: 0 / 0.4971 GB, free: 2.078 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001119/0.1321, allocations: 35.92 kB / 0.4971 GB, free: 2.043 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.006e-06/0.1321, allocations: 0 / 0.4971 GB, free: 2.043 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.149e-05/0.1321, allocations: 4 kB / 0.4971 GB, free: 2.039 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.919e-06/0.1321, allocations: 7.938 kB / 0.4971 GB, free: 2.031 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.653e-06/0.1321, allocations: 0 / 0.4971 GB, free: 2.031 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003773/0.1325, allocations: 303.4 kB / 0.4974 GB, free: 1.723 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.137e-05/0.1326, allocations: 120.8 kB / 0.4975 GB, free: 1.586 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.64e-05/0.1326, allocations: 7.938 kB / 0.4975 GB, free: 1.578 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001034/0.1327, allocations: 11.94 kB / 0.4975 GB, free: 1.566 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.219e-05/0.1328, allocations: 11.97 kB / 0.4975 GB, free: 1.555 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.033e-05/0.1328, allocations: 12 kB / 0.4976 GB, free: 1.543 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0003867/0.1332, allocations: 411.1 kB / 0.498 GB, free: 1.145 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1332, allocations: 0 / 0.498 GB, free: 1.145 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0003127/0.1335, allocations: 51.92 kB / 0.498 GB, free: 1.094 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 (17): * Single equations (assignments): 17 * 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.00217/0.1357, allocations: 1.412 MB / 0.4994 GB, free: 15.7 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0003199/0.136, allocations: 127.8 kB / 0.4995 GB, free: 15.57 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.116e-06/0.1361, allocations: 0 / 0.4995 GB, free: 15.57 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001344/0.1362, allocations: 79.89 kB / 0.4996 GB, free: 15.49 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006009/0.1368, allocations: 73.38 kB / 0.4996 GB, free: 15.42 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003928/0.1408, allocations: 3.035 MB / 0.5026 GB, free: 12.3 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004517/0.1412, allocations: 0.8026 MB / 0.5034 GB, free: 11.47 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0001383/0.1414, allocations: 49.91 kB / 0.5034 GB, free: 11.42 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001627/0.1415, allocations: 127.4 kB / 0.5036 GB, free: 11.29 MB / 398.1 MB Notification: Performance of SimCode: time 3.21e-07/0.1416, allocations: 0 / 0.5036 GB, free: 11.29 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02852/0.1701, allocations: 7.251 MB / 0.5106 GB, free: 4.004 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.846/8.016, allocations: 20.03 kB / 0.5107 GB, free: 3.984 MB / 398.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test21.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test21.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test21.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test21.sim & python3 -m fmpy simulate --output-file ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test21_res.csv --start-time 0 --stop-time 6 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0024 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2D_Test21.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test21.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test21_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2D/Test21/Test21.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test21.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches