Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test2.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.CombiTable1Ds.Test2,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable1Ds_Test2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Ds.Test2,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable1Ds_Test2",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.001246/0.001246, allocations: 106.9 kB / 16.41 MB, free: 6.402 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.001246/0.001246, allocations: 192.4 kB / 17.34 MB, free: 5.691 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.482/1.482, 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.2248/0.2248, allocations: 43.52 MB / 314.1 MB, free: 464 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.003132/0.003132, allocations: 69.47 kB / 441.3 MB, free: 6.145 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1257/0.1288, allocations: 57.8 MB / 499.1 MB, free: 12.27 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test2): time 0.003028/0.1319, allocations: 1.554 MB / 0.4889 GB, free: 10.71 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006289/0.1325, allocations: 315.5 kB / 0.4892 GB, free: 10.39 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.041e-05/0.1326, allocations: 0 / 0.4892 GB, free: 10.39 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002066/0.1328, allocations: 23.86 kB / 0.4893 GB, free: 10.37 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001675/0.133, allocations: 39.78 kB / 0.4893 GB, free: 10.33 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002324/0.1333, allocations: 67.84 kB / 0.4894 GB, free: 10.27 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001368/0.1334, allocations: 55.84 kB / 0.4894 GB, free: 10.21 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.451e-05/0.1335, allocations: 23.91 kB / 0.4894 GB, free: 10.19 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.637e-05/0.1336, allocations: 27.84 kB / 0.4895 GB, free: 10.16 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.87e-05/0.1336, allocations: 11.94 kB / 0.4895 GB, free: 10.15 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.587e-05/0.1336, allocations: 4 kB / 0.4895 GB, free: 10.14 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.293e-05/0.1337, allocations: 27.98 kB / 0.4895 GB, free: 10.12 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 3.981e-05/0.1338, allocations: 11.94 kB / 0.4895 GB, free: 10.11 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 4.534e-05/0.1338, allocations: 23.84 kB / 0.4895 GB, free: 10.08 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000153/0.134, allocations: 83.61 kB / 0.4896 GB, free: 10 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.387e-06/0.134, allocations: 0 / 0.4896 GB, free: 10 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.703e-06/0.134, allocations: 0 / 0.4896 GB, free: 10 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.018e-05/0.134, allocations: 0 / 0.4896 GB, free: 10 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.000494/0.1345, allocations: 371.1 kB / 0.49 GB, free: 9.59 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.04e-05/0.1345, allocations: 11.89 kB / 0.49 GB, free: 9.578 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.506e-05/0.1346, allocations: 34.73 kB / 0.49 GB, free: 9.535 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.183e-05/0.1346, allocations: 12.89 kB / 0.49 GB, free: 9.523 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001978/0.1348, allocations: 184.2 kB / 0.4902 GB, free: 9.305 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.122e-05/0.1348, allocations: 8.375 kB / 0.4902 GB, free: 9.297 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.197e-05/0.1349, allocations: 4.375 kB / 0.4902 GB, free: 9.293 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001336/0.135, allocations: 49.61 kB / 0.4903 GB, free: 9.238 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.129e-05/0.135, allocations: 0 / 0.4903 GB, free: 9.238 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.414e-06/0.135, allocations: 0 / 0.4903 GB, free: 9.238 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.111e-06/0.1351, allocations: 4 kB / 0.4903 GB, free: 9.234 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.073e-05/0.1351, allocations: 23.92 kB / 0.4903 GB, free: 9.211 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003615/0.1355, allocations: 272.9 kB / 0.4906 GB, free: 8.895 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001981/0.1357, allocations: 38.56 kB / 0.4906 GB, free: 8.848 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.324e-05/0.1358, allocations: 16.86 kB / 0.4906 GB, free: 8.828 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.748e-05/0.1358, allocations: 7.922 kB / 0.4906 GB, free: 8.82 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.591e-05/0.1358, allocations: 34.64 kB / 0.4906 GB, free: 8.777 MB / 382.1 MB Notification: Performance of pre-optimization done (n=3): time 1.032e-06/0.1359, allocations: 0 / 0.4906 GB, free: 8.777 MB / 382.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005236/0.1364, allocations: 145.6 kB / 0.4908 GB, free: 8.629 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.971e-05/0.1364, allocations: 51.41 kB / 0.4908 GB, free: 8.566 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001427/0.1366, allocations: 142 kB / 0.491 GB, free: 8.414 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.038e-05/0.1366, allocations: 33.7 kB / 0.491 GB, free: 8.375 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.926e-05/0.1367, allocations: 84.14 kB / 0.4911 GB, free: 8.289 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.785e-05/0.1367, allocations: 23.84 kB / 0.4911 GB, free: 8.266 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.559e-05/0.1367, allocations: 21.72 kB / 0.4911 GB, free: 8.238 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001539/0.1369, allocations: 318.8 kB / 0.4914 GB, free: 7.918 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.883e-05/0.137, allocations: 19.98 kB / 0.4914 GB, free: 7.898 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.163e-05/0.137, allocations: 19.98 kB / 0.4915 GB, free: 7.879 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001223/0.1372, allocations: 36.84 kB / 0.4915 GB, free: 7.84 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.92e-07/0.1372, allocations: 0 / 0.4915 GB, free: 7.84 MB / 382.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.000185/0.1374, allocations: 101.7 kB / 0.4916 GB, free: 7.734 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.329e-05/0.1374, allocations: 4 kB / 0.4916 GB, free: 7.73 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.112e-06/0.1374, allocations: 4.031 kB / 0.4916 GB, free: 7.727 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.397e-05/0.1374, allocations: 7.984 kB / 0.4916 GB, free: 7.719 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.944e-05/0.1375, allocations: 8 kB / 0.4916 GB, free: 7.711 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.177e-06/0.1375, allocations: 3.984 kB / 0.4916 GB, free: 7.707 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.653e-05/0.1376, allocations: 4 kB / 0.4916 GB, free: 7.703 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.436e-06/0.1376, allocations: 3.938 kB / 0.4916 GB, free: 7.699 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 9.206e-05/0.1377, allocations: 125.7 kB / 0.4918 GB, free: 7.566 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.945e-05/0.1377, allocations: 7.953 kB / 0.4918 GB, free: 7.559 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002325/0.1379, allocations: 93.91 kB / 0.4918 GB, free: 7.457 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.121e-06/0.138, allocations: 3.984 kB / 0.4919 GB, free: 7.453 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.797e-06/0.138, allocations: 0 / 0.4919 GB, free: 7.453 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.846e-06/0.138, allocations: 0 / 0.4919 GB, free: 7.453 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004283/0.1384, allocations: 342.5 kB / 0.4922 GB, free: 7.062 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.372e-06/0.1384, allocations: 0 / 0.4922 GB, free: 7.062 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.039e-05/0.1385, allocations: 8 kB / 0.4922 GB, free: 7.055 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.77e-06/0.1385, allocations: 4 kB / 0.4922 GB, free: 7.051 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.25e-05/0.1385, allocations: 7.922 kB / 0.4922 GB, free: 7.043 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.507e-06/0.1385, allocations: 3.938 kB / 0.4922 GB, free: 7.039 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.22e-07/0.1385, allocations: 0 / 0.4922 GB, free: 7.039 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002299/0.1387, allocations: 175.5 kB / 0.4924 GB, free: 6.852 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.101e-05/0.1388, allocations: 81.25 kB / 0.4924 GB, free: 6.754 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.774e-05/0.1388, allocations: 8 kB / 0.4925 GB, free: 6.746 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.683e-05/0.1389, allocations: 7.922 kB / 0.4925 GB, free: 6.738 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.15e-05/0.1389, allocations: 11.94 kB / 0.4925 GB, free: 6.727 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.737e-06/0.139, allocations: 0 / 0.4925 GB, free: 6.727 MB / 382.1 MB Notification: Performance of sorting global known variables: time 8.488e-05/0.139, allocations: 111.2 kB / 0.4926 GB, free: 6.617 MB / 382.1 MB Notification: Performance of sort global known variables: time 1e-07/0.139, allocations: 0 / 0.4926 GB, free: 6.617 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002442/0.1393, allocations: 12 kB / 0.4926 GB, free: 6.605 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.001828/0.1411, allocations: 1.004 MB / 0.4936 GB, free: 5.617 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001921/0.1413, allocations: 47.97 kB / 0.4936 GB, free: 5.57 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.874e-06/0.1413, allocations: 4 kB / 0.4936 GB, free: 5.566 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 7.112e-05/0.1414, allocations: 23.92 kB / 0.4936 GB, free: 5.543 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003557/0.1418, allocations: 23.86 kB / 0.4937 GB, free: 5.52 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001563/0.1434, allocations: 1.397 MB / 0.495 GB, free: 4.043 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003183/0.1437, allocations: 0.6923 MB / 0.4957 GB, free: 3.324 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 4.161e-05/0.1437, allocations: 12 kB / 0.4957 GB, free: 3.312 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.879e-05/0.1438, allocations: 23.42 kB / 0.4957 GB, free: 3.289 MB / 382.1 MB Notification: Performance of SimCode: time 3.2e-07/0.1438, allocations: 0 / 0.4957 GB, free: 3.289 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0243/0.1681, allocations: 2.447 MB / 0.4981 GB, free: 0.8281 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.871/8.039, allocations: 15.83 kB / 0.4981 GB, free: 0.8125 MB / 382.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test2.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test2.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test2.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test2.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test2_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable1Ds_Test2_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable1Ds_Test2.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test2.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test2_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable1Ds/Test2/Test2.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches