Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test5.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.Test5,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable1D_Test5",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1D.Test5,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable1D_Test5",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.001805/0.001805, allocations: 100.6 kB / 16.4 MB, free: 6.438 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.001928/0.001928, allocations: 191.8 kB / 17.34 MB, free: 5.711 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.358/1.358, allocations: 205.1 MB / 223.2 MB, free: 12.23 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.2279/0.2279, allocations: 43.52 MB / 314.1 MB, free: 448 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.002243/0.002243, allocations: 69.61 kB / 441.3 MB, free: 6.141 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1294/0.1316, allocations: 57.8 MB / 499.1 MB, free: 12.27 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1D.Test5): time 0.004909/0.1366, allocations: 1.542 MB / 0.4889 GB, free: 10.72 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008609/0.1375, allocations: 327.5 kB / 0.4892 GB, free: 10.39 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.148e-05/0.1376, allocations: 0 / 0.4892 GB, free: 10.39 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003715/0.1379, allocations: 103.7 kB / 0.4893 GB, free: 10.29 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002224/0.1382, allocations: 71.8 kB / 0.4894 GB, free: 10.22 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003102/0.1385, allocations: 91.73 kB / 0.4895 GB, free: 10.13 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001873/0.1387, allocations: 63.89 kB / 0.4896 GB, free: 10.07 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001663/0.1389, allocations: 19.97 kB / 0.4896 GB, free: 10.05 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.51e-05/0.139, allocations: 39.84 kB / 0.4896 GB, free: 10.01 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001379/0.1391, allocations: 47.88 kB / 0.4897 GB, free: 9.965 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.399e-05/0.1392, allocations: 7.938 kB / 0.4897 GB, free: 9.957 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000103/0.1393, allocations: 31.98 kB / 0.4897 GB, free: 9.926 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 7.086e-05/0.1394, allocations: 19.92 kB / 0.4897 GB, free: 9.906 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 6.08e-05/0.1394, allocations: 27.75 kB / 0.4897 GB, free: 9.879 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002609/0.1397, allocations: 91.58 kB / 0.4898 GB, free: 9.789 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.925e-06/0.1397, allocations: 0 / 0.4898 GB, free: 9.789 MB / 382.1 MB Notification: Performance of FrontEnd: time 6.472e-06/0.1397, allocations: 0 / 0.4898 GB, free: 9.789 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.005e-05/0.1397, allocations: 3.938 kB / 0.4898 GB, free: 9.785 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0008166/0.1406, allocations: 410.8 kB / 0.4902 GB, free: 9.336 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.385e-05/0.1406, allocations: 15.89 kB / 0.4902 GB, free: 9.32 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.473e-05/0.1407, allocations: 38.67 kB / 0.4903 GB, free: 9.273 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.041e-05/0.1408, allocations: 8.891 kB / 0.4903 GB, free: 9.266 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003219/0.1411, allocations: 204.8 kB / 0.4905 GB, free: 9.027 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.488e-05/0.1411, allocations: 384 / 0.4905 GB, free: 9.027 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.659e-05/0.1411, allocations: 4.375 kB / 0.4905 GB, free: 9.023 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001654/0.1413, allocations: 49.62 kB / 0.4905 GB, free: 8.969 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.978e-05/0.1413, allocations: 0 / 0.4905 GB, free: 8.969 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.295e-05/0.1414, allocations: 8 kB / 0.4905 GB, free: 8.961 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.168e-06/0.1414, allocations: 3.984 kB / 0.4905 GB, free: 8.957 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001123/0.1415, allocations: 19.98 kB / 0.4906 GB, free: 8.938 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005521/0.1421, allocations: 296.8 kB / 0.4908 GB, free: 8.598 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000272/0.1423, allocations: 38.56 kB / 0.4909 GB, free: 8.551 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.144e-05/0.1424, allocations: 24.94 kB / 0.4909 GB, free: 8.523 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.018e-05/0.1425, allocations: 0 / 0.4909 GB, free: 8.523 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.444e-05/0.1425, allocations: 34.56 kB / 0.4909 GB, free: 8.48 MB / 382.1 MB Notification: Performance of pre-optimization done (n=3): time 1.353e-06/0.1425, allocations: 0 / 0.4909 GB, free: 8.48 MB / 382.1 MB Notification: Performance of matching and sorting (n=5): time 0.0007382/0.1433, allocations: 157.2 kB / 0.4911 GB, free: 8.32 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.397e-05/0.1433, allocations: 59.41 kB / 0.4911 GB, free: 8.25 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003162/0.1437, allocations: 216.4 kB / 0.4914 GB, free: 8.031 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.777e-05/0.1437, allocations: 25.7 kB / 0.4914 GB, free: 8 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001148/0.1438, allocations: 112.1 kB / 0.4915 GB, free: 7.887 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.056e-05/0.1439, allocations: 11.91 kB / 0.4915 GB, free: 7.875 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.239e-05/0.1439, allocations: 21.64 kB / 0.4915 GB, free: 7.848 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0002058/0.1441, allocations: 330.8 kB / 0.4918 GB, free: 7.516 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.825e-05/0.1442, allocations: 19.98 kB / 0.4919 GB, free: 7.496 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.915e-05/0.1443, allocations: 27.92 kB / 0.4919 GB, free: 7.469 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001391/0.1444, allocations: 49.02 kB / 0.4919 GB, free: 7.418 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.826e-06/0.1445, allocations: 4 kB / 0.4919 GB, free: 7.414 MB / 382.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001976/0.1447, allocations: 89.56 kB / 0.492 GB, free: 7.32 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.623e-05/0.1447, allocations: 8 kB / 0.492 GB, free: 7.312 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.859e-06/0.1447, allocations: 0 / 0.492 GB, free: 7.312 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.523e-05/0.1447, allocations: 4 kB / 0.492 GB, free: 7.309 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.65e-05/0.1448, allocations: 15.92 kB / 0.492 GB, free: 7.293 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.93e-06/0.1448, allocations: 4 kB / 0.492 GB, free: 7.289 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.162e-05/0.1449, allocations: 7.938 kB / 0.4921 GB, free: 7.281 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.158e-05/0.1449, allocations: 7.938 kB / 0.4921 GB, free: 7.273 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 (5): * Single equations (assignments): 5 * 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.0001319/0.145, allocations: 129.8 kB / 0.4922 GB, free: 7.137 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.536e-05/0.1451, allocations: 7.953 kB / 0.4922 GB, free: 7.129 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002642/0.1453, allocations: 102.6 kB / 0.4923 GB, free: 7.02 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.034e-06/0.1453, allocations: 0 / 0.4923 GB, free: 7.02 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.06e-06/0.1453, allocations: 0 / 0.4923 GB, free: 7.02 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.837e-06/0.1454, allocations: 4 kB / 0.4923 GB, free: 7.016 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005107/0.1459, allocations: 366.4 kB / 0.4926 GB, free: 6.602 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.423e-06/0.1459, allocations: 0 / 0.4926 GB, free: 6.602 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.636e-05/0.1459, allocations: 15.98 kB / 0.4927 GB, free: 6.586 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.663e-06/0.146, allocations: 0 / 0.4927 GB, free: 6.586 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.774e-06/0.146, allocations: 4 kB / 0.4927 GB, free: 6.582 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.066e-06/0.146, allocations: 3.938 kB / 0.4927 GB, free: 6.578 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.62e-07/0.146, allocations: 0 / 0.4927 GB, free: 6.578 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002578/0.1462, allocations: 191.9 kB / 0.4928 GB, free: 6.375 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.297e-05/0.1463, allocations: 89.02 kB / 0.4929 GB, free: 6.27 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.587e-05/0.1463, allocations: 0 / 0.4929 GB, free: 6.27 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.828e-05/0.1464, allocations: 11.92 kB / 0.4929 GB, free: 6.258 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.116e-05/0.1464, allocations: 7.984 kB / 0.493 GB, free: 6.25 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.272e-06/0.1465, allocations: 4 kB / 0.493 GB, free: 6.246 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.000152/0.1466, allocations: 175.5 kB / 0.4931 GB, free: 6.074 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1466, allocations: 0 / 0.4931 GB, free: 6.074 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002423/0.1469, allocations: 15.98 kB / 0.4931 GB, free: 6.059 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 (5): * Single equations (assignments): 5 * 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.001979/0.1489, allocations: 1.02 MB / 0.4941 GB, free: 5.051 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002338/0.1491, allocations: 51.95 kB / 0.4942 GB, free: 5 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.843e-06/0.1491, allocations: 0 / 0.4942 GB, free: 5 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 8.055e-05/0.1492, allocations: 27.98 kB / 0.4942 GB, free: 4.973 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000375/0.1496, allocations: 19.92 kB / 0.4942 GB, free: 4.953 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001941/0.1515, allocations: 1.623 MB / 0.4958 GB, free: 3.242 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003776/0.1519, allocations: 0.708 MB / 0.4965 GB, free: 2.508 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 7.25e-05/0.152, allocations: 11.98 kB / 0.4965 GB, free: 2.496 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.702e-05/0.1521, allocations: 31.42 kB / 0.4965 GB, free: 2.469 MB / 382.1 MB Notification: Performance of SimCode: time 2.8e-07/0.1521, allocations: 4 kB / 0.4966 GB, free: 2.465 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02378/0.1759, allocations: 2.821 MB / 0.4993 GB, free: 15.63 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.779/7.955, allocations: 19.81 kB / 0.4993 GB, free: 15.61 MB / 398.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test5.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test5.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test5.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test5.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test5_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable1D_Test5_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable1D_Test5.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test5.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test5_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable1D/Test5/Test5.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test5.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches