Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test32.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.Test32,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable1Ds_Test32",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Ds.Test32,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable1Ds_Test32",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.001582/0.001582, allocations: 106.2 kB / 16.41 MB, free: 6.461 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.001756/0.001756, allocations: 189.5 kB / 17.34 MB, free: 5.715 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.557/1.557, allocations: 205.1 MB / 223.2 MB, free: 12.21 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.2365/0.2365, allocations: 43.52 MB / 314.1 MB, free: 444 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.001688/0.001688, allocations: 73.45 kB / 441.3 MB, free: 6.129 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1226/0.1243, allocations: 57.78 MB / 499.1 MB, free: 12.27 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test32): time 0.00344/0.1278, allocations: 1.554 MB / 0.4889 GB, free: 10.71 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.000625/0.1285, allocations: 323.5 kB / 0.4892 GB, free: 10.39 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.688e-05/0.1285, allocations: 0 / 0.4892 GB, free: 10.39 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003049/0.1289, allocations: 107.7 kB / 0.4893 GB, free: 10.29 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002125/0.1291, allocations: 71.78 kB / 0.4894 GB, free: 10.22 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002413/0.1294, allocations: 83.77 kB / 0.4895 GB, free: 10.14 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001677/0.1295, allocations: 67.89 kB / 0.4895 GB, free: 10.07 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001351/0.1297, allocations: 15.91 kB / 0.4896 GB, free: 10.05 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.796e-05/0.1297, allocations: 39.83 kB / 0.4896 GB, free: 10.02 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001196/0.1299, allocations: 63.81 kB / 0.4897 GB, free: 9.953 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.993e-05/0.1299, allocations: 4 kB / 0.4897 GB, free: 9.949 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.738e-05/0.13, allocations: 43.92 kB / 0.4897 GB, free: 9.906 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 5.556e-05/0.1301, allocations: 19.92 kB / 0.4897 GB, free: 9.887 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 4.02e-05/0.1301, allocations: 27.73 kB / 0.4898 GB, free: 9.859 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001873/0.1303, allocations: 95.59 kB / 0.4898 GB, free: 9.766 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.298e-06/0.1303, allocations: 0 / 0.4898 GB, free: 9.766 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.914e-06/0.1303, allocations: 0 / 0.4898 GB, free: 9.766 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.103e-05/0.1303, allocations: 0 / 0.4898 GB, free: 9.766 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.0005627/0.1309, allocations: 422.6 kB / 0.4902 GB, free: 9.305 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.502e-05/0.131, allocations: 11.89 kB / 0.4903 GB, free: 9.293 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.487e-05/0.131, allocations: 30.75 kB / 0.4903 GB, free: 9.254 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.031e-05/0.131, allocations: 20.83 kB / 0.4903 GB, free: 9.234 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002037/0.1313, allocations: 200.2 kB / 0.4905 GB, free: 9 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.194e-05/0.1313, allocations: 4.375 kB / 0.4905 GB, free: 8.996 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.022e-05/0.1313, allocations: 384 / 0.4905 GB, free: 8.996 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000144/0.1314, allocations: 57.61 kB / 0.4906 GB, free: 8.934 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.282e-05/0.1315, allocations: 0 / 0.4906 GB, free: 8.934 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.797e-06/0.1315, allocations: 0 / 0.4906 GB, free: 8.934 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.905e-06/0.1315, allocations: 0 / 0.4906 GB, free: 8.934 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.18e-05/0.1316, allocations: 23.92 kB / 0.4906 GB, free: 8.91 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000384/0.132, allocations: 284.9 kB / 0.4909 GB, free: 8.582 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002237/0.1322, allocations: 46.53 kB / 0.4909 GB, free: 8.527 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.852e-05/0.1323, allocations: 12.86 kB / 0.4909 GB, free: 8.512 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.301e-05/0.1323, allocations: 0 / 0.4909 GB, free: 8.512 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.638e-05/0.1323, allocations: 42.5 kB / 0.491 GB, free: 8.461 MB / 382.1 MB Notification: Performance of pre-optimization done (n=3): time 9.32e-07/0.1324, allocations: 4 kB / 0.491 GB, free: 8.457 MB / 382.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005496/0.1329, allocations: 141.5 kB / 0.4911 GB, free: 8.312 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.442e-05/0.133, allocations: 55.34 kB / 0.4911 GB, free: 8.246 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002241/0.1332, allocations: 250.6 kB / 0.4914 GB, free: 7.988 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.36e-05/0.1332, allocations: 25.7 kB / 0.4914 GB, free: 7.957 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.899e-05/0.1333, allocations: 112.1 kB / 0.4915 GB, free: 7.844 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.11e-05/0.1333, allocations: 11.86 kB / 0.4915 GB, free: 7.832 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.349e-05/0.1333, allocations: 17.72 kB / 0.4915 GB, free: 7.809 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001194/0.1335, allocations: 330.8 kB / 0.4919 GB, free: 7.477 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.564e-05/0.1335, allocations: 15.98 kB / 0.4919 GB, free: 7.461 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.551e-05/0.1336, allocations: 20.05 kB / 0.4919 GB, free: 7.441 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001219/0.1337, allocations: 48.83 kB / 0.4919 GB, free: 7.391 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.92e-07/0.1338, allocations: 0 / 0.4919 GB, free: 7.391 MB / 382.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001781/0.1339, allocations: 85.56 kB / 0.492 GB, free: 7.301 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.549e-05/0.134, allocations: 8 kB / 0.492 GB, free: 7.293 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.751e-06/0.134, allocations: 7.922 kB / 0.492 GB, free: 7.285 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.359e-05/0.134, allocations: 0 / 0.492 GB, free: 7.285 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.177e-05/0.1341, allocations: 15.92 kB / 0.492 GB, free: 7.27 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.809e-06/0.1341, allocations: 0 / 0.492 GB, free: 7.27 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.864e-05/0.1341, allocations: 4 kB / 0.4921 GB, free: 7.266 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.111e-05/0.1341, allocations: 15.92 kB / 0.4921 GB, free: 7.25 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.0001049/0.1343, allocations: 129.8 kB / 0.4922 GB, free: 7.113 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.962e-05/0.1343, allocations: 15.89 kB / 0.4922 GB, free: 7.098 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002531/0.1346, allocations: 94.59 kB / 0.4923 GB, free: 6.996 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.926e-06/0.1346, allocations: 0 / 0.4923 GB, free: 6.996 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.577e-06/0.1346, allocations: 0 / 0.4923 GB, free: 6.996 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.735e-06/0.1346, allocations: 0 / 0.4923 GB, free: 6.996 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000448/0.135, allocations: 366.7 kB / 0.4926 GB, free: 6.582 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.024e-06/0.1351, allocations: 64 / 0.4926 GB, free: 6.582 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.246e-05/0.1351, allocations: 12 kB / 0.4927 GB, free: 6.57 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.208e-06/0.1351, allocations: 3.984 kB / 0.4927 GB, free: 6.566 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.754e-06/0.1351, allocations: 0 / 0.4927 GB, free: 6.566 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.336e-06/0.1351, allocations: 7.938 kB / 0.4927 GB, free: 6.559 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.184e-06/0.1352, allocations: 0 / 0.4927 GB, free: 6.559 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000223/0.1354, allocations: 183.4 kB / 0.4928 GB, free: 6.363 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.11e-05/0.1354, allocations: 85.06 kB / 0.4929 GB, free: 6.262 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.742e-05/0.1355, allocations: 0 / 0.4929 GB, free: 6.262 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.074e-05/0.1355, allocations: 11.92 kB / 0.4929 GB, free: 6.25 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.598e-05/0.1356, allocations: 4 kB / 0.4929 GB, free: 6.246 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.771e-06/0.1356, allocations: 4 kB / 0.4929 GB, free: 6.242 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001478/0.1357, allocations: 179.2 kB / 0.4931 GB, free: 6.066 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.1358, allocations: 4 kB / 0.4931 GB, free: 6.062 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002445/0.136, allocations: 19.94 kB / 0.4931 GB, free: 6.043 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.001349/0.1374, allocations: 1.006 MB / 0.4941 GB, free: 5.051 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001876/0.1376, allocations: 47.97 kB / 0.4942 GB, free: 5.004 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.364e-06/0.1376, allocations: 0 / 0.4942 GB, free: 5.004 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 7.275e-05/0.1376, allocations: 27.92 kB / 0.4942 GB, free: 4.977 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003652/0.138, allocations: 27.86 kB / 0.4942 GB, free: 4.949 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001813/0.1398, allocations: 1.64 MB / 0.4958 GB, free: 3.227 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002725/0.1401, allocations: 0.7155 MB / 0.4965 GB, free: 2.488 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 4.599e-05/0.1402, allocations: 4 kB / 0.4965 GB, free: 2.484 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.12e-05/0.1403, allocations: 35.36 kB / 0.4966 GB, free: 2.449 MB / 382.1 MB Notification: Performance of SimCode: time 2.61e-07/0.1403, allocations: 0 / 0.4966 GB, free: 2.449 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02281/0.1631, allocations: 2.905 MB / 0.4994 GB, free: 15.53 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.063/8.226, allocations: 8 kB / 0.4994 GB, free: 15.52 MB / 398.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test32.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test32.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test32.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test32.sim & python3 -m fmpy simulate --output-file ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test32_res.csv --start-time 7.99 --stop-time 20 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.004804 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable1Ds_Test32.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test32.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test32_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable1Ds/Test32/Test32.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test32.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches