Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test6.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.Test6,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable1D_Test6",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1D.Test6,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable1D_Test6",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.001345/0.001345, allocations: 106.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.001481/0.001481, 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.418/1.418, 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.215/0.215, allocations: 43.52 MB / 314.1 MB, free: 456 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.001584/0.001584, allocations: 67.89 kB / 441.3 MB, free: 6.16 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1164/0.118, allocations: 57.8 MB / 499.1 MB, free: 12.29 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1D.Test6): time 0.003252/0.1213, allocations: 1.566 MB / 0.4889 GB, free: 10.71 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007152/0.122, allocations: 331.5 kB / 0.4893 GB, free: 10.39 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.688e-05/0.1221, allocations: 3.938 kB / 0.4893 GB, free: 10.38 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003416/0.1225, allocations: 103.7 kB / 0.4894 GB, free: 10.28 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002294/0.1228, allocations: 63.8 kB / 0.4894 GB, free: 10.22 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003229/0.1231, allocations: 91.75 kB / 0.4895 GB, free: 10.13 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001929/0.1233, allocations: 83.8 kB / 0.4896 GB, free: 10.05 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001153/0.1234, allocations: 28.16 kB / 0.4896 GB, free: 10.02 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.272e-05/0.1235, allocations: 31.91 kB / 0.4896 GB, free: 9.988 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001134/0.1236, allocations: 59.81 kB / 0.4897 GB, free: 9.93 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.96e-05/0.1237, allocations: 4 kB / 0.4897 GB, free: 9.926 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001017/0.1238, allocations: 31.94 kB / 0.4897 GB, free: 9.895 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 6.205e-05/0.1238, allocations: 31.91 kB / 0.4898 GB, free: 9.863 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 4.822e-05/0.1239, allocations: 31.73 kB / 0.4898 GB, free: 9.832 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002026/0.1241, allocations: 103.6 kB / 0.4899 GB, free: 9.73 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.739e-06/0.1241, allocations: 0 / 0.4899 GB, free: 9.73 MB / 382.1 MB Notification: Performance of FrontEnd: time 3.457e-06/0.1241, allocations: 4 kB / 0.4899 GB, free: 9.727 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.45e-06/0.1241, allocations: 0 / 0.4899 GB, free: 9.727 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0005357/0.1247, allocations: 418.4 kB / 0.4903 GB, free: 9.273 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.106e-05/0.1247, allocations: 19.83 kB / 0.4903 GB, free: 9.254 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.729e-05/0.1248, allocations: 30.75 kB / 0.4903 GB, free: 9.215 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.192e-05/0.1248, allocations: 16.69 kB / 0.4904 GB, free: 9.199 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002021/0.125, allocations: 204.1 kB / 0.4906 GB, free: 8.961 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.064e-05/0.125, allocations: 4.375 kB / 0.4906 GB, free: 8.957 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.4e-05/0.1251, allocations: 12.11 kB / 0.4906 GB, free: 8.945 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001772/0.1253, allocations: 71.38 kB / 0.4906 GB, free: 8.863 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.384e-05/0.1253, allocations: 11.84 kB / 0.4907 GB, free: 8.852 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.35e-05/0.1253, allocations: 4 kB / 0.4907 GB, free: 8.848 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.87e-06/0.1253, allocations: 0 / 0.4907 GB, free: 8.848 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001049/0.1254, allocations: 35.97 kB / 0.4907 GB, free: 8.812 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004825/0.1259, allocations: 400.9 kB / 0.4911 GB, free: 8.367 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000279/0.1262, allocations: 89.2 kB / 0.4912 GB, free: 8.262 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.386e-05/0.1263, allocations: 33.8 kB / 0.4912 GB, free: 8.223 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.562e-05/0.1263, allocations: 3.938 kB / 0.4912 GB, free: 8.219 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.314e-05/0.1264, allocations: 34.56 kB / 0.4912 GB, free: 8.176 MB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 1.443e-06/0.1264, allocations: 3.938 kB / 0.4912 GB, free: 8.172 MB / 382.1 MB Notification: Performance of matching and sorting (n=10): time 0.0007277/0.1271, allocations: 240.7 kB / 0.4915 GB, free: 7.93 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.866e-05/0.1272, allocations: 85.05 kB / 0.4915 GB, free: 7.828 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002266/0.1274, allocations: 235.6 kB / 0.4918 GB, free: 7.59 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.864e-05/0.1274, allocations: 25.7 kB / 0.4918 GB, free: 7.559 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.144e-05/0.1275, allocations: 108.1 kB / 0.4919 GB, free: 7.449 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.563e-05/0.1275, allocations: 27.56 kB / 0.4919 GB, free: 7.422 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.465e-05/0.1276, allocations: 25.7 kB / 0.4919 GB, free: 7.391 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001293/0.1277, allocations: 330.8 kB / 0.4923 GB, free: 7.059 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.675e-05/0.1278, allocations: 27.98 kB / 0.4923 GB, free: 7.031 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.739e-05/0.1279, allocations: 49.69 kB / 0.4923 GB, free: 6.977 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001669/0.1281, allocations: 89.73 kB / 0.4924 GB, free: 6.883 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.032e-06/0.1281, allocations: 0 / 0.4924 GB, free: 6.883 MB / 382.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002458/0.1283, allocations: 133.5 kB / 0.4925 GB, free: 6.746 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.493e-05/0.1284, allocations: 4 kB / 0.4925 GB, free: 6.742 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.079e-06/0.1284, allocations: 0 / 0.4925 GB, free: 6.742 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.672e-05/0.1284, allocations: 0 / 0.4925 GB, free: 6.742 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.268e-05/0.1285, allocations: 23.92 kB / 0.4926 GB, free: 6.719 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.708e-06/0.1285, allocations: 7.938 kB / 0.4926 GB, free: 6.711 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.391e-05/0.1286, allocations: 7.938 kB / 0.4926 GB, free: 6.703 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.993e-06/0.1286, allocations: 0 / 0.4926 GB, free: 6.703 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 (10): * Single equations (assignments): 10 * 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.000125/0.1287, allocations: 141.8 kB / 0.4927 GB, free: 6.555 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.451e-05/0.1288, allocations: 11.81 kB / 0.4927 GB, free: 6.543 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003044/0.1291, allocations: 150.5 kB / 0.4929 GB, free: 6.387 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.545e-06/0.1291, allocations: 0 / 0.4929 GB, free: 6.387 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.486e-06/0.1291, allocations: 7.922 kB / 0.4929 GB, free: 6.379 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.328e-06/0.1291, allocations: 4.562 kB / 0.4929 GB, free: 6.375 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006071/0.1297, allocations: 0.5027 MB / 0.4934 GB, free: 5.812 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.011e-06/0.1297, allocations: 7.922 kB / 0.4934 GB, free: 5.805 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.161e-05/0.1298, allocations: 20 kB / 0.4934 GB, free: 5.785 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.668e-06/0.1298, allocations: 4 kB / 0.4934 GB, free: 5.781 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.1e-05/0.1298, allocations: 4.031 kB / 0.4934 GB, free: 5.777 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.104e-06/0.1299, allocations: 0 / 0.4934 GB, free: 5.777 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.727e-06/0.1299, allocations: 7.984 kB / 0.4934 GB, free: 5.77 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002947/0.1302, allocations: 299.6 kB / 0.4937 GB, free: 5.457 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.256e-05/0.1302, allocations: 96.94 kB / 0.4938 GB, free: 5.344 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.227e-05/0.1303, allocations: 4 kB / 0.4938 GB, free: 5.34 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.614e-05/0.1304, allocations: 0 / 0.4938 GB, free: 5.34 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.167e-05/0.1304, allocations: 19.92 kB / 0.4938 GB, free: 5.32 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.049e-06/0.1304, allocations: 0 / 0.4938 GB, free: 5.32 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001397/0.1306, allocations: 175.2 kB / 0.494 GB, free: 5.148 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1306, allocations: 0 / 0.494 GB, free: 5.148 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002863/0.1309, allocations: 23.98 kB / 0.494 GB, free: 5.125 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (10): * Single equations (assignments): 10 * 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.001392/0.1323, allocations: 1.13 MB / 0.4951 GB, free: 4.004 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002416/0.1325, allocations: 87.88 kB / 0.4952 GB, free: 3.918 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.816e-06/0.1325, allocations: 0 / 0.4952 GB, free: 3.918 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001043/0.1326, allocations: 47.91 kB / 0.4952 GB, free: 3.871 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004272/0.1331, allocations: 27.22 kB / 0.4953 GB, free: 3.848 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002212/0.1353, allocations: 1.854 MB / 0.4971 GB, free: 1.895 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003118/0.1356, allocations: 0.7196 MB / 0.4978 GB, free: 1.148 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 8.094e-05/0.1357, allocations: 20.41 kB / 0.4978 GB, free: 1.129 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.695e-05/0.1358, allocations: 35.42 kB / 0.4978 GB, free: 1.094 MB / 382.1 MB Notification: Performance of SimCode: time 5.81e-07/0.1358, allocations: 4 kB / 0.4978 GB, free: 1.09 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02095/0.1568, allocations: 3.174 MB / 0.5009 GB, free: 13.89 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.482/7.639, allocations: 12.17 kB / 0.501 GB, free: 13.88 MB / 398.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test6.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test6.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test6.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test6.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test6_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable1D_Test6_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable1D_Test6.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test6.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test6_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable1D/Test6/Test6.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test6.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches