Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test29.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.CombiTable2Dv.Test29,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2Dv_Test29",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test29,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2Dv_Test29",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.001267/0.001267, allocations: 104 kB / 16.4 MB, free: 6.465 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.001195/0.001195, allocations: 192.2 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.469/1.469, allocations: 205.1 MB / 223.2 MB, free: 12.24 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.2318/0.2318, 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.001993/0.001993, allocations: 74.03 kB / 441.3 MB, free: 6.141 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1164/0.1184, allocations: 57.8 MB / 499.1 MB, free: 12.27 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test29): time 0.003475/0.122, allocations: 1.612 MB / 0.489 GB, free: 10.64 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007537/0.1227, allocations: 347.5 kB / 0.4893 GB, free: 10.3 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.566e-05/0.1228, allocations: 0 / 0.4893 GB, free: 10.3 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003412/0.1232, allocations: 67.8 kB / 0.4894 GB, free: 10.23 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002024/0.1234, allocations: 63.73 kB / 0.4894 GB, free: 10.17 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004078/0.1238, allocations: 151.7 kB / 0.4896 GB, free: 10.02 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001676/0.124, allocations: 79.75 kB / 0.4897 GB, free: 9.941 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001203/0.1241, allocations: 27.97 kB / 0.4897 GB, free: 9.914 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.939e-05/0.1242, allocations: 31.91 kB / 0.4897 GB, free: 9.883 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001125/0.1243, allocations: 51.81 kB / 0.4898 GB, free: 9.832 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.908e-05/0.1243, allocations: 4 kB / 0.4898 GB, free: 9.828 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.488e-05/0.1244, allocations: 31.94 kB / 0.4898 GB, free: 9.797 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 8.93e-05/0.1245, allocations: 23.92 kB / 0.4898 GB, free: 9.773 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 5.614e-05/0.1246, allocations: 35.73 kB / 0.4899 GB, free: 9.738 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002195/0.1248, allocations: 103.5 kB / 0.49 GB, free: 9.637 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.941e-06/0.1248, allocations: 0 / 0.49 GB, free: 9.637 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.244e-06/0.1248, allocations: 0 / 0.49 GB, free: 9.637 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.783e-06/0.1248, allocations: 4 kB / 0.49 GB, free: 9.633 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0006532/0.1255, allocations: 422.7 kB / 0.4904 GB, free: 9.172 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.025e-05/0.1256, allocations: 11.89 kB / 0.4904 GB, free: 9.16 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.464e-05/0.1256, allocations: 34.75 kB / 0.4904 GB, free: 9.117 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.896e-05/0.1257, allocations: 12.89 kB / 0.4904 GB, free: 9.105 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002714/0.1259, allocations: 212.8 kB / 0.4906 GB, free: 8.859 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.168e-05/0.126, allocations: 384 / 0.4906 GB, free: 8.859 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.645e-05/0.126, allocations: 8.375 kB / 0.4906 GB, free: 8.852 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001882/0.1262, allocations: 65.59 kB / 0.4907 GB, free: 8.781 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.544e-05/0.1262, allocations: 4 kB / 0.4907 GB, free: 8.777 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.172e-05/0.1262, allocations: 0 / 0.4907 GB, free: 8.777 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.378e-06/0.1262, allocations: 3.938 kB / 0.4907 GB, free: 8.773 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001468/0.1264, allocations: 39.95 kB / 0.4907 GB, free: 8.734 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005447/0.1269, allocations: 308.8 kB / 0.491 GB, free: 8.383 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001541/0.1271, allocations: 58.55 kB / 0.4911 GB, free: 8.316 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.152e-05/0.1272, allocations: 24.94 kB / 0.4911 GB, free: 8.289 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.197e-05/0.1272, allocations: 0 / 0.4911 GB, free: 8.289 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.536e-05/0.1273, allocations: 30.56 kB / 0.4912 GB, free: 8.25 MB / 382.1 MB Notification: Performance of pre-optimization done (n=4): time 9.21e-07/0.1273, allocations: 0 / 0.4912 GB, free: 8.25 MB / 382.1 MB Notification: Performance of matching and sorting (n=7): time 0.0008695/0.1281, allocations: 241.5 kB / 0.4914 GB, free: 8.008 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.645e-05/0.1282, allocations: 51.41 kB / 0.4914 GB, free: 7.945 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002466/0.1284, allocations: 216.3 kB / 0.4916 GB, free: 7.727 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 3.176e-05/0.1285, allocations: 29.7 kB / 0.4917 GB, free: 7.691 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.124e-05/0.1286, allocations: 108.1 kB / 0.4918 GB, free: 7.582 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.694e-05/0.1286, allocations: 27.8 kB / 0.4918 GB, free: 7.555 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.285e-05/0.1287, allocations: 21.66 kB / 0.4918 GB, free: 7.527 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001772/0.1289, allocations: 326.8 kB / 0.4921 GB, free: 7.199 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001276/0.129, allocations: 39.95 kB / 0.4922 GB, free: 7.16 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001212/0.1291, allocations: 39.97 kB / 0.4922 GB, free: 7.121 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000257/0.1294, allocations: 84.8 kB / 0.4923 GB, free: 7.035 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.002e-06/0.1294, allocations: 0 / 0.4923 GB, free: 7.035 MB / 382.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003293/0.1297, allocations: 137.5 kB / 0.4924 GB, free: 6.895 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.776e-05/0.1297, allocations: 4 kB / 0.4924 GB, free: 6.891 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.312e-06/0.1298, allocations: 0 / 0.4924 GB, free: 6.891 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.795e-05/0.1298, allocations: 4 kB / 0.4924 GB, free: 6.887 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001307/0.1299, allocations: 23.92 kB / 0.4924 GB, free: 6.863 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.98e-06/0.1299, allocations: 0 / 0.4924 GB, free: 6.863 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.142e-05/0.13, allocations: 15.92 kB / 0.4925 GB, free: 6.848 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.464e-06/0.13, allocations: 0 / 0.4925 GB, free: 6.848 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 (7): * Single equations (assignments): 7 * 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.0001277/0.1302, allocations: 133.8 kB / 0.4926 GB, free: 6.707 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.628e-05/0.1302, allocations: 11.95 kB / 0.4926 GB, free: 6.695 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003881/0.1306, allocations: 139 kB / 0.4927 GB, free: 6.547 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.755e-06/0.1306, allocations: 0 / 0.4927 GB, free: 6.547 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.166e-06/0.1306, allocations: 0 / 0.4927 GB, free: 6.547 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.839e-06/0.1306, allocations: 11.88 kB / 0.4927 GB, free: 6.535 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006092/0.1312, allocations: 422.4 kB / 0.4931 GB, free: 6.066 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.828e-06/0.1313, allocations: 4 kB / 0.4932 GB, free: 6.062 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.216e-05/0.1314, allocations: 19.98 kB / 0.4932 GB, free: 6.043 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.288e-06/0.1314, allocations: 4 kB / 0.4932 GB, free: 6.039 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.025e-05/0.1314, allocations: 3.938 kB / 0.4932 GB, free: 6.035 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.563e-06/0.1314, allocations: 0 / 0.4932 GB, free: 6.035 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.212e-06/0.1314, allocations: 0 / 0.4932 GB, free: 6.035 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000348/0.1317, allocations: 227.8 kB / 0.4934 GB, free: 5.797 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.789e-05/0.1318, allocations: 89.02 kB / 0.4935 GB, free: 5.691 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.151e-05/0.1318, allocations: 7.938 kB / 0.4935 GB, free: 5.684 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.235e-05/0.1319, allocations: 11.98 kB / 0.4935 GB, free: 5.672 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.787e-05/0.132, allocations: 7.984 kB / 0.4935 GB, free: 5.664 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.829e-06/0.132, allocations: 0 / 0.4935 GB, free: 5.664 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001545/0.1322, allocations: 163.5 kB / 0.4937 GB, free: 5.504 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.1322, allocations: 0 / 0.4937 GB, free: 5.504 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002433/0.1324, allocations: 16 kB / 0.4937 GB, free: 5.488 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 (7): * Single equations (assignments): 7 * 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.002019/0.1344, allocations: 1.071 MB / 0.4947 GB, free: 4.438 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0003388/0.1348, allocations: 91.92 kB / 0.4948 GB, free: 4.348 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.994e-06/0.1348, allocations: 0 / 0.4948 GB, free: 4.348 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001346/0.1349, allocations: 47.91 kB / 0.4949 GB, free: 4.301 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003878/0.1353, allocations: 23.83 kB / 0.4949 GB, free: 4.277 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002387/0.1377, allocations: 1.768 MB / 0.4966 GB, free: 2.43 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003784/0.1381, allocations: 0.708 MB / 0.4973 GB, free: 1.695 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 8.998e-05/0.1382, allocations: 24.95 kB / 0.4973 GB, free: 1.668 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.07e-05/0.1383, allocations: 35.42 kB / 0.4974 GB, free: 1.637 MB / 382.1 MB Notification: Performance of SimCode: time 2.81e-07/0.1383, allocations: 0 / 0.4974 GB, free: 1.637 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0242/0.1625, allocations: 3.105 MB / 0.5004 GB, free: 14.52 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.804/7.966, allocations: 3.938 kB / 0.5004 GB, free: 14.51 MB / 398.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test29.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test29.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test29.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test29.sim & python3 -m fmpy simulate --output-file ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test29_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2Dv_Test29.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test29.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test29_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2Dv/Test29/Test29.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test29.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches