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.001465/0.001465, allocations: 111.8 kB / 16.41 MB, free: 6.5 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.001512/0.001512, allocations: 185.5 kB / 17.34 MB, free: 5.762 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.518/1.518, 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.2076/0.2076, allocations: 43.52 MB / 314.1 MB, free: 468 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.00147/0.00147, allocations: 70.03 kB / 441.3 MB, free: 6.16 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1279/0.1294, allocations: 57.79 MB / 499.1 MB, free: 12.29 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test2): time 0.002934/0.1323, allocations: 1.55 MB / 0.4889 GB, free: 10.73 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006075/0.133, allocations: 319.5 kB / 0.4892 GB, free: 10.42 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.305e-05/0.133, allocations: 4 kB / 0.4892 GB, free: 10.41 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002175/0.1333, allocations: 19.84 kB / 0.4893 GB, free: 10.39 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001652/0.1335, allocations: 39.84 kB / 0.4893 GB, free: 10.36 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002327/0.1337, allocations: 71.7 kB / 0.4894 GB, free: 10.29 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001454/0.1339, allocations: 59.91 kB / 0.4894 GB, free: 10.23 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.204e-05/0.134, allocations: 7.984 kB / 0.4894 GB, free: 10.22 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.078e-05/0.134, allocations: 23.86 kB / 0.4894 GB, free: 10.2 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.931e-05/0.1341, allocations: 19.92 kB / 0.4895 GB, free: 10.18 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.764e-05/0.1341, allocations: 3.984 kB / 0.4895 GB, free: 10.17 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.239e-05/0.1342, allocations: 31.94 kB / 0.4895 GB, free: 10.14 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 4.962e-05/0.1342, allocations: 15.92 kB / 0.4895 GB, free: 10.12 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 3.585e-05/0.1343, allocations: 15.88 kB / 0.4895 GB, free: 10.11 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001674/0.1344, allocations: 79.61 kB / 0.4896 GB, free: 10.03 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.888e-06/0.1344, allocations: 0 / 0.4896 GB, free: 10.03 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.222e-06/0.1345, allocations: 0 / 0.4896 GB, free: 10.03 MB / 382.1 MB Notification: Performance of Transformations before backend: time 4.739e-06/0.1345, allocations: 0 / 0.4896 GB, free: 10.03 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.0005052/0.135, allocations: 375.1 kB / 0.49 GB, free: 9.617 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.977e-05/0.135, allocations: 15.89 kB / 0.49 GB, free: 9.602 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4e-05/0.1351, allocations: 38.69 kB / 0.49 GB, free: 9.555 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.898e-05/0.1351, allocations: 8.891 kB / 0.49 GB, free: 9.547 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002333/0.1353, allocations: 192.2 kB / 0.4902 GB, free: 9.32 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.001e-05/0.1354, allocations: 384 / 0.4902 GB, free: 9.32 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.882e-05/0.1354, allocations: 4.375 kB / 0.4902 GB, free: 9.316 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001439/0.1355, allocations: 49.62 kB / 0.4903 GB, free: 9.262 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.108e-05/0.1355, allocations: 0 / 0.4903 GB, free: 9.262 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.026e-05/0.1356, allocations: 4 kB / 0.4903 GB, free: 9.258 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.859e-06/0.1356, allocations: 0 / 0.4903 GB, free: 9.258 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.029e-05/0.1357, allocations: 19.98 kB / 0.4903 GB, free: 9.238 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003603/0.136, allocations: 272.8 kB / 0.4905 GB, free: 8.922 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003269/0.1364, allocations: 46.56 kB / 0.4906 GB, free: 8.867 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.993e-05/0.1364, allocations: 16.94 kB / 0.4906 GB, free: 8.848 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.399e-05/0.1365, allocations: 0 / 0.4906 GB, free: 8.848 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.23e-05/0.1365, allocations: 30.56 kB / 0.4906 GB, free: 8.809 MB / 382.1 MB Notification: Performance of pre-optimization done (n=3): time 1.052e-06/0.1365, allocations: 0 / 0.4906 GB, free: 8.809 MB / 382.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005541/0.1371, allocations: 149.4 kB / 0.4908 GB, free: 8.656 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.268e-05/0.1371, allocations: 51.41 kB / 0.4908 GB, free: 8.594 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001296/0.1373, allocations: 141.8 kB / 0.491 GB, free: 8.445 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.389e-05/0.1373, allocations: 29.64 kB / 0.491 GB, free: 8.41 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.424e-05/0.1373, allocations: 96.12 kB / 0.4911 GB, free: 8.312 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.333e-05/0.1374, allocations: 19.8 kB / 0.4911 GB, free: 8.293 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.674e-05/0.1374, allocations: 17.72 kB / 0.4911 GB, free: 8.27 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001321/0.1375, allocations: 326.8 kB / 0.4914 GB, free: 7.941 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.586e-05/0.1376, allocations: 15.98 kB / 0.4914 GB, free: 7.926 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.8e-05/0.1377, allocations: 20.05 kB / 0.4915 GB, free: 7.906 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001331/0.1378, allocations: 48.83 kB / 0.4915 GB, free: 7.855 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.092e-06/0.1378, allocations: 3.938 kB / 0.4915 GB, free: 7.852 MB / 382.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001685/0.138, allocations: 81.62 kB / 0.4916 GB, free: 7.766 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.601e-05/0.138, allocations: 4 kB / 0.4916 GB, free: 7.762 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.26e-06/0.138, allocations: 0 / 0.4916 GB, free: 7.762 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.264e-05/0.1381, allocations: 0 / 0.4916 GB, free: 7.762 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.534e-05/0.1381, allocations: 19.92 kB / 0.4916 GB, free: 7.742 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.571e-06/0.1381, allocations: 0 / 0.4916 GB, free: 7.742 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.95e-05/0.1382, allocations: 4 kB / 0.4916 GB, free: 7.738 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.953e-06/0.1382, allocations: 3.938 kB / 0.4916 GB, free: 7.734 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 8.511e-05/0.1383, allocations: 129.7 kB / 0.4917 GB, free: 7.598 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.04e-05/0.1383, allocations: 7.953 kB / 0.4918 GB, free: 7.59 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002175/0.1385, allocations: 93.95 kB / 0.4918 GB, free: 7.488 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.364e-06/0.1386, allocations: 0 / 0.4918 GB, free: 7.488 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.427e-06/0.1386, allocations: 0 / 0.4918 GB, free: 7.488 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.126e-06/0.1386, allocations: 288 / 0.4918 GB, free: 7.488 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003906/0.139, allocations: 346.8 kB / 0.4922 GB, free: 7.094 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.453e-06/0.139, allocations: 4 kB / 0.4922 GB, free: 7.09 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.4e-05/0.139, allocations: 15.98 kB / 0.4922 GB, free: 7.074 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.316e-06/0.1391, allocations: 3.984 kB / 0.4922 GB, free: 7.07 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.164e-06/0.1391, allocations: 0 / 0.4922 GB, free: 7.07 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.869e-06/0.1391, allocations: 7.938 kB / 0.4922 GB, free: 7.062 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.71e-07/0.1391, allocations: 0 / 0.4922 GB, free: 7.062 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002068/0.1393, allocations: 175.4 kB / 0.4924 GB, free: 6.875 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.639e-05/0.1393, allocations: 89.05 kB / 0.4925 GB, free: 6.77 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.625e-05/0.1394, allocations: 4 kB / 0.4925 GB, free: 6.766 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.65e-05/0.1394, allocations: 7.938 kB / 0.4925 GB, free: 6.758 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.832e-05/0.1395, allocations: 7.984 kB / 0.4925 GB, free: 6.75 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.297e-06/0.1395, allocations: 3.938 kB / 0.4925 GB, free: 6.746 MB / 382.1 MB Notification: Performance of sorting global known variables: time 7.354e-05/0.1396, allocations: 107.3 kB / 0.4926 GB, free: 6.641 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1396, allocations: 0 / 0.4926 GB, free: 6.641 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002324/0.1398, allocations: 12 kB / 0.4926 GB, free: 6.629 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.001299/0.1411, allocations: 1.011 MB / 0.4936 GB, free: 5.637 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001954/0.1413, allocations: 43.97 kB / 0.4936 GB, free: 5.594 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.013e-06/0.1413, allocations: 0 / 0.4936 GB, free: 5.594 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 6.986e-05/0.1414, allocations: 27.98 kB / 0.4936 GB, free: 5.566 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003606/0.1418, allocations: 19.92 kB / 0.4937 GB, free: 5.547 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001615/0.1434, allocations: 1.401 MB / 0.495 GB, free: 4.066 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004648/0.1439, allocations: 0.6885 MB / 0.4957 GB, free: 3.352 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 4.868e-05/0.1439, allocations: 15.92 kB / 0.4957 GB, free: 3.336 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.162e-05/0.144, allocations: 19.44 kB / 0.4957 GB, free: 3.316 MB / 382.1 MB Notification: Performance of SimCode: time 2.3e-07/0.144, allocations: 0 / 0.4957 GB, free: 3.316 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01935/0.1634, allocations: 2.452 MB / 0.4981 GB, free: 0.8438 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.561/7.725, allocations: 11.89 kB / 0.4981 GB, free: 0.832 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 & python3 -m fmpy simulate --output-file ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test2_res.csv --start-time 0 --stop-time 2.5 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.001 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.csv","/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