Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test2.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.Test2,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2D_Test2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2D.Test2,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2D_Test2",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.001651/0.001651, allocations: 108.1 kB / 16.41 MB, free: 6.496 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.001803/0.001803, allocations: 189.5 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.445/1.445, 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.2202/0.2202, allocations: 43.52 MB / 314.1 MB, free: 460 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.00256/0.00256, allocations: 70.03 kB / 441.3 MB, free: 6.148 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1323/0.1349, allocations: 57.81 MB / 499.1 MB, free: 12.27 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2D.Test2): time 0.00338/0.1383, allocations: 1.596 MB / 0.489 GB, free: 10.66 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007162/0.1391, allocations: 327.5 kB / 0.4893 GB, free: 10.34 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.793e-05/0.1392, allocations: 0 / 0.4893 GB, free: 10.34 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000627/0.1399, allocations: 451.1 kB / 0.4897 GB, free: 9.895 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004136/0.1403, allocations: 255.5 kB / 0.49 GB, free: 9.645 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003666/0.1407, allocations: 111.7 kB / 0.4901 GB, free: 9.535 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002542/0.1409, allocations: 159.7 kB / 0.4902 GB, free: 9.379 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000125/0.1411, allocations: 24.14 kB / 0.4902 GB, free: 9.355 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001601/0.1413, allocations: 103.7 kB / 0.4903 GB, free: 9.254 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002634/0.1415, allocations: 207.6 kB / 0.4905 GB, free: 9.051 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.953e-05/0.1416, allocations: 0 / 0.4905 GB, free: 9.051 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.742e-05/0.1417, allocations: 35.97 kB / 0.4906 GB, free: 9.016 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001087/0.1418, allocations: 83.69 kB / 0.4907 GB, free: 8.934 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001175/0.1419, allocations: 107 kB / 0.4908 GB, free: 8.828 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003034/0.1422, allocations: 258.9 kB / 0.491 GB, free: 8.574 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.629e-06/0.1422, allocations: 0 / 0.491 GB, free: 8.574 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.202e-06/0.1422, allocations: 0 / 0.491 GB, free: 8.574 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.122e-05/0.1423, allocations: 0 / 0.491 GB, free: 8.574 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.0007213/0.143, allocations: 0.6297 MB / 0.4916 GB, free: 7.895 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.868e-05/0.143, allocations: 15.89 kB / 0.4916 GB, free: 7.879 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.193e-05/0.1431, allocations: 38.73 kB / 0.4917 GB, free: 7.832 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.427e-05/0.1431, allocations: 44.38 kB / 0.4917 GB, free: 7.789 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004295/0.1436, allocations: 296.1 kB / 0.492 GB, free: 7.457 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.228e-05/0.1436, allocations: 8.312 kB / 0.492 GB, free: 7.449 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.544e-05/0.1436, allocations: 8.125 kB / 0.492 GB, free: 7.441 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001493/0.1438, allocations: 49.62 kB / 0.4921 GB, free: 7.387 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.486e-05/0.1438, allocations: 0 / 0.4921 GB, free: 7.387 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.398e-06/0.1438, allocations: 4 kB / 0.4921 GB, free: 7.383 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.039e-05/0.1438, allocations: 4 kB / 0.4921 GB, free: 7.379 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001023/0.1439, allocations: 27.97 kB / 0.4921 GB, free: 7.352 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005636/0.1445, allocations: 380.8 kB / 0.4925 GB, free: 6.93 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002235/0.1447, allocations: 42.5 kB / 0.4925 GB, free: 6.879 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.29e-05/0.1448, allocations: 20.94 kB / 0.4925 GB, free: 6.855 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.633e-05/0.1448, allocations: 0 / 0.4925 GB, free: 6.855 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.892e-05/0.1449, allocations: 34.56 kB / 0.4926 GB, free: 6.812 MB / 382.1 MB Notification: Performance of pre-optimization done (n=3): time 9.32e-07/0.1449, allocations: 0 / 0.4926 GB, free: 6.812 MB / 382.1 MB Notification: Performance of matching and sorting (n=5): time 0.0006839/0.1456, allocations: 223.9 kB / 0.4928 GB, free: 6.586 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.417e-05/0.1456, allocations: 55.41 kB / 0.4928 GB, free: 6.52 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008333/0.1465, allocations: 0.8613 MB / 0.4937 GB, free: 5.645 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.227e-05/0.1465, allocations: 25.7 kB / 0.4937 GB, free: 5.613 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001588/0.1467, allocations: 232 kB / 0.4939 GB, free: 5.383 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.384e-05/0.1467, allocations: 15.86 kB / 0.4939 GB, free: 5.367 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.658e-05/0.1467, allocations: 17.72 kB / 0.4939 GB, free: 5.344 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001311/0.1469, allocations: 366.7 kB / 0.4943 GB, free: 4.977 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.396e-05/0.1469, allocations: 11.98 kB / 0.4943 GB, free: 4.965 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.108e-05/0.147, allocations: 23.98 kB / 0.4943 GB, free: 4.941 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001297/0.1471, allocations: 56.77 kB / 0.4944 GB, free: 4.883 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.62e-07/0.1472, allocations: 192 / 0.4944 GB, free: 4.883 MB / 382.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002058/0.1474, allocations: 117.1 kB / 0.4945 GB, free: 4.762 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.435e-05/0.1474, allocations: 4 kB / 0.4945 GB, free: 4.758 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.218e-06/0.1474, allocations: 0 / 0.4945 GB, free: 4.758 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.402e-05/0.1474, allocations: 0 / 0.4945 GB, free: 4.758 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.17e-05/0.1475, allocations: 15.98 kB / 0.4945 GB, free: 4.742 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.107e-06/0.1475, allocations: 7.922 kB / 0.4945 GB, free: 4.734 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.153e-05/0.1476, allocations: 15.98 kB / 0.4945 GB, free: 4.719 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.51e-06/0.1476, allocations: 0 / 0.4945 GB, free: 4.719 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 0.0001587/0.1478, allocations: 209.7 kB / 0.4947 GB, free: 4.504 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.651e-05/0.1478, allocations: 39.44 kB / 0.4948 GB, free: 4.465 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002599/0.1481, allocations: 144.9 kB / 0.4949 GB, free: 4.316 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.204e-06/0.1481, allocations: 0 / 0.4949 GB, free: 4.316 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.02e-06/0.1481, allocations: 3.938 kB / 0.4949 GB, free: 4.312 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.806e-06/0.1481, allocations: 4 kB / 0.4949 GB, free: 4.309 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005177/0.1486, allocations: 454.4 kB / 0.4953 GB, free: 3.809 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.753e-06/0.1487, allocations: 0 / 0.4953 GB, free: 3.809 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.553e-05/0.1487, allocations: 15.98 kB / 0.4954 GB, free: 3.793 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.248e-06/0.1487, allocations: 3.938 kB / 0.4954 GB, free: 3.789 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.913e-06/0.1487, allocations: 0 / 0.4954 GB, free: 3.789 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.603e-06/0.1487, allocations: 0 / 0.4954 GB, free: 3.789 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.01e-07/0.1487, allocations: 0 / 0.4954 GB, free: 3.789 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002446/0.149, allocations: 215.5 kB / 0.4956 GB, free: 3.562 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.141e-05/0.1491, allocations: 116.5 kB / 0.4957 GB, free: 3.43 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.492e-05/0.1491, allocations: 7.922 kB / 0.4957 GB, free: 3.422 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.51e-05/0.1492, allocations: 7.984 kB / 0.4957 GB, free: 3.414 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.515e-05/0.1493, allocations: 3.938 kB / 0.4957 GB, free: 3.41 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.181e-06/0.1493, allocations: 4 kB / 0.4957 GB, free: 3.406 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0005575/0.1498, allocations: 0.6589 MB / 0.4963 GB, free: 2.75 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1498, allocations: 0 / 0.4963 GB, free: 2.75 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002507/0.1501, allocations: 24 kB / 0.4964 GB, free: 2.727 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.001298/0.1514, allocations: 1.044 MB / 0.4974 GB, free: 1.699 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002129/0.1516, allocations: 51.89 kB / 0.4974 GB, free: 1.648 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.275e-06/0.1516, allocations: 4 kB / 0.4974 GB, free: 1.645 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 7.611e-05/0.1517, allocations: 19.98 kB / 0.4975 GB, free: 1.625 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003942/0.1521, allocations: 29.34 kB / 0.4975 GB, free: 1.598 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003544/0.1557, allocations: 3.195 MB / 0.5006 GB, free: 14.31 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003733/0.1561, allocations: 0.826 MB / 0.5014 GB, free: 13.46 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 4.352e-05/0.1561, allocations: 4 kB / 0.5014 GB, free: 13.46 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001173/0.1562, allocations: 107.4 kB / 0.5015 GB, free: 13.35 MB / 398.1 MB Notification: Performance of SimCode: time 2.4e-07/0.1562, allocations: 3.938 kB / 0.5015 GB, free: 13.35 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0223/0.1786, allocations: 6.007 MB / 0.5074 GB, free: 7.316 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.309/8.488, allocations: 3.906 kB / 0.5074 GB, free: 7.312 MB / 398.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test2.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test2.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test2.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test2.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test2_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2D_Test2_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2D_Test2.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test2.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test2_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2D/Test2/Test2.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches