Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test24.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.Test24,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2Dv_Test24",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test24,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2Dv_Test24",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.001431/0.001431, allocations: 105.4 kB / 16.4 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.001375/0.001375, allocations: 189.5 kB / 17.34 MB, free: 5.766 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.389/1.389, 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.1939/0.1939, 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.0028/0.0028, allocations: 71.89 kB / 441.3 MB, free: 6.176 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1262/0.129, allocations: 57.78 MB / 499.1 MB, free: 12.32 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test24): time 0.002961/0.132, allocations: 1.627 MB / 0.489 GB, free: 10.68 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.000638/0.1327, allocations: 339.5 kB / 0.4893 GB, free: 10.34 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.034e-05/0.1328, allocations: 4 kB / 0.4893 GB, free: 10.34 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002688/0.1331, allocations: 47.81 kB / 0.4894 GB, free: 10.29 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002182/0.1333, allocations: 47.77 kB / 0.4894 GB, free: 10.25 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004127/0.1337, allocations: 155.7 kB / 0.4896 GB, free: 10.09 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001514/0.1339, allocations: 67.77 kB / 0.4896 GB, free: 10.03 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001218/0.134, allocations: 31.95 kB / 0.4897 GB, free: 9.996 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.655e-05/0.1341, allocations: 27.92 kB / 0.4897 GB, free: 9.969 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.145e-05/0.1342, allocations: 35.84 kB / 0.4897 GB, free: 9.934 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.708e-05/0.1342, allocations: 4 kB / 0.4897 GB, free: 9.93 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.257e-05/0.1343, allocations: 39.91 kB / 0.4898 GB, free: 9.891 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 6.166e-05/0.1344, allocations: 23.92 kB / 0.4898 GB, free: 9.867 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 4.54e-05/0.1344, allocations: 27.75 kB / 0.4898 GB, free: 9.84 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001849/0.1346, allocations: 87.77 kB / 0.4899 GB, free: 9.754 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.672e-06/0.1346, allocations: 0 / 0.4899 GB, free: 9.754 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.623e-06/0.1346, allocations: 3.938 kB / 0.4899 GB, free: 9.75 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.681e-06/0.1347, allocations: 4 kB / 0.4899 GB, free: 9.746 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.0004942/0.1352, allocations: 407 kB / 0.4903 GB, free: 9.301 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.672e-05/0.1352, allocations: 11.89 kB / 0.4903 GB, free: 9.289 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.622e-05/0.1352, allocations: 42.73 kB / 0.4903 GB, free: 9.238 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.387e-05/0.1353, allocations: 8.844 kB / 0.4903 GB, free: 9.23 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001833/0.1355, allocations: 196.6 kB / 0.4905 GB, free: 9 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.153e-05/0.1355, allocations: 8.125 kB / 0.4905 GB, free: 8.992 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.074e-05/0.1355, allocations: 0 / 0.4905 GB, free: 8.992 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001561/0.1357, allocations: 61.67 kB / 0.4906 GB, free: 8.926 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.185e-05/0.1357, allocations: 4 kB / 0.4906 GB, free: 8.922 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.417e-06/0.1357, allocations: 0 / 0.4906 GB, free: 8.922 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.667e-06/0.1357, allocations: 0 / 0.4906 GB, free: 8.922 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001243/0.1358, allocations: 39.97 kB / 0.4906 GB, free: 8.883 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005255/0.1364, allocations: 320.6 kB / 0.4909 GB, free: 8.52 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001201/0.1365, allocations: 46.56 kB / 0.491 GB, free: 8.465 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.71e-05/0.1366, allocations: 28.94 kB / 0.491 GB, free: 8.434 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.006e-05/0.1366, allocations: 0 / 0.491 GB, free: 8.434 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.29e-05/0.1366, allocations: 34.56 kB / 0.4911 GB, free: 8.391 MB / 382.1 MB Notification: Performance of pre-optimization done (n=4): time 8.72e-07/0.1367, allocations: 0 / 0.4911 GB, free: 8.391 MB / 382.1 MB Notification: Performance of matching and sorting (n=7): time 0.0007303/0.1374, allocations: 225.1 kB / 0.4913 GB, free: 8.164 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.753e-05/0.1374, allocations: 55.34 kB / 0.4913 GB, free: 8.098 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001574/0.1376, allocations: 174.5 kB / 0.4915 GB, free: 7.918 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.057e-05/0.1376, allocations: 33.64 kB / 0.4915 GB, free: 7.879 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.913e-05/0.1377, allocations: 116 kB / 0.4916 GB, free: 7.762 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.547e-05/0.1377, allocations: 11.72 kB / 0.4916 GB, free: 7.75 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.55e-05/0.1378, allocations: 25.66 kB / 0.4917 GB, free: 7.719 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001165/0.1379, allocations: 318.8 kB / 0.492 GB, free: 7.398 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001119/0.138, allocations: 44.03 kB / 0.492 GB, free: 7.355 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001018/0.1381, allocations: 39.95 kB / 0.492 GB, free: 7.316 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001988/0.1383, allocations: 88.8 kB / 0.4921 GB, free: 7.227 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.907e-06/0.1383, allocations: 4 kB / 0.4921 GB, free: 7.223 MB / 382.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002583/0.1386, allocations: 117.5 kB / 0.4922 GB, free: 7.102 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.654e-05/0.1386, allocations: 8 kB / 0.4923 GB, free: 7.094 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.739e-06/0.1387, allocations: 0 / 0.4923 GB, free: 7.094 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.395e-05/0.1387, allocations: 7.984 kB / 0.4923 GB, free: 7.086 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001197/0.1388, allocations: 27.86 kB / 0.4923 GB, free: 7.059 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.4e-06/0.1388, allocations: 320 / 0.4923 GB, free: 7.059 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.835e-05/0.1389, allocations: 7.984 kB / 0.4923 GB, free: 7.051 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.815e-06/0.1389, allocations: 4 kB / 0.4923 GB, free: 7.047 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 8.801e-05/0.139, allocations: 129.7 kB / 0.4924 GB, free: 6.91 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.726e-05/0.139, allocations: 11.81 kB / 0.4924 GB, free: 6.898 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003202/0.1394, allocations: 142.3 kB / 0.4926 GB, free: 6.75 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.979e-06/0.1394, allocations: 7.875 kB / 0.4926 GB, free: 6.742 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.001e-06/0.1394, allocations: 4 kB / 0.4926 GB, free: 6.738 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.306e-06/0.1394, allocations: 0 / 0.4926 GB, free: 6.738 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004968/0.1399, allocations: 406.5 kB / 0.493 GB, free: 6.285 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.274e-06/0.1399, allocations: 4 kB / 0.493 GB, free: 6.281 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.798e-05/0.14, allocations: 23.92 kB / 0.493 GB, free: 6.258 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.986e-06/0.14, allocations: 0 / 0.493 GB, free: 6.258 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.844e-06/0.14, allocations: 0 / 0.493 GB, free: 6.258 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.603e-06/0.14, allocations: 0 / 0.493 GB, free: 6.258 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.855e-06/0.14, allocations: 3.938 kB / 0.493 GB, free: 6.254 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002986/0.1403, allocations: 223.4 kB / 0.4932 GB, free: 6.02 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.562e-05/0.1404, allocations: 96.94 kB / 0.4933 GB, free: 5.906 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.707e-05/0.1404, allocations: 0 / 0.4933 GB, free: 5.906 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.167e-05/0.1405, allocations: 8 kB / 0.4933 GB, free: 5.898 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.043e-05/0.1406, allocations: 11.98 kB / 0.4933 GB, free: 5.887 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.859e-06/0.1406, allocations: 3.938 kB / 0.4933 GB, free: 5.883 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001216/0.1407, allocations: 136 kB / 0.4935 GB, free: 5.75 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1407, allocations: 0 / 0.4935 GB, free: 5.75 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002472/0.141, allocations: 20 kB / 0.4935 GB, free: 5.73 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.001312/0.1423, allocations: 1.053 MB / 0.4945 GB, free: 4.691 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002877/0.1426, allocations: 91.92 kB / 0.4946 GB, free: 4.602 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.953e-06/0.1426, allocations: 0 / 0.4946 GB, free: 4.602 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001303/0.1427, allocations: 55.89 kB / 0.4946 GB, free: 4.547 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003193/0.143, allocations: 15.28 kB / 0.4947 GB, free: 4.535 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002191/0.1452, allocations: 1.67 MB / 0.4963 GB, free: 2.789 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003633/0.1456, allocations: 0.7079 MB / 0.497 GB, free: 2.055 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 8.832e-05/0.1457, allocations: 28.62 kB / 0.497 GB, free: 2.023 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.509e-05/0.1458, allocations: 31.36 kB / 0.497 GB, free: 1.996 MB / 382.1 MB Notification: Performance of SimCode: time 7.51e-07/0.1458, allocations: 0 / 0.497 GB, free: 1.996 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02145/0.1673, allocations: 2.966 MB / 0.4999 GB, free: 15.01 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.329/7.497, allocations: 4 kB / 0.4999 GB, free: 15.01 MB / 398.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test24.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test24.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test24.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test24.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test24_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2Dv_Test24_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2Dv_Test24.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test24.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test24_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2Dv/Test24/Test24.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test24.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches