Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test25.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.Test25,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2D_Test25",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2D.Test25,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2D_Test25",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.001117/0.001117, allocations: 105.4 kB / 16.4 MB, free: 6.469 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.001135/0.001135, 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.344/1.344, 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.2189/0.2189, allocations: 43.52 MB / 314.1 MB, free: 444 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.001547/0.001547, allocations: 65.47 kB / 441.3 MB, free: 6.129 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1157/0.1172, allocations: 57.8 MB / 499.1 MB, free: 12.26 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2D.Test25): time 0.003244/0.1205, allocations: 1.619 MB / 0.489 GB, free: 10.63 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006345/0.1212, allocations: 307.6 kB / 0.4893 GB, free: 10.32 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.516e-05/0.1213, allocations: 0 / 0.4893 GB, free: 10.32 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002658/0.1215, allocations: 59.8 kB / 0.4894 GB, free: 10.27 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002195/0.1218, allocations: 47.75 kB / 0.4894 GB, free: 10.22 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003259/0.1221, allocations: 119.7 kB / 0.4895 GB, free: 10.1 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001515/0.1223, allocations: 71.77 kB / 0.4896 GB, free: 10.03 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001089/0.1224, allocations: 16.17 kB / 0.4896 GB, free: 10.02 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.042e-05/0.1225, allocations: 23.92 kB / 0.4896 GB, free: 9.992 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001098/0.1226, allocations: 43.81 kB / 0.4897 GB, free: 9.949 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.519e-05/0.1226, allocations: 4 kB / 0.4897 GB, free: 9.945 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.787e-05/0.1227, allocations: 36 kB / 0.4897 GB, free: 9.91 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 6.96e-05/0.1228, allocations: 19.92 kB / 0.4897 GB, free: 9.891 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 4.993e-05/0.1229, allocations: 31.8 kB / 0.4897 GB, free: 9.859 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002038/0.1231, allocations: 91.52 kB / 0.4898 GB, free: 9.77 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.709e-06/0.1231, allocations: 0 / 0.4898 GB, free: 9.77 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.704e-06/0.1231, allocations: 0 / 0.4898 GB, free: 9.77 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.382e-06/0.1231, allocations: 0 / 0.4898 GB, free: 9.77 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.00056/0.1237, allocations: 402.9 kB / 0.4902 GB, free: 9.328 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.402e-05/0.1237, allocations: 15.89 kB / 0.4902 GB, free: 9.312 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.86e-05/0.1238, allocations: 38.75 kB / 0.4903 GB, free: 9.266 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.582e-05/0.1238, allocations: 8.891 kB / 0.4903 GB, free: 9.258 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002058/0.124, allocations: 192.8 kB / 0.4905 GB, free: 9.031 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.19e-05/0.124, allocations: 7.938 kB / 0.4905 GB, free: 9.023 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.153e-05/0.1241, allocations: 0 / 0.4905 GB, free: 9.023 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000169/0.1242, allocations: 69.53 kB / 0.4905 GB, free: 8.949 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.154e-05/0.1243, allocations: 0 / 0.4905 GB, free: 8.949 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.386e-06/0.1243, allocations: 0 / 0.4905 GB, free: 8.949 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.432e-06/0.1243, allocations: 4 kB / 0.4905 GB, free: 8.945 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001353/0.1244, allocations: 39.95 kB / 0.4906 GB, free: 8.906 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003516/0.1248, allocations: 288.8 kB / 0.4909 GB, free: 8.574 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001224/0.1249, allocations: 42.5 kB / 0.4909 GB, free: 8.523 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.886e-05/0.125, allocations: 24.94 kB / 0.4909 GB, free: 8.496 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.572e-05/0.125, allocations: 4 kB / 0.4909 GB, free: 8.492 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.531e-05/0.1251, allocations: 38.55 kB / 0.491 GB, free: 8.445 MB / 382.1 MB Notification: Performance of pre-optimization done (n=4): time 1.122e-06/0.1251, allocations: 0 / 0.491 GB, free: 8.445 MB / 382.1 MB Notification: Performance of matching and sorting (n=7): time 0.0007613/0.1258, allocations: 205.2 kB / 0.4912 GB, free: 8.238 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.06e-05/0.1259, allocations: 55.41 kB / 0.4912 GB, free: 8.172 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000176/0.1261, allocations: 174.4 kB / 0.4914 GB, free: 7.988 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.354e-05/0.1261, allocations: 25.7 kB / 0.4914 GB, free: 7.957 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.803e-05/0.1262, allocations: 100.1 kB / 0.4915 GB, free: 7.855 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.408e-05/0.1262, allocations: 31.84 kB / 0.4915 GB, free: 7.824 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.833e-05/0.1262, allocations: 17.72 kB / 0.4915 GB, free: 7.801 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001038/0.1263, allocations: 322.8 kB / 0.4918 GB, free: 7.477 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001106/0.1265, allocations: 35.97 kB / 0.4919 GB, free: 7.441 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.781e-05/0.1266, allocations: 27.97 kB / 0.4919 GB, free: 7.414 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002217/0.1268, allocations: 76.75 kB / 0.492 GB, free: 7.336 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.02e-07/0.1268, allocations: 3.938 kB / 0.492 GB, free: 7.332 MB / 382.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002592/0.1271, allocations: 109.6 kB / 0.4921 GB, free: 7.219 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.891e-05/0.1271, allocations: 11.94 kB / 0.4921 GB, free: 7.207 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.86e-06/0.1271, allocations: 0 / 0.4921 GB, free: 7.207 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.543e-05/0.1271, allocations: 0 / 0.4921 GB, free: 7.207 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001233/0.1273, allocations: 23.98 kB / 0.4921 GB, free: 7.184 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.571e-06/0.1273, allocations: 0 / 0.4921 GB, free: 7.184 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.302e-05/0.1273, allocations: 7.984 kB / 0.4921 GB, free: 7.176 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.506e-06/0.1274, allocations: 4 kB / 0.4921 GB, free: 7.172 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 (7): * Single equations (assignments): 7 * 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.0001326/0.1275, allocations: 133.7 kB / 0.4923 GB, free: 7.031 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.994e-05/0.1275, allocations: 15.84 kB / 0.4923 GB, free: 7.016 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003286/0.1279, allocations: 126.3 kB / 0.4924 GB, free: 6.883 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.685e-06/0.1279, allocations: 0 / 0.4924 GB, free: 6.883 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.704e-06/0.1279, allocations: 4.281 kB / 0.4924 GB, free: 6.879 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.976e-06/0.1279, allocations: 3.938 kB / 0.4924 GB, free: 6.875 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005001/0.1284, allocations: 390.4 kB / 0.4928 GB, free: 6.438 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.653e-06/0.1284, allocations: 0 / 0.4928 GB, free: 6.438 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.104e-05/0.1285, allocations: 23.97 kB / 0.4928 GB, free: 6.414 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.665e-06/0.1285, allocations: 0 / 0.4928 GB, free: 6.414 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.008e-05/0.1286, allocations: 4 kB / 0.4928 GB, free: 6.41 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.116e-06/0.1286, allocations: 7.984 kB / 0.4928 GB, free: 6.402 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.193e-06/0.1286, allocations: 4 kB / 0.4928 GB, free: 6.398 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003047/0.1289, allocations: 215.8 kB / 0.493 GB, free: 6.172 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.675e-05/0.1289, allocations: 85.06 kB / 0.4931 GB, free: 6.07 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.81e-05/0.129, allocations: 0 / 0.4931 GB, free: 6.07 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.132e-05/0.1291, allocations: 15.98 kB / 0.4931 GB, free: 6.055 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.17e-05/0.1291, allocations: 11.98 kB / 0.4931 GB, free: 6.043 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.759e-06/0.1291, allocations: 0 / 0.4931 GB, free: 6.043 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001139/0.1293, allocations: 131.9 kB / 0.4933 GB, free: 5.914 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1293, allocations: 0 / 0.4933 GB, free: 5.914 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.000257/0.1295, allocations: 27.89 kB / 0.4933 GB, free: 5.887 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 (7): * Single equations (assignments): 7 * 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.001427/0.131, allocations: 1.05 MB / 0.4943 GB, free: 4.855 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0003028/0.1313, allocations: 75.89 kB / 0.4944 GB, free: 4.781 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.545e-06/0.1313, allocations: 0 / 0.4944 GB, free: 4.781 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001249/0.1314, allocations: 43.97 kB / 0.4944 GB, free: 4.738 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003994/0.1318, allocations: 15.98 kB / 0.4944 GB, free: 4.723 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002452/0.1343, allocations: 1.611 MB / 0.496 GB, free: 3.035 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004861/0.1348, allocations: 0.708 MB / 0.4967 GB, free: 2.301 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 8.647e-05/0.1349, allocations: 20.89 kB / 0.4967 GB, free: 2.281 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.517e-05/0.135, allocations: 23.44 kB / 0.4967 GB, free: 2.258 MB / 382.1 MB Notification: Performance of SimCode: time 1.052e-06/0.135, allocations: 0 / 0.4967 GB, free: 2.258 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02179/0.1568, allocations: 2.853 MB / 0.4995 GB, free: 15.39 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.643/7.8, allocations: 15.77 kB / 0.4995 GB, free: 15.37 MB / 398.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test25.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test25.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test25.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test25.sim & python3 -m fmpy simulate --output-file ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test25_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2D_Test25.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test25.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test25_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2D/Test25/Test25.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test25.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches