Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test4.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.Test4,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable1D_Test4",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1D.Test4,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable1D_Test4",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.001467/0.001467, allocations: 107.5 kB / 16.41 MB, free: 6.434 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.001401/0.001401, allocations: 195.6 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.585/1.585, allocations: 205.1 MB / 223.2 MB, free: 12.25 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.2684/0.2684, allocations: 43.52 MB / 314.1 MB, free: 472 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.001641/0.001641, allocations: 69.47 kB / 441.3 MB, free: 6.152 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.136/0.1376, allocations: 57.79 MB / 499.1 MB, free: 12.29 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1D.Test4): time 0.004216/0.1419, allocations: 1.581 MB / 0.4889 GB, free: 10.71 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008501/0.1428, allocations: 327.5 kB / 0.4893 GB, free: 10.38 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000132/0.143, allocations: 3.938 kB / 0.4893 GB, free: 10.38 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004023/0.1435, allocations: 91.75 kB / 0.4893 GB, free: 10.29 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002887/0.1438, allocations: 75.78 kB / 0.4894 GB, free: 10.21 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003861/0.1442, allocations: 103.6 kB / 0.4895 GB, free: 10.11 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002935/0.1445, allocations: 79.81 kB / 0.4896 GB, free: 10.04 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001564/0.1446, allocations: 24.17 kB / 0.4896 GB, free: 10.01 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.453e-05/0.1447, allocations: 35.89 kB / 0.4897 GB, free: 9.977 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001335/0.1449, allocations: 55.81 kB / 0.4897 GB, free: 9.922 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.911e-05/0.1449, allocations: 4 kB / 0.4897 GB, free: 9.918 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001002/0.145, allocations: 39.92 kB / 0.4897 GB, free: 9.879 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001119/0.1451, allocations: 23.92 kB / 0.4898 GB, free: 9.855 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 4.664e-05/0.1452, allocations: 27.75 kB / 0.4898 GB, free: 9.828 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000208/0.1454, allocations: 107.6 kB / 0.4899 GB, free: 9.723 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.829e-06/0.1454, allocations: 4 kB / 0.4899 GB, free: 9.719 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.573e-06/0.1454, allocations: 0 / 0.4899 GB, free: 9.719 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.991e-06/0.1454, allocations: 0 / 0.4899 GB, free: 9.719 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.000592/0.146, allocations: 414.9 kB / 0.4903 GB, free: 9.266 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.802e-05/0.1461, allocations: 15.89 kB / 0.4903 GB, free: 9.25 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.115e-05/0.1461, allocations: 42.67 kB / 0.4904 GB, free: 9.199 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.647e-05/0.1462, allocations: 16.75 kB / 0.4904 GB, free: 9.184 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002419/0.1464, allocations: 200.1 kB / 0.4906 GB, free: 8.949 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.12e-05/0.1465, allocations: 384 / 0.4906 GB, free: 8.949 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.848e-05/0.1465, allocations: 12.12 kB / 0.4906 GB, free: 8.938 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002177/0.1467, allocations: 75.39 kB / 0.4906 GB, free: 8.852 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.712e-05/0.1467, allocations: 7.844 kB / 0.4907 GB, free: 8.844 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.439e-05/0.1468, allocations: 4 kB / 0.4907 GB, free: 8.84 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.861e-06/0.1468, allocations: 0 / 0.4907 GB, free: 8.84 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001246/0.1469, allocations: 31.97 kB / 0.4907 GB, free: 8.809 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006279/0.1475, allocations: 404.9 kB / 0.4911 GB, free: 8.359 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003432/0.1479, allocations: 85.22 kB / 0.4912 GB, free: 8.258 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.895e-05/0.148, allocations: 29.8 kB / 0.4912 GB, free: 8.223 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.801e-05/0.148, allocations: 3.938 kB / 0.4912 GB, free: 8.219 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.248e-05/0.1481, allocations: 38.56 kB / 0.4912 GB, free: 8.172 MB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 1.623e-06/0.1481, allocations: 0 / 0.4912 GB, free: 8.172 MB / 382.1 MB Notification: Performance of matching and sorting (n=10): time 0.0008372/0.1489, allocations: 244.7 kB / 0.4915 GB, free: 7.926 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.607e-05/0.149, allocations: 81.05 kB / 0.4915 GB, free: 7.828 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002529/0.1493, allocations: 235.6 kB / 0.4918 GB, free: 7.59 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.992e-05/0.1493, allocations: 29.7 kB / 0.4918 GB, free: 7.555 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.777e-05/0.1494, allocations: 112.1 kB / 0.4919 GB, free: 7.441 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.904e-05/0.1494, allocations: 39.48 kB / 0.4919 GB, free: 7.402 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.257e-05/0.1495, allocations: 17.72 kB / 0.4919 GB, free: 7.379 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001337/0.1496, allocations: 326.8 kB / 0.4923 GB, free: 7.051 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.114e-05/0.1497, allocations: 31.97 kB / 0.4923 GB, free: 7.02 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.53e-05/0.1498, allocations: 49.69 kB / 0.4923 GB, free: 6.965 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001865/0.15, allocations: 89.75 kB / 0.4924 GB, free: 6.871 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.342e-06/0.1501, allocations: 0 / 0.4924 GB, free: 6.871 MB / 382.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002714/0.1503, allocations: 129.5 kB / 0.4925 GB, free: 6.738 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.236e-05/0.1504, allocations: 4 kB / 0.4925 GB, free: 6.734 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.429e-05/0.1504, allocations: 0 / 0.4925 GB, free: 6.734 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.189e-05/0.1504, allocations: 3.938 kB / 0.4926 GB, free: 6.73 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.63e-05/0.1505, allocations: 23.98 kB / 0.4926 GB, free: 6.707 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.024e-05/0.1505, allocations: 15.86 kB / 0.4926 GB, free: 6.691 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.787e-05/0.1506, allocations: 4 kB / 0.4926 GB, free: 6.688 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.049e-05/0.1506, allocations: 3.984 kB / 0.4926 GB, free: 6.684 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (10): * Single equations (assignments): 10 * 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.0001151/0.1507, allocations: 137.8 kB / 0.4927 GB, free: 6.539 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.568e-05/0.1508, allocations: 11.81 kB / 0.4927 GB, free: 6.527 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003224/0.1511, allocations: 150.7 kB / 0.4929 GB, free: 6.371 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.416e-06/0.1511, allocations: 4 kB / 0.4929 GB, free: 6.367 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.259e-05/0.1512, allocations: 7.938 kB / 0.4929 GB, free: 6.359 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.308e-06/0.1512, allocations: 0 / 0.4929 GB, free: 6.359 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006775/0.1518, allocations: 0.4946 MB / 0.4934 GB, free: 5.805 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.477e-06/0.1519, allocations: 3.938 kB / 0.4934 GB, free: 5.801 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.666e-05/0.1519, allocations: 19.98 kB / 0.4934 GB, free: 5.781 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.05e-06/0.152, allocations: 4 kB / 0.4934 GB, free: 5.777 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.077e-05/0.152, allocations: 8.031 kB / 0.4934 GB, free: 5.77 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.783e-06/0.152, allocations: 0 / 0.4934 GB, free: 5.77 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.383e-06/0.152, allocations: 4 kB / 0.4934 GB, free: 5.766 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003483/0.1523, allocations: 299.4 kB / 0.4937 GB, free: 5.453 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.368e-05/0.1524, allocations: 92.95 kB / 0.4938 GB, free: 5.344 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.26e-05/0.1524, allocations: 8.281 kB / 0.4938 GB, free: 5.336 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001044/0.1526, allocations: 4 kB / 0.4938 GB, free: 5.332 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.528e-05/0.1526, allocations: 11.92 kB / 0.4938 GB, free: 5.32 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.363e-06/0.1526, allocations: 7.938 kB / 0.4938 GB, free: 5.312 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.000149/0.1528, allocations: 171.2 kB / 0.494 GB, free: 5.145 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.1528, allocations: 0 / 0.494 GB, free: 5.145 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002995/0.1531, allocations: 20 kB / 0.494 GB, free: 5.125 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (10): * Single equations (assignments): 10 * 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.001438/0.1545, allocations: 1.141 MB / 0.4951 GB, free: 3.992 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002578/0.1548, allocations: 87.83 kB / 0.4952 GB, free: 3.906 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.175e-06/0.1548, allocations: 0 / 0.4952 GB, free: 3.906 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001019/0.1549, allocations: 47.91 kB / 0.4952 GB, free: 3.859 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004401/0.1554, allocations: 19.98 kB / 0.4953 GB, free: 3.84 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002362/0.1577, allocations: 1.85 MB / 0.4971 GB, free: 1.891 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003311/0.1581, allocations: 0.712 MB / 0.4978 GB, free: 1.152 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 8.478e-05/0.1582, allocations: 28.77 kB / 0.4978 GB, free: 1.125 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.639e-05/0.1583, allocations: 39.42 kB / 0.4978 GB, free: 1.086 MB / 382.1 MB Notification: Performance of SimCode: time 2.2e-07/0.1583, allocations: 0 / 0.4978 GB, free: 1.086 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02169/0.18, allocations: 3.18 MB / 0.5009 GB, free: 13.89 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.89/8.07, allocations: 16.17 kB / 0.501 GB, free: 13.88 MB / 398.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test4.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test4.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test4.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test4.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test4_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable1D_Test4_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable1D_Test4.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test4.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test4_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable1D/Test4/Test4.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test4.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches