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.00163/0.00163, allocations: 105.3 kB / 16.41 MB, free: 6 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.001699/0.001699, allocations: 190.7 kB / 17.34 MB, free: 5.582 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.496/1.496, allocations: 205.1 MB / 223.2 MB, free: 12.22 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.2214/0.2214, allocations: 43.53 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.002119/0.002119, allocations: 69.62 kB / 441.3 MB, free: 6.145 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1163/0.1184, allocations: 57.8 MB / 499.1 MB, free: 12.27 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test3): time 0.002952/0.1214, allocations: 1.616 MB / 0.489 GB, free: 10.64 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006871/0.1221, allocations: 347.5 kB / 0.4893 GB, free: 10.3 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.489e-05/0.1222, allocations: 0 / 0.4893 GB, free: 10.3 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006164/0.1228, allocations: 451.2 kB / 0.4898 GB, free: 9.859 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003541/0.1232, allocations: 259.4 kB / 0.49 GB, free: 9.605 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003801/0.1236, allocations: 155.7 kB / 0.4902 GB, free: 9.453 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002386/0.1238, allocations: 167.7 kB / 0.4903 GB, free: 9.289 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001008/0.1239, allocations: 23.97 kB / 0.4903 GB, free: 9.266 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000113/0.1241, allocations: 107.8 kB / 0.4904 GB, free: 9.16 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002403/0.1243, allocations: 215.6 kB / 0.4906 GB, free: 8.949 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.409e-05/0.1243, allocations: 4 kB / 0.4907 GB, free: 8.945 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.017e-05/0.1244, allocations: 39.97 kB / 0.4907 GB, free: 8.906 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000105/0.1245, allocations: 87.62 kB / 0.4908 GB, free: 8.82 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 9.597e-05/0.1246, allocations: 103 kB / 0.4909 GB, free: 8.719 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003249/0.125, allocations: 262.6 kB / 0.4911 GB, free: 8.461 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.521e-06/0.125, allocations: 4 kB / 0.4911 GB, free: 8.457 MB / 382.1 MB Notification: Performance of FrontEnd: time 3.106e-06/0.125, allocations: 0 / 0.4911 GB, free: 8.457 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.122e-06/0.125, allocations: 7.938 kB / 0.4911 GB, free: 8.449 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.0008127/0.1258, allocations: 0.6568 MB / 0.4918 GB, free: 7.742 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.175e-05/0.1259, allocations: 15.89 kB / 0.4918 GB, free: 7.727 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.497e-05/0.1259, allocations: 30.75 kB / 0.4918 GB, free: 7.688 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.944e-05/0.126, allocations: 44.66 kB / 0.4919 GB, free: 7.645 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003131/0.1263, allocations: 300.6 kB / 0.4921 GB, free: 7.309 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.474e-05/0.1263, allocations: 4.375 kB / 0.4922 GB, free: 7.305 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.436e-05/0.1264, allocations: 12.3 kB / 0.4922 GB, free: 7.293 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001855/0.1266, allocations: 69.61 kB / 0.4922 GB, free: 7.219 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.196e-05/0.1266, allocations: 3.938 kB / 0.4922 GB, free: 7.215 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.727e-06/0.1266, allocations: 0 / 0.4922 GB, free: 7.215 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.817e-06/0.1266, allocations: 0 / 0.4922 GB, free: 7.215 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001375/0.1267, allocations: 35.97 kB / 0.4923 GB, free: 7.18 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005419/0.1273, allocations: 400.7 kB / 0.4926 GB, free: 6.738 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001336/0.1274, allocations: 50.5 kB / 0.4927 GB, free: 6.68 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.387e-05/0.1275, allocations: 24.94 kB / 0.4927 GB, free: 6.652 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.869e-05/0.1276, allocations: 7.984 kB / 0.4927 GB, free: 6.645 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.096e-05/0.1276, allocations: 30.56 kB / 0.4928 GB, free: 6.605 MB / 382.1 MB Notification: Performance of pre-optimization done (n=4): time 1.162e-06/0.1276, allocations: 0 / 0.4928 GB, free: 6.605 MB / 382.1 MB Notification: Performance of matching and sorting (n=7): time 0.0008596/0.1285, allocations: 320.9 kB / 0.4931 GB, free: 6.285 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.838e-05/0.1285, allocations: 51.41 kB / 0.4931 GB, free: 6.223 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008782/0.1294, allocations: 0.8652 MB / 0.494 GB, free: 5.344 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.061e-05/0.1294, allocations: 29.7 kB / 0.494 GB, free: 5.309 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000182/0.1296, allocations: 216 kB / 0.4942 GB, free: 5.094 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.039e-05/0.1297, allocations: 19.8 kB / 0.4942 GB, free: 5.074 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.2e-05/0.1297, allocations: 25.7 kB / 0.4942 GB, free: 5.043 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001978/0.1299, allocations: 362.7 kB / 0.4946 GB, free: 4.68 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001366/0.1301, allocations: 35.97 kB / 0.4946 GB, free: 4.645 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001189/0.1302, allocations: 44.02 kB / 0.4947 GB, free: 4.602 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002357/0.1304, allocations: 88.8 kB / 0.4947 GB, free: 4.512 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.51e-07/0.1304, allocations: 0 / 0.4947 GB, free: 4.512 MB / 382.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003282/0.1308, allocations: 161.3 kB / 0.4949 GB, free: 4.348 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.46e-05/0.1308, allocations: 8 kB / 0.4949 GB, free: 4.34 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.735e-06/0.1308, allocations: 3.984 kB / 0.4949 GB, free: 4.336 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.297e-05/0.1308, allocations: 0 / 0.4949 GB, free: 4.336 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001164/0.1309, allocations: 27.98 kB / 0.4949 GB, free: 4.309 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.31e-06/0.131, allocations: 0 / 0.4949 GB, free: 4.309 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.957e-05/0.131, allocations: 15.92 kB / 0.495 GB, free: 4.293 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.518e-06/0.1311, allocations: 4 kB / 0.495 GB, free: 4.289 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.0001909/0.1313, allocations: 213.7 kB / 0.4952 GB, free: 4.07 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.91e-05/0.1313, allocations: 47.67 kB / 0.4952 GB, free: 4.023 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003972/0.1317, allocations: 185.3 kB / 0.4954 GB, free: 3.832 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.949e-06/0.1317, allocations: 0 / 0.4954 GB, free: 3.832 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.219e-06/0.1318, allocations: 7.938 kB / 0.4954 GB, free: 3.824 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.468e-06/0.1318, allocations: 3.938 kB / 0.4954 GB, free: 3.82 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006826/0.1324, allocations: 0.5023 MB / 0.4959 GB, free: 3.262 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.623e-06/0.1325, allocations: 0 / 0.4959 GB, free: 3.262 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.423e-05/0.1326, allocations: 23.98 kB / 0.4959 GB, free: 3.238 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.245e-06/0.1326, allocations: 0 / 0.4959 GB, free: 3.238 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.307e-05/0.1326, allocations: 7.938 kB / 0.4959 GB, free: 3.23 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.553e-06/0.1326, allocations: 0 / 0.4959 GB, free: 3.23 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.126e-06/0.1326, allocations: 4 kB / 0.4959 GB, free: 3.227 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003597/0.133, allocations: 251.2 kB / 0.4962 GB, free: 2.965 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.595e-05/0.1331, allocations: 112.8 kB / 0.4963 GB, free: 2.836 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.686e-05/0.1331, allocations: 3.938 kB / 0.4963 GB, free: 2.832 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001003/0.1332, allocations: 7.984 kB / 0.4963 GB, free: 2.824 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.528e-05/0.1332, allocations: 15.92 kB / 0.4963 GB, free: 2.809 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.943e-06/0.1333, allocations: 4 kB / 0.4963 GB, free: 2.805 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0006269/0.1339, allocations: 0.6472 MB / 0.4969 GB, free: 2.16 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1339, allocations: 0 / 0.4969 GB, free: 2.16 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002676/0.1342, allocations: 31.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.001969/0.1361, allocations: 1.1 MB / 0.498 GB, free: 1.043 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0003237/0.1365, allocations: 95.86 kB / 0.4981 GB, free: 0.9492 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.943e-06/0.1365, allocations: 0 / 0.4981 GB, free: 0.9492 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001294/0.1366, allocations: 43.97 kB / 0.4982 GB, free: 0.9062 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003996/0.137, allocations: 25.95 kB / 0.4982 GB, free: 0.8789 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003938/0.141, 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.0004629/0.1415, allocations: 0.826 MB / 0.5023 GB, free: 12.59 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 8.208e-05/0.1416, allocations: 28.58 kB / 0.5023 GB, free: 12.57 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000148/0.1417, allocations: 119.4 kB / 0.5024 GB, free: 12.45 MB / 398.1 MB Notification: Performance of SimCode: time 2.8e-07/0.1417, allocations: 0 / 0.5024 GB, free: 12.45 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02865/0.1704, allocations: 6.177 MB / 0.5084 GB, free: 6.25 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.425/8.596, allocations: 11.83 kB / 0.5084 GB, free: 6.238 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test3_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2Dv_Test3_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 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.mat","/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