Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test1.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.Test1,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2Dv_Test1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test1,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2Dv_Test1",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.00134/0.00134, allocations: 104.7 kB / 16.41 MB, free: 6.457 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.001351/0.001351, 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.571/1.571, allocations: 205.1 MB / 223.2 MB, free: 12.21 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.2232/0.2232, allocations: 43.53 MB / 314.1 MB, free: 448 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.001973/0.001973, allocations: 69.45 kB / 441.3 MB, free: 6.141 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1198/0.1218, allocations: 57.8 MB / 499.1 MB, free: 12.27 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test1): time 0.003092/0.1249, allocations: 1.607 MB / 0.489 GB, free: 10.65 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007098/0.1256, allocations: 347.6 kB / 0.4893 GB, free: 10.31 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.325e-05/0.1257, allocations: 3.938 kB / 0.4893 GB, free: 10.3 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005415/0.1262, allocations: 451.2 kB / 0.4897 GB, free: 9.863 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000322/0.1266, allocations: 259.4 kB / 0.49 GB, free: 9.609 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003635/0.127, allocations: 151.7 kB / 0.4901 GB, free: 9.461 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002252/0.1272, allocations: 167.6 kB / 0.4903 GB, free: 9.297 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.048e-05/0.1273, allocations: 20.17 kB / 0.4903 GB, free: 9.277 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001055/0.1274, allocations: 107.8 kB / 0.4904 GB, free: 9.172 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002075/0.1276, allocations: 211.6 kB / 0.4906 GB, free: 8.965 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.899e-05/0.1276, allocations: 4 kB / 0.4906 GB, free: 8.961 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.397e-05/0.1277, allocations: 31.98 kB / 0.4907 GB, free: 8.93 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 8.291e-05/0.1278, allocations: 79.7 kB / 0.4907 GB, free: 8.852 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 8.565e-05/0.1279, allocations: 111 kB / 0.4908 GB, free: 8.742 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002909/0.1282, allocations: 266.5 kB / 0.4911 GB, free: 8.48 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.755e-06/0.1282, allocations: 0 / 0.4911 GB, free: 8.48 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.253e-06/0.1282, allocations: 0 / 0.4911 GB, free: 8.48 MB / 382.1 MB Notification: Performance of Transformations before backend: time 3.977e-06/0.1282, allocations: 4 kB / 0.4911 GB, free: 8.477 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.0006722/0.1289, allocations: 0.653 MB / 0.4917 GB, free: 7.773 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.858e-05/0.1289, allocations: 11.89 kB / 0.4917 GB, free: 7.762 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.583e-05/0.129, allocations: 34.73 kB / 0.4918 GB, free: 7.719 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.217e-05/0.1291, allocations: 48.61 kB / 0.4918 GB, free: 7.672 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002844/0.1293, allocations: 296.7 kB / 0.4921 GB, free: 7.34 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.478e-06/0.1294, allocations: 384 / 0.4921 GB, free: 7.34 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.121e-05/0.1294, allocations: 20.05 kB / 0.4921 GB, free: 7.32 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001264/0.1295, allocations: 57.67 kB / 0.4922 GB, free: 7.258 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.624e-06/0.1295, allocations: 0 / 0.4922 GB, free: 7.258 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.324e-06/0.1295, allocations: 4 kB / 0.4922 GB, free: 7.254 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.455e-06/0.1296, allocations: 0 / 0.4922 GB, free: 7.254 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.853e-05/0.1297, allocations: 23.98 kB / 0.4922 GB, free: 7.23 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004772/0.1301, allocations: 404.6 kB / 0.4926 GB, free: 6.785 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001594/0.1303, allocations: 50.55 kB / 0.4926 GB, free: 6.727 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.968e-05/0.1304, allocations: 12.86 kB / 0.4927 GB, free: 6.711 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.322e-05/0.1304, allocations: 4 kB / 0.4927 GB, free: 6.707 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.539e-05/0.1304, allocations: 34.64 kB / 0.4927 GB, free: 6.664 MB / 382.1 MB Notification: Performance of pre-optimization done (n=3): time 9.32e-07/0.1304, allocations: 0 / 0.4927 GB, free: 6.664 MB / 382.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005438/0.131, allocations: 240.7 kB / 0.4929 GB, free: 6.422 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.367e-05/0.131, allocations: 51.41 kB / 0.493 GB, free: 6.359 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008659/0.1319, allocations: 0.8691 MB / 0.4938 GB, free: 5.477 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.139e-05/0.1319, allocations: 25.7 kB / 0.4938 GB, free: 5.445 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001896/0.1321, allocations: 228 kB / 0.4941 GB, free: 5.219 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.686e-05/0.1321, allocations: 19.86 kB / 0.4941 GB, free: 5.199 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.425e-05/0.1322, allocations: 17.72 kB / 0.4941 GB, free: 5.176 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001908/0.1324, allocations: 358.8 kB / 0.4944 GB, free: 4.816 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.391e-05/0.1325, allocations: 27.92 kB / 0.4945 GB, free: 4.789 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.755e-05/0.1326, allocations: 23.92 kB / 0.4945 GB, free: 4.766 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001473/0.1327, allocations: 57.02 kB / 0.4945 GB, free: 4.707 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.02e-07/0.1327, allocations: 0 / 0.4945 GB, free: 4.707 MB / 382.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002321/0.133, allocations: 121.4 kB / 0.4947 GB, free: 4.582 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.431e-05/0.133, allocations: 8 kB / 0.4947 GB, free: 4.574 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.417e-06/0.133, allocations: 4 kB / 0.4947 GB, free: 4.57 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.31e-05/0.133, allocations: 0 / 0.4947 GB, free: 4.57 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.632e-05/0.1331, allocations: 11.98 kB / 0.4947 GB, free: 4.559 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.44e-06/0.1331, allocations: 7.938 kB / 0.4947 GB, free: 4.551 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.384e-05/0.1332, allocations: 4 kB / 0.4947 GB, free: 4.547 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.556e-06/0.1332, allocations: 4 kB / 0.4947 GB, free: 4.543 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.0002275/0.1334, allocations: 221.6 kB / 0.4949 GB, free: 4.316 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.893e-05/0.1335, allocations: 43.72 kB / 0.495 GB, free: 4.273 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003073/0.1338, allocations: 141.1 kB / 0.4951 GB, free: 4.129 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.345e-06/0.1338, allocations: 0 / 0.4951 GB, free: 4.129 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.721e-06/0.1338, allocations: 3.938 kB / 0.4951 GB, free: 4.125 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.086e-06/0.1338, allocations: 0 / 0.4951 GB, free: 4.125 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006065/0.1344, allocations: 470.4 kB / 0.4955 GB, free: 3.609 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.533e-06/0.1345, allocations: 0 / 0.4955 GB, free: 3.609 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.641e-05/0.1345, allocations: 15.98 kB / 0.4956 GB, free: 3.594 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.228e-06/0.1345, allocations: 3.938 kB / 0.4956 GB, free: 3.59 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.031e-05/0.1345, allocations: 4.188 kB / 0.4956 GB, free: 3.586 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.777e-06/0.1346, allocations: 4 kB / 0.4956 GB, free: 3.582 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.82e-07/0.1346, allocations: 0 / 0.4956 GB, free: 3.582 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002899/0.1349, allocations: 219.1 kB / 0.4958 GB, free: 3.352 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.558e-05/0.135, allocations: 116.8 kB / 0.4959 GB, free: 3.219 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.376e-05/0.135, allocations: 7.938 kB / 0.4959 GB, free: 3.211 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.606e-05/0.1351, allocations: 7.984 kB / 0.4959 GB, free: 3.203 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.397e-05/0.1351, allocations: 4 kB / 0.4959 GB, free: 3.199 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.552e-06/0.1351, allocations: 288 / 0.4959 GB, free: 3.199 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0006733/0.1358, allocations: 0.6628 MB / 0.4966 GB, free: 2.539 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.61e-07/0.1358, allocations: 0 / 0.4966 GB, free: 2.539 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002523/0.1361, allocations: 19.94 kB / 0.4966 GB, free: 2.52 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.002005/0.1381, allocations: 1.063 MB / 0.4976 GB, free: 1.473 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002203/0.1383, allocations: 55.91 kB / 0.4977 GB, free: 1.418 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.014e-06/0.1383, allocations: 0 / 0.4977 GB, free: 1.418 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 8.45e-05/0.1384, allocations: 31.97 kB / 0.4977 GB, free: 1.387 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004095/0.1388, allocations: 26.25 kB / 0.4977 GB, free: 1.359 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003975/0.1428, allocations: 3.25 MB / 0.5009 GB, free: 14.01 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005088/0.1434, allocations: 0.8221 MB / 0.5017 GB, free: 13.16 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 6.929e-05/0.1434, allocations: 15.97 kB / 0.5017 GB, free: 13.15 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001505/0.1436, allocations: 119.4 kB / 0.5018 GB, free: 13.03 MB / 398.1 MB Notification: Performance of SimCode: time 4e-07/0.1436, allocations: 0 / 0.5018 GB, free: 13.03 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02839/0.172, allocations: 6.021 MB / 0.5077 GB, free: 6.988 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.372/8.544, allocations: 19.8 kB / 0.5077 GB, free: 6.969 MB / 398.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test1.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test1.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test1.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test1.sim & python3 -m fmpy simulate --output-file ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test1_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_Test1.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test1.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test1_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2Dv/Test1/Test1.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches