Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test26.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.CombiTable1D.Test26,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable1D_Test26",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1D.Test26,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable1D_Test26",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.002018/0.002018, allocations: 108.1 kB / 16.41 MB, free: 6.508 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.002014/0.002014, allocations: 192.2 kB / 17.34 MB, free: 5.742 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.701/1.701, 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.2319/0.2319, allocations: 43.53 MB / 314.1 MB, free: 440 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.001511/0.001512, allocations: 73.98 kB / 441.3 MB, free: 6.129 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1266/0.1281, allocations: 57.79 MB / 499.1 MB, free: 12.26 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1D.Test26): time 0.00376/0.132, allocations: 1.558 MB / 0.4889 GB, free: 10.7 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007172/0.1327, allocations: 331.5 kB / 0.4892 GB, free: 10.37 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.821e-05/0.1328, allocations: 3.938 kB / 0.4892 GB, free: 10.37 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002841/0.1331, allocations: 75.78 kB / 0.4893 GB, free: 10.29 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000238/0.1334, allocations: 63.8 kB / 0.4894 GB, free: 10.23 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003125/0.1337, allocations: 95.73 kB / 0.4895 GB, free: 10.14 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001717/0.1339, allocations: 59.89 kB / 0.4895 GB, free: 10.08 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001068/0.134, allocations: 19.98 kB / 0.4895 GB, free: 10.06 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.044e-05/0.1341, allocations: 39.83 kB / 0.4896 GB, free: 10.02 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001126/0.1342, allocations: 47.83 kB / 0.4896 GB, free: 9.973 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.805e-05/0.1342, allocations: 4 kB / 0.4896 GB, free: 9.969 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.702e-05/0.1343, allocations: 27.98 kB / 0.4897 GB, free: 9.941 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 5.123e-05/0.1344, allocations: 19.92 kB / 0.4897 GB, free: 9.922 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 4.319e-05/0.1344, allocations: 27.75 kB / 0.4897 GB, free: 9.895 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001955/0.1346, allocations: 95.7 kB / 0.4898 GB, free: 9.801 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.498e-06/0.1346, allocations: 0 / 0.4898 GB, free: 9.801 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.633e-06/0.1347, allocations: 0 / 0.4898 GB, free: 9.801 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.813e-06/0.1347, allocations: 0 / 0.4898 GB, free: 9.801 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.000504/0.1352, allocations: 398.9 kB / 0.4902 GB, free: 9.363 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.399e-05/0.1352, allocations: 15.89 kB / 0.4902 GB, free: 9.348 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.97e-05/0.1353, allocations: 38.73 kB / 0.4902 GB, free: 9.301 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.026e-05/0.1353, allocations: 8.844 kB / 0.4902 GB, free: 9.293 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001859/0.1355, allocations: 184.2 kB / 0.4904 GB, free: 9.074 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.088e-05/0.1355, allocations: 8.375 kB / 0.4904 GB, free: 9.066 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.82e-05/0.1356, allocations: 384 / 0.4904 GB, free: 9.066 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001423/0.1357, allocations: 53.61 kB / 0.4905 GB, free: 9.008 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.177e-05/0.1357, allocations: 0 / 0.4905 GB, free: 9.008 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.955e-06/0.1357, allocations: 0 / 0.4905 GB, free: 9.008 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.987e-06/0.1357, allocations: 0 / 0.4905 GB, free: 9.008 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.219e-05/0.1358, allocations: 27.92 kB / 0.4905 GB, free: 8.98 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004081/0.1363, allocations: 292.8 kB / 0.4908 GB, free: 8.645 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002239/0.1365, allocations: 46.5 kB / 0.4908 GB, free: 8.59 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.596e-05/0.1366, allocations: 20.94 kB / 0.4908 GB, free: 8.566 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.959e-05/0.1366, allocations: 0 / 0.4908 GB, free: 8.566 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.293e-05/0.1366, allocations: 34.5 kB / 0.4909 GB, free: 8.523 MB / 382.1 MB Notification: Performance of pre-optimization done (n=3): time 1.232e-06/0.1366, allocations: 0 / 0.4909 GB, free: 8.523 MB / 382.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005864/0.1372, allocations: 157.2 kB / 0.491 GB, free: 8.363 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.707e-05/0.1373, allocations: 59.34 kB / 0.4911 GB, free: 8.293 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001859/0.1375, allocations: 202.2 kB / 0.4913 GB, free: 8.086 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.441e-05/0.1375, allocations: 25.7 kB / 0.4913 GB, free: 8.055 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.801e-05/0.1375, allocations: 100.1 kB / 0.4914 GB, free: 7.953 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.347e-05/0.1376, allocations: 23.66 kB / 0.4914 GB, free: 7.93 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.731e-05/0.1376, allocations: 17.72 kB / 0.4914 GB, free: 7.906 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001236/0.1378, allocations: 322.8 kB / 0.4917 GB, free: 7.582 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.151e-05/0.1378, allocations: 23.92 kB / 0.4918 GB, free: 7.559 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.778e-05/0.1379, allocations: 28.05 kB / 0.4918 GB, free: 7.531 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001364/0.1381, allocations: 52.81 kB / 0.4918 GB, free: 7.477 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.71e-07/0.1381, allocations: 0 / 0.4918 GB, free: 7.477 MB / 382.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001917/0.1383, allocations: 93.52 kB / 0.4919 GB, free: 7.379 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.469e-05/0.1383, allocations: 4 kB / 0.4919 GB, free: 7.375 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.688e-06/0.1383, allocations: 0 / 0.4919 GB, free: 7.375 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.285e-05/0.1383, allocations: 0 / 0.4919 GB, free: 7.375 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.337e-05/0.1384, allocations: 15.98 kB / 0.492 GB, free: 7.359 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.591e-06/0.1384, allocations: 0 / 0.492 GB, free: 7.359 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.84e-05/0.1385, allocations: 4 kB / 0.492 GB, free: 7.355 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.406e-06/0.1385, allocations: 7.922 kB / 0.492 GB, free: 7.348 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 9.786e-05/0.1386, allocations: 133.8 kB / 0.4921 GB, free: 7.207 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.304e-05/0.1386, allocations: 7.906 kB / 0.4921 GB, free: 7.199 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002369/0.1389, allocations: 101.9 kB / 0.4922 GB, free: 7.09 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.034e-06/0.1389, allocations: 0 / 0.4922 GB, free: 7.09 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.987e-06/0.1389, allocations: 0 / 0.4922 GB, free: 7.09 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.035e-06/0.1389, allocations: 288 / 0.4922 GB, free: 7.09 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004295/0.1393, allocations: 358.8 kB / 0.4925 GB, free: 6.684 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.623e-06/0.1393, allocations: 64 / 0.4925 GB, free: 6.684 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.29e-05/0.1394, allocations: 23.98 kB / 0.4926 GB, free: 6.66 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.4e-06/0.1394, allocations: 3.984 kB / 0.4926 GB, free: 6.656 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.835e-06/0.1394, allocations: 3.938 kB / 0.4926 GB, free: 6.652 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.647e-06/0.1394, allocations: 3.938 kB / 0.4926 GB, free: 6.648 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.355e-06/0.1394, allocations: 0 / 0.4926 GB, free: 6.648 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002363/0.1397, allocations: 191.3 kB / 0.4928 GB, free: 6.445 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.143e-05/0.1397, allocations: 85.02 kB / 0.4928 GB, free: 6.344 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.41e-05/0.1397, allocations: 0 / 0.4928 GB, free: 6.344 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.163e-05/0.1398, allocations: 15.92 kB / 0.4929 GB, free: 6.328 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.45e-05/0.1399, allocations: 0 / 0.4929 GB, free: 6.328 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.46e-06/0.1399, allocations: 4 kB / 0.4929 GB, free: 6.324 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001249/0.14, allocations: 164 kB / 0.493 GB, free: 6.164 MB / 382.1 MB Notification: Performance of sort global known variables: time 1e-07/0.14, allocations: 0 / 0.493 GB, free: 6.164 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002385/0.1403, allocations: 12 kB / 0.493 GB, free: 6.152 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.001372/0.1416, allocations: 1.018 MB / 0.494 GB, free: 5.152 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002133/0.1419, allocations: 51.95 kB / 0.4941 GB, free: 5.102 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.165e-06/0.1419, allocations: 4 kB / 0.4941 GB, free: 5.098 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 8.132e-05/0.142, allocations: 31.92 kB / 0.4941 GB, free: 5.066 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003366/0.1423, allocations: 15.92 kB / 0.4941 GB, free: 5.051 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001731/0.144, allocations: 1.582 MB / 0.4957 GB, free: 3.391 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003228/0.1444, allocations: 0.7041 MB / 0.4963 GB, free: 2.66 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 6.638e-05/0.1445, allocations: 15.98 kB / 0.4964 GB, free: 2.645 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.056e-05/0.1445, allocations: 27.42 kB / 0.4964 GB, free: 2.617 MB / 382.1 MB Notification: Performance of SimCode: time 5.72e-07/0.1446, allocations: 0 / 0.4964 GB, free: 2.617 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02023/0.1648, allocations: 2.769 MB / 0.4991 GB, free: 15.83 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.763/7.928, allocations: 15.83 kB / 0.4991 GB, free: 15.81 MB / 398.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test26.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test26.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test26.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test26.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test26_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable1D_Test26_fmu --startTime=0 --stopTime=4 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable1D_Test26.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test26.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test26_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable1D/Test26/Test26.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test26.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches