Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test19.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.Test19,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable1Ds_Test19",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Ds.Test19,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable1Ds_Test19",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.00186/0.00186, allocations: 105.9 kB / 16.41 MB, free: 6.508 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.001753/0.001753, allocations: 189.5 kB / 17.34 MB, free: 5.738 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.517/1.517, 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.2343/0.2343, allocations: 43.52 MB / 314.1 MB, free: 452 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.002094/0.002094, allocations: 69.62 kB / 441.3 MB, free: 6.133 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.122/0.1241, allocations: 57.8 MB / 499.1 MB, free: 12.26 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test19): time 0.002968/0.1271, allocations: 1.55 MB / 0.4889 GB, free: 10.71 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001395/0.1286, allocations: 0.9377 MB / 0.4899 GB, free: 9.762 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.795e-05/0.1286, allocations: 0 / 0.4899 GB, free: 9.762 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002325/0.1289, allocations: 31.84 kB / 0.4899 GB, free: 9.73 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000173/0.1291, allocations: 35.84 kB / 0.4899 GB, free: 9.695 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002162/0.1293, allocations: 71.78 kB / 0.49 GB, free: 9.625 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001319/0.1294, allocations: 59.84 kB / 0.49 GB, free: 9.566 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.223e-05/0.1295, allocations: 19.97 kB / 0.4901 GB, free: 9.547 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.405e-05/0.1296, allocations: 15.92 kB / 0.4901 GB, free: 9.531 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001361/0.1297, allocations: 35.78 kB / 0.4901 GB, free: 9.496 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.503e-05/0.1297, allocations: 0 / 0.4901 GB, free: 9.496 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000114/0.1299, allocations: 55.97 kB / 0.4902 GB, free: 9.441 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 4.738e-05/0.1299, allocations: 4 kB / 0.4902 GB, free: 9.438 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 4.361e-05/0.13, allocations: 19.86 kB / 0.4902 GB, free: 9.418 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002214/0.1302, allocations: 95.64 kB / 0.4903 GB, free: 9.324 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.957e-06/0.1302, allocations: 0 / 0.4903 GB, free: 9.324 MB / 382.1 MB Notification: Performance of FrontEnd: time 9.82e-07/0.1302, allocations: 0 / 0.4903 GB, free: 9.324 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.22e-06/0.1302, allocations: 0 / 0.4903 GB, free: 9.324 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.0006162/0.1308, allocations: 383 kB / 0.4906 GB, free: 8.902 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.595e-05/0.1309, allocations: 15.89 kB / 0.4907 GB, free: 8.887 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.481e-05/0.131, allocations: 30.75 kB / 0.4907 GB, free: 8.848 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.619e-05/0.131, allocations: 8.891 kB / 0.4907 GB, free: 8.84 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002593/0.1313, allocations: 188.2 kB / 0.4909 GB, free: 8.617 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.599e-05/0.1313, allocations: 4.375 kB / 0.4909 GB, free: 8.613 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.016e-05/0.1313, allocations: 4.375 kB / 0.4909 GB, free: 8.609 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001732/0.1315, allocations: 59.34 kB / 0.4909 GB, free: 8.539 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.799e-05/0.1315, allocations: 4 kB / 0.4909 GB, free: 8.535 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.16e-05/0.1315, allocations: 4 kB / 0.4909 GB, free: 8.531 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.002e-06/0.1316, allocations: 0 / 0.4909 GB, free: 8.531 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.591e-05/0.1317, allocations: 19.92 kB / 0.491 GB, free: 8.512 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004685/0.1321, allocations: 276.9 kB / 0.4912 GB, free: 8.191 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002232/0.1324, allocations: 42.56 kB / 0.4913 GB, free: 8.141 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.264e-05/0.1324, allocations: 20.94 kB / 0.4913 GB, free: 8.117 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.212e-05/0.1325, allocations: 3.938 kB / 0.4913 GB, free: 8.113 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.891e-05/0.1325, allocations: 34.56 kB / 0.4913 GB, free: 8.07 MB / 382.1 MB Notification: Performance of pre-optimization done (n=3): time 3.486e-06/0.1325, allocations: 4 kB / 0.4913 GB, free: 8.066 MB / 382.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005878/0.1331, allocations: 137.7 kB / 0.4915 GB, free: 7.926 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.061e-05/0.1332, allocations: 77.11 kB / 0.4915 GB, free: 7.832 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001626/0.1334, allocations: 133.8 kB / 0.4917 GB, free: 7.691 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.018e-05/0.1334, allocations: 25.7 kB / 0.4917 GB, free: 7.66 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.112e-05/0.1335, allocations: 96.06 kB / 0.4918 GB, free: 7.562 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.567e-05/0.1335, allocations: 19.8 kB / 0.4918 GB, free: 7.543 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.979e-05/0.1335, allocations: 21.72 kB / 0.4918 GB, free: 7.516 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.000167/0.1337, allocations: 326.7 kB / 0.4921 GB, free: 7.188 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.02e-05/0.1338, allocations: 15.98 kB / 0.4921 GB, free: 7.172 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.282e-05/0.1339, allocations: 33.7 kB / 0.4922 GB, free: 7.133 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001298/0.134, allocations: 45.05 kB / 0.4922 GB, free: 7.086 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.72e-07/0.134, allocations: 4 kB / 0.4922 GB, free: 7.082 MB / 382.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001954/0.1342, allocations: 85.56 kB / 0.4923 GB, free: 6.992 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.693e-05/0.1343, allocations: 4 kB / 0.4923 GB, free: 6.988 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.021e-06/0.1343, allocations: 0 / 0.4923 GB, free: 6.988 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.975e-05/0.1343, allocations: 7.984 kB / 0.4923 GB, free: 6.98 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.999e-05/0.1344, allocations: 11.98 kB / 0.4923 GB, free: 6.969 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.979e-06/0.1344, allocations: 0 / 0.4923 GB, free: 6.969 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.207e-05/0.1344, allocations: 4 kB / 0.4923 GB, free: 6.965 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.097e-06/0.1344, allocations: 7.938 kB / 0.4923 GB, free: 6.957 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.0001028/0.1345, allocations: 121.8 kB / 0.4925 GB, free: 6.828 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.187e-05/0.1346, allocations: 7.953 kB / 0.4925 GB, free: 6.82 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002487/0.1348, allocations: 93.56 kB / 0.4926 GB, free: 6.719 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.224e-06/0.1348, allocations: 0 / 0.4926 GB, free: 6.719 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.479e-06/0.1348, allocations: 0 / 0.4926 GB, free: 6.719 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.846e-06/0.1349, allocations: 0 / 0.4926 GB, free: 6.719 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004603/0.1353, allocations: 342.5 kB / 0.4929 GB, free: 6.328 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.423e-06/0.1353, allocations: 0 / 0.4929 GB, free: 6.328 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.452e-05/0.1354, allocations: 11.98 kB / 0.4929 GB, free: 6.316 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.523e-06/0.1354, allocations: 3.938 kB / 0.4929 GB, free: 6.312 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.006e-05/0.1354, allocations: 4 kB / 0.4929 GB, free: 6.309 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.861e-06/0.1354, allocations: 7.938 kB / 0.4929 GB, free: 6.301 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.142e-06/0.1354, allocations: 0 / 0.4929 GB, free: 6.301 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002354/0.1357, allocations: 183.7 kB / 0.4931 GB, free: 6.105 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.126e-05/0.1358, allocations: 77.11 kB / 0.4932 GB, free: 6.012 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.588e-05/0.1358, allocations: 0 / 0.4932 GB, free: 6.012 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.938e-05/0.1359, allocations: 11.92 kB / 0.4932 GB, free: 6 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.343e-05/0.1359, allocations: 4 kB / 0.4932 GB, free: 5.996 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.597e-06/0.1359, allocations: 0 / 0.4932 GB, free: 5.996 MB / 382.1 MB Notification: Performance of sorting global known variables: time 9.015e-05/0.136, allocations: 103.3 kB / 0.4933 GB, free: 5.895 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.136, allocations: 7.938 kB / 0.4933 GB, free: 5.887 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002508/0.1363, allocations: 23.92 kB / 0.4933 GB, free: 5.863 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.002076/0.1383, allocations: 1.05 MB / 0.4943 GB, free: 4.832 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002094/0.1386, allocations: 47.95 kB / 0.4944 GB, free: 4.785 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.254e-06/0.1386, allocations: 0 / 0.4944 GB, free: 4.785 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 7.834e-05/0.1387, allocations: 27.92 kB / 0.4944 GB, free: 4.758 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003773/0.1391, allocations: 23.83 kB / 0.4944 GB, free: 4.734 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001718/0.1408, allocations: 1.377 MB / 0.4958 GB, free: 3.277 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003752/0.1412, allocations: 0.6885 MB / 0.4964 GB, free: 2.562 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 5.916e-05/0.1412, allocations: 4 kB / 0.4964 GB, free: 2.559 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.153e-05/0.1413, allocations: 27.42 kB / 0.4965 GB, free: 2.531 MB / 382.1 MB Notification: Performance of SimCode: time 2.61e-07/0.1413, allocations: 0 / 0.4965 GB, free: 2.531 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02969/0.171, allocations: 2.745 MB / 0.4991 GB, free: 15.72 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.792/7.964, allocations: 7.906 kB / 0.4992 GB, free: 15.71 MB / 398.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test19.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test19.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test19.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test19.sim & python3 -m fmpy simulate --output-file ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test19_res.csv --start-time 0 --stop-time 100 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.04 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable1Ds_Test19.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test19.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test19_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable1Ds/Test19/Test19.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test19.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches