Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.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.CombiTable2D.Test3,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2D_Test3",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2D.Test3,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2D_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.001139/0.001139, allocations: 107.3 kB / 16.41 MB, free: 6.5 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.001869/0.00187, 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.443/1.443, allocations: 205.1 MB / 223.2 MB, free: 12.23 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.2103/0.2103, allocations: 43.52 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.001373/0.001373, allocations: 69.47 kB / 441.3 MB, free: 6.137 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1266/0.128, allocations: 57.8 MB / 499.1 MB, free: 12.26 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2D.Test3): time 0.00359/0.1316, allocations: 1.616 MB / 0.489 GB, free: 10.64 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006872/0.1323, allocations: 331.5 kB / 0.4893 GB, free: 10.31 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.064e-05/0.1324, allocations: 0 / 0.4893 GB, free: 10.31 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005579/0.133, allocations: 447.2 kB / 0.4897 GB, free: 9.871 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003743/0.1334, allocations: 259.4 kB / 0.49 GB, free: 9.617 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003703/0.1338, allocations: 115.7 kB / 0.4901 GB, free: 9.504 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002926/0.1341, allocations: 159.7 kB / 0.4902 GB, free: 9.348 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001162/0.1342, allocations: 16.17 kB / 0.4903 GB, free: 9.332 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001819/0.1344, allocations: 111.8 kB / 0.4904 GB, free: 9.223 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002723/0.1347, allocations: 207.6 kB / 0.4906 GB, free: 9.02 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.931e-05/0.1347, allocations: 8 kB / 0.4906 GB, free: 9.012 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001182/0.1348, allocations: 31.98 kB / 0.4906 GB, free: 8.98 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001213/0.135, allocations: 83.69 kB / 0.4907 GB, free: 8.898 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 8.712e-05/0.1351, allocations: 103 kB / 0.4908 GB, free: 8.797 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003264/0.1354, allocations: 258.9 kB / 0.491 GB, free: 8.543 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.969e-06/0.1354, allocations: 0 / 0.491 GB, free: 8.543 MB / 382.1 MB Notification: Performance of FrontEnd: time 7.194e-06/0.1354, allocations: 4 kB / 0.491 GB, free: 8.539 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.154e-05/0.1354, allocations: 3.938 kB / 0.491 GB, free: 8.535 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.0008935/0.1363, allocations: 0.6414 MB / 0.4917 GB, free: 7.844 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.454e-05/0.1364, allocations: 15.89 kB / 0.4917 GB, free: 7.828 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.047e-05/0.1364, allocations: 34.75 kB / 0.4917 GB, free: 7.785 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.578e-05/0.1365, allocations: 44.38 kB / 0.4917 GB, free: 7.742 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003134/0.1368, allocations: 296.1 kB / 0.492 GB, free: 7.41 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.427e-05/0.1369, allocations: 4.375 kB / 0.492 GB, free: 7.406 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.463e-05/0.1369, allocations: 8.125 kB / 0.492 GB, free: 7.398 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000178/0.1371, allocations: 53.67 kB / 0.4921 GB, free: 7.34 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.088e-05/0.1371, allocations: 3.938 kB / 0.4921 GB, free: 7.336 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.051e-05/0.1371, allocations: 4 kB / 0.4921 GB, free: 7.332 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.63e-06/0.1371, allocations: 8 kB / 0.4921 GB, free: 7.324 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001226/0.1373, allocations: 31.97 kB / 0.4921 GB, free: 7.293 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005107/0.1378, allocations: 384.6 kB / 0.4925 GB, free: 6.867 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001226/0.1379, allocations: 46.5 kB / 0.4925 GB, free: 6.812 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.652e-05/0.138, allocations: 28.94 kB / 0.4926 GB, free: 6.781 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.358e-05/0.138, allocations: 0 / 0.4926 GB, free: 6.781 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.57e-05/0.138, allocations: 34.56 kB / 0.4926 GB, free: 6.738 MB / 382.1 MB Notification: Performance of pre-optimization done (n=4): time 8.62e-07/0.1381, allocations: 0 / 0.4926 GB, free: 6.738 MB / 382.1 MB Notification: Performance of matching and sorting (n=7): time 0.0008426/0.1389, allocations: 299.9 kB / 0.4929 GB, free: 6.438 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.713e-05/0.139, allocations: 51.41 kB / 0.4929 GB, free: 6.375 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008473/0.1398, allocations: 0.8613 MB / 0.4938 GB, free: 5.5 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.876e-05/0.1398, allocations: 25.7 kB / 0.4938 GB, free: 5.469 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001618/0.14, allocations: 212.1 kB / 0.494 GB, free: 5.258 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.483e-05/0.14, allocations: 23.64 kB / 0.494 GB, free: 5.234 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.811e-05/0.1401, allocations: 17.72 kB / 0.4941 GB, free: 5.211 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001528/0.1403, allocations: 374.7 kB / 0.4944 GB, free: 4.836 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001101/0.1404, allocations: 31.97 kB / 0.4944 GB, free: 4.805 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001062/0.1405, allocations: 35.97 kB / 0.4945 GB, free: 4.77 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001863/0.1407, allocations: 64.81 kB / 0.4945 GB, free: 4.703 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.12e-07/0.1407, allocations: 4 kB / 0.4945 GB, free: 4.699 MB / 382.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002917/0.141, allocations: 153 kB / 0.4947 GB, free: 4.543 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.525e-05/0.141, allocations: 8 kB / 0.4947 GB, free: 4.535 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.19e-06/0.141, allocations: 0 / 0.4947 GB, free: 4.535 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.843e-05/0.1411, allocations: 0 / 0.4947 GB, free: 4.535 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00013/0.1412, allocations: 23.97 kB / 0.4947 GB, free: 4.512 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.396e-06/0.1412, allocations: 3.938 kB / 0.4947 GB, free: 4.508 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.715e-05/0.1413, allocations: 8 kB / 0.4947 GB, free: 4.5 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.027e-05/0.1413, allocations: 4 kB / 0.4947 GB, free: 4.496 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.000189/0.1415, allocations: 217.7 kB / 0.4949 GB, free: 4.273 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.583e-05/0.1416, allocations: 39.44 kB / 0.495 GB, free: 4.234 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000364/0.1419, allocations: 165.4 kB / 0.4951 GB, free: 4.062 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.711e-06/0.1419, allocations: 3.984 kB / 0.4951 GB, free: 4.059 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.562e-06/0.142, allocations: 7.938 kB / 0.4951 GB, free: 4.051 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.159e-06/0.142, allocations: 8 kB / 0.4952 GB, free: 4.043 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006396/0.1426, allocations: 490.4 kB / 0.4956 GB, free: 3.508 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.328e-06/0.1426, allocations: 4 kB / 0.4956 GB, free: 3.504 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.734e-05/0.1427, allocations: 15.98 kB / 0.4956 GB, free: 3.488 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.227e-05/0.1427, allocations: 3.938 kB / 0.4956 GB, free: 3.484 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.257e-05/0.1428, allocations: 11.98 kB / 0.4957 GB, free: 3.473 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.963e-06/0.1428, allocations: 0 / 0.4957 GB, free: 3.473 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.533e-06/0.1428, allocations: 0 / 0.4957 GB, free: 3.473 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003268/0.1431, allocations: 239.4 kB / 0.4959 GB, free: 3.223 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.419e-05/0.1432, allocations: 108.5 kB / 0.496 GB, free: 3.098 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.804e-05/0.1432, allocations: 7.938 kB / 0.496 GB, free: 3.09 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.604e-05/0.1433, allocations: 11.98 kB / 0.496 GB, free: 3.078 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.966e-05/0.1434, allocations: 15.92 kB / 0.496 GB, free: 3.062 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.302e-06/0.1434, allocations: 0 / 0.496 GB, free: 3.062 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0005963/0.144, allocations: 0.6511 MB / 0.4967 GB, free: 2.414 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.144, allocations: 0 / 0.4967 GB, free: 2.414 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002742/0.1443, allocations: 31.98 kB / 0.4967 GB, free: 2.383 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.001485/0.1458, allocations: 1.08 MB / 0.4977 GB, free: 1.32 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002739/0.1461, allocations: 75.88 kB / 0.4978 GB, free: 1.246 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.745e-06/0.1461, allocations: 4 kB / 0.4978 GB, free: 1.242 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001078/0.1462, allocations: 43.97 kB / 0.4979 GB, free: 1.199 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004239/0.1466, allocations: 17.97 kB / 0.4979 GB, free: 1.18 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00394/0.1506, allocations: 3.272 MB / 0.5011 GB, free: 13.82 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004394/0.151, allocations: 0.826 MB / 0.5019 GB, free: 12.97 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 6.122e-05/0.1511, allocations: 12.95 kB / 0.5019 GB, free: 12.96 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001373/0.1513, allocations: 103.4 kB / 0.502 GB, free: 12.86 MB / 398.1 MB Notification: Performance of SimCode: time 3.21e-07/0.1513, allocations: 0 / 0.502 GB, free: 12.86 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02687/0.1781, allocations: 6.13 MB / 0.508 GB, free: 6.707 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.228/8.406, allocations: 7.906 kB / 0.508 GB, free: 6.699 MB / 398.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test3.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test3.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test3.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test3.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test3_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2D_Test3_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2D_Test3.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test3.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test3_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2D/Test3/Test3.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test3.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches