Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test9.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.Test9,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2Dv_Test9",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test9,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2Dv_Test9",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.001251/0.001251, allocations: 104 kB / 16.4 MB, free: 6.465 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.001262/0.001262, 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.457/1.457, 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.2271/0.2271, allocations: 43.52 MB / 314.1 MB, free: 452 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.002033/0.002033, allocations: 73.94 kB / 441.3 MB, free: 6.141 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1281/0.1301, allocations: 57.8 MB / 499.1 MB, free: 12.27 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test9): time 0.003767/0.1339, allocations: 1.569 MB / 0.4889 GB, free: 10.68 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008355/0.1348, allocations: 339.6 kB / 0.4893 GB, free: 10.35 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.226e-05/0.1349, allocations: 0 / 0.4893 GB, free: 10.35 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006759/0.1356, allocations: 451.1 kB / 0.4897 GB, free: 9.906 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004281/0.1361, allocations: 255.5 kB / 0.4899 GB, free: 9.656 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004586/0.1365, allocations: 151.7 kB / 0.4901 GB, free: 9.508 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003224/0.1369, allocations: 163.7 kB / 0.4902 GB, free: 9.348 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001124/0.137, allocations: 16.16 kB / 0.4903 GB, free: 9.332 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001786/0.1372, allocations: 111.7 kB / 0.4904 GB, free: 9.223 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000293/0.1375, allocations: 211.6 kB / 0.4906 GB, free: 9.016 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.598e-05/0.1375, allocations: 0 / 0.4906 GB, free: 9.016 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001025/0.1376, allocations: 23.98 kB / 0.4906 GB, free: 8.992 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001286/0.1378, allocations: 83.69 kB / 0.4907 GB, free: 8.91 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001047/0.1379, allocations: 99 kB / 0.4908 GB, free: 8.812 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004022/0.1383, allocations: 262.6 kB / 0.491 GB, free: 8.555 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.21e-06/0.1383, allocations: 0 / 0.491 GB, free: 8.555 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.054e-06/0.1383, allocations: 4 kB / 0.491 GB, free: 8.551 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.131e-05/0.1383, allocations: 0 / 0.491 GB, free: 8.551 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.001051/0.1394, allocations: 0.6491 MB / 0.4917 GB, free: 7.852 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.191e-05/0.1394, allocations: 15.89 kB / 0.4917 GB, free: 7.836 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.842e-05/0.1395, allocations: 30.75 kB / 0.4917 GB, free: 7.797 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.791e-05/0.1396, allocations: 48.61 kB / 0.4917 GB, free: 7.75 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003611/0.14, allocations: 292.7 kB / 0.492 GB, free: 7.422 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.335e-05/0.14, allocations: 4.375 kB / 0.492 GB, free: 7.418 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.009e-05/0.14, allocations: 4.125 kB / 0.492 GB, free: 7.414 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001845/0.1402, allocations: 61.61 kB / 0.4921 GB, free: 7.348 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.949e-06/0.1402, allocations: 3.938 kB / 0.4921 GB, free: 7.344 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.756e-06/0.1402, allocations: 4 kB / 0.4921 GB, free: 7.34 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.979e-06/0.1402, allocations: 0 / 0.4921 GB, free: 7.34 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001374/0.1404, allocations: 31.97 kB / 0.4921 GB, free: 7.309 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005845/0.141, allocations: 400.7 kB / 0.4925 GB, free: 6.867 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001408/0.1411, allocations: 50.48 kB / 0.4926 GB, free: 6.809 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.499e-05/0.1412, allocations: 28.94 kB / 0.4926 GB, free: 6.777 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.427e-05/0.1413, allocations: 0 / 0.4926 GB, free: 6.777 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.943e-05/0.1413, allocations: 30.56 kB / 0.4926 GB, free: 6.738 MB / 382.1 MB Notification: Performance of pre-optimization done (n=3): time 9.12e-07/0.1413, allocations: 4 kB / 0.4926 GB, free: 6.734 MB / 382.1 MB Notification: Performance of matching and sorting (n=3): time 0.0003716/0.1417, allocations: 125.5 kB / 0.4927 GB, free: 6.605 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.605e-05/0.1417, allocations: 55.41 kB / 0.4928 GB, free: 6.539 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009295/0.1427, allocations: 0.8613 MB / 0.4936 GB, free: 5.664 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.1e-05/0.1427, allocations: 29.7 kB / 0.4937 GB, free: 5.629 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001874/0.1429, allocations: 208.1 kB / 0.4939 GB, free: 5.422 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.471e-05/0.1429, allocations: 15.84 kB / 0.4939 GB, free: 5.406 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.457e-05/0.143, allocations: 17.66 kB / 0.4939 GB, free: 5.383 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0002068/0.1432, allocations: 366.7 kB / 0.4942 GB, free: 5.016 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.585e-05/0.1433, allocations: 15.98 kB / 0.4943 GB, free: 5 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.16e-05/0.1433, allocations: 28.02 kB / 0.4943 GB, free: 4.973 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001267/0.1435, allocations: 40.83 kB / 0.4943 GB, free: 4.93 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.874e-06/0.1435, allocations: 0 / 0.4943 GB, free: 4.93 MB / 382.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002063/0.1437, allocations: 113.4 kB / 0.4944 GB, free: 4.812 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.439e-05/0.1437, allocations: 4 kB / 0.4944 GB, free: 4.809 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.078e-06/0.1437, allocations: 0 / 0.4944 GB, free: 4.809 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.416e-05/0.1437, allocations: 0 / 0.4944 GB, free: 4.809 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.06e-05/0.1438, allocations: 19.92 kB / 0.4945 GB, free: 4.789 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.661e-06/0.1438, allocations: 0 / 0.4945 GB, free: 4.789 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.326e-05/0.1439, allocations: 4 kB / 0.4945 GB, free: 4.785 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.778e-06/0.1439, allocations: 3.984 kB / 0.4945 GB, free: 4.781 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 (3): * Single equations (assignments): 3 * 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.0002081/0.1441, allocations: 221.6 kB / 0.4947 GB, free: 4.555 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.692e-05/0.1442, allocations: 43.72 kB / 0.4947 GB, free: 4.512 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002549/0.1445, allocations: 121 kB / 0.4948 GB, free: 4.383 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.354e-06/0.1445, allocations: 4 kB / 0.4948 GB, free: 4.379 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.772e-06/0.1445, allocations: 4 kB / 0.4948 GB, free: 4.375 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.769e-06/0.1445, allocations: 0 / 0.4948 GB, free: 4.375 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003188/0.1448, allocations: 293.4 kB / 0.4951 GB, free: 4.039 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.866e-06/0.1448, allocations: 4 kB / 0.4951 GB, free: 4.035 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.474e-05/0.1449, allocations: 11.98 kB / 0.4951 GB, free: 4.023 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.482e-06/0.1449, allocations: 3.938 kB / 0.4951 GB, free: 4.02 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.434e-06/0.1449, allocations: 0 / 0.4951 GB, free: 4.02 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.092e-06/0.1449, allocations: 0 / 0.4951 GB, free: 4.02 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.42e-07/0.1449, allocations: 0 / 0.4951 GB, free: 4.02 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000263/0.1452, allocations: 215.2 kB / 0.4953 GB, free: 3.793 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.29e-05/0.1453, allocations: 112.8 kB / 0.4955 GB, free: 3.664 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.594e-05/0.1453, allocations: 4 kB / 0.4955 GB, free: 3.66 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.906e-05/0.1454, allocations: 3.984 kB / 0.4955 GB, free: 3.656 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.824e-05/0.1454, allocations: 4 kB / 0.4955 GB, free: 3.652 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.066e-06/0.1454, allocations: 0 / 0.4955 GB, free: 3.652 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0006342/0.1461, allocations: 0.6589 MB / 0.4961 GB, free: 2.996 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.1461, allocations: 0 / 0.4961 GB, free: 2.996 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002416/0.1463, allocations: 23.89 kB / 0.4961 GB, free: 2.973 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 (3): * Single equations (assignments): 3 * 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.001697/0.148, allocations: 0.9929 MB / 0.4971 GB, free: 1.996 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002029/0.1483, allocations: 39.95 kB / 0.4971 GB, free: 1.957 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.093e-06/0.1483, allocations: 0 / 0.4971 GB, free: 1.957 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 7.493e-05/0.1484, allocations: 27.92 kB / 0.4972 GB, free: 1.93 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003976/0.1488, allocations: 25.95 kB / 0.4972 GB, free: 1.902 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00377/0.1525, allocations: 3.174 MB / 0.5003 GB, free: 14.64 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005365/0.1531, allocations: 0.8254 MB / 0.5011 GB, free: 13.79 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 6.53e-05/0.1532, allocations: 19.92 kB / 0.5011 GB, free: 13.77 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001473/0.1533, allocations: 99.41 kB / 0.5012 GB, free: 13.68 MB / 398.1 MB Notification: Performance of SimCode: time 4.21e-07/0.1533, allocations: 8 kB / 0.5012 GB, free: 13.67 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02864/0.182, allocations: 5.811 MB / 0.5069 GB, free: 7.84 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.454/8.636, allocations: 15.97 kB / 0.5069 GB, free: 7.824 MB / 398.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test9.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test9.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test9.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test9.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test9_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2Dv_Test9_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2Dv_Test9.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test9.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test9_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2Dv/Test9/Test9.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test9.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches