Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.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.CombiTable2Dv.Test22,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2Dv_Test22",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test22,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2Dv_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.001172/0.001172, allocations: 110.7 kB / 16.41 MB, free: 6.492 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.001255/0.001255, 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.501/1.501, allocations: 205.1 MB / 223.2 MB, free: 12.24 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.2441/0.2441, allocations: 43.51 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.001643/0.001643, allocations: 77.47 kB / 441.3 MB, free: 6.148 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.124/0.1257, allocations: 57.79 MB / 499.1 MB, free: 12.29 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test22): time 0.00382/0.1296, allocations: 1.966 MB / 0.4893 GB, free: 10.3 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.002039/0.1316, allocations: 1.054 MB / 0.4904 GB, free: 9.242 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002066/0.1319, allocations: 0 / 0.4904 GB, free: 9.242 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003307/0.1322, allocations: 59.58 kB / 0.4904 GB, free: 9.184 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005006/0.1328, allocations: 143.4 kB / 0.4905 GB, free: 9.043 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001269/0.1341, allocations: 0.5536 MB / 0.4911 GB, free: 8.488 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004371/0.1345, allocations: 271.3 kB / 0.4913 GB, free: 8.223 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001981/0.1347, allocations: 72.56 kB / 0.4914 GB, free: 8.152 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002196/0.1349, allocations: 131.4 kB / 0.4915 GB, free: 8.023 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002634/0.1352, allocations: 179.3 kB / 0.4917 GB, free: 7.848 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 3.886e-05/0.1353, allocations: 12 kB / 0.4917 GB, free: 7.836 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001187/0.1354, allocations: 39.98 kB / 0.4918 GB, free: 7.797 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000167/0.1356, allocations: 147.6 kB / 0.4919 GB, free: 7.652 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001546/0.1357, allocations: 166.6 kB / 0.4921 GB, free: 7.488 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004362/0.1362, allocations: 378.5 kB / 0.4924 GB, free: 7.117 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.509e-06/0.1362, allocations: 4 kB / 0.4924 GB, free: 7.113 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.603e-06/0.1362, allocations: 0 / 0.4924 GB, free: 7.113 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.607e-05/0.1362, allocations: 4 kB / 0.4924 GB, free: 7.109 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.001284/0.1375, allocations: 0.7768 MB / 0.4932 GB, free: 6.285 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.349e-05/0.1376, allocations: 15.89 kB / 0.4932 GB, free: 6.27 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.986e-05/0.1376, allocations: 38.75 kB / 0.4932 GB, free: 6.223 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000142/0.1378, allocations: 56.28 kB / 0.4933 GB, free: 6.168 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006516/0.1384, allocations: 463.7 kB / 0.4937 GB, free: 5.672 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.291e-05/0.1385, allocations: 4.375 kB / 0.4937 GB, free: 5.668 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.43e-05/0.1385, allocations: 19.94 kB / 0.4938 GB, free: 5.648 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003066/0.1388, allocations: 143.3 kB / 0.4939 GB, free: 5.496 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.58e-05/0.1388, allocations: 0 / 0.4939 GB, free: 5.496 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.557e-05/0.1389, allocations: 4 kB / 0.4939 GB, free: 5.492 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.254e-06/0.1389, allocations: 4 kB / 0.4939 GB, free: 5.488 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002381/0.1391, allocations: 95.86 kB / 0.494 GB, free: 5.395 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001061/0.1402, allocations: 0.6917 MB / 0.4947 GB, free: 4.648 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002231/0.1404, allocations: 125.2 kB / 0.4948 GB, free: 4.508 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001122/0.1405, allocations: 49.81 kB / 0.4948 GB, free: 4.453 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.931e-05/0.1406, allocations: 7.938 kB / 0.4948 GB, free: 4.445 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.767e-05/0.1406, allocations: 30.56 kB / 0.4949 GB, free: 4.406 MB / 382.1 MB Notification: Performance of pre-optimization done (n=10): time 1.192e-06/0.1406, allocations: 0 / 0.4949 GB, free: 4.406 MB / 382.1 MB Notification: Performance of matching and sorting (n=16): time 0.001494/0.1421, allocations: 0.5526 MB / 0.4954 GB, free: 3.844 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.736e-05/0.1422, allocations: 77.11 kB / 0.4955 GB, free: 3.75 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009512/0.1432, allocations: 0.8819 MB / 0.4963 GB, free: 2.855 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.019e-05/0.1432, allocations: 25.7 kB / 0.4964 GB, free: 2.824 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001817/0.1434, allocations: 260.2 kB / 0.4966 GB, free: 2.562 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.131e-05/0.1435, allocations: 51.27 kB / 0.4967 GB, free: 2.512 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.321e-05/0.1435, allocations: 37.64 kB / 0.4967 GB, free: 2.469 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001598/0.1437, allocations: 374.7 kB / 0.4971 GB, free: 2.094 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001676/0.1439, allocations: 63.95 kB / 0.4971 GB, free: 2.031 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001759/0.1441, allocations: 93.33 kB / 0.4972 GB, free: 1.938 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003309/0.1444, allocations: 157.6 kB / 0.4974 GB, free: 1.777 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.092e-06/0.1444, allocations: 0 / 0.4974 GB, free: 1.777 MB / 382.1 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0005017/0.1449, allocations: 236.8 kB / 0.4976 GB, free: 1.539 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.802e-05/0.1449, allocations: 4 kB / 0.4976 GB, free: 1.535 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.698e-06/0.145, allocations: 7.984 kB / 0.4976 GB, free: 1.527 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.61e-05/0.145, allocations: 0 / 0.4976 GB, free: 1.527 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002136/0.1452, allocations: 39.97 kB / 0.4976 GB, free: 1.488 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.444e-06/0.1452, allocations: 0 / 0.4976 GB, free: 1.488 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001418/0.1454, allocations: 12 kB / 0.4976 GB, free: 1.477 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.88e-05/0.1454, allocations: 7.984 kB / 0.4977 GB, free: 1.469 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.0001957/0.1456, allocations: 225.6 kB / 0.4979 GB, free: 1.238 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001002/0.1457, allocations: 55.33 kB / 0.4979 GB, free: 1.184 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000578/0.1463, allocations: 291.2 kB / 0.4982 GB, free: 0.8906 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.308e-06/0.1463, allocations: 0 / 0.4982 GB, free: 0.8906 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.522e-06/0.1463, allocations: 4 kB / 0.4982 GB, free: 0.8867 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.07e-06/0.1463, allocations: 112 / 0.4982 GB, free: 0.8867 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001044/0.1474, allocations: 0.8136 MB / 0.499 GB, free: 16 kB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.085e-06/0.1474, allocations: 0 / 0.499 GB, free: 16 kB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001811/0.1476, allocations: 40.02 kB / 0.499 GB, free: 15.97 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.587e-06/0.1476, allocations: 0 / 0.499 GB, free: 15.97 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.862e-05/0.1476, allocations: 8 kB / 0.499 GB, free: 15.96 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.337e-06/0.1476, allocations: 3.938 kB / 0.499 GB, free: 15.96 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.262e-06/0.1476, allocations: 0 / 0.499 GB, free: 15.96 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005189/0.1481, allocations: 413.9 kB / 0.4994 GB, free: 15.54 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001437/0.1483, allocations: 156.4 kB / 0.4996 GB, free: 15.37 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.67e-05/0.1484, allocations: 0 / 0.4996 GB, free: 15.37 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002094/0.1486, allocations: 15.94 kB / 0.4996 GB, free: 15.35 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.309e-05/0.1486, allocations: 19.91 kB / 0.4996 GB, free: 15.33 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.424e-05/0.1487, allocations: 8 kB / 0.4996 GB, free: 15.32 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0006713/0.1493, allocations: 0.6432 MB / 0.5003 GB, free: 14.68 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1493, allocations: 0 / 0.5003 GB, free: 14.68 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0003613/0.1497, allocations: 60 kB / 0.5003 GB, free: 14.62 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.001587/0.1513, allocations: 1.232 MB / 0.5015 GB, free: 13.41 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.000421/0.1517, allocations: 172 kB / 0.5017 GB, free: 13.24 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.1517, allocations: 3.938 kB / 0.5017 GB, free: 13.24 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001823/0.1519, allocations: 92.19 kB / 0.5018 GB, free: 13.15 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006549/0.1526, allocations: 82.81 kB / 0.5019 GB, free: 13.07 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007004/0.1596, allocations: 5.046 MB / 0.5068 GB, free: 7.934 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005266/0.1602, allocations: 0.8653 MB / 0.5076 GB, free: 7.043 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0002113/0.1604, allocations: 91.38 kB / 0.5077 GB, free: 6.949 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002441/0.1606, allocations: 167.4 kB / 0.5079 GB, free: 6.785 MB / 398.1 MB Notification: Performance of SimCode: time 3.31e-07/0.1607, allocations: 0 / 0.5079 GB, free: 6.785 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03373/0.1944, allocations: 9.929 MB / 0.5176 GB, free: 12.82 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.971/8.165, allocations: 4.062 kB / 0.5176 GB, free: 12.82 MB / 414.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test22.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test22.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test22.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test22.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test22_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2Dv_Test22_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2Dv_Test22.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test22.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test22_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2Dv/Test22/Test22.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test22.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches