Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test15.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.Test15,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2D_Test15",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2D.Test15,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2D_Test15",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.001252/0.001252, allocations: 105.3 kB / 16.41 MB, free: 6 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.001267/0.001267, allocations: 190.7 kB / 17.34 MB, free: 5.582 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.492/1.492, 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.2347/0.2347, allocations: 43.53 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.002028/0.002028, allocations: 69.61 kB / 441.3 MB, free: 6.148 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1359/0.1379, allocations: 57.8 MB / 499.1 MB, free: 12.28 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2D.Test15): time 0.003371/0.1414, allocations: 1.61 MB / 0.489 GB, free: 10.66 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009732/0.1423, allocations: 0.6958 MB / 0.4897 GB, free: 9.961 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.012e-05/0.1424, allocations: 4 kB / 0.4897 GB, free: 9.957 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002532/0.1427, allocations: 19.92 kB / 0.4897 GB, free: 9.938 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000217/0.1429, allocations: 39.83 kB / 0.4897 GB, free: 9.898 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 4.969e-06/0.1429, allocations: 0 / 0.4897 GB, free: 9.898 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001726/0.1431, allocations: 39.83 kB / 0.4898 GB, free: 9.859 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.58e-05/0.1431, allocations: 4 kB / 0.4898 GB, free: 9.855 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.541e-05/0.1432, allocations: 11.92 kB / 0.4898 GB, free: 9.844 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.946e-05/0.1433, allocations: 15.94 kB / 0.4898 GB, free: 9.828 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.245e-05/0.1433, allocations: 0 / 0.4898 GB, free: 9.828 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.166e-05/0.1433, allocations: 11.98 kB / 0.4898 GB, free: 9.816 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 5.775e-05/0.1434, allocations: 15.94 kB / 0.4898 GB, free: 9.801 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 3.66e-05/0.1434, allocations: 27.8 kB / 0.4899 GB, free: 9.773 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001544/0.1436, allocations: 59.62 kB / 0.4899 GB, free: 9.715 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.446e-06/0.1436, allocations: 4 kB / 0.4899 GB, free: 9.711 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.874e-06/0.1436, allocations: 4 kB / 0.4899 GB, free: 9.707 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.592e-06/0.1436, allocations: 0 / 0.4899 GB, free: 9.707 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: 20 * Number of variables: 20 Notification: Performance of Generate backend data structure: time 0.00052/0.1442, allocations: 367.1 kB / 0.4903 GB, free: 9.297 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.122e-05/0.1442, allocations: 15.89 kB / 0.4903 GB, free: 9.281 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.704e-05/0.1443, allocations: 38.75 kB / 0.4903 GB, free: 9.234 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.133e-05/0.1443, allocations: 8.891 kB / 0.4903 GB, free: 9.227 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000172/0.1445, allocations: 176.3 kB / 0.4905 GB, free: 9.016 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.668e-05/0.1445, allocations: 4.312 kB / 0.4905 GB, free: 9.012 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.27e-05/0.1445, allocations: 384 / 0.4905 GB, free: 9.012 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002428/0.1448, allocations: 127.3 kB / 0.4906 GB, free: 8.863 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.123e-05/0.1448, allocations: 7.938 kB / 0.4906 GB, free: 8.855 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.053e-05/0.1448, allocations: 0 / 0.4906 GB, free: 8.855 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.642e-05/0.1449, allocations: 27.92 kB / 0.4907 GB, free: 8.828 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.391e-05/0.145, allocations: 43.91 kB / 0.4907 GB, free: 8.785 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007637/0.1457, allocations: 0.8945 MB / 0.4916 GB, free: 7.82 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001176/0.1458, allocations: 173.1 kB / 0.4917 GB, free: 7.641 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.205e-05/0.1459, allocations: 84.08 kB / 0.4918 GB, free: 7.555 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.999e-05/0.146, allocations: 79.28 kB / 0.4919 GB, free: 7.477 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.567e-05/0.146, allocations: 113.9 kB / 0.492 GB, free: 7.355 MB / 382.1 MB Notification: Performance of pre-optimization done (n=0): time 1.052e-06/0.146, allocations: 0 / 0.492 GB, free: 7.355 MB / 382.1 MB Notification: Performance of matching and sorting (n=0): time 8.716e-05/0.1461, allocations: 37.66 kB / 0.492 GB, free: 7.312 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.272e-05/0.1462, allocations: 126.7 kB / 0.4922 GB, free: 7.176 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002116/0.1464, allocations: 186.1 kB / 0.4923 GB, free: 6.984 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.713e-05/0.1465, allocations: 25.7 kB / 0.4924 GB, free: 6.953 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001151/0.1466, allocations: 155.5 kB / 0.4925 GB, free: 6.797 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.25e-06/0.1466, allocations: 4 kB / 0.4925 GB, free: 6.793 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.985e-05/0.1467, allocations: 41.66 kB / 0.4926 GB, free: 6.746 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001655/0.1468, allocations: 322.8 kB / 0.4929 GB, free: 6.422 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.129e-05/0.1469, allocations: 31.98 kB / 0.4929 GB, free: 6.391 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001571/0.1471, allocations: 157 kB / 0.493 GB, free: 6.176 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002364/0.1473, allocations: 204.9 kB / 0.4932 GB, free: 5.914 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.555e-06/0.1473, allocations: 4 kB / 0.4932 GB, free: 5.91 MB / 382.1 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0003244/0.1476, allocations: 205.4 kB / 0.4934 GB, free: 5.703 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.676e-05/0.1477, allocations: 8 kB / 0.4934 GB, free: 5.695 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.486e-06/0.1477, allocations: 4 kB / 0.4934 GB, free: 5.691 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.902e-05/0.1477, allocations: 4 kB / 0.4934 GB, free: 5.688 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001273/0.1478, allocations: 39.92 kB / 0.4935 GB, free: 5.648 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.139e-05/0.1478, allocations: 4 kB / 0.4935 GB, free: 5.645 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.441e-05/0.1479, allocations: 23.83 kB / 0.4935 GB, free: 5.621 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.386e-05/0.148, allocations: 8.344 kB / 0.4935 GB, free: 5.613 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 20 * 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 (20): * Single equations (assignments): 20 * 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.0001512/0.1481, allocations: 224.9 kB / 0.4937 GB, free: 5.383 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.316e-05/0.1482, allocations: 120.8 kB / 0.4939 GB, free: 5.258 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.667e-05/0.1483, allocations: 112.8 kB / 0.494 GB, free: 5.133 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.879e-05/0.1484, allocations: 184.2 kB / 0.4941 GB, free: 4.945 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.287e-05/0.1485, allocations: 180.3 kB / 0.4943 GB, free: 4.762 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.557e-05/0.1486, allocations: 188.2 kB / 0.4945 GB, free: 4.57 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003175/0.1489, allocations: 425.1 kB / 0.4949 GB, free: 4.098 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.13e-05/0.149, allocations: 101 kB / 0.495 GB, free: 3.992 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.898e-05/0.149, allocations: 108.9 kB / 0.4951 GB, free: 3.879 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.914e-05/0.1491, allocations: 180.3 kB / 0.4953 GB, free: 3.695 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.47e-05/0.1492, allocations: 188.1 kB / 0.4954 GB, free: 3.504 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.073e-05/0.1493, allocations: 176.3 kB / 0.4956 GB, free: 3.324 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.934e-05/0.1494, allocations: 176.3 kB / 0.4958 GB, free: 3.145 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001859/0.1496, allocations: 323.6 kB / 0.4961 GB, free: 2.805 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001212/0.1497, allocations: 190 kB / 0.4963 GB, free: 2.594 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001079/0.1499, allocations: 184.3 kB / 0.4964 GB, free: 2.406 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.741e-05/0.15, allocations: 101 kB / 0.4965 GB, free: 2.301 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.962e-05/0.1501, allocations: 184.2 kB / 0.4967 GB, free: 2.113 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.857e-05/0.1501, allocations: 105 kB / 0.4968 GB, free: 2.004 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001173/0.1502, allocations: 124.1 kB / 0.4969 GB, free: 1.883 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1502, allocations: 3.938 kB / 0.4969 GB, free: 1.879 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002984/0.1505, allocations: 16 kB / 0.497 GB, free: 1.863 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 (0): * Single equations (assignments): 0 * 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.001092/0.1516, allocations: 0.9181 MB / 0.4979 GB, free: 0.9414 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001682/0.1518, allocations: 80.53 kB / 0.4979 GB, free: 0.8633 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.345e-06/0.1518, allocations: 0 / 0.4979 GB, free: 0.8633 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 1.142e-06/0.1518, allocations: 0 / 0.4979 GB, free: 0.8633 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004579/0.1523, allocations: 459.7 kB / 0.4984 GB, free: 420 kB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001941/0.1543, allocations: 1.88 MB / 0.5002 GB, free: 14.33 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003744/0.1546, allocations: 0.6928 MB / 0.5009 GB, free: 13.61 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.000238/0.1549, allocations: 53.02 kB / 0.5009 GB, free: 13.55 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.009e-05/0.155, allocations: 27.42 kB / 0.501 GB, free: 13.53 MB / 398.1 MB Notification: Performance of SimCode: time 2.41e-07/0.155, allocations: 0 / 0.501 GB, free: 13.53 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02597/0.1809, allocations: 2.09 MB / 0.503 GB, free: 11.43 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.714/7.895, allocations: 11.33 kB / 0.503 GB, free: 11.42 MB / 398.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test15.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test15.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test15.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test15.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test15_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2D_Test15_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2D_Test15.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test15.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test15_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2D/Test15/Test15.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test15.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches