Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test20.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.Test20,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2Dv_Test20",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test20,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2Dv_Test20",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.001183/0.001183, allocations: 111.7 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.001084/0.001084, allocations: 190.1 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.345/1.345, 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.2176/0.2176, allocations: 43.53 MB / 314.1 MB, free: 460 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.001402/0.001402, allocations: 67.91 kB / 441.3 MB, free: 6.172 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1194/0.1208, allocations: 57.79 MB / 499.1 MB, free: 12.3 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test20): time 0.004423/0.1253, allocations: 1.962 MB / 0.4893 GB, free: 10.33 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001701/0.127, allocations: 0.7642 MB / 0.4901 GB, free: 9.559 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002116/0.1272, allocations: 0 / 0.4901 GB, free: 9.559 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000623/0.1279, allocations: 267.2 kB / 0.4903 GB, free: 9.297 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005135/0.1284, allocations: 191.3 kB / 0.4905 GB, free: 9.109 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001416/0.1299, allocations: 0.5965 MB / 0.4911 GB, free: 8.512 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005338/0.1304, allocations: 299.2 kB / 0.4914 GB, free: 8.219 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002309/0.1306, allocations: 76.69 kB / 0.4914 GB, free: 8.145 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002406/0.1309, allocations: 139.4 kB / 0.4916 GB, free: 8.008 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000311/0.1312, allocations: 199.4 kB / 0.4918 GB, free: 7.812 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 4.348e-05/0.1313, allocations: 8 kB / 0.4918 GB, free: 7.805 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002099/0.1315, allocations: 67.97 kB / 0.4918 GB, free: 7.738 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001723/0.1316, allocations: 99.61 kB / 0.4919 GB, free: 7.641 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001446/0.1318, allocations: 123 kB / 0.4921 GB, free: 7.52 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005829/0.1324, allocations: 334.3 kB / 0.4924 GB, free: 7.191 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.67e-06/0.1324, allocations: 0 / 0.4924 GB, free: 7.191 MB / 382.1 MB Notification: Performance of FrontEnd: time 3.437e-06/0.1324, allocations: 3.984 kB / 0.4924 GB, free: 7.188 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.59e-05/0.1324, allocations: 0 / 0.4924 GB, free: 7.188 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: 25 * Number of variables: 25 Notification: Performance of Generate backend data structure: time 0.001117/0.1336, allocations: 0.6643 MB / 0.493 GB, free: 6.477 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.956e-05/0.1336, allocations: 15.89 kB / 0.493 GB, free: 6.461 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.611e-05/0.1337, allocations: 42.73 kB / 0.4931 GB, free: 6.41 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001313/0.1338, allocations: 40.66 kB / 0.4931 GB, free: 6.371 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004575/0.1343, allocations: 346.4 kB / 0.4935 GB, free: 5.992 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.736e-05/0.1343, allocations: 8.375 kB / 0.4935 GB, free: 5.984 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.64e-05/0.1344, allocations: 12.38 kB / 0.4935 GB, free: 5.973 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002775/0.1347, allocations: 129.4 kB / 0.4936 GB, free: 5.84 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.739e-05/0.1347, allocations: 0 / 0.4936 GB, free: 5.84 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.063e-05/0.1347, allocations: 8 kB / 0.4936 GB, free: 5.832 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.085e-06/0.1347, allocations: 4 kB / 0.4936 GB, free: 5.828 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001956/0.1349, allocations: 95.92 kB / 0.4937 GB, free: 5.734 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007696/0.1357, allocations: 0.5081 MB / 0.4942 GB, free: 5.176 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002086/0.1359, allocations: 114.5 kB / 0.4943 GB, free: 5.055 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.163e-05/0.136, allocations: 40.84 kB / 0.4943 GB, free: 5.012 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.3e-05/0.1361, allocations: 3.984 kB / 0.4943 GB, free: 5.008 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.3e-05/0.1361, allocations: 38.5 kB / 0.4944 GB, free: 4.961 MB / 382.1 MB Notification: Performance of pre-optimization done (n=11): time 1.343e-06/0.1361, allocations: 0 / 0.4944 GB, free: 4.961 MB / 382.1 MB Notification: Performance of matching and sorting (n=17): time 0.001084/0.1372, allocations: 448.5 kB / 0.4948 GB, free: 4.516 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.697e-05/0.1373, allocations: 51.41 kB / 0.4949 GB, free: 4.453 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006127/0.1379, allocations: 0.5604 MB / 0.4954 GB, free: 3.883 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.964e-05/0.1379, allocations: 25.7 kB / 0.4954 GB, free: 3.852 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001608/0.1381, allocations: 208.4 kB / 0.4956 GB, free: 3.645 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.849e-05/0.1382, allocations: 63.47 kB / 0.4957 GB, free: 3.582 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.56e-05/0.1382, allocations: 33.7 kB / 0.4957 GB, free: 3.543 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001444/0.1384, allocations: 350.8 kB / 0.4961 GB, free: 3.191 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001332/0.1385, allocations: 67.95 kB / 0.4961 GB, free: 3.125 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001262/0.1387, allocations: 70.61 kB / 0.4962 GB, free: 3.059 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002634/0.1389, allocations: 156.6 kB / 0.4963 GB, free: 2.902 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.052e-06/0.1389, allocations: 0 / 0.4963 GB, free: 2.902 MB / 382.1 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0003846/0.1393, allocations: 236.1 kB / 0.4966 GB, free: 2.668 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.604e-05/0.1394, allocations: 4 kB / 0.4966 GB, free: 2.664 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.27e-06/0.1394, allocations: 0 / 0.4966 GB, free: 2.664 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.385e-05/0.1394, allocations: 0 / 0.4966 GB, free: 2.664 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001447/0.1395, allocations: 35.98 kB / 0.4966 GB, free: 2.629 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.272e-06/0.1396, allocations: 0 / 0.4966 GB, free: 2.629 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.459e-05/0.1397, allocations: 15.98 kB / 0.4966 GB, free: 2.613 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.249e-05/0.1397, allocations: 4 kB / 0.4966 GB, free: 2.609 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 (17): * Single equations (assignments): 17 * 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.0001671/0.1398, allocations: 189.6 kB / 0.4968 GB, free: 2.414 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.824e-05/0.1399, allocations: 39.72 kB / 0.4968 GB, free: 2.375 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005128/0.1405, allocations: 269.5 kB / 0.4971 GB, free: 2.105 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.428e-06/0.1405, allocations: 8 kB / 0.4971 GB, free: 2.098 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.699e-06/0.1405, allocations: 0 / 0.4971 GB, free: 2.098 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.637e-06/0.1405, allocations: 0 / 0.4971 GB, free: 2.098 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008589/0.1414, allocations: 0.6816 MB / 0.4978 GB, free: 1.359 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.224e-06/0.1414, allocations: 3.938 kB / 0.4978 GB, free: 1.355 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001128/0.1415, allocations: 39.91 kB / 0.4978 GB, free: 1.316 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.626e-06/0.1415, allocations: 0 / 0.4978 GB, free: 1.316 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.002e-05/0.1415, allocations: 4 kB / 0.4978 GB, free: 1.312 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.507e-06/0.1415, allocations: 7.938 kB / 0.4978 GB, free: 1.305 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.445e-06/0.1415, allocations: 0 / 0.4978 GB, free: 1.305 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004281/0.142, allocations: 332.9 kB / 0.4981 GB, free: 0.9648 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.895e-05/0.1421, allocations: 124.8 kB / 0.4983 GB, free: 0.8242 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.665e-05/0.1421, allocations: 0 / 0.4983 GB, free: 0.8242 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001063/0.1422, allocations: 11.94 kB / 0.4983 GB, free: 0.8125 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.847e-05/0.1423, allocations: 15.98 kB / 0.4983 GB, free: 0.7969 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.999e-06/0.1423, allocations: 7.938 kB / 0.4983 GB, free: 0.7891 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0004196/0.1427, allocations: 415.1 kB / 0.4987 GB, free: 396 kB / 382.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.1427, allocations: 0 / 0.4987 GB, free: 396 kB / 382.1 MB Notification: Performance of remove unused functions: time 0.0003083/0.143, allocations: 59.88 kB / 0.4987 GB, free: 336 kB / 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 (17): * Single equations (assignments): 17 * 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.002231/0.1453, allocations: 1.441 MB / 0.5002 GB, free: 14.91 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0003416/0.1456, allocations: 171.7 kB / 0.5003 GB, free: 14.74 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.384e-06/0.1456, allocations: 0 / 0.5003 GB, free: 14.74 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001578/0.1458, allocations: 87.89 kB / 0.5004 GB, free: 14.66 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000554/0.1464, allocations: 77.38 kB / 0.5005 GB, free: 14.58 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003922/0.1503, allocations: 3.201 MB / 0.5036 GB, free: 11.29 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004693/0.1508, allocations: 0.8221 MB / 0.5044 GB, free: 10.45 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0001475/0.151, allocations: 54.25 kB / 0.5045 GB, free: 10.39 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001755/0.1511, allocations: 127.4 kB / 0.5046 GB, free: 10.27 MB / 398.1 MB Notification: Performance of SimCode: time 2.1e-07/0.1511, allocations: 0 / 0.5046 GB, free: 10.27 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02781/0.179, allocations: 7.509 MB / 0.5119 GB, free: 2.719 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.185/8.364, allocations: 3.938 kB / 0.5119 GB, free: 2.715 MB / 398.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test20.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test20.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test20.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test20.sim & python3 -m fmpy simulate --output-file ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test20_res.csv --start-time 0 --stop-time 6 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0024 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2Dv_Test20.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test20.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test20_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2Dv/Test20/Test20.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test20.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches