Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test22.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.Test22,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2D_Test22",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2D.Test22,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2D_Test22",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.00151/0.00151, allocations: 105.3 kB / 16.4 MB, free: 6.457 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.001639/0.001639, allocations: 189.5 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.572/1.572, 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.2208/0.2208, allocations: 43.54 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.002058/0.002058, allocations: 69.47 kB / 441.3 MB, free: 6.148 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1248/0.1268, allocations: 57.8 MB / 499.1 MB, free: 12.28 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2D.Test22): time 0.003772/0.1307, allocations: 1.942 MB / 0.4893 GB, free: 10.32 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001849/0.1325, allocations: 0.9793 MB / 0.4903 GB, free: 9.332 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001467/0.1327, allocations: 0 / 0.4903 GB, free: 9.332 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002771/0.133, allocations: 43.64 kB / 0.4903 GB, free: 9.289 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004611/0.1335, allocations: 151.4 kB / 0.4905 GB, free: 9.141 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009393/0.1345, allocations: 391.1 kB / 0.4908 GB, free: 8.758 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004003/0.1349, allocations: 255.3 kB / 0.4911 GB, free: 8.508 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001618/0.1351, allocations: 56.23 kB / 0.4911 GB, free: 8.449 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002014/0.1353, allocations: 119.5 kB / 0.4912 GB, free: 8.332 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002443/0.1355, allocations: 175.4 kB / 0.4914 GB, free: 8.16 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 4.112e-05/0.1356, allocations: 12 kB / 0.4914 GB, free: 8.148 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001183/0.1357, allocations: 47.98 kB / 0.4915 GB, free: 8.102 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001602/0.1359, allocations: 131.5 kB / 0.4916 GB, free: 7.973 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001651/0.136, allocations: 162.7 kB / 0.4917 GB, free: 7.812 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004907/0.1365, allocations: 374 kB / 0.4921 GB, free: 7.445 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.898e-06/0.1365, allocations: 0 / 0.4921 GB, free: 7.445 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.333e-06/0.1365, allocations: 0 / 0.4921 GB, free: 7.445 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.446e-05/0.1366, allocations: 0 / 0.4921 GB, free: 7.445 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: 24 * Number of variables: 24 Notification: Performance of Generate backend data structure: time 0.001199/0.1378, allocations: 0.7812 MB / 0.4929 GB, free: 6.613 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.759e-05/0.1378, allocations: 11.89 kB / 0.4929 GB, free: 6.602 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.377e-05/0.1379, allocations: 46.67 kB / 0.4929 GB, free: 6.547 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001135/0.138, allocations: 56.56 kB / 0.493 GB, free: 6.492 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005801/0.1386, allocations: 456.3 kB / 0.4934 GB, free: 6.004 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.982e-05/0.1386, allocations: 8.375 kB / 0.4934 GB, free: 5.996 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.43e-05/0.1387, allocations: 15.94 kB / 0.4934 GB, free: 5.98 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002924/0.139, allocations: 127.3 kB / 0.4936 GB, free: 5.844 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.702e-05/0.139, allocations: 8 kB / 0.4936 GB, free: 5.836 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.061e-05/0.139, allocations: 0 / 0.4936 GB, free: 5.836 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.583e-06/0.139, allocations: 4 kB / 0.4936 GB, free: 5.832 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002233/0.1393, allocations: 79.94 kB / 0.4936 GB, free: 5.754 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009619/0.1402, allocations: 0.6644 MB / 0.4943 GB, free: 5.035 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002168/0.1405, allocations: 113.2 kB / 0.4944 GB, free: 4.906 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001023/0.1406, allocations: 41.81 kB / 0.4944 GB, free: 4.859 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.923e-05/0.1406, allocations: 12.14 kB / 0.4945 GB, free: 4.848 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.776e-05/0.1406, allocations: 38.5 kB / 0.4945 GB, free: 4.801 MB / 382.1 MB Notification: Performance of pre-optimization done (n=10): time 1.333e-06/0.1407, allocations: 7.938 kB / 0.4945 GB, free: 4.793 MB / 382.1 MB Notification: Performance of matching and sorting (n=16): time 0.001428/0.1421, allocations: 0.5112 MB / 0.495 GB, free: 4.273 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.988e-05/0.1422, allocations: 85.05 kB / 0.4951 GB, free: 4.172 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001037/0.1432, allocations: 0.874 MB / 0.4959 GB, free: 3.285 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.305e-05/0.1432, allocations: 29.7 kB / 0.496 GB, free: 3.25 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002136/0.1435, allocations: 252.3 kB / 0.4962 GB, free: 2.996 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.64e-05/0.1435, allocations: 51.59 kB / 0.4963 GB, free: 2.945 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.513e-05/0.1436, allocations: 29.7 kB / 0.4963 GB, free: 2.91 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0002006/0.1438, allocations: 374.7 kB / 0.4966 GB, free: 2.535 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001685/0.144, allocations: 55.95 kB / 0.4967 GB, free: 2.48 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001737/0.1442, allocations: 77.61 kB / 0.4968 GB, free: 2.398 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003354/0.1445, allocations: 133.6 kB / 0.4969 GB, free: 2.262 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.262e-06/0.1445, allocations: 4 kB / 0.4969 GB, free: 2.258 MB / 382.1 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0004885/0.145, allocations: 229.2 kB / 0.4971 GB, free: 2.027 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.484e-05/0.145, allocations: 4 kB / 0.4971 GB, free: 2.023 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.601e-06/0.145, allocations: 0 / 0.4971 GB, free: 2.023 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.425e-05/0.1451, allocations: 0 / 0.4971 GB, free: 2.023 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001977/0.1453, allocations: 39.91 kB / 0.4972 GB, free: 1.984 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.356e-06/0.1453, allocations: 4 kB / 0.4972 GB, free: 1.98 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000139/0.1454, allocations: 15.98 kB / 0.4972 GB, free: 1.965 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.555e-05/0.1455, allocations: 4 kB / 0.4972 GB, free: 1.961 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 (16): * Single equations (assignments): 16 * 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.0002115/0.1457, allocations: 213.7 kB / 0.4974 GB, free: 1.742 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001023/0.1458, allocations: 59.61 kB / 0.4974 GB, free: 1.684 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000582/0.1464, allocations: 271 kB / 0.4977 GB, free: 1.414 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.687e-06/0.1464, allocations: 4 kB / 0.4977 GB, free: 1.41 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.257e-06/0.1464, allocations: 4 kB / 0.4977 GB, free: 1.406 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.737e-06/0.1464, allocations: 0 / 0.4977 GB, free: 1.406 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001176/0.1476, allocations: 0.7669 MB / 0.4985 GB, free: 0.582 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.011e-06/0.1476, allocations: 7.984 kB / 0.4985 GB, free: 0.5742 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000154/0.1478, allocations: 27.98 kB / 0.4985 GB, free: 0.5469 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.015e-05/0.1478, allocations: 11.98 kB / 0.4985 GB, free: 0.5352 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.766e-05/0.1478, allocations: 4 kB / 0.4985 GB, free: 0.5312 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.891e-06/0.1478, allocations: 11.88 kB / 0.4985 GB, free: 0.5195 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.302e-06/0.1478, allocations: 0 / 0.4985 GB, free: 0.5195 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005692/0.1484, allocations: 402 kB / 0.4989 GB, free: 116 kB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001698/0.1486, allocations: 156.7 kB / 0.499 GB, free: 15.94 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.501e-05/0.1486, allocations: 0 / 0.499 GB, free: 15.94 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001909/0.1488, allocations: 19.92 kB / 0.4991 GB, free: 15.92 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.48e-05/0.1489, allocations: 11.98 kB / 0.4991 GB, free: 15.91 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.739e-05/0.1489, allocations: 11.98 kB / 0.4991 GB, free: 15.9 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.000746/0.1497, allocations: 0.6355 MB / 0.4997 GB, free: 15.27 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1497, allocations: 0 / 0.4997 GB, free: 15.27 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0003493/0.15, allocations: 51.98 kB / 0.4998 GB, free: 15.21 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (16): * Single equations (assignments): 16 * 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.002209/0.1522, allocations: 1.224 MB / 0.501 GB, free: 14 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0004397/0.1527, allocations: 151.8 kB / 0.5011 GB, free: 13.85 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 4.198e-06/0.1527, allocations: 0 / 0.5011 GB, free: 13.85 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001951/0.1529, allocations: 87.81 kB / 0.5012 GB, free: 13.77 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006509/0.1536, allocations: 77.58 kB / 0.5013 GB, free: 13.7 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006652/0.1602, allocations: 4.933 MB / 0.5061 GB, free: 8.672 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005264/0.1608, allocations: 0.8536 MB / 0.5069 GB, free: 7.793 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0001902/0.161, allocations: 79.78 kB / 0.507 GB, free: 7.715 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002351/0.1612, allocations: 167.4 kB / 0.5071 GB, free: 7.551 MB / 398.1 MB Notification: Performance of SimCode: time 6.01e-07/0.1613, allocations: 0 / 0.5071 GB, free: 7.551 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03518/0.1964, allocations: 9.552 MB / 0.5165 GB, free: 13.96 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.53/8.726, allocations: 12.05 kB / 0.5165 GB, free: 13.95 MB / 414.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test22.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test22.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test22.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test22.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test22_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2D_Test22_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2D_Test22.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test22.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test22_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2D/Test22/Test22.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test22.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches