Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test30.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.Test30,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2Dv_Test30",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test30,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2Dv_Test30",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.002038/0.002038, allocations: 104.8 kB / 16.4 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.002103/0.002103, allocations: 192.2 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.504/1.504, 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.2317/0.2317, allocations: 43.52 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.002059/0.002059, allocations: 69.61 kB / 441.3 MB, free: 6.145 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1239/0.126, allocations: 57.79 MB / 499.1 MB, free: 12.28 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test30): time 0.003318/0.1293, allocations: 1.612 MB / 0.489 GB, free: 10.66 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.000697/0.1301, allocations: 335.6 kB / 0.4893 GB, free: 10.32 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.469e-05/0.1301, allocations: 7.938 kB / 0.4893 GB, free: 10.32 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003143/0.1305, allocations: 75.77 kB / 0.4894 GB, free: 10.24 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002069/0.1307, allocations: 63.73 kB / 0.4894 GB, free: 10.18 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004026/0.1311, allocations: 155.6 kB / 0.4896 GB, free: 10.03 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001704/0.1313, allocations: 79.77 kB / 0.4897 GB, free: 9.949 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000108/0.1314, allocations: 23.97 kB / 0.4897 GB, free: 9.926 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.961e-05/0.1315, allocations: 35.89 kB / 0.4897 GB, free: 9.891 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001166/0.1316, allocations: 55.81 kB / 0.4898 GB, free: 9.836 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.739e-05/0.1316, allocations: 4 kB / 0.4898 GB, free: 9.832 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.968e-05/0.1317, allocations: 31.94 kB / 0.4898 GB, free: 9.801 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 7.138e-05/0.1318, allocations: 23.91 kB / 0.4898 GB, free: 9.777 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 5.265e-05/0.1319, allocations: 31.75 kB / 0.4899 GB, free: 9.746 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002076/0.1321, allocations: 107.5 kB / 0.49 GB, free: 9.641 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.928e-06/0.1321, allocations: 4 kB / 0.49 GB, free: 9.637 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.943e-06/0.1321, allocations: 0 / 0.49 GB, free: 9.637 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.274e-05/0.1321, allocations: 0 / 0.49 GB, free: 9.637 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.0006342/0.1327, allocations: 418.7 kB / 0.4904 GB, free: 9.18 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.733e-05/0.1328, allocations: 15.89 kB / 0.4904 GB, free: 9.164 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.076e-05/0.1328, allocations: 34.75 kB / 0.4904 GB, free: 9.121 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.372e-05/0.1329, allocations: 8.891 kB / 0.4904 GB, free: 9.113 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002346/0.1331, allocations: 212.8 kB / 0.4906 GB, free: 8.867 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.561e-05/0.1332, allocations: 8.359 kB / 0.4906 GB, free: 8.859 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.452e-05/0.1332, allocations: 8.375 kB / 0.4907 GB, free: 8.852 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001902/0.1334, allocations: 57.61 kB / 0.4907 GB, free: 8.789 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.526e-05/0.1334, allocations: 4 kB / 0.4907 GB, free: 8.785 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.568e-05/0.1334, allocations: 7.984 kB / 0.4907 GB, free: 8.777 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.919e-06/0.1334, allocations: 3.938 kB / 0.4907 GB, free: 8.773 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001443/0.1336, allocations: 35.97 kB / 0.4908 GB, free: 8.738 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000526/0.1341, allocations: 320.7 kB / 0.4911 GB, free: 8.375 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001707/0.1343, allocations: 42.56 kB / 0.4911 GB, free: 8.324 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.397e-05/0.1344, allocations: 24.94 kB / 0.4911 GB, free: 8.297 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.782e-05/0.1344, allocations: 4 kB / 0.4911 GB, free: 8.293 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.047e-05/0.1345, allocations: 30.56 kB / 0.4912 GB, free: 8.254 MB / 382.1 MB Notification: Performance of pre-optimization done (n=4): time 1.273e-06/0.1345, allocations: 4 kB / 0.4912 GB, free: 8.25 MB / 382.1 MB Notification: Performance of matching and sorting (n=7): time 0.0008634/0.1354, allocations: 237.2 kB / 0.4914 GB, free: 8.012 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.417e-05/0.1354, allocations: 51.41 kB / 0.4914 GB, free: 7.949 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002406/0.1357, allocations: 220.3 kB / 0.4916 GB, free: 7.727 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.022e-05/0.1357, allocations: 29.64 kB / 0.4917 GB, free: 7.691 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.583e-05/0.1358, allocations: 108.1 kB / 0.4918 GB, free: 7.582 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.186e-05/0.1358, allocations: 23.8 kB / 0.4918 GB, free: 7.559 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.236e-05/0.1359, allocations: 25.7 kB / 0.4918 GB, free: 7.527 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001915/0.1361, allocations: 322.8 kB / 0.4921 GB, free: 7.203 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001241/0.1362, allocations: 39.91 kB / 0.4922 GB, free: 7.164 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001215/0.1363, allocations: 40.05 kB / 0.4922 GB, free: 7.125 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002449/0.1366, allocations: 88.94 kB / 0.4923 GB, free: 7.035 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.112e-06/0.1366, allocations: 0 / 0.4923 GB, free: 7.035 MB / 382.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003343/0.1369, allocations: 133.5 kB / 0.4924 GB, free: 6.898 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.645e-05/0.137, allocations: 8 kB / 0.4924 GB, free: 6.891 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.879e-06/0.137, allocations: 0 / 0.4924 GB, free: 6.891 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.402e-05/0.137, allocations: 0 / 0.4924 GB, free: 6.891 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001304/0.1371, allocations: 23.92 kB / 0.4925 GB, free: 6.867 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.885e-06/0.1371, allocations: 4 kB / 0.4925 GB, free: 6.863 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.595e-05/0.1372, allocations: 15.92 kB / 0.4925 GB, free: 6.848 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.654e-06/0.1372, allocations: 0 / 0.4925 GB, free: 6.848 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.0001212/0.1374, allocations: 133.8 kB / 0.4926 GB, free: 6.707 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.406e-05/0.1374, allocations: 11.95 kB / 0.4926 GB, free: 6.695 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003729/0.1378, allocations: 143 kB / 0.4927 GB, free: 6.543 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.855e-06/0.1378, allocations: 0 / 0.4927 GB, free: 6.543 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.318e-06/0.1378, allocations: 0 / 0.4927 GB, free: 6.543 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.923e-06/0.1378, allocations: 3.938 kB / 0.4928 GB, free: 6.539 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006316/0.1385, allocations: 426.4 kB / 0.4932 GB, free: 6.066 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.144e-06/0.1385, allocations: 0 / 0.4932 GB, free: 6.066 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.697e-05/0.1386, allocations: 19.98 kB / 0.4932 GB, free: 6.047 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.184e-06/0.1386, allocations: 0 / 0.4932 GB, free: 6.047 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.118e-05/0.1386, allocations: 3.938 kB / 0.4932 GB, free: 6.043 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.254e-06/0.1386, allocations: 4 kB / 0.4932 GB, free: 6.039 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.153e-06/0.1386, allocations: 3.938 kB / 0.4932 GB, free: 6.035 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003637/0.139, allocations: 219.4 kB / 0.4934 GB, free: 5.805 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.054e-05/0.139, allocations: 89.02 kB / 0.4935 GB, free: 5.699 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.337e-05/0.1391, allocations: 7.922 kB / 0.4935 GB, free: 5.691 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.918e-05/0.1392, allocations: 8 kB / 0.4935 GB, free: 5.684 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.804e-05/0.1392, allocations: 8.266 kB / 0.4935 GB, free: 5.676 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.814e-06/0.1392, allocations: 4 kB / 0.4935 GB, free: 5.672 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001554/0.1394, allocations: 163.5 kB / 0.4937 GB, free: 5.512 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1394, allocations: 0 / 0.4937 GB, free: 5.512 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002475/0.1397, allocations: 23.98 kB / 0.4937 GB, free: 5.488 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.002086/0.1417, allocations: 1.065 MB / 0.4947 GB, free: 4.438 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0003328/0.1421, allocations: 91.91 kB / 0.4948 GB, free: 4.348 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.215e-06/0.1421, allocations: 4 kB / 0.4948 GB, free: 4.344 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001536/0.1423, allocations: 47.91 kB / 0.4949 GB, free: 4.297 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003886/0.1427, allocations: 15.89 kB / 0.4949 GB, free: 4.281 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002456/0.1451, allocations: 1.768 MB / 0.4966 GB, free: 2.434 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004119/0.1456, allocations: 0.7158 MB / 0.4973 GB, free: 1.691 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 9.047e-05/0.1457, allocations: 20.66 kB / 0.4973 GB, free: 1.668 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.271e-05/0.1457, allocations: 31.42 kB / 0.4974 GB, free: 1.641 MB / 382.1 MB Notification: Performance of SimCode: time 3.2e-07/0.1458, allocations: 0 / 0.4974 GB, free: 1.641 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02554/0.1713, allocations: 3.113 MB / 0.5004 GB, free: 14.51 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.834/8.005, allocations: 8 kB / 0.5004 GB, free: 14.5 MB / 398.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test30.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test30.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test30.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test30.sim & python3 -m fmpy simulate --output-file ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test30_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_CombiTable2Dv_Test30.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test30.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test30_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2Dv/Test30/Test30.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test30.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches