Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test3.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.Test3,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2Dv_Test3",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test3,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2Dv_Test3",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.001651/0.001651, allocations: 107.2 kB / 16.41 MB, free: 6.516 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.001917/0.001917, allocations: 189.5 kB / 17.34 MB, free: 5.738 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.513/1.513, allocations: 205.1 MB / 223.2 MB, free: 12.23 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.2043/0.2043, allocations: 43.52 MB / 314.1 MB, free: 456 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.002503/0.002503, allocations: 65.8 kB / 441.3 MB, free: 6.152 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1204/0.1229, allocations: 57.8 MB / 499.1 MB, free: 12.28 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test3): time 0.003396/0.1263, allocations: 1.612 MB / 0.489 GB, free: 10.66 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007634/0.1271, allocations: 355.5 kB / 0.4893 GB, free: 10.3 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.921e-05/0.1272, allocations: 0 / 0.4893 GB, free: 10.3 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006125/0.1279, allocations: 455.1 kB / 0.4898 GB, free: 9.859 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003968/0.1283, allocations: 251.5 kB / 0.49 GB, free: 9.613 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004717/0.1288, allocations: 155.7 kB / 0.4902 GB, free: 9.461 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003028/0.1291, allocations: 171.6 kB / 0.4903 GB, free: 9.293 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001236/0.1292, allocations: 23.97 kB / 0.4903 GB, free: 9.27 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001696/0.1294, allocations: 111.8 kB / 0.4904 GB, free: 9.16 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002485/0.1297, allocations: 211.6 kB / 0.4906 GB, free: 8.953 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.213e-05/0.1297, allocations: 0 / 0.4906 GB, free: 8.953 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001087/0.1298, allocations: 39.98 kB / 0.4907 GB, free: 8.914 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001086/0.1299, allocations: 79.69 kB / 0.4908 GB, free: 8.836 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 9.533e-05/0.13, allocations: 106.9 kB / 0.4909 GB, free: 8.73 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003722/0.1304, allocations: 266.6 kB / 0.4911 GB, free: 8.469 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.04e-06/0.1304, allocations: 0 / 0.4911 GB, free: 8.469 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.004e-06/0.1304, allocations: 8 kB / 0.4911 GB, free: 8.461 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.523e-05/0.1304, allocations: 0 / 0.4911 GB, free: 8.461 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.0007953/0.1312, allocations: 0.6607 MB / 0.4918 GB, free: 7.75 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.26e-05/0.1313, allocations: 11.89 kB / 0.4918 GB, free: 7.738 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.468e-05/0.1313, allocations: 34.75 kB / 0.4918 GB, free: 7.695 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.715e-05/0.1314, allocations: 40.66 kB / 0.4919 GB, free: 7.656 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002776/0.1317, allocations: 304.6 kB / 0.4921 GB, free: 7.316 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.207e-05/0.1317, allocations: 8.312 kB / 0.4922 GB, free: 7.309 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.53e-05/0.1317, allocations: 4.375 kB / 0.4922 GB, free: 7.305 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001809/0.1319, allocations: 73.53 kB / 0.4922 GB, free: 7.227 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.591e-05/0.132, allocations: 3.984 kB / 0.4922 GB, free: 7.223 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.077e-05/0.132, allocations: 0 / 0.4922 GB, free: 7.223 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.254e-06/0.132, allocations: 4 kB / 0.4922 GB, free: 7.219 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001377/0.1321, allocations: 35.97 kB / 0.4923 GB, free: 7.184 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005261/0.1327, allocations: 396.7 kB / 0.4926 GB, free: 6.746 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001254/0.1328, allocations: 54.5 kB / 0.4927 GB, free: 6.684 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.266e-05/0.1329, allocations: 24.94 kB / 0.4927 GB, free: 6.656 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.376e-05/0.1329, allocations: 4.062 kB / 0.4927 GB, free: 6.652 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.466e-05/0.133, allocations: 38.55 kB / 0.4928 GB, free: 6.605 MB / 382.1 MB Notification: Performance of pre-optimization done (n=4): time 1.072e-06/0.133, allocations: 0 / 0.4928 GB, free: 6.605 MB / 382.1 MB Notification: Performance of matching and sorting (n=7): time 0.0009053/0.1339, allocations: 308.8 kB / 0.4931 GB, free: 6.297 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.322e-05/0.1339, allocations: 55.41 kB / 0.4931 GB, free: 6.23 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008175/0.1347, allocations: 0.8652 MB / 0.494 GB, free: 5.352 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.496e-05/0.1348, allocations: 25.7 kB / 0.494 GB, free: 5.32 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000157/0.1349, allocations: 224 kB / 0.4942 GB, free: 5.098 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.943e-05/0.135, allocations: 19.8 kB / 0.4942 GB, free: 5.078 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.107e-05/0.135, allocations: 21.7 kB / 0.4942 GB, free: 5.051 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001485/0.1352, allocations: 366.7 kB / 0.4946 GB, free: 4.684 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001204/0.1353, allocations: 35.97 kB / 0.4946 GB, free: 4.648 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001102/0.1354, allocations: 39.95 kB / 0.4947 GB, free: 4.609 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002233/0.1357, allocations: 92.73 kB / 0.4947 GB, free: 4.516 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.052e-06/0.1357, allocations: 0 / 0.4947 GB, free: 4.516 MB / 382.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003248/0.136, allocations: 153.3 kB / 0.4949 GB, free: 4.359 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.648e-05/0.136, allocations: 4 kB / 0.4949 GB, free: 4.355 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.2e-06/0.136, allocations: 48 / 0.4949 GB, free: 4.355 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.611e-05/0.1361, allocations: 11.98 kB / 0.4949 GB, free: 4.344 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001188/0.1362, allocations: 23.97 kB / 0.4949 GB, free: 4.32 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.132e-06/0.1362, allocations: 0 / 0.4949 GB, free: 4.32 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.038e-05/0.1363, allocations: 11.94 kB / 0.4949 GB, free: 4.309 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.586e-06/0.1363, allocations: 0 / 0.4949 GB, free: 4.309 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.0001819/0.1365, allocations: 225.6 kB / 0.4952 GB, free: 4.078 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.49e-05/0.1366, allocations: 43.67 kB / 0.4952 GB, free: 4.035 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003717/0.1369, allocations: 185.4 kB / 0.4954 GB, free: 3.844 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.669e-06/0.1369, allocations: 3.984 kB / 0.4954 GB, free: 3.84 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.921e-06/0.137, allocations: 0 / 0.4954 GB, free: 3.84 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.618e-06/0.137, allocations: 7.875 kB / 0.4954 GB, free: 3.832 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006657/0.1376, allocations: 0.5023 MB / 0.4959 GB, free: 3.273 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.245e-06/0.1377, allocations: 4 kB / 0.4959 GB, free: 3.27 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.386e-05/0.1377, allocations: 23.97 kB / 0.4959 GB, free: 3.246 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.745e-06/0.1378, allocations: 0 / 0.4959 GB, free: 3.246 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.416e-05/0.1378, allocations: 7.938 kB / 0.4959 GB, free: 3.238 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.214e-06/0.1378, allocations: 480 / 0.4959 GB, free: 3.238 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.82e-07/0.1378, allocations: 0 / 0.4959 GB, free: 3.238 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003701/0.1382, allocations: 263.1 kB / 0.4962 GB, free: 2.965 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.371e-05/0.1383, allocations: 108.8 kB / 0.4963 GB, free: 2.84 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.358e-05/0.1383, allocations: 7.938 kB / 0.4963 GB, free: 2.832 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001056/0.1384, allocations: 7.984 kB / 0.4963 GB, free: 2.824 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.189e-05/0.1385, allocations: 11.98 kB / 0.4963 GB, free: 2.812 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.16e-06/0.1385, allocations: 0 / 0.4963 GB, free: 2.812 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0006046/0.1391, allocations: 0.6472 MB / 0.4969 GB, free: 2.168 MB / 382.1 MB Notification: Performance of sort global known variables: time 2.2e-07/0.1391, allocations: 4 kB / 0.4969 GB, free: 2.164 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002688/0.1394, allocations: 35.94 kB / 0.497 GB, free: 2.129 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.001425/0.1408, allocations: 1.088 MB / 0.498 GB, free: 1.059 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0003021/0.1411, allocations: 95.92 kB / 0.4981 GB, free: 0.9648 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.984e-06/0.1411, allocations: 0 / 0.4981 GB, free: 0.9648 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001229/0.1413, allocations: 47.91 kB / 0.4982 GB, free: 0.918 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004067/0.1417, allocations: 29.83 kB / 0.4982 GB, free: 0.8867 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003696/0.1454, allocations: 3.346 MB / 0.5015 GB, free: 13.45 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003777/0.1458, allocations: 0.826 MB / 0.5023 GB, free: 12.6 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 8.62e-05/0.1459, allocations: 24.95 kB / 0.5023 GB, free: 12.58 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001326/0.146, allocations: 123.3 kB / 0.5024 GB, free: 12.46 MB / 398.1 MB Notification: Performance of SimCode: time 6.11e-07/0.146, allocations: 0 / 0.5024 GB, free: 12.46 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02313/0.1692, allocations: 6.173 MB / 0.5084 GB, free: 6.262 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.081/8.25, allocations: 15.81 kB / 0.5084 GB, free: 6.246 MB / 398.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test3.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test3.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test3.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test3.sim & python3 -m fmpy simulate --output-file ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test3_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_Test3.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test3.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test3_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2Dv/Test3/Test3.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test3.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches