Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test12.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.CombiTable2Dv.Test12,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2Dv_Test12",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test12,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2Dv_Test12",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.001657/0.001657, allocations: 107.8 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.001736/0.001736, 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.455/1.455, 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.206/0.206, allocations: 43.53 MB / 314.1 MB, free: 464 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.001427/0.001427, allocations: 67.91 kB / 441.3 MB, free: 6.16 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1184/0.1199, allocations: 57.79 MB / 499.1 MB, free: 12.3 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test12): time 0.003038/0.123, allocations: 1.62 MB / 0.489 GB, free: 10.66 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001545/0.1245, allocations: 0.9574 MB / 0.4899 GB, free: 9.699 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.68e-05/0.1246, allocations: 0 / 0.4899 GB, free: 9.699 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002443/0.1249, allocations: 27.78 kB / 0.49 GB, free: 9.672 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001849/0.1251, allocations: 47.77 kB / 0.49 GB, free: 9.625 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003716/0.1254, allocations: 155.7 kB / 0.4901 GB, free: 9.473 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001449/0.1256, allocations: 67.83 kB / 0.4902 GB, free: 9.406 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001071/0.1257, allocations: 19.97 kB / 0.4902 GB, free: 9.387 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.603e-05/0.1258, allocations: 31.86 kB / 0.4903 GB, free: 9.355 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001487/0.1259, allocations: 31.84 kB / 0.4903 GB, free: 9.324 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.051e-05/0.126, allocations: 4 kB / 0.4903 GB, free: 9.32 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001071/0.1261, allocations: 51.97 kB / 0.4903 GB, free: 9.27 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 5.84e-05/0.1261, allocations: 19.92 kB / 0.4904 GB, free: 9.25 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 4.25e-05/0.1262, allocations: 27.8 kB / 0.4904 GB, free: 9.223 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002036/0.1264, allocations: 99.62 kB / 0.4905 GB, free: 9.125 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.338e-06/0.1264, allocations: 0 / 0.4905 GB, free: 9.125 MB / 382.1 MB Notification: Performance of FrontEnd: time 4.558e-06/0.1264, allocations: 0 / 0.4905 GB, free: 9.125 MB / 382.1 MB Notification: Performance of Transformations before backend: time 9.507e-06/0.1264, allocations: 3.938 kB / 0.4905 GB, free: 9.121 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.0005423/0.127, allocations: 406.9 kB / 0.4909 GB, free: 8.676 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.27e-05/0.127, allocations: 15.89 kB / 0.4909 GB, free: 8.66 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.324e-05/0.1271, allocations: 30.75 kB / 0.4909 GB, free: 8.621 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.095e-05/0.1271, allocations: 8.891 kB / 0.4909 GB, free: 8.613 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002104/0.1273, allocations: 188.2 kB / 0.4911 GB, free: 8.391 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.215e-05/0.1273, allocations: 8.375 kB / 0.4911 GB, free: 8.383 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.204e-05/0.1274, allocations: 384 / 0.4911 GB, free: 8.383 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001917/0.1276, allocations: 87.25 kB / 0.4912 GB, free: 8.285 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.202e-05/0.1276, allocations: 0 / 0.4912 GB, free: 8.285 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.053e-05/0.1276, allocations: 0 / 0.4912 GB, free: 8.285 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.617e-06/0.1276, allocations: 4 kB / 0.4912 GB, free: 8.281 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001326/0.1278, allocations: 35.97 kB / 0.4912 GB, free: 8.246 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004392/0.1282, allocations: 304.8 kB / 0.4915 GB, free: 7.898 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001333/0.1284, allocations: 58.48 kB / 0.4916 GB, free: 7.832 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.097e-05/0.1284, allocations: 24.94 kB / 0.4916 GB, free: 7.805 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.086e-05/0.1285, allocations: 0 / 0.4916 GB, free: 7.805 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.712e-05/0.1285, allocations: 38.56 kB / 0.4916 GB, free: 7.758 MB / 382.1 MB Notification: Performance of pre-optimization done (n=4): time 8.52e-07/0.1285, allocations: 0 / 0.4916 GB, free: 7.758 MB / 382.1 MB Notification: Performance of matching and sorting (n=7): time 0.0007703/0.1293, allocations: 229.2 kB / 0.4919 GB, free: 7.527 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.028e-05/0.1293, allocations: 77.11 kB / 0.4919 GB, free: 7.434 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00015/0.1295, allocations: 156.3 kB / 0.4921 GB, free: 7.273 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.278e-05/0.1295, allocations: 25.7 kB / 0.4921 GB, free: 7.242 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.609e-05/0.1296, allocations: 100.1 kB / 0.4922 GB, free: 7.141 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.276e-05/0.1296, allocations: 31.72 kB / 0.4922 GB, free: 7.109 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.888e-05/0.1297, allocations: 17.72 kB / 0.4923 GB, free: 7.086 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001114/0.1298, allocations: 322.8 kB / 0.4926 GB, free: 6.762 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001163/0.1299, allocations: 31.97 kB / 0.4926 GB, free: 6.73 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001185/0.13, allocations: 57.62 kB / 0.4926 GB, free: 6.668 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002153/0.1303, allocations: 92.83 kB / 0.4927 GB, free: 6.574 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.133e-06/0.1303, allocations: 4 kB / 0.4927 GB, free: 6.57 MB / 382.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002696/0.1306, allocations: 121.6 kB / 0.4929 GB, free: 6.445 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.371e-05/0.1306, allocations: 4 kB / 0.4929 GB, free: 6.441 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.903e-06/0.1306, allocations: 8 kB / 0.4929 GB, free: 6.434 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.57e-05/0.1306, allocations: 0 / 0.4929 GB, free: 6.434 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001135/0.1307, allocations: 15.98 kB / 0.4929 GB, free: 6.418 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.616e-06/0.1307, allocations: 7.938 kB / 0.4929 GB, free: 6.41 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.296e-05/0.1308, allocations: 7.984 kB / 0.4929 GB, free: 6.402 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.325e-06/0.1308, allocations: 4 kB / 0.4929 GB, free: 6.398 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 8.725e-05/0.1309, allocations: 125.7 kB / 0.493 GB, free: 6.266 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.476e-05/0.131, allocations: 7.953 kB / 0.493 GB, free: 6.258 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003274/0.1313, allocations: 142.3 kB / 0.4932 GB, free: 6.109 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.625e-06/0.1313, allocations: 0 / 0.4932 GB, free: 6.109 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.5e-06/0.1313, allocations: 3.938 kB / 0.4932 GB, free: 6.105 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.485e-06/0.1313, allocations: 0 / 0.4932 GB, free: 6.105 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005203/0.1319, allocations: 414.4 kB / 0.4936 GB, free: 5.645 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.282e-06/0.1319, allocations: 0 / 0.4936 GB, free: 5.645 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.311e-05/0.132, allocations: 23.97 kB / 0.4936 GB, free: 5.621 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.681e-06/0.132, allocations: 3.938 kB / 0.4936 GB, free: 5.617 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.684e-06/0.132, allocations: 0 / 0.4936 GB, free: 5.617 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.292e-06/0.132, allocations: 0 / 0.4936 GB, free: 5.617 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.21e-07/0.132, allocations: 0 / 0.4936 GB, free: 5.617 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003432/0.1323, allocations: 231.8 kB / 0.4938 GB, free: 5.375 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.547e-05/0.1324, allocations: 85.06 kB / 0.4939 GB, free: 5.273 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.226e-05/0.1324, allocations: 3.938 kB / 0.4939 GB, free: 5.27 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.885e-05/0.1325, allocations: 15.98 kB / 0.4939 GB, free: 5.254 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.402e-05/0.1326, allocations: 11.92 kB / 0.4939 GB, free: 5.242 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.488e-06/0.1326, allocations: 0 / 0.4939 GB, free: 5.242 MB / 382.1 MB Notification: Performance of sorting global known variables: time 8.834e-05/0.1327, allocations: 107.3 kB / 0.494 GB, free: 5.137 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.1327, allocations: 4 kB / 0.494 GB, free: 5.133 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002635/0.133, allocations: 27.92 kB / 0.4941 GB, free: 5.105 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.00152/0.1345, allocations: 1.103 MB / 0.4951 GB, free: 4.027 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0003171/0.1348, allocations: 87.88 kB / 0.4952 GB, free: 3.941 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.324e-06/0.1348, allocations: 0 / 0.4952 GB, free: 3.941 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001277/0.135, allocations: 51.95 kB / 0.4953 GB, free: 3.891 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003753/0.1354, allocations: 15.98 kB / 0.4953 GB, free: 3.875 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002028/0.1374, allocations: 1.585 MB / 0.4968 GB, free: 2.211 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003353/0.1377, allocations: 0.7041 MB / 0.4975 GB, free: 1.48 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0001099/0.1379, allocations: 25.09 kB / 0.4975 GB, free: 1.457 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.555e-05/0.138, allocations: 27.42 kB / 0.4976 GB, free: 1.43 MB / 382.1 MB Notification: Performance of SimCode: time 4.6e-07/0.138, allocations: 0 / 0.4976 GB, free: 1.43 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02102/0.159, allocations: 3.123 MB / 0.5006 GB, free: 14.23 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.55/7.709, allocations: 12.06 kB / 0.5006 GB, free: 14.22 MB / 398.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test12.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test12.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test12.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test12.sim & python3 -m fmpy simulate --output-file ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test12_res.csv --start-time 0 --stop-time 60 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.024 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2Dv_Test12.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test12.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test12_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2Dv/Test12/Test12.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test12.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches