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.001219/0.001219, allocations: 108 kB / 16.41 MB, free: 6.488 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.001255/0.001255, allocations: 185.5 kB / 17.34 MB, free: 5.754 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.357/1.357, 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.2046/0.2046, allocations: 43.53 MB / 314.1 MB, free: 472 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.001962/0.001962, allocations: 71.89 kB / 441.3 MB, free: 6.156 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1216/0.1236, allocations: 57.79 MB / 499.1 MB, free: 12.29 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test32): time 0.00445/0.1281, allocations: 1.546 MB / 0.4889 GB, free: 10.74 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001048/0.1292, allocations: 323.5 kB / 0.4892 GB, free: 10.42 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.703e-05/0.1293, allocations: 0 / 0.4892 GB, free: 10.42 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003978/0.1297, allocations: 107.7 kB / 0.4893 GB, free: 10.31 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002914/0.13, allocations: 71.78 kB / 0.4894 GB, free: 10.24 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003779/0.1304, allocations: 83.77 kB / 0.4895 GB, free: 10.16 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002141/0.1306, allocations: 71.83 kB / 0.4895 GB, free: 10.09 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000118/0.1308, allocations: 15.97 kB / 0.4896 GB, free: 10.07 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.114e-05/0.1309, allocations: 39.77 kB / 0.4896 GB, free: 10.04 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001622/0.131, allocations: 59.88 kB / 0.4897 GB, free: 9.977 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.369e-05/0.1311, allocations: 4 kB / 0.4897 GB, free: 9.973 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001131/0.1312, allocations: 35.98 kB / 0.4897 GB, free: 9.938 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 6.988e-05/0.1313, allocations: 27.86 kB / 0.4897 GB, free: 9.91 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 6.037e-05/0.1314, allocations: 31.73 kB / 0.4898 GB, free: 9.879 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002433/0.1316, allocations: 91.59 kB / 0.4898 GB, free: 9.789 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.038e-06/0.1317, allocations: 0 / 0.4898 GB, free: 9.789 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.402e-06/0.1317, allocations: 0 / 0.4898 GB, free: 9.789 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.19e-06/0.1317, allocations: 0 / 0.4898 GB, free: 9.789 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.0006801/0.1324, allocations: 418.7 kB / 0.4902 GB, free: 9.332 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.954e-05/0.1324, allocations: 11.89 kB / 0.4903 GB, free: 9.32 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.587e-05/0.1325, allocations: 38.67 kB / 0.4903 GB, free: 9.273 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.99e-05/0.1326, allocations: 16.84 kB / 0.4903 GB, free: 9.258 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002877/0.1329, allocations: 204.2 kB / 0.4905 GB, free: 9.02 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.712e-05/0.1329, allocations: 4.375 kB / 0.4905 GB, free: 9.016 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.004e-05/0.1329, allocations: 384 / 0.4905 GB, free: 9.016 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001952/0.1331, allocations: 57.61 kB / 0.4906 GB, free: 8.953 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.46e-05/0.1332, allocations: 0 / 0.4906 GB, free: 8.953 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.137e-06/0.1332, allocations: 0 / 0.4906 GB, free: 8.953 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.213e-05/0.1332, allocations: 3.984 kB / 0.4906 GB, free: 8.949 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000156/0.1334, allocations: 23.92 kB / 0.4906 GB, free: 8.926 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000538/0.1339, allocations: 288.9 kB / 0.4909 GB, free: 8.594 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002874/0.1342, allocations: 38.56 kB / 0.4909 GB, free: 8.547 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.712e-05/0.1343, allocations: 16.8 kB / 0.4909 GB, free: 8.527 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.424e-05/0.1344, allocations: 0 / 0.4909 GB, free: 8.527 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.875e-05/0.1344, allocations: 34.56 kB / 0.4909 GB, free: 8.484 MB / 382.1 MB Notification: Performance of pre-optimization done (n=3): time 9.738e-06/0.1345, allocations: 8 kB / 0.491 GB, free: 8.477 MB / 382.1 MB Notification: Performance of matching and sorting (n=5): time 0.0008566/0.1353, allocations: 145.4 kB / 0.4911 GB, free: 8.328 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.846e-05/0.1354, allocations: 55.39 kB / 0.4911 GB, free: 8.262 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004078/0.1358, allocations: 246.6 kB / 0.4914 GB, free: 8.008 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.655e-05/0.1359, allocations: 25.7 kB / 0.4914 GB, free: 7.977 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001192/0.136, allocations: 108.1 kB / 0.4915 GB, free: 7.867 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.939e-05/0.136, allocations: 23.84 kB / 0.4915 GB, free: 7.844 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.577e-05/0.1361, allocations: 13.72 kB / 0.4915 GB, free: 7.824 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0002172/0.1364, allocations: 330.8 kB / 0.4919 GB, free: 7.492 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001212/0.1365, allocations: 15.98 kB / 0.4919 GB, free: 7.477 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001124/0.1366, allocations: 15.98 kB / 0.4919 GB, free: 7.461 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002482/0.1369, allocations: 48.83 kB / 0.4919 GB, free: 7.41 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.443e-06/0.1369, allocations: 4 kB / 0.4919 GB, free: 7.406 MB / 382.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0003394/0.1372, allocations: 85.5 kB / 0.492 GB, free: 7.316 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.286e-05/0.1373, allocations: 8 kB / 0.492 GB, free: 7.309 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.162e-06/0.1373, allocations: 0 / 0.492 GB, free: 7.309 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.772e-05/0.1373, allocations: 0 / 0.492 GB, free: 7.309 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001146/0.1375, allocations: 12.23 kB / 0.492 GB, free: 7.297 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.025e-05/0.1375, allocations: 0 / 0.492 GB, free: 7.297 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.873e-05/0.1376, allocations: 15.92 kB / 0.4921 GB, free: 7.281 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.854e-05/0.1376, allocations: 11.92 kB / 0.4921 GB, free: 7.27 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.0001788/0.1378, allocations: 137.8 kB / 0.4922 GB, free: 7.125 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.016e-05/0.1379, allocations: 11.91 kB / 0.4922 GB, free: 7.113 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003905/0.1383, allocations: 94.59 kB / 0.4923 GB, free: 7.012 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.477e-06/0.1383, allocations: 0 / 0.4923 GB, free: 7.012 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.879e-06/0.1383, allocations: 0 / 0.4923 GB, free: 7.012 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.987e-06/0.1383, allocations: 0 / 0.4923 GB, free: 7.012 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007955/0.1391, allocations: 362.5 kB / 0.4926 GB, free: 6.602 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.565e-06/0.1391, allocations: 0 / 0.4926 GB, free: 6.602 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001078/0.1393, allocations: 11.98 kB / 0.4927 GB, free: 6.59 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.486e-06/0.1393, allocations: 3.938 kB / 0.4927 GB, free: 6.586 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.598e-06/0.1393, allocations: 0 / 0.4927 GB, free: 6.586 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.751e-06/0.1393, allocations: 7.938 kB / 0.4927 GB, free: 6.578 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.253e-06/0.1393, allocations: 0 / 0.4927 GB, free: 6.578 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003941/0.1397, allocations: 179.4 kB / 0.4928 GB, free: 6.387 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.639e-05/0.1398, allocations: 85.06 kB / 0.4929 GB, free: 6.285 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.755e-05/0.1399, allocations: 3.984 kB / 0.4929 GB, free: 6.281 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001289/0.14, allocations: 7.938 kB / 0.4929 GB, free: 6.273 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.84e-05/0.1401, allocations: 4 kB / 0.4929 GB, free: 6.27 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.063e-05/0.1401, allocations: 4.188 kB / 0.4929 GB, free: 6.266 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0002662/0.1404, allocations: 179.2 kB / 0.4931 GB, free: 6.09 MB / 382.1 MB Notification: Performance of sort global known variables: time 3.91e-07/0.1404, allocations: 0 / 0.4931 GB, free: 6.09 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.000451/0.1409, allocations: 27.92 kB / 0.4931 GB, free: 6.062 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.002889/0.1438, allocations: 1.006 MB / 0.4941 GB, free: 5.074 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0003555/0.1441, allocations: 47.97 kB / 0.4942 GB, free: 5.027 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.357e-06/0.1442, allocations: 0 / 0.4942 GB, free: 5.027 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001419/0.1443, allocations: 27.92 kB / 0.4942 GB, free: 5 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000607/0.1449, allocations: 27.91 kB / 0.4942 GB, free: 4.973 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003097/0.1481, allocations: 1.644 MB / 0.4958 GB, free: 3.246 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005011/0.1486, allocations: 0.7154 MB / 0.4965 GB, free: 2.508 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 7.52e-05/0.1487, allocations: 7.984 kB / 0.4965 GB, free: 2.5 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.447e-05/0.1488, allocations: 27.44 kB / 0.4966 GB, free: 2.473 MB / 382.1 MB Notification: Performance of SimCode: time 7.21e-07/0.1488, allocations: 0 / 0.4966 GB, free: 2.473 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03099/0.1798, allocations: 2.897 MB / 0.4994 GB, free: 15.56 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.101/8.281, allocations: 16 kB / 0.4994 GB, free: 15.54 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